commit: 300543846777ee6fb8ebbd324f06c102df3eb181
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 28 16:08:45 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jan 28 16:18:52 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30054384
dev-python/fritzconnection: Bump to 1.11.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/fritzconnection/Manifest | 1 +
.../fritzconnection/fritzconnection-1.11.0.ebuild | 51 ++++++++++++++++++++++
2 files changed, 52 insertions(+)
diff --git a/dev-python/fritzconnection/Manifest
b/dev-python/fritzconnection/Manifest
index 6ebc98291b36..87e076bd8211 100644
--- a/dev-python/fritzconnection/Manifest
+++ b/dev-python/fritzconnection/Manifest
@@ -1 +1,2 @@
DIST fritzconnection-1.10.3.gh.tar.gz 146450 BLAKE2B
77c64d2963ed0bc1c1bf1d31fc42093d959588df5ea55956c2deb35c1569f76f1b89bb2f1273ad691285d21f168f5acdbb1326bcad4ed2e575d57b9a6187e839
SHA512
e54cf5ec4392c8bc0b6cbc19111819bd72125bf1eb341380686c0ac513c646dec16f8a243fdfbe22199c954cbf26c80ab30dbe93b5e02288bc25fcae28595305
+DIST fritzconnection-1.11.0.gh.tar.gz 147539 BLAKE2B
def880bcf80bb99864bca942b86c86adcda878fb62b7c0e35db4a746310e5ec8ad00bc25f43acac23c0d5410dc8790875b8b0822aa6d944a0e1197379e015e22
SHA512
bb517a63616a961f9c2c701d44093024f0763c093f89b99d205fb1fd1492342b568b871ebaf699a69a9d56e724735b975c48e4abd1780726d10c13e075cf08f2
diff --git a/dev-python/fritzconnection/fritzconnection-1.11.0.ebuild
b/dev-python/fritzconnection/fritzconnection-1.11.0.ebuild
new file mode 100644
index 000000000000..c82f65f2406f
--- /dev/null
+++ b/dev-python/fritzconnection/fritzconnection-1.11.0.ebuild
@@ -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 ~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
+}