Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/fritzconnection/
Date: Mon, 05 Sep 2022 07:18:05
Message-Id: 1662362276.07cce0e1468384120e719941deaa2c3ea356366c.mgorny@gentoo
1 commit: 07cce0e1468384120e719941deaa2c3ea356366c
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 5 06:57:44 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 5 07:17:56 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07cce0e1
7
8 dev-python/fritzconnection: Bump to 1.10.2
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/fritzconnection/Manifest | 1 +
13 .../fritzconnection/fritzconnection-1.10.2.ebuild | 51 ++++++++++++++++++++++
14 2 files changed, 52 insertions(+)
15
16 diff --git a/dev-python/fritzconnection/Manifest b/dev-python/fritzconnection/Manifest
17 index 6d24c3bd27c1..7f26f6963ed4 100644
18 --- a/dev-python/fritzconnection/Manifest
19 +++ b/dev-python/fritzconnection/Manifest
20 @@ -1,3 +1,4 @@
21 DIST fritzconnection-1.10.0.gh.tar.gz 146309 BLAKE2B 64b01a561a015fae10dc3aced2576afce5d27555aba019028de32d5dc0ee9099f4248d900ac1de0f18321d52537dd7b77ff010ce44ca863ef9b5c5e228c61071 SHA512 86acce864624f67fdbd407157565cec434d029907b4d295a3e5e1bb41d8856ca1eae99681fd3c44033c6bcef8ecc594483f734e08c4fb733e685c01147dd3c29
22 DIST fritzconnection-1.10.1.gh.tar.gz 146297 BLAKE2B bbb8601d3c5f9f379275dae8e293385f9c4dca44eb9e74b22f12cd4e89a50a3dd2c8220aa0e28408f3f136192c43a5d4bc37347e047caed42f889cc303b02f52 SHA512 fd860a563eeefba374ccc8d2ab8319dd07b6c02c12fd9b7ff00353d86b041757fded308f5a0859cee8d190c5c51b5308290eb656e77ed8e3882ee482568cd677
23 +DIST fritzconnection-1.10.2.gh.tar.gz 146414 BLAKE2B 2a3a478ded0897c7ce703ebb34abdd54f54d286a82dfe761703b7ec8b3615891797815c0fb3a7a08f70d2713f530f31fd6ca8093b634a09a6d10cce95ad97d6b SHA512 b7073f5cc558ac9b43bf8e53aac5bdee1b9d4f164d72c766f63a62f88d38635da40202b48cba36356a9871f4f9f9ecda7020424491f419d534e3cb1c9067cb28
24 DIST fritzconnection-1.9.1.gh.tar.gz 79580 BLAKE2B 6972c92aabb9c516e2b4d3d18bea2daf8002a12c9939a5badd1ceb8f7539a243f99778a3ded0cd057850b54e9cb2a0ca9d2c31be688eaf81f4b279b74d10fc55 SHA512 55642cf1db581c62091d63fdfa9bf4fe36c545df686eae7d0f886b4ef8c186668e6f8fb7bc7786e13936764ea771e0dba79e62b57f19348dd562bf23a27d6369
25
26 diff --git a/dev-python/fritzconnection/fritzconnection-1.10.2.ebuild b/dev-python/fritzconnection/fritzconnection-1.10.2.ebuild
27 new file mode 100644
28 index 000000000000..f901bc98be0c
29 --- /dev/null
30 +++ b/dev-python/fritzconnection/fritzconnection-1.10.2.ebuild
31 @@ -0,0 +1,51 @@
32 +# Copyright 2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +DISTUTILS_USE_PEP517=setuptools
38 +PYTHON_COMPAT=( python3_{8..11} )
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="Lib/tool to communicate with AVM FRITZ! devices using TR-064 protocol over UPnP"
43 +HOMEPAGE="
44 + https://github.com/kbr/fritzconnection/
45 + https://pypi.org/project/fritzconnection/
46 +"
47 +
48 +LICENSE="MIT"
49 +SLOT="0"
50 +
51 +if [[ "${PV}" == "9999" ]]; then
52 + EGIT_REPO_URI="https://github.com/kbr/fritzconnection"
53 + inherit git-r3
54 +else
55 + SRC_URI="
56 + https://github.com/kbr/fritzconnection/archive/${PV}.tar.gz
57 + -> ${P}.gh.tar.gz
58 + "
59 + KEYWORDS="~amd64 ~x86"
60 +fi
61 +
62 +RDEPEND="
63 + >=dev-python/requests-2.22[${PYTHON_USEDEP}]
64 +"
65 +BDEPEND="
66 + test? (
67 + dev-python/pytest-mock[${PYTHON_USEDEP}]
68 + )
69 +"
70 +
71 +distutils_enable_tests pytest
72 +
73 +EPYTEST_DESELECT=(
74 + # flaky (relies on time.sleep(0.01) magically being sufficient)
75 + fritzconnection/tests/test_fritzmonitor.py::test_terminate_thread_on_failed_reconnection
76 +)
77 +
78 +src_prepare() {
79 + # upstream is pinning for py3.6 compat x_x
80 + sed -i -e 's:,<[0-9.]*::' setup.py || die
81 + distutils-r1_src_prepare
82 +}