diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-08-16 05:49:12 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-08-16 06:18:53 +0200 |
commit | b4abb136cac256905dbfac1a3ca2e14eb8c541c9 (patch) | |
tree | 56c9276940497ce539a143e288b7f3bb15078199 | |
parent | dev-python/typeguard: Bump to 4.1.1 (diff) | |
download | gentoo-b4abb136cac256905dbfac1a3ca2e14eb8c541c9.tar.gz gentoo-b4abb136cac256905dbfac1a3ca2e14eb8c541c9.tar.bz2 gentoo-b4abb136cac256905dbfac1a3ca2e14eb8c541c9.zip |
dev-python/zeroconf: Bump to 0.80.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | dev-python/zeroconf/Manifest | 1 | ||||
-rw-r--r-- | dev-python/zeroconf/zeroconf-0.80.0.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest index 6306f7002101..a302424ef1cb 100644 --- a/dev-python/zeroconf/Manifest +++ b/dev-python/zeroconf/Manifest @@ -4,3 +4,4 @@ DIST zeroconf-0.72.0.tar.gz 144786 BLAKE2B 7b0a53bf76a21c716e1d4762e1ccfd0df9b44 DIST zeroconf-0.74.0.tar.gz 145447 BLAKE2B e76a88d87cb8577b776fe5afc08198ce5427da398cfcb7fea6fb778be5907b156c633fc695daccceb9988866cbcd56584a418006fa64fc162e7831886d5cdaa2 SHA512 8629befd78470206b9238810d083e91adcc575ec2ef89cc51c433de89fb18723cc43ef45550dbec184a63f1c191023cf818e1cf8eb8b49b0de68e174d4ac4def DIST zeroconf-0.76.0.tar.gz 146204 BLAKE2B aaa6e6f3c9b1f8eeb837d03178b131a001fedbe80cc28c5b3d412301a43364121111d95abbed6281a9e5576f1473ecd444b0fcb5557bb71f1d1ac4e40da7d221 SHA512 aa57a4f0f72cd162c136e5c6442c5ab35586fc7d44473078e98420ce00da53586344f2f7578542ba417bd6635b982a41bdc96eab70e1b989aef22ad0c45f2dd8 DIST zeroconf-0.79.0.tar.gz 147440 BLAKE2B fb0fb75a90a3c33dd0dfdaed55a54bcf8c58de55d04d81f94c3bc51680cd8d146cf9e6b95621268c384b92016233887096c34921aa3805d8cdde782cf6516863 SHA512 242bcf5af958edb53989e1100c0f0eb0cbeed388f4e43363021c81c02ce223c5dbda63ef389e16d5246067cd8a450b187fa2df8f782e5d190a8061e2d8dba348 +DIST zeroconf-0.80.0.tar.gz 147419 BLAKE2B 04f93331a667863f8ac5a40d156468d9ffceb010220c989b801b296fa5ad160660b2c34892b960e57f2876c823f236d91b61fe672e712e50238efe34d2c28721 SHA512 72f3d7c00474a8d31d69b6d3c5c1408cd6b4ceb4b4a6d6c80e8dbd51f90e0e9897734fb80e6b1f3cf744d2658102c58e051db52c42b89e29dc0f5fc870c08227 diff --git a/dev-python/zeroconf/zeroconf-0.80.0.ebuild b/dev-python/zeroconf/zeroconf-0.80.0.ebuild new file mode 100644 index 000000000000..547370f5f4c2 --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.80.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..12} ) + +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 + +export REQUIRE_CYTHON=1 + +python_test() { + local -x SKIP_IPV6=1 + 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 + + # 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= +} |