diff options
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/Manifest.gz | bin | 268270 -> 268257 bytes | |||
-rw-r--r-- | dev-python/argh/Manifest | 2 | ||||
-rw-r--r-- | dev-python/argh/argh-0.29.3.ebuild | 28 | ||||
-rw-r--r-- | dev-python/hypothesis/Manifest | 2 | ||||
-rw-r--r-- | dev-python/hypothesis/hypothesis-6.83.1.ebuild | 91 | ||||
-rw-r--r-- | dev-python/pdm/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pdm/pdm-2.9.1.ebuild | 68 | ||||
-rw-r--r-- | dev-python/pyaml/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pyaml/pyaml-23.9.1.ebuild | 30 | ||||
-rw-r--r-- | dev-python/pypdf/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pypdf/pypdf-3.15.5.ebuild | 56 | ||||
-rw-r--r-- | dev-python/python-engineio/Manifest | 2 | ||||
-rw-r--r-- | dev-python/python-engineio/python-engineio-4.7.0.ebuild | 58 | ||||
-rw-r--r-- | dev-python/zeroconf/Manifest | 2 | ||||
-rw-r--r-- | dev-python/zeroconf/zeroconf-0.97.0.ebuild | 56 |
15 files changed, 401 insertions, 0 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 5f809253e78c..764119d7e382 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/argh/Manifest b/dev-python/argh/Manifest index 6a81a84ac4f2..9109a5346527 100644 --- a/dev-python/argh/Manifest +++ b/dev-python/argh/Manifest @@ -1,3 +1,5 @@ DIST argh-0.28.1.tar.gz 62511 BLAKE2B fb06ad73c5d8e8508103007a2213285f52f4d245ade288504616d42847c982a27ca94f0850f87052737c17740de705a9f8557fcafbea6f656e30ca1ed99efffb SHA512 c5d4515f5ba94a60dbcc6fa81812c192b51539ceee349129028a3d736ba1b0eac23135b31fa6d350e9fff778250365848e6c2077553849aeebbb9b67be6774dc +DIST argh-0.29.3.tar.gz 52641 BLAKE2B c9cdfbf9a958ce6386984c422717cf9dbcdf6bf69a909e34fcc34a3b6cc3e8f9ee831898fb1fbe39cef68927a949d172b553fb51c16a7ae80382c03be0a26d57 SHA512 ec5c090399e824d0e6dc51b199859e40707d5a7f3b651ef72b186d8b3bf402096e9522b6eaf90bbaeb3ad58aae24c25f043749698c47e3fabbb6259e9b9dbffc EBUILD argh-0.28.1.ebuild 568 BLAKE2B 101ad987971dbdfb496aecc1c8e0be5aa19a67df9e89accd4c0ffb000cde38a0238567d69935ce0acdb51bf2280cf88be3ab66253d09d10d07e561981f868a67 SHA512 3eb461338244c4f5a2c487c932aecaf185b3f2717fea8223b6de9353adf0d629863eb9ebf463601db19c0302d69dc09854dc823652c539d01b09572085f5cfdd +EBUILD argh-0.29.3.ebuild 576 BLAKE2B adefc58efa7542e9e97e66d22aacbf443549eb9c97c6cb19b9cb4ed25e474016f6a60620f47333f06d17ac19183d25f1be348c97a87a13d051452c07c5cb90ba SHA512 cacf7a864e4e581f06ab6834014f67aa96e08d2dba09d8de5db00daef3dd6011e16a843a5afb5ad1c183ce85308a8e660eecd135dfd26959ba64c35ace6caaf8 MISC metadata.xml 385 BLAKE2B e1fc25e92c45fbd0183634cc645085fef5223a59975a5000557c1a2ef497c6f9ce017e462a9a881e61b4578c90859f51e5471d197ea884b7dc4ce90786a0987a SHA512 97719df6c0b48c7348bf25de9016dd1de373d6b9e1fd7f52d87eb6e0935608719c726aa3f4ca4aba8fa1211d1234c2b959dd821d241cd65b6cb47b1a06481df6 diff --git a/dev-python/argh/argh-0.29.3.ebuild b/dev-python/argh/argh-0.29.3.ebuild new file mode 100644 index 000000000000..32a100a7ba11 --- /dev/null +++ b/dev-python/argh/argh-0.29.3.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="A simple argparse wrapper" +HOMEPAGE=" + https://pythonhosted.org/argh/ + https://github.com/neithere/argh/ + https://pypi.org/project/argh/ +" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +LICENSE="LGPL-3" + +BDEPEND=" + test? ( + dev-python/iocapture[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index e13e1e414ef0..9e533e3cd507 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -5,6 +5,7 @@ DIST hypothesis-6.82.5.gh.tar.gz 9378852 BLAKE2B b40cd8cce2c84f535be7f73e91b354f DIST hypothesis-6.82.6.gh.tar.gz 9379121 BLAKE2B f6f6803e07fa10663f9f3ad60915f179acc14dee57f373e36772bb60bf74dcdf1ea20bb251f67394fadeca47cddc33fc8b8950fddd1def1a84c97616d9888331 SHA512 507656462a88a436a1b250cd348770f8e3f359cd9988ea9c97dd98e6f82bf05a827b6cff394da6b7102ddf31b17443d25df31ee2efaf814f08a174617d3e59c0 DIST hypothesis-6.82.7.gh.tar.gz 9379221 BLAKE2B ccb35d84bd9fe6b68f396575ed7f55ad4a615870bcfd881e60a6d9813b5713f573d947aaaa594c553bd408c9d8709502f5323382a77662a26238114c414feb3d SHA512 b26d459a1b7c5f363830b20d4787f3e7bbac647eb82b94d8d02be3337f77707c6c4de1676b5fb0fabb049b0becab1a73191967ee435cbc096f797fca8cfb0a01 DIST hypothesis-6.83.0.gh.tar.gz 9380147 BLAKE2B ec878cbd6def0cfd8b8c638775c00e42be30f5129f0083544260be1e2123756266bde67cc1ef3b49a6d47c7827eec7bfe2695dfc113d0af9c205071e6d3c2cf8 SHA512 b68f8e6a4d4aae138ce1bf30fde1870cd23d80dde583a0a758b1ac1baf949bcac8622770ae01b761d0760dc63bba80d630e8cd4ba83174ba6d0924a41a7f7c9e +DIST hypothesis-6.83.1.gh.tar.gz 9380569 BLAKE2B a1af77a089ade4a957fd66036095436861ff96dca3c9670ae87f28ba4223531168175329a43574c744ce0d91786bed2ed911837642c9506341f94875080e5a5b SHA512 4649061550b0d1ac96217c5cfd5e6eb44352eee6b81861fd93138fffaac3d85a87644c3faff221f6bb389f2bebdc47436f5ea70fc746aada2d25c78a74a21fec EBUILD hypothesis-6.81.2.ebuild 2505 BLAKE2B 3300ad59224b47e57e712fe267ffb203a8133ea8a4034475ca10ba245d7601d4eff5f04ed65033fb71277e5a068ceb1a0eaf9f51d8ca7133967d0eb3b2b677ad SHA512 c8b4e2846301c52b8b8f1a7a610051b9ed1b268b806ec6442a0bed45382203e98796a02992f3edcecd1db6dcdc0799a9d6af70c9f58df119388a0898c45bc611 EBUILD hypothesis-6.82.3.ebuild 2502 BLAKE2B b16e9f92ad6000402fa02a5eb4d1e1367c5359c0b92a213508ced51afc1c93efc34a3eaffe9843eddb66b871ec2cdc009ce6a5990da2ab391b4026386f31387f SHA512 ae1722ba72d73ec70bae25ba9fa00a489ff029b8030e26e6b6d4168043ac7c7ac005db91488b9ea68f015dae929ea0ffd1e18739f7204d36fd3d97bd81b02781 EBUILD hypothesis-6.82.4.ebuild 2502 BLAKE2B b16e9f92ad6000402fa02a5eb4d1e1367c5359c0b92a213508ced51afc1c93efc34a3eaffe9843eddb66b871ec2cdc009ce6a5990da2ab391b4026386f31387f SHA512 ae1722ba72d73ec70bae25ba9fa00a489ff029b8030e26e6b6d4168043ac7c7ac005db91488b9ea68f015dae929ea0ffd1e18739f7204d36fd3d97bd81b02781 @@ -12,4 +13,5 @@ EBUILD hypothesis-6.82.5.ebuild 2502 BLAKE2B b16e9f92ad6000402fa02a5eb4d1e1367c5 EBUILD hypothesis-6.82.6.ebuild 2502 BLAKE2B b16e9f92ad6000402fa02a5eb4d1e1367c5359c0b92a213508ced51afc1c93efc34a3eaffe9843eddb66b871ec2cdc009ce6a5990da2ab391b4026386f31387f SHA512 ae1722ba72d73ec70bae25ba9fa00a489ff029b8030e26e6b6d4168043ac7c7ac005db91488b9ea68f015dae929ea0ffd1e18739f7204d36fd3d97bd81b02781 EBUILD hypothesis-6.82.7.ebuild 2502 BLAKE2B b16e9f92ad6000402fa02a5eb4d1e1367c5359c0b92a213508ced51afc1c93efc34a3eaffe9843eddb66b871ec2cdc009ce6a5990da2ab391b4026386f31387f SHA512 ae1722ba72d73ec70bae25ba9fa00a489ff029b8030e26e6b6d4168043ac7c7ac005db91488b9ea68f015dae929ea0ffd1e18739f7204d36fd3d97bd81b02781 EBUILD hypothesis-6.83.0.ebuild 2519 BLAKE2B 4a6da12f06a6172d03a6404f2869e1c71a39d97961d93c8b1af4369597d00b773b16f7fc40a8bd80c4b2525c490d67b708046894feb86403563859cc20c45974 SHA512 aacb5ee7464fc4bef490f9f4bdb558ac38310bfa226c1a49a9b82a854cf814d68b5154386130c68fc396d74650d2533d51487e17ebaef049b283417f5c677cb8 +EBUILD hypothesis-6.83.1.ebuild 2519 BLAKE2B 4a6da12f06a6172d03a6404f2869e1c71a39d97961d93c8b1af4369597d00b773b16f7fc40a8bd80c4b2525c490d67b708046894feb86403563859cc20c45974 SHA512 aacb5ee7464fc4bef490f9f4bdb558ac38310bfa226c1a49a9b82a854cf814d68b5154386130c68fc396d74650d2533d51487e17ebaef049b283417f5c677cb8 MISC metadata.xml 492 BLAKE2B c9e9bbd59af55d1f47e5b7a86933c02b47f832122d03eaca56bd3ec9476cf260d91d4fd2da5068845d4525b7cc9f702b515e8d6a0dffa7923f5898cfd44e12a1 SHA512 166b33d6ac887f52d54fb9d556102038c00650a597d2de1c3aad3f8b5e136e9b6b7db31f05f3379435e4c5f943156d5839d78fc95461af411037a3162ea6705e diff --git a/dev-python/hypothesis/hypothesis-6.83.1.ebuild b/dev-python/hypothesis/hypothesis-6.83.1.ebuild new file mode 100644 index 000000000000..0d6df2a9e475 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.83.1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( "${CLI_COMPAT[@]}" pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 multiprocessing optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + ' 3.9 3.10) + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !!<dev-python/requests-toolbelt-0.10.1 + ) +" + +distutils_enable_tests pytest + +python_test() { + # subtests are broken by warnings from random plugins + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin + local -x HYPOTHESIS_NO_PLUGINS=1 + + # NB: paths need to be relative to pytest.ini, + # i.e. start with hypothesis-python/ + local EPYTEST_DESELECT=() + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # failing due to warnings from numpy/cython + hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture + ) + ;; + esac + + epytest -o filterwarnings= -n "$(makeopts_jobs)" --dist=worksteal \ + tests/cover tests/pytest tests/quality +} + +python_install() { + distutils-r1_python_install + if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then + rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die + fi +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/pdm/Manifest b/dev-python/pdm/Manifest index ea8858974a34..55ecb991481d 100644 --- a/dev-python/pdm/Manifest +++ b/dev-python/pdm/Manifest @@ -2,8 +2,10 @@ DIST pdm-2.8.0.tar.gz 3069029 BLAKE2B 3fc3246c7bf26953be96def58d8249c981def96e16 DIST pdm-2.8.1.tar.gz 3014347 BLAKE2B 0dde8e2376065ac6241e06c24a7b1b241e5653f6e2cb7fd529cc8dfd3d0f6c6fc4c6a43208551594a7d837d11dbaff02612d944a9077cb132d3eee3c23559ee7 SHA512 f18fddd533cf0b72f9ff376c865bc5df6a58c248f4c9737404eb1d62f5d9a233f22b7a76db3b2f9b7a321c8d1e3aa2ea395d2dd3ffe29834ccc09c8272410b82 DIST pdm-2.8.2.tar.gz 3014401 BLAKE2B a541339582944988b7a30d2991066287e0293845d4f15c7f6cb2fef7a8709dba537f190e5493bd3b06e7ef86fca601a9d1aab7af6ca6ae55269b374a7464ca17 SHA512 396e27902f74773070cf49c3857d93702e6678a46221b54dc03e84e2b8ccf211cbba9d24eba6bfc47ff36cbd4eb504ada5bf82071c884347026ba85c123058e9 DIST pdm-2.9.0.tar.gz 3017672 BLAKE2B f0fe08da3fcc3d72e707d11d217b1482b06351eeae47cef3b696100589d0acd15dd860d61c60004d68decafe277d7afd1c79ae5826689be6781120ef8cf3c969 SHA512 1d7f8b6a4403779730117179a4bfd5884afeeff3f6d7f083e5ed50835b3764b19f54dd8509db04968c66e176a34aef8b6a26f1a9423cd23b94a4eb1255962467 +DIST pdm-2.9.1.tar.gz 3017895 BLAKE2B 944a1cd9571f7ad2ec6b4212b29db7b6c7c5e8b12591c73dae19f099f9d511f0db3f0698d48e2e42fc81f30c876caa7c9e43467d23eee26876595e6fd6ff197e SHA512 979bf9d078747c7b8dd56555d499053b978ddf289af4bf889b2f2805255049c24bf48607b3704509d914eec59904cbdb9983af396c68ff7211cc216fd4b40118 EBUILD pdm-2.8.0.ebuild 1809 BLAKE2B 8a58008f56e6eeef3f60917e159ac45905b63b7e2c040cf800055453ab3b583bed7d35ff07faaf5dc9b922b362213a0cd63701bde842468c7ffb57da1e67c3d7 SHA512 221d148fe6ee7744fe65f2aca503cd8e7bd0bf0242a54fa2b2e95fedc96d99a4c98e1f6832dd919cc281932f6a323ed01cb483810caa588d0a897074ca8ad7b2 EBUILD pdm-2.8.1.ebuild 2243 BLAKE2B 793f8516d6f341fecb38d0f4f02d43290c600b67fcb7e6f9b0fabb7688a5d10d518760e21721d4731704a7eecab605eaa7cedddc79866a5d816639db65cc477b SHA512 0adae8c6ccc867216928457c705c24f0ecbf2d3b4ebb1e5c2f53968beac3379dd6aed8741d78b79e9b545891bcdf8eb57cc22f17616af828d51a83058d438d76 EBUILD pdm-2.8.2.ebuild 2243 BLAKE2B 793f8516d6f341fecb38d0f4f02d43290c600b67fcb7e6f9b0fabb7688a5d10d518760e21721d4731704a7eecab605eaa7cedddc79866a5d816639db65cc477b SHA512 0adae8c6ccc867216928457c705c24f0ecbf2d3b4ebb1e5c2f53968beac3379dd6aed8741d78b79e9b545891bcdf8eb57cc22f17616af828d51a83058d438d76 EBUILD pdm-2.9.0.ebuild 2284 BLAKE2B 585cb2f5262f9857cd4b0247992488a0b9af093bd053a41250348931334de29a120c309f4479cf921bf979b9538e2326672729ea278e5ce4ee8104a003ddf682 SHA512 78252feb137b368bf20da328ee9a4cb8b8032698d50fbdcc1479cbb018aafa0f8b4fc898f668b8f783ae5af5baa2482552c71c5df7813972e090b260fd0eb774 +EBUILD pdm-2.9.1.ebuild 2284 BLAKE2B 585cb2f5262f9857cd4b0247992488a0b9af093bd053a41250348931334de29a120c309f4479cf921bf979b9538e2326672729ea278e5ce4ee8104a003ddf682 SHA512 78252feb137b368bf20da328ee9a4cb8b8032698d50fbdcc1479cbb018aafa0f8b4fc898f668b8f783ae5af5baa2482552c71c5df7813972e090b260fd0eb774 MISC metadata.xml 419 BLAKE2B 4bb9d30f2274bd258d27da17271a172860c6475f18d8898827347853bd5c0a27ef2be17e7183a4e825a3e15678c1c69da0c3aa12f1df18ca6d62e97fe788660d SHA512 6810c73f34329c8a16295ff0e21157a05eb538df564f43c4829f6cffdbd2bf0a224462fc69ebe11c70a94305168d9930c28896db9894d599a014140663b164d5 diff --git a/dev-python/pdm/pdm-2.9.1.ebuild b/dev-python/pdm/pdm-2.9.1.ebuild new file mode 100644 index 000000000000..4d236116e9d1 --- /dev/null +++ b/dev-python/pdm/pdm-2.9.1.ebuild @@ -0,0 +1,68 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python package and dependency manager supporting the latest PEP standards" +HOMEPAGE=" + https://pypi.org/project/pdm/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/blinker[${PYTHON_USEDEP}] + dev-python/certifi[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/platformdirs[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + dev-python/truststore[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + dev-python/pyproject-hooks[${PYTHON_USEDEP}] + dev-python/requests-toolbelt[${PYTHON_USEDEP}] + >=dev-python/unearth-0.10.0[${PYTHON_USEDEP}] + <dev-python/findpython-1[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] + dev-python/shellingham[${PYTHON_USEDEP}] + dev-python/python-dotenv[${PYTHON_USEDEP}] + >=dev-python/resolvelib-1.0.1[${PYTHON_USEDEP}] + dev-python/installer[${PYTHON_USEDEP}] + dev-python/cachecontrol[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/tomli[${PYTHON_USEDEP}]' pypy3 python3_10) +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # Internet + 'tests/cli/test_build.py::test_build_with_no_isolation[False]' + tests/test_project.py::test_access_index_with_auth + tests/cli/test_others.py::test_build_distributions + 'tests/models/test_candidates.py::test_expand_project_root_in_url[demo @ file:///${PROJECT_ROOT}/tests/fixtures/artifacts/demo-0.0.1.tar.gz]' + 'tests/models/test_candidates.py::test_expand_project_root_in_url[-e file:///${PROJECT_ROOT}/tests/fixtures/projects/demo-#-with-hash#egg=demo]' + # hangs on interactive keyring prompts + tests/cli/test_config.py::test_repository_overwrite_default + tests/cli/test_config.py::test_hide_password_in_output_repository + tests/cli/test_config.py::test_hide_password_in_output_pypi + # junk output, sigh + tests/cli/test_others.py::test_info_command_json + # why does it try to use python 2.7?! + tests/cli/test_run.py::test_import_another_sitecustomize + ) + + epytest -m "not network and not integration and not path" +} diff --git a/dev-python/pyaml/Manifest b/dev-python/pyaml/Manifest index d6ec53eb1062..e4879c77b2c8 100644 --- a/dev-python/pyaml/Manifest +++ b/dev-python/pyaml/Manifest @@ -1,3 +1,5 @@ DIST pyaml-23.7.0.tar.gz 20805 BLAKE2B 797b2b5d2121f3b0f67445d4b3a55b13d0716d5eddd5dc83a08b767d293b486e9985203f4e2571a7c8d3010b9cac9093e9353517f6414cd5b89cdcfe5d39c85a SHA512 edbe58a3a7f1216a2463ac56af829c38b12b7194429691a92cb7f28ca926094e324d6e44d3fb64be40239dc8a6dc61d72946b107f5210ca83e73dec18b1428ef +DIST pyaml-23.9.1.tar.gz 21479 BLAKE2B dd684dd290cb3666ff823782d5252fea663ebd8801112765a1c4d18e1020072235a61f9d04df77da07bfb53074b1f3ed6a3a69776282c601768d14e79bb2ce41 SHA512 697ec54818d1c9117af768b2dd9e9269d78cf64416ea35673bee6b874f7b712be95467cdab73552c7105c38be73edb0a9a91fa924b191def7e39ed86b0eb8fd9 EBUILD pyaml-23.7.0.ebuild 601 BLAKE2B 892a43a2009fdb8779f02dc3a8d79c6abf0c1824bd71ff4b4dba4759375c6dc0263d17e90b15a83a22d432512d1c9522393c5797fa0db0e4a1d028c049aeebfd SHA512 fa3e1defa501ace7f1c6c1a778ce9865937390c12893b0fc665d596d76179ac8832397b4a24eebcf8a6127b0f9bae22ba1b95ee073bceae7de5580fe852837a9 +EBUILD pyaml-23.9.1.ebuild 604 BLAKE2B 4d7b86356b5480c24f2562f5aae63ea99c8fdee250952349546cf8a7b7be27ffd30261df3c19051756d00b3d45ee3f1455342950021c091088ae7821742f8638 SHA512 83584617f5ce360ced493906fcd311f11ecfdfed3b772c0aff679b14f4473ae3fdbe7be30a385aa1c810806ac99901220f22d48820460f57f7cc611091d826e9 MISC metadata.xml 470 BLAKE2B 725657a34cdcbddf146ea3163af81fd22f78b895281e7dc2192b8c1f49fa9ec868e41a38bc371ce61160535ad0c5c1d8741109858cb8e3eafb40a77d623c3ecf SHA512 c64f440d674396b0a750780cbc5ab1a5003be1d3357b39a792cb9490870c768ab740266575cf6780f173252a893f6fa93fe9d4f414647274e520c4bd4b579c67 diff --git a/dev-python/pyaml/pyaml-23.9.1.ebuild b/dev-python/pyaml/pyaml-23.9.1.ebuild new file mode 100644 index 000000000000..a49398baeb97 --- /dev/null +++ b/dev-python/pyaml/pyaml-23.9.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="PyYAML-based module to produce pretty and readable YAML-serialized data" +HOMEPAGE=" + https://github.com/mk-fg/pretty-yaml/ + https://pypi.org/project/pyaml/ +" + +LICENSE="WTFPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-python/pyyaml[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/unidecode[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index b277af57f1bf..2173c2e71af3 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -2,9 +2,11 @@ DIST pypdf-3.15.1.gh.tar.gz 7679588 BLAKE2B 9148d17be47fc653bba26fc39ca58f503eba DIST pypdf-3.15.2.gh.tar.gz 7679823 BLAKE2B c53e51adaa2d789b56f0871ef9937e01eb91074dd30afece840a17c8b789686ff88942345764e7451b4ad1af21405f9e18d96f03cb8cdfbbe34ef786fcd85fac SHA512 804ff4c57e626b10827167a91aaa82e9acc46aea48b1a961ea50fff526c3fc012aa231f2ea269bd715a9f5294b684f8338d34356f738dd45f512228019a63633 DIST pypdf-3.15.3.gh.tar.gz 7682634 BLAKE2B c0b4046152fecaaddab28e6c8220d001bb47cf958464f2e4c6507dd089810ad61ccbbf0922d592d190f3effc88ed0c0cf3331e634616e985aedc4a026d5e4f52 SHA512 8fc82cc204a807ab308b21c8665162710fd9a3fb58fd8177fe559b801247ad8a8c949ce58d2879b6b64c040d137eb6731a76b533308b30e556a59bd33ae6b12e DIST pypdf-3.15.4.gh.tar.gz 7929672 BLAKE2B da8bbbe6f1df51be63d116789eb4626ab59e576f52327a53e0d02eef38dcbe8d3524a3a33bc6b9103920fdc6322d75e5e82e76ad88c4166b5d13cb4bcda3ed0f SHA512 8d7db1c52700a2c9ec37c1756d04555708f4c859394c4866316d94470742a8d7900e5ec5d8fb2124ad285efc4848071d373347353226959b21dff84425b46513 +DIST pypdf-3.15.5.gh.tar.gz 7930893 BLAKE2B acdd6254c45e11631faccc4fd6029525d7cec52f7cf222d48f95a9bb736a83bdb9dfc6bf2830f55d0f881eb23ca0641c06fa97165c64789f7b152998febfe017 SHA512 173cfbfbbd5f2f08ebd03aa36750904d5a7ac328c27da1b38bda7b34586bf86eab391b3c1e9a6dd5f2e754d1871303afe151a80a3bb5d4ab867b6a019ecef054 DIST pypdf-sample-files-935652968f76a41b4fa51afd05498e7dd7314c5e.gh.tar.gz 11187445 BLAKE2B e9332009a49249fdaa8b6c29258b11dfcf3627a5550ea7402cf0288bb4b0537136b039e6f4aefb03574076d1fc0af6100effc0d36510f035d9e63836ad52c4d7 SHA512 8d525aa323e5b45f71130459faa9686ec4ae04bc594895a64f1a5b6d027f866c48aca78602ad526000a11b547cc77068d1ac5e733d3e3a99df0e257c02fbb9e7 EBUILD pypdf-3.15.1.ebuild 1209 BLAKE2B 47f9252a0f11ea387f3224731964f0048586a0d8cf7a3cbbbbe48deb003d696d003e21c49426b91dd1a3b986ee0dcbae024a721718a3aa5153e2c23ecc9a71a6 SHA512 d49aa95a85075163fd7ac00713007a2c31c2ffe3d3fac4e43c681b6c29dc4a174ae8e0b1e3a2ddcd92d7afdcdec8cbab0a7b645607790179ffa46ae5e9ee49e0 EBUILD pypdf-3.15.2.ebuild 1211 BLAKE2B d79a894ae3fe363caa1812922a8fc1c1d2282b62f5b3e383ba156c92209d5836eb9eb3bb524f5d16f57d98864af9e94feeac0443bdacaf856104c158672468fd SHA512 14feab4e5c42d1fc977c9fc7ca9cd9488d3c08f21b775ae7b4ec9127d85fc641eaf99614409cb6550fda1012200c3bd9ca5cef2702f025aa3af65acc63b236ed EBUILD pypdf-3.15.3.ebuild 1211 BLAKE2B d79a894ae3fe363caa1812922a8fc1c1d2282b62f5b3e383ba156c92209d5836eb9eb3bb524f5d16f57d98864af9e94feeac0443bdacaf856104c158672468fd SHA512 14feab4e5c42d1fc977c9fc7ca9cd9488d3c08f21b775ae7b4ec9127d85fc641eaf99614409cb6550fda1012200c3bd9ca5cef2702f025aa3af65acc63b236ed EBUILD pypdf-3.15.4.ebuild 1211 BLAKE2B d79a894ae3fe363caa1812922a8fc1c1d2282b62f5b3e383ba156c92209d5836eb9eb3bb524f5d16f57d98864af9e94feeac0443bdacaf856104c158672468fd SHA512 14feab4e5c42d1fc977c9fc7ca9cd9488d3c08f21b775ae7b4ec9127d85fc641eaf99614409cb6550fda1012200c3bd9ca5cef2702f025aa3af65acc63b236ed +EBUILD pypdf-3.15.5.ebuild 1211 BLAKE2B d79a894ae3fe363caa1812922a8fc1c1d2282b62f5b3e383ba156c92209d5836eb9eb3bb524f5d16f57d98864af9e94feeac0443bdacaf856104c158672468fd SHA512 14feab4e5c42d1fc977c9fc7ca9cd9488d3c08f21b775ae7b4ec9127d85fc641eaf99614409cb6550fda1012200c3bd9ca5cef2702f025aa3af65acc63b236ed MISC metadata.xml 373 BLAKE2B a829b7048eb3a95caeb1be83b6172603df6a031d40995294f2687bf3c3cb70e66fafb9ba8339d9979fc85f5936b9552963a8fcd072a20661fa78f3aa3c4b89c0 SHA512 775ac2de487f11fba1ea8d283b42b9ef56e42cd95ea11f50a06b099420e69c0567f65c506b14891ac641da90ea05ca70da4f8a3e4a028cf41bdbc823021dccfe diff --git a/dev-python/pypdf/pypdf-3.15.5.ebuild b/dev-python/pypdf/pypdf-3.15.5.ebuild new file mode 100644 index 000000000000..bd9de5c7eff6 --- /dev/null +++ b/dev-python/pypdf/pypdf-3.15.5.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=935652968f76a41b4fa51afd05498e7dd7314c5e +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + # TODO: requires fpdf + tests/test_page.py::test_compression +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +} diff --git a/dev-python/python-engineio/Manifest b/dev-python/python-engineio/Manifest index 2363c8ec82da..63822fc91d6e 100644 --- a/dev-python/python-engineio/Manifest +++ b/dev-python/python-engineio/Manifest @@ -1,7 +1,9 @@ DIST python-engineio-4.5.1.gh.tar.gz 309858 BLAKE2B 684bb4c32f050d52091c91312fa2cbe2ef1be133a797734de75f9c4b2c088e8f1b239260e62f189266cd72e4ff1203d63f1abca6887a34b498de43b6ceedefaf SHA512 c661e4691c8e14c547ed4de381b97470f0eead36783a299829e0a472022b508e45c6a131bb2c88bdf9542d59f8128a4640340514e20476ec8e7c7a4babbe3c68 DIST python-engineio-4.6.0.gh.tar.gz 310597 BLAKE2B 7749e65f1f79bd21fb3f89dd541f3c306c780b2a98e8f0a8368b6fa7bf40738a5115f00f976f40914fcef9a94ef618e40b05993e6812630f46524d05c55b0eba SHA512 28efc25ff7eda98fa16e7c52effafc0789f18d947301479e5393e674e97826cd16bffe8554a8016c53587ac66b1f2cac90d2f64dfa9c1e2466f4324ee9880b1d DIST python-engineio-4.6.1.gh.tar.gz 310625 BLAKE2B 2247e926117ee659f7bd428df673b10c3655534b33d062eb33e7f400890062116f3edc82f66e6bd29817e61b314376b2227fbb513802c11a04c921a610f00063 SHA512 a423a048a09396d7a3c834056118bbd124a1313e8f63b16fa40ec51b6b8f247fbe7d540e1e5f4a8a103c14ff5b5e3f53686723f2cd70e26c3a59b6100bff336f +DIST python-engineio-4.7.0.gh.tar.gz 311878 BLAKE2B 6b33bbf8c386fd6bf02f00d66e98bb11ef7a862d0d7c796094aeeeba8c87dd41e1f5b957a786b6ef181037dd5e6c390abdafc4f91fbacae356a0dbfe736e2775 SHA512 c1a41059024939a2cd11ed235a984b4e25cb622745fd6b46f15304d1470d33214283b7ae7b097edc8312ce1b5dc144eed7a2a505042b150b7bbd4320f026cd9d EBUILD python-engineio-4.5.1.ebuild 1341 BLAKE2B 9eacb13b8f6737888970ba1f4f79a2cc6415ee6c77398fdf34bd1fae798bd0515a109ac4b80dae919b750a00ffb6113d3078fa7e5df7056b2ec0dd560b82e125 SHA512 44eb2027334d65d607556e6599e9f19685f0c797b5c73f399d3d9b456d44e3643b9d5af09e0a5f8e1bda8858e99618266784beb1f4985c10b3f98b27c2f0439e EBUILD python-engineio-4.6.0.ebuild 1341 BLAKE2B 59e136f2e751e8afe079f0faf724bcf09e2efd53fe5b62546417b1f7b47d1149ede503e947adb591417c38dfd303cf2a5c0c4d106864b8592289e1933420412a SHA512 59c9d2b0d33656850de400e91d70397f4302a471ff820317da8d4f53b5f403d14b92229c9d63539a9e4c6ce134b1f3db86ff0018b8bd0381241e38cf5bbc2d32 EBUILD python-engineio-4.6.1.ebuild 1341 BLAKE2B 59e136f2e751e8afe079f0faf724bcf09e2efd53fe5b62546417b1f7b47d1149ede503e947adb591417c38dfd303cf2a5c0c4d106864b8592289e1933420412a SHA512 59c9d2b0d33656850de400e91d70397f4302a471ff820317da8d4f53b5f403d14b92229c9d63539a9e4c6ce134b1f3db86ff0018b8bd0381241e38cf5bbc2d32 +EBUILD python-engineio-4.7.0.ebuild 1435 BLAKE2B 4c08ca79daa4d9e579943d08d5251e25ac01ad2921b8f1be39aff8a28e3f74e272d2d57637bf6d077909f1934d24c04d189eee1269d531da5f6a7f898fd6f696 SHA512 eefa7ed83da3527014830c3de75a2b4a885059d903097e44e87e240d6d76abdb4ddf160f8a5f23f9d8e0b653351b5336002bcf653d9f9b91e4cc5bedb302daf1 MISC metadata.xml 518 BLAKE2B 7325d24cc26b1a3b4e2dec04159cdd4ebcceaf0384fccbee11205f9c000b1e9f84f97c742a6181dbad419e2527c6f874bc3f89760daa6b6dd2feb9b1f874b515 SHA512 40fe9ac96224019d28206f75ae6249c75dbcb759918c03826af4f8a394586bd5df445ef475cd009e8af93ea5c7424abebbbfd65ac2e2eb7bdd9e8a29f2dcb34f diff --git a/dev-python/python-engineio/python-engineio-4.7.0.ebuild b/dev-python/python-engineio/python-engineio-4.7.0.ebuild new file mode 100644 index 000000000000..96cfd80c6af2 --- /dev/null +++ b/dev-python/python-engineio/python-engineio-4.7.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Python implementation of the Engine.IO realtime server" +HOMEPAGE=" + https://python-engineio.readthedocs.io/ + https://github.com/miguelgrinberg/python-engineio/ + https://pypi.org/project/python-engineio/" +SRC_URI=" + https://github.com/miguelgrinberg/python-engineio/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/websocket-client[${PYTHON_USEDEP}] +" +# Can use eventlet, werkzeug, or gevent, but no tests for werkzeug +BDEPEND=" + test? ( + dev-python/tornado[${PYTHON_USEDEP}] + dev-python/websockets[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/alabaster + +python_test() { + local EPYTEST_IGNORE=( + # eventlet is masked for removal + tests/common/test_async_eventlet.py + ) + + local EPYTEST_DESELECT=( + # also eventlet + tests/common/test_server.py::TestServer::test_async_mode_eventlet + tests/common/test_server.py::TestServer::test_connect + tests/common/test_server.py::TestServer::test_service_task_started + tests/common/test_server.py::TestServer::test_upgrades + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest index 8d5ca68e88e5..8d58dc02e567 100644 --- a/dev-python/zeroconf/Manifest +++ b/dev-python/zeroconf/Manifest @@ -5,6 +5,7 @@ DIST zeroconf-0.88.0.tar.gz 150009 BLAKE2B 45a8abca7bbda4246af8838818cffda445bae DIST zeroconf-0.90.0.tar.gz 150318 BLAKE2B 5239571a4b65f736a799b285d11221636a26d6cf19625bd276baa346a61420519698e13bcfa5909a5ece3026aeb2229a143824915d15ee1d01bfc7c9ef956809 SHA512 82c8d9410f0f6fe0f2ab3136034f4d62752eec0b4c3e5acc0689a0aa817fd9aa33555a0b92f18c224a3ac8b90dd583d77bf372637a20b889d0d8be9e4d8e0458 DIST zeroconf-0.91.1.tar.gz 150551 BLAKE2B 220e6b5684d503c7d1c594196ffa7ecc4f06975accad2ad64a6dd0a75881326110bbf897e74a2a176307fc392fc9fce903c77bbf9fc70fec84f193072bd7a016 SHA512 852946a2f823de1dc25dda5321ec23c67e3893fd8dcf55391e001afb01eb4c8143813aaa0950fddbea6634975eb0904a6e3b500cbe082e843da301c0cd704e9a DIST zeroconf-0.93.1.tar.gz 151476 BLAKE2B 46a866c6d8268c4688b33c1da04a6a31ef3556fb9264df2e85b038ae832cfdc7567139bff01c9324a4087b449b2dd5ba9688eccfaa0892af49f5cab3ad735600 SHA512 ee5f8aac916f05fc6518e76eb4ee40dd0df507cde1a5f25edfb15ded6ac36d2026283d6160ec7b71ee0344648e181e06ebf0559345ac4b2078f5d9cbf1a83eea +DIST zeroconf-0.97.0.tar.gz 152115 BLAKE2B 53b514ca3e42c75bf449255db0494de66bdbec74495fec45fd26185ec27d255de0745644b03650cec7a0acba3440075c52058b1a862048fa58587ed5d45907fa SHA512 4a67335e42ffd60236d61fce77b36f747ee71038066e65e2d72e7be3ffa6bf075120b657067aadda89a814dc354a7e26a48627df55782869caa9d95e0956d361 EBUILD zeroconf-0.82.1.ebuild 1401 BLAKE2B ec07b3d0fe78b2c2b2e0d5d8788ea328276285391b34214e0af5be9c5024a2f4ca316fc9a7e2c8954274d007c29fa92efaccd59f0e4ab4d52e35c54d2d221e55 SHA512 d940ebfe06d7d0c2bb508167fe7f09807862d22135a4bd4091510b6c4e968d5597393dd0b12129b1d8111c2de438869da92848ad2ef76c9fe8a7c1f4cad78de0 EBUILD zeroconf-0.86.0.ebuild 1403 BLAKE2B d07578674fad1d652289551e5862b54500d22a916e0e30cd8f5923bd5cf868b3e84775021b0a78748915f5f2ea0d929f1f5962607b5232d589ab4e22c5030849 SHA512 cce3574cee318737268207a2b2a5410641c3ccf1851b52c061e5ff4aed8415f40195730151bde8a28e9101f631755d1eda9d29e290126b4330dba72f9c1a633a EBUILD zeroconf-0.87.0.ebuild 1407 BLAKE2B f03c87e5bd2d193c7ab789520ab1c8a6b82bcc05467eed483d51e697eb726d351bb38ca071c2d5c11a24f753375c9fcfaf11d2ecddc5b57d04aac0fd6bd2da46 SHA512 416020fe854b895b2382444edf75ddf71f8bb697b1e8b632fc726b5b3d3fbb4fe62d7ab184f40b0294fe183466479e800db8b41e8f5f5ee5aa6e41260a9485dc @@ -12,4 +13,5 @@ EBUILD zeroconf-0.88.0.ebuild 1407 BLAKE2B f03c87e5bd2d193c7ab789520ab1c8a6b82bc EBUILD zeroconf-0.90.0.ebuild 1407 BLAKE2B f03c87e5bd2d193c7ab789520ab1c8a6b82bcc05467eed483d51e697eb726d351bb38ca071c2d5c11a24f753375c9fcfaf11d2ecddc5b57d04aac0fd6bd2da46 SHA512 416020fe854b895b2382444edf75ddf71f8bb697b1e8b632fc726b5b3d3fbb4fe62d7ab184f40b0294fe183466479e800db8b41e8f5f5ee5aa6e41260a9485dc EBUILD zeroconf-0.91.1.ebuild 1407 BLAKE2B f03c87e5bd2d193c7ab789520ab1c8a6b82bcc05467eed483d51e697eb726d351bb38ca071c2d5c11a24f753375c9fcfaf11d2ecddc5b57d04aac0fd6bd2da46 SHA512 416020fe854b895b2382444edf75ddf71f8bb697b1e8b632fc726b5b3d3fbb4fe62d7ab184f40b0294fe183466479e800db8b41e8f5f5ee5aa6e41260a9485dc EBUILD zeroconf-0.93.1.ebuild 1407 BLAKE2B f03c87e5bd2d193c7ab789520ab1c8a6b82bcc05467eed483d51e697eb726d351bb38ca071c2d5c11a24f753375c9fcfaf11d2ecddc5b57d04aac0fd6bd2da46 SHA512 416020fe854b895b2382444edf75ddf71f8bb697b1e8b632fc726b5b3d3fbb4fe62d7ab184f40b0294fe183466479e800db8b41e8f5f5ee5aa6e41260a9485dc +EBUILD zeroconf-0.97.0.ebuild 1407 BLAKE2B f03c87e5bd2d193c7ab789520ab1c8a6b82bcc05467eed483d51e697eb726d351bb38ca071c2d5c11a24f753375c9fcfaf11d2ecddc5b57d04aac0fd6bd2da46 SHA512 416020fe854b895b2382444edf75ddf71f8bb697b1e8b632fc726b5b3d3fbb4fe62d7ab184f40b0294fe183466479e800db8b41e8f5f5ee5aa6e41260a9485dc MISC metadata.xml 395 BLAKE2B e1ce7a8fbd6d50fd59fbce671a535a3af2fde79dcc98f146c4e361759e61ce6d7e4e241866262fcd78744c673212d1946830c3d7628956b498a98d0af36d4c3d SHA512 544cb62da7212926b63c4e19467fc3e3f7c8210320a8096dc913a846d392e9a09c2b9860312f88effc8ad7a54e0329149a68012b08c674663af5779957e037f9 diff --git a/dev-python/zeroconf/zeroconf-0.97.0.ebuild b/dev-python/zeroconf/zeroconf-0.97.0.ebuild new file mode 100644 index 000000000000..b3ff07347a6d --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.97.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.10) +" +# the build system uses custom build script that uses distutils to build +# C extensions, sigh +BDEPEND=" + >=dev-python/cython-3[${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= +} |