dev-python/fritzconnection: re-add 1.11.0 from main

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-03-16 22:36:35 +01:00 committed by Andreas Billmeier
parent 033c78e22d
commit 67c9309e34
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 53 additions and 31 deletions

View File

@ -1,5 +1,5 @@
DIST fritzconnection-1.11.0.gh.tar.gz 147539 BLAKE2B def880bcf80bb99864bca942b86c86adcda878fb62b7c0e35db4a746310e5ec8ad00bc25f43acac23c0d5410dc8790875b8b0822aa6d944a0e1197379e015e22 SHA512 bb517a63616a961f9c2c701d44093024f0763c093f89b99d205fb1fd1492342b568b871ebaf699a69a9d56e724735b975c48e4abd1780726d10c13e075cf08f2
DIST fritzconnection-1.4.2.tar.gz 31492 BLAKE2B 7b7ba85c8473f96eaad9444e937f6c7f0a3704b24269e6f5aeca90c081269c3185ed9ed0044d5b1c24b81384f53935af97804b8d76ab065dd81486e3dd5ed89e SHA512 68e8b15fb3ae4bcd311c7a3c5a76c493a96479f9cb43471d178f52cc31bc539009fd4212a40c903985b0159b97a39679b6a3ca9e5ec69ddd8698bfb3d9af1f1b
DIST fritzconnection-1.8.0.gh.tar.gz 77479 BLAKE2B 552696b6b38584ee4178b80a387772885fb60b8bb146ef9a8000ee4ce7c06455b0c4009ac067d7382b29d7f975b3563fd11455f6516e102497609517346776ed SHA512 e9038cf44a1a1aad486e3c2ce5c60954443d3f9952c32a362301c9e7719315c36abc795ba721a7b53ca6ee944f385bb39b4b51a7bbcddeb4d50f9f8788708361
EBUILD fritzconnection-1.11.0.ebuild 1125 BLAKE2B ad2771d21c3c8208ca83346e27613eb56018700478ab46bc58da9bde80ee175d6062307e4b156867594c0ce40eaa829dac2efec519ad385d6814d45b7648964f SHA512 7673f73950f3f571379c3e55dbfd90aba774d92f3e66d60027f9f168f4b955d07e04d4c60db90e5cced472e5bc967ce6b9715a1f40681a824857440e05aaf3fe
EBUILD fritzconnection-1.4.2.ebuild 676 BLAKE2B 9fc1d7dcd4d25c815bce49b50acabd4c7206bf7f2f427c952d0326836674745ca7cace1c022d681d2f4ffe770841f017708818f475d8d60a8d86851b8a04893b SHA512 bd2a798565ac70af543695e238d6e1ead41a2eef75ba78e7658ca8385e21f6a4778be2edb0450413bebd0cce2e6482230704a7963febc0cd0a7879923c2f1794
EBUILD fritzconnection-1.8.0.ebuild 724 BLAKE2B 9e4db298ce8a3b262c3da7eee403203107288cbc10d29b7191acaa398b051ef437ab2a59d06907db429d884859893bb851d2d932d974ed1cdc8b1faadfed2e76 SHA512 48e89039cd6bda4e20c62b8b500ea563e8f7ba58c5493a35e500078c89c29662b2dcc4dd7b455b00febdc67a96cd64f61d3f895bd0eb3e86013f2a63ea9c573b
MISC metadata.xml 524 BLAKE2B 9c7ab7d57698d15104811afe93c8383d376c53a971e5d2cba26267323b5b3e459b1729cd45ae2926e6c4028fd79c140443572fb7c8a34d45a5738c51ae568cf7 SHA512 1eb7ffe373ebfd6859550a57c8e5c174235ae71a39aca39d70f018692c149eb555ed27c37b60d735285107aa19c1415d65a3fd4bb0f0959a4fc2407257f07283

View File

@ -0,0 +1,51 @@
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
DESCRIPTION="Lib/tool to communicate with AVM FRITZ! devices using TR-064 protocol over UPnP"
HOMEPAGE="
https://github.com/kbr/fritzconnection/
https://pypi.org/project/fritzconnection/
"
LICENSE="MIT"
SLOT="0"
if [[ "${PV}" == "9999" ]]; then
EGIT_REPO_URI="https://github.com/kbr/fritzconnection"
inherit git-r3
else
SRC_URI="
https://github.com/kbr/fritzconnection/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz
"
KEYWORDS="amd64 arm arm64 x86"
fi
RDEPEND="
>=dev-python/requests-2.22[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/pytest-mock[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
EPYTEST_DESELECT=(
# flaky (relies on time.sleep(0.01) magically being sufficient)
fritzconnection/tests/test_fritzmonitor.py::test_terminate_thread_on_failed_reconnection
)
src_prepare() {
# upstream is pinning for py3.6 compat x_x
sed -i -e 's:,<[0-9.]*::' setup.py || die
distutils-r1_src_prepare
}

View File

@ -1,29 +0,0 @@
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
DESCRIPTION="Lib/tool to communicate with AVM FRITZ! devices using TR-064 protocol over UPnP"
HOMEPAGE="https://github.com/kbr/fritzconnection"
LICENSE="MIT"
SLOT="0"
if [[ "${PV}" == "9999" ]]; then
EGIT_REPO_URI="https://github.com/kbr/fritzconnection"
inherit git-r3
else
SRC_URI="https://github.com/kbr/fritzconnection/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
KEYWORDS="amd64 arm arm64 x86"
fi
RDEPEND=">=dev-python/requests-2.22[${PYTHON_USEDEP}]"
BDEPEND="
test? (
dev-python/pytest-mock[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest