diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-python/zeroconf | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | srcux-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz srcux-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz srcux-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-python/zeroconf')
| -rw-r--r-- | dev-python/zeroconf/Manifest | 14 | ||||
| -rw-r--r-- | dev-python/zeroconf/metadata.xml | 9 | ||||
| -rw-r--r-- | dev-python/zeroconf/zeroconf-0.148.0.ebuild | 69 | ||||
| -rw-r--r-- | dev-python/zeroconf/zeroconf-0.149.13.ebuild | 69 | ||||
| -rw-r--r-- | dev-python/zeroconf/zeroconf-0.149.16.ebuild | 72 | ||||
| -rw-r--r-- | dev-python/zeroconf/zeroconf-0.149.3.ebuild | 69 | ||||
| -rw-r--r-- | dev-python/zeroconf/zeroconf-0.149.5.ebuild | 69 | ||||
| -rw-r--r-- | dev-python/zeroconf/zeroconf-0.149.7.ebuild | 69 | ||||
| -rw-r--r-- | dev-python/zeroconf/zeroconf-0.149.9.ebuild | 69 |
9 files changed, 509 insertions, 0 deletions
diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest new file mode 100644 index 000000000000..90d8598c5947 --- /dev/null +++ b/dev-python/zeroconf/Manifest @@ -0,0 +1,14 @@ +DIST zeroconf-0.148.0.tar.gz 164447 BLAKE2B 7ef17f3b028dc19fba09e6566f7a123114cf6e738c9237a4169a76748e01c817769e28185e6649b47ceb8cc4ae30156ce72eac6c42949efa6d7b672b18fe9461 SHA512 d3b88b9a3e86db172f78534c11677166b05ec770924d926258972f18edf2f3e2149abbcf8984e7b53b606866742fdda2b50839cdb0f69e429b58eb1813d20539 +DIST zeroconf-0.148.0.tar.gz.provenance 9736 BLAKE2B 6d55cd6ff39ed897e499ada05f1c1fe069a621229bfd4c01852d7e655519390357c655a70f2099d9fa1f69429e03950c6dbb2e8bb9d7c552a35bfb70c8233050 SHA512 64886abc8f42435f7d75ddbda25a2690fd7a43c8c1576f0f02ff4e46879f2298c013dfcdb4731ad274e9b4fb5a884b57504f8e6ebf3963f17931e583bd22b4a8 +DIST zeroconf-0.149.13.tar.gz 191989 BLAKE2B 1cdb38bc597401ce078046fa279bb7664b87d50c5771a215bda03a8b8a551cfb17d392107fc6e45f9225f1106efc83e447a80afc66015d3d5369cc40de2c58bd SHA512 7f9144030c16a3129379630a6f1fdfb2ed8fb74a495aa093aaab374e6fb0b8ce481e2d2b67764d61af1e61e2c17bd63d4b800cd65910a0db86b9e5d3d76f0bc3 +DIST zeroconf-0.149.13.tar.gz.provenance 9889 BLAKE2B 2a6dd44f7d67c80827f2d5b0973c2c5a5a17821355d688ad25491af350984e6bf2fb7444a1ea9a9b9181058ee4021174e07d0808cdf106e8e1880624c7e57644 SHA512 de07d4f649faa6a92e10c85468c95de30bd8e41fd9c8a8db38da1bf33eb0f5cea51a5d7791c369dc6a596f85bd4163efc9b781814dd3affd8fa46edd4c7d903d +DIST zeroconf-0.149.16.tar.gz 196586 BLAKE2B 1eccf6efccd3ad1ef9344183ffd61c57d31b3ee5796c6a3fdb773b7665e51335c404f1a6ea7ac3b921deb7f2a79c30bd8110f61f0513763db9f11b5c21710199 SHA512 b8011c4c00cc4ebc0400c3adff50d1df2d52e19d51e48a6222d9dffa96698f139c10fc721135fff3044075681a3f7e6bcc57a025573b31b6cb820b871d13a837 +DIST zeroconf-0.149.16.tar.gz.provenance 9971 BLAKE2B 4d37654a66980c4f8fd827c304b4507302d0afbd8275199dfa51c76805e901e92fb31e6fcffa5ae10abca55fe34cc0c755e1f3a059c9054efba7b12df7c78e4a SHA512 d3c0830deb7fb9cd3087d3a41291b7f905db728e98e5f36215774f1099c779301346c768b9f6666d7699d20a089bade1a78dfb2a5febaac070c1c9db571143fd +DIST zeroconf-0.149.3.tar.gz 167633 BLAKE2B 623ad21e864c29e10e74c75003512303aaadfc572da03d5e967b8543cc356de0e2eacd17b770db1cd3c754ac562d3965e4f32b302b750a5398db1923a2f1e184 SHA512 83d28877c2c1126e2402907218077b3c77d6851324127b640db7014a1c2f538d08ef415402eee065ef044d893777c197bad94498ead113b423ae00682beee192 +DIST zeroconf-0.149.3.tar.gz.provenance 9873 BLAKE2B dfac2ab1b2fe0cffef2a6084d12aa6d59d7c8954a2a60954115fdbb6621129fb67a7d1a85307658b05a971b569a79707c5c3f8f914a35beeadff5f17dadc53ae SHA512 994b43f6f3890a567530c279e762601e54e6152a3d17beab0b630890cf5672fde94fd49ecc1b1aee097557ae42cfd993b9c4151c29a0d461cf63347e211a3dd6 +DIST zeroconf-0.149.5.tar.gz 173010 BLAKE2B 771e742d3388490c1653251052665c7de766605ced17ab69b1e09069ff09c1792edda403aae6bd5b13866aa7069e12ce484f0948d102c6e64a7edddceba4472a SHA512 eac173ab523372f2b3e25581e596640274478bf2b5de1aeb4b133fb2ec6c6228a0ff5e592e9d309431c6e178c1241418f3023f1d9071ad053cce5ac4449716f1 +DIST zeroconf-0.149.5.tar.gz.provenance 9740 BLAKE2B 2747dc2657bf99f627f923170c9c3db20c0b4de6b80185842c5a206b4aa6d35dfd6873895216403b0fe08274c0aad185dcd435a8d240282ed180eefc13ba49db SHA512 bed0bd67ab3ecb823e9e42c56c842062b2b73c6a07d6e8a300c2fe29d3bc75a7468c7b04800e231f67e9c0966279074cf5ee3ff1a9a533a5f61176345775b38a +DIST zeroconf-0.149.7.tar.gz 180422 BLAKE2B 6d03b2d64803975d6a91ed38f6d6479a78d1a8c44ec04719166249755b9c7b09ffab64282cebc367fafb246b957116d8ddddd91c7c195667fa424b3668c62f08 SHA512 97a7cbe6818e0f07908b36c4cb4ffab5228d3863df05a91e33846eea02c8cb1b5049bbe561b6459b9a218ccddae423516b21543bc046bbf395868e7933ad8641 +DIST zeroconf-0.149.7.tar.gz.provenance 9693 BLAKE2B 4083488a81714f3cdcfe047bdc8158e8a94699931f40757ff204b7bc11e7328e02607fb49910f0ea2414809d14b26c63de369e87741dc6c63b1850e4a17833b8 SHA512 ce16d6921399d3d0eec4f09802dc80d48c79c05605bf7d79f0fd56fca0cedd3e51e35aaea3d64033d8ba6fd426855ad37a1935f2f3d112142d2f0fb35426e90b +DIST zeroconf-0.149.9.tar.gz 182818 BLAKE2B 826263cbe40998c2f9f4e7d31df6a1c1a0afc3bc81933184ab7abe982e873e4a9e803358966f84651677acbb1f746c5815cb027c357bf541315680d9eea16154 SHA512 62e630f80322b775d74d20fa219c2dbb4a1215f8124f01a0531fe7bd46178d2f6343d47d2c2f1523bca60d9fc2bdc54275ab25021d607dbae085724b80fc1375 +DIST zeroconf-0.149.9.tar.gz.provenance 9787 BLAKE2B e5aaa977f6a864297cc6f7f193382d17338cc5bed6fc7c5a80f61552901069032a5bc95ca2c18cacaae8cdda7a1b120ebc8c0ae0220aea525a59837b5131f411 SHA512 250e490de207db66de44a4e57d86a8da074d70a591996aab52d7231a6f4107c9562c3c48b2b6db0b03e9e6ccde7621a28f1d6d37956b818b829658b81f0f5731 diff --git a/dev-python/zeroconf/metadata.xml b/dev-python/zeroconf/metadata.xml new file mode 100644 index 000000000000..acfe7097587e --- /dev/null +++ b/dev-python/zeroconf/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/dev-python/zeroconf/zeroconf-0.148.0.ebuild b/dev-python/zeroconf/zeroconf-0.148.0.ebuild new file mode 100644 index 000000000000..a550da365aa9 --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.148.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=poetry +PYPI_VERIFY_REPO=https://github.com/python-zeroconf/python-zeroconf +PYTHON_COMPAT=( python3_{13..14} ) + +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" +IUSE="+native-extensions" + +RDEPEND=" + >=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}] +" +# the build system uses custom build script that uses distutils to build +# C extensions, sigh +BDEPEND=" + native-extensions? ( + >=dev-python/cython-3.0.8[${PYTHON_USEDEP}] + ) + >=dev-python/setuptools-65.6.3[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=( pytest-asyncio ) +distutils_enable_tests pytest + +python_compile() { + if use native-extensions; then + local -x REQUIRE_CYTHON=1 + else + local -x SKIP_CYTHON=1 + fi + + distutils-r1_python_compile +} + +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 + + # randomly broken by a leftover thread? + tests/test_circular_imports.py::test_circular_imports + ) + local EPYTEST_IGNORE=( + tests/benchmarks + ) + + epytest -o addopts= +} diff --git a/dev-python/zeroconf/zeroconf-0.149.13.ebuild b/dev-python/zeroconf/zeroconf-0.149.13.ebuild new file mode 100644 index 000000000000..fe8717e9a0b2 --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.149.13.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=poetry +PYPI_VERIFY_REPO=https://github.com/python-zeroconf/python-zeroconf +PYTHON_COMPAT=( python3_{13..14} ) + +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" +IUSE="+native-extensions" + +RDEPEND=" + >=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}] +" +# the build system uses custom build script that uses distutils to build +# C extensions, sigh +BDEPEND=" + native-extensions? ( + >=dev-python/cython-3.0.8[${PYTHON_USEDEP}] + ) + >=dev-python/setuptools-65.6.3[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=( pytest-asyncio ) +distutils_enable_tests pytest + +python_compile() { + if use native-extensions; then + local -x REQUIRE_CYTHON=1 + else + local -x SKIP_CYTHON=1 + fi + + distutils-r1_python_compile +} + +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 + + # randomly broken by a leftover thread? + tests/test_circular_imports.py::test_circular_imports + ) + local EPYTEST_IGNORE=( + tests/benchmarks + ) + + epytest -o addopts= +} diff --git a/dev-python/zeroconf/zeroconf-0.149.16.ebuild b/dev-python/zeroconf/zeroconf-0.149.16.ebuild new file mode 100644 index 000000000000..d79a522ece3d --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.149.16.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=poetry +PYPI_VERIFY_REPO=https://github.com/python-zeroconf/python-zeroconf +PYTHON_COMPAT=( python3_{13..14} ) + +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" +IUSE="+native-extensions" + +RDEPEND=" + >=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}] +" +# the build system uses custom build script that uses distutils to build +# C extensions, sigh +BDEPEND=" + native-extensions? ( + >=dev-python/cython-3.0.8[${PYTHON_USEDEP}] + ) + test? ( + >=dev-python/blockbuster-1.5.5[${PYTHON_USEDEP}] + ) + >=dev-python/setuptools-65.6.3[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=( pytest-asyncio ) +distutils_enable_tests pytest + +python_compile() { + if use native-extensions; then + local -x REQUIRE_CYTHON=1 + else + local -x SKIP_CYTHON=1 + fi + + distutils-r1_python_compile +} + +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 + + # randomly broken by a leftover thread? + tests/test_circular_imports.py::test_circular_imports + ) + local EPYTEST_IGNORE=( + tests/benchmarks + ) + + epytest -o addopts= +} diff --git a/dev-python/zeroconf/zeroconf-0.149.3.ebuild b/dev-python/zeroconf/zeroconf-0.149.3.ebuild new file mode 100644 index 000000000000..fe8717e9a0b2 --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.149.3.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=poetry +PYPI_VERIFY_REPO=https://github.com/python-zeroconf/python-zeroconf +PYTHON_COMPAT=( python3_{13..14} ) + +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" +IUSE="+native-extensions" + +RDEPEND=" + >=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}] +" +# the build system uses custom build script that uses distutils to build +# C extensions, sigh +BDEPEND=" + native-extensions? ( + >=dev-python/cython-3.0.8[${PYTHON_USEDEP}] + ) + >=dev-python/setuptools-65.6.3[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=( pytest-asyncio ) +distutils_enable_tests pytest + +python_compile() { + if use native-extensions; then + local -x REQUIRE_CYTHON=1 + else + local -x SKIP_CYTHON=1 + fi + + distutils-r1_python_compile +} + +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 + + # randomly broken by a leftover thread? + tests/test_circular_imports.py::test_circular_imports + ) + local EPYTEST_IGNORE=( + tests/benchmarks + ) + + epytest -o addopts= +} diff --git a/dev-python/zeroconf/zeroconf-0.149.5.ebuild b/dev-python/zeroconf/zeroconf-0.149.5.ebuild new file mode 100644 index 000000000000..fe8717e9a0b2 --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.149.5.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=poetry +PYPI_VERIFY_REPO=https://github.com/python-zeroconf/python-zeroconf +PYTHON_COMPAT=( python3_{13..14} ) + +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" +IUSE="+native-extensions" + +RDEPEND=" + >=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}] +" +# the build system uses custom build script that uses distutils to build +# C extensions, sigh +BDEPEND=" + native-extensions? ( + >=dev-python/cython-3.0.8[${PYTHON_USEDEP}] + ) + >=dev-python/setuptools-65.6.3[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=( pytest-asyncio ) +distutils_enable_tests pytest + +python_compile() { + if use native-extensions; then + local -x REQUIRE_CYTHON=1 + else + local -x SKIP_CYTHON=1 + fi + + distutils-r1_python_compile +} + +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 + + # randomly broken by a leftover thread? + tests/test_circular_imports.py::test_circular_imports + ) + local EPYTEST_IGNORE=( + tests/benchmarks + ) + + epytest -o addopts= +} diff --git a/dev-python/zeroconf/zeroconf-0.149.7.ebuild b/dev-python/zeroconf/zeroconf-0.149.7.ebuild new file mode 100644 index 000000000000..fe8717e9a0b2 --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.149.7.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=poetry +PYPI_VERIFY_REPO=https://github.com/python-zeroconf/python-zeroconf +PYTHON_COMPAT=( python3_{13..14} ) + +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" +IUSE="+native-extensions" + +RDEPEND=" + >=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}] +" +# the build system uses custom build script that uses distutils to build +# C extensions, sigh +BDEPEND=" + native-extensions? ( + >=dev-python/cython-3.0.8[${PYTHON_USEDEP}] + ) + >=dev-python/setuptools-65.6.3[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=( pytest-asyncio ) +distutils_enable_tests pytest + +python_compile() { + if use native-extensions; then + local -x REQUIRE_CYTHON=1 + else + local -x SKIP_CYTHON=1 + fi + + distutils-r1_python_compile +} + +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 + + # randomly broken by a leftover thread? + tests/test_circular_imports.py::test_circular_imports + ) + local EPYTEST_IGNORE=( + tests/benchmarks + ) + + epytest -o addopts= +} diff --git a/dev-python/zeroconf/zeroconf-0.149.9.ebuild b/dev-python/zeroconf/zeroconf-0.149.9.ebuild new file mode 100644 index 000000000000..fe8717e9a0b2 --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.149.9.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=poetry +PYPI_VERIFY_REPO=https://github.com/python-zeroconf/python-zeroconf +PYTHON_COMPAT=( python3_{13..14} ) + +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" +IUSE="+native-extensions" + +RDEPEND=" + >=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}] +" +# the build system uses custom build script that uses distutils to build +# C extensions, sigh +BDEPEND=" + native-extensions? ( + >=dev-python/cython-3.0.8[${PYTHON_USEDEP}] + ) + >=dev-python/setuptools-65.6.3[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=( pytest-asyncio ) +distutils_enable_tests pytest + +python_compile() { + if use native-extensions; then + local -x REQUIRE_CYTHON=1 + else + local -x SKIP_CYTHON=1 + fi + + distutils-r1_python_compile +} + +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 + + # randomly broken by a leftover thread? + tests/test_circular_imports.py::test_circular_imports + ) + local EPYTEST_IGNORE=( + tests/benchmarks + ) + + epytest -o addopts= +} |
