summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-05-02 04:46:19 +0200
committerMichał Górny <mgorny@gentoo.org>2023-05-02 05:04:18 +0200
commit283877f883264307d1f5916749200e9013defdcc (patch)
tree3b73b0992f6029034406bfb4bf6addd6d9cf8362 /dev-python
parentdev-python/flask: Bump to 2.3.2 (diff)
downloadgentoo-283877f883264307d1f5916749200e9013defdcc.tar.gz
gentoo-283877f883264307d1f5916749200e9013defdcc.tar.bz2
gentoo-283877f883264307d1f5916749200e9013defdcc.zip
dev-python/zeroconf: Bump to 0.59.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/zeroconf/Manifest1
-rw-r--r--dev-python/zeroconf/zeroconf-0.59.0.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest
index 602476bd80b0..c2bca14d1256 100644
--- a/dev-python/zeroconf/Manifest
+++ b/dev-python/zeroconf/Manifest
@@ -1,3 +1,4 @@
DIST zeroconf-0.56.0.tar.gz 140060 BLAKE2B 3199ebb995754f4c7a2b4881564664d95d2483f6307cd898ec1beb7e12fed0bc3ce501a0f4732a3f1e019db1641d08804d2f38ad769277c95a41b8c266860126 SHA512 8ba2cabc58ae5586b6e89f2771e4483a488bf4ef5201fe8684befc2930d34f96f5fd07040da7ec850f9450b2166ad22ef571821a56e33222cf5708c11f5f4aba
DIST zeroconf-0.58.0.tar.gz 140418 BLAKE2B 4e080fb18cf1823b1e32670bd1bce2ec4870055abdf8c7a200a536c77c07f58ce3cac48f255441480cff982c0d8a06001a8d39826c2c95e7666e79ed3da92fdf SHA512 112c7d83acdc40453a82f0ad76457aa1f5b467e11b8b545d60f1301738d8801c6de43a2d076937b01f2ab53aca38e4430a4bdbfb4dc0d606521d96e5b9a2b42d
DIST zeroconf-0.58.2.tar.gz 140567 BLAKE2B 674f5d3cec4d1f5bf7c185e9224e8e5b3d21018898720461e670c1d65708c06855325b0fa8d20e822b3a7d35b2a17771b3c635f3cb60ee1e3d62c0d84be1bc02 SHA512 2a32a33fa1f66a3baa51a47d8c1c2679c0176ae1e9acbffa563d044679b842fd62d37d7813ca87b8b9bff719fd5e977d7df168310a57d0aa604f643150dbebc5
+DIST zeroconf-0.59.0.tar.gz 140602 BLAKE2B 71d7cb35712a85be42333ec5f6d28fa45572757bd2e490019aeb7e1dcb87ad274ac4055396bea8640362ab9d8a8a692a56c47c2ef8da19fc92c8c49ba27eb36f SHA512 9303630dba191c60f81d7f0e65f9272e92d544155991ae4ff9c7239281dc06c9f0424a4d4a8e31e7dccb22d0c6d008b6c08e55e5da456125a70efc151704208d
diff --git a/dev-python/zeroconf/zeroconf-0.59.0.ebuild b/dev-python/zeroconf/zeroconf-0.59.0.ebuild
new file mode 100644
index 000000000000..29801ba74dbb
--- /dev/null
+++ b/dev-python/zeroconf/zeroconf-0.59.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)"
+HOMEPAGE="
+ https://github.com/python-zeroconf/python-zeroconf/
+ https://pypi.org/project/zeroconf/
+"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="
+ >=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ >=dev-python/async-timeout-3.0.0[${PYTHON_USEDEP}]
+ ' 3.{9..10})
+"
+# the build system uses custom build script that uses distutils to build
+# C extensions, sigh
+BDEPEND="
+ >=dev-python/cython-0.29.32[${PYTHON_USEDEP}]
+ >=dev-python/setuptools-65.6.3[${PYTHON_USEDEP}]
+ test? (
+ dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # network
+ tests/test_core.py::Framework::test_close_multiple_times
+ tests/test_core.py::Framework::test_launch_and_close
+ tests/test_core.py::Framework::test_launch_and_close_context_manager
+ tests/test_core.py::Framework::test_launch_and_close_v4_v6
+ tests/test_core.py::Framework::test_launch_and_close_v6_only
+ tests/services/test_types.py::ServiceTypesQuery::test_integration_with_listener_ipv6
+
+ # fragile to timeouts (?)
+ tests/services/test_browser.py::test_service_browser_expire_callbacks
+ tests/utils/test_asyncio.py::test_run_coro_with_timeout
+ )
+
+ epytest -o addopts=
+}