diff options
Diffstat (limited to 'dev-python')
22 files changed, 610 insertions, 117 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 539e06bed5c6..9f1439e849e8 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/cattrs/Manifest b/dev-python/cattrs/Manifest index 76f4d2055954..437f8605b440 100644 --- a/dev-python/cattrs/Manifest +++ b/dev-python/cattrs/Manifest @@ -1,8 +1,4 @@ AUX cattrs-23.1.2-32bit-time_t.patch 1491 BLAKE2B 59138249b6c46a6a79346ba886f829c3685ae427308fc5bb5b7045ac60a2cdb73c24643acdcc890cf352aa2a75fdb21fe4bc9e511b10725ff5ce43c0da3c6ded SHA512 dc371c99d32668ecfdcb7a6514cfca50c7d2ac139219e7dae72991441065653aff81cec377f61f20f535d1836d3a7c267c0b846ee377946c3053546831cef3a7 -DIST cattrs-22.2.0.gh.tar.gz 117001 BLAKE2B 34601cf48c582da2d9aa8d741a08919b5f06043bc6ba6b072d8b0934e90e781349b1325ced478ca0b42b50db1f7fe2a6d3cd16ac29609efd72c9aa894debfe9e SHA512 d198864402f56d4e9403c61ee3d9d109c5eac3350908afa1e244dbe31e4bc986271fcb4c72bde9cdaa9ee865c6a8b81de68ec0d51490ed658b410714e1fc550c -DIST cattrs-23.1.1.gh.tar.gz 602294 BLAKE2B c0be7dc8979919c4d29f9bd51203d219b9d65bbaa271a38f4d1d6c705121a5c9747c3b8a29431de8ea6769baeae67323b8bd6f133f9fd6c80aa1f3bbf969b4d2 SHA512 8a048ce214ed1aa4b138164e3cd7e39fec84ee3d46f167dda402e3de0041fb0548b2e75051c63694a5baf59c78705823247e4204408f5d0b410a9aabdc68c7e3 DIST cattrs-23.1.2.gh.tar.gz 602336 BLAKE2B f39ff3c1525ea14789edd137d82343a9447de0a41f65a71ee85754a15f8fdc929137125043b23c6cd088c8b2d2e9da18577c3b6dbbb6e9a33bdf6789f117bc46 SHA512 d05c8a5d4c5dc0b69ccdf33164d44c35a37a871199a35d1c2c25f9fbd8ee53d48da8e9d9bec49cde2baf901b524d5e8ff1ade175928908ea81f94e8398224488 -EBUILD cattrs-22.2.0.ebuild 1265 BLAKE2B 611c0e7707d709e4b7f68e5c5d13c225efb555e69013879ff2414c0a74ac78c76678fd3e8ebf32c980a220eefeb38dddc715a2135d32c2413ba3c32827238a79 SHA512 804d75159dfce03ab9484a8bcf44c7cc1cacce112d0c697f0513c6af4d278f74da209a8fc6ab853d425dc18f07b41bc26ff01d08ccb6d75c55067197ece86b65 -EBUILD cattrs-23.1.1.ebuild 1272 BLAKE2B 3d866fd0ef5bc3f2e1ef2a399a794354be9aa3d0c055c7355cca4f00098ce87bf8dd969f6bed436ec61c6c58206163ccf32af4c6fe05e8997147fe202ae3d457 SHA512 bd327c2521f6770d79d975dab8da6a1973474215a1325b5cb440c5d2ee0e2d9f059cb9289532cd9911f7b5b3115fa6ac3d748a7fe1d2e8b6159fd6690408462e EBUILD cattrs-23.1.2.ebuild 1932 BLAKE2B 829754dc6ebad14febb94630359b4ad2c3322bedf2aa893049e65bb141617a7cd206dcca5cca42a750d2111804379d3c76e4a0aa4c2c66f2f02ae86f001dd76b SHA512 9de972f72a42398f47ffd50bce7cd9c8f8e682f3707c48134c58fa58a187607d92b7da479af1edfefe5fec61f0836f79a8c6c74d1b1193136931da2abe144deb MISC metadata.xml 347 BLAKE2B 94165f2a8e62f3dc7e195f872944300ffff5ba23b9a7e6c30c18d61bc469ea8ff9b70e516f854bfc52d55a0fd27daff0df58145e34bfe26dbcde8070b8a22630 SHA512 5bb37b39b9574256358a623cff942a95162f5f9dcb32ddf28bd167504c7619be54488fae10044a5c765291f8fa28a5aa346973365dcca867be0eef4e232a4999 diff --git a/dev-python/cattrs/cattrs-22.2.0.ebuild b/dev-python/cattrs/cattrs-22.2.0.ebuild deleted file mode 100644 index 1f12097fec14..000000000000 --- a/dev-python/cattrs/cattrs-22.2.0.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{9..11} ) - -inherit distutils-r1 - -DESCRIPTION="Composable complex class support for attrs and dataclasses" -HOMEPAGE=" - https://pypi.org/project/cattrs/ - https://github.com/python-attrs/cattrs/ -" -SRC_URI=" - https://github.com/python-attrs/cattrs/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND=" - >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/exceptiongroup[${PYTHON_USEDEP}] - ' 3.8 3.9 3.10) -" -BDEPEND=" - test? ( - >=dev-python/hypothesis-6.54.5[${PYTHON_USEDEP}] - >=dev-python/immutables-0.18[${PYTHON_USEDEP}] - ) -" -# test_preconf: -# dev-python/bson[${PYTHON_USEDEP}] -# dev-python/msgpack[${PYTHON_USEDEP}] -# dev-python/orjson[${PYTHON_USEDEP}] -# dev-python/pyyaml[${PYTHON_USEDEP}] -# dev-python/tomlkit[${PYTHON_USEDEP}] -# dev-python/ujson[${PYTHON_USEDEP}] - -distutils_enable_tests pytest - -src_prepare() { - sed -e 's:--benchmark.*::' \ - -e '/addopts/d' \ - -i pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - # unpackaged deps, see above - epytest tests --ignore tests/test_preconf.py -} diff --git a/dev-python/cattrs/cattrs-23.1.1.ebuild b/dev-python/cattrs/cattrs-23.1.1.ebuild deleted file mode 100644 index 9c62d3accf1e..000000000000 --- a/dev-python/cattrs/cattrs-23.1.1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 - -DESCRIPTION="Composable complex class support for attrs and dataclasses" -HOMEPAGE=" - https://pypi.org/project/cattrs/ - https://github.com/python-attrs/cattrs/ -" -SRC_URI=" - https://github.com/python-attrs/cattrs/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/exceptiongroup[${PYTHON_USEDEP}] - ' 3.{9..10}) -" -BDEPEND=" - test? ( - >=dev-python/cbor2-5.4.6[${PYTHON_USEDEP}] - >=dev-python/hypothesis-6.54.5[${PYTHON_USEDEP}] - >=dev-python/immutables-0.18[${PYTHON_USEDEP}] - >=dev-python/msgpack-1.0.2[${PYTHON_USEDEP}] - >=dev-python/orjson-3.5.2[${PYTHON_USEDEP}] - >=dev-python/pymongo-4.2.0[${PYTHON_USEDEP}] - >=dev-python/pyyaml-6.0[${PYTHON_USEDEP}] - >=dev-python/tomlkit-0.11.4[${PYTHON_USEDEP}] - >=dev-python/ujson-5.4.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - sed -e 's:--benchmark.*::' \ - -e '/addopts/d' \ - -i pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - epytest tests -} diff --git a/dev-python/dns-lexicon/Manifest b/dev-python/dns-lexicon/Manifest index cca89ff31486..7a70adcece87 100644 --- a/dev-python/dns-lexicon/Manifest +++ b/dev-python/dns-lexicon/Manifest @@ -1,5 +1,7 @@ DIST dns-lexicon-3.12.0.gh.tar.gz 6729773 BLAKE2B 1566b98db71027a8c49c7c90060a67b0efc8dc8afb8c977c0277d29c751f26cabc824a510194f09d02f19a40151bfdebe877ccd3e0bfcc8484f694ce128c0d95 SHA512 4ba799c6f7a01b8209f5274337258d0525efff366b297fff2fcff1d40c7ee58850fa8c3743bf9d29a1a082288e1f615cd94036a9cdc7be9f85e46f26fe3d7fbc DIST dns-lexicon-3.13.0.gh.tar.gz 6739417 BLAKE2B 86f879fb5b27c6d9b21788ce4a9d7573b9aca0eccc022f4ac81cbb0e683f089797156134720bcbd82b509253470b01ee3ead3161517a0108d16991b668e1b4f3 SHA512 582efefb93d9f122cf3f900ddc7cf615295855645f6d9621f14c11067e441eb67349adf40e5159b75e8c5703d1cfd874364d392ce2994feb89949d371b4b55be +DIST dns-lexicon-3.14.1.gh.tar.gz 6747567 BLAKE2B 55ddba2caf71b92ad0e5f34457d33c46be5969b13a12ac16a07e5c9ad8a25b921119edf89ce80928340e401308365eeb5b7c7c56f8e36482422f7e2e43412cde SHA512 13e4c5b046cad28e487b246b7c16a3ee71b2dbca4c40e513b234cee62e483e7702ce293c11ef96b245409229a7cd3a39c1771ebfc7b2430cd5b017d33e32a924 EBUILD dns-lexicon-3.12.0.ebuild 1974 BLAKE2B 6f0b2f9d18b2066ab05393fe7190a136a01c6c63b9e6eaab6ba96a1d085305d5cf3013267b9bc04101ffb8841715dc161b034e12d73c54aebaf42d7ca4166aa4 SHA512 ae016160fa92993ba8007635dbf18ee9c4de868ccfe39d889a3ed7b773456a3be4f43e8f9a9f6653bdda9f50880af2b65894a174565542df8931ab773991f9f0 EBUILD dns-lexicon-3.13.0.ebuild 1974 BLAKE2B 6f0b2f9d18b2066ab05393fe7190a136a01c6c63b9e6eaab6ba96a1d085305d5cf3013267b9bc04101ffb8841715dc161b034e12d73c54aebaf42d7ca4166aa4 SHA512 ae016160fa92993ba8007635dbf18ee9c4de868ccfe39d889a3ed7b773456a3be4f43e8f9a9f6653bdda9f50880af2b65894a174565542df8931ab773991f9f0 +EBUILD dns-lexicon-3.14.1.ebuild 1918 BLAKE2B fa4274c3add2a44a14612dabf3f8382f858496df1584d173ebbcdb4ea2a04b4a90b12f3e959af00bfa27c61ec4c4f26807de475679fe39287478243a4934f8b6 SHA512 4758c1a5494dc2c7033ac6e37422a4de5bb3a432d894156c503ede539ff3115f5b0bee5ae29c6d6d1f6908716e92d38f5c52ee4220e9bf16f14e8539da865b5d MISC metadata.xml 541 BLAKE2B a22266eac0bc7b4c22d9552cf64cbf88bbc1c2953e3ef0daaf059b81519909e0f8808e0d74cec6db3296e43f98082d57b8ae3779d694432e8578112ac18c3ea6 SHA512 79e2b43a685bfcc8dace1faa1c1a08cc648b39a3fef2834a57b6e801f72e7309276604253089db7a2fbe1d5d776b2ba1427c90a9cb9c44a0c1b2812d4e1901db diff --git a/dev-python/dns-lexicon/dns-lexicon-3.14.1.ebuild b/dev-python/dns-lexicon/dns-lexicon-3.14.1.ebuild new file mode 100644 index 000000000000..0ad281cbc901 --- /dev/null +++ b/dev-python/dns-lexicon/dns-lexicon-3.14.1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Manipulate DNS records on various DNS providers in a standardized/agnostic way" +HOMEPAGE=" + https://github.com/AnalogJ/lexicon/ + https://pypi.org/project/dns-lexicon/ +" +SRC_URI=" + https://github.com/AnalogJ/lexicon/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/lexicon-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/importlib-metadata-4[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/tldextract[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/boto3-1.25[${PYTHON_USEDEP}] + dev-python/dnspython[${PYTHON_USEDEP}] + dev-python/zeep[${PYTHON_USEDEP}] + dev-python/vcrpy[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # Requires the "localzone" module + tests/providers/test_localzone.py + # Requires the "softlayer" module + tests/providers/test_softlayer.py + # Requires the "transip" module + tests/providers/test_transip.py + # Requires the "oci" module + tests/providers/test_oci.py + # Uses tldextract which needs Internet access to download its database + tests/providers/test_auto.py + # All recordings seem to be broken + tests/providers/test_namecheap.py + # Broken by minor vcrpy / urllib3-2 incompatibility + # https://github.com/kevin1024/vcrpy/issues/714 + tests/providers/test_route53.py +) + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]]; then + optfeature_header \ + "Install the following packages to enable support for additional DNS providers:" + optfeature Gransy dev-python/zeep + optfeature Route53 dev-python/boto3 + optfeature DDNS dev-python/dnspython + fi +} diff --git a/dev-python/jsonpickle/Manifest b/dev-python/jsonpickle/Manifest index 657bc1aa4470..dea58daf817b 100644 --- a/dev-python/jsonpickle/Manifest +++ b/dev-python/jsonpickle/Manifest @@ -1,3 +1,5 @@ DIST jsonpickle-3.0.1.gh.tar.gz 257651 BLAKE2B 4875985085c8303b316b387968ad46bc35672259f8f6799270bff5dee1b4d341bd92e520155d5c5ff644b289ac21275e95911a38165303c07c4634a93e17ae62 SHA512 3190716491c01de1e5ce16cd8fee3163c20831521503803a5282b43c6653756554fa6184de78755f3232ac6c9bc51baccb91305f9ac9462c8e22fc57fbcc52eb +DIST jsonpickle-3.0.2.gh.tar.gz 258895 BLAKE2B 51af5841fada084c4fdb27d2d9c95ba0a790027d6a67b37bee6cbf9f256ee2778cffa38fd994de728b58c03536a07492335fbe6d4e7eed875561a3264232f81e SHA512 ed2552a68ca05a6e7e01169697c1c46735f99df95d126007ac02c0315b32da45ddbb1265ab53e39e9f4f1b54029a764cb50a05f31d773bda46f349f53929f888 EBUILD jsonpickle-3.0.1.ebuild 1451 BLAKE2B 15f450b1ca1d579902deaad6d69437719721d1abb9e6f6893ba9fb42cccdcbc11f09aeebd727be357a298334ad369d070daab652a2d72da4624a1e216e280ea8 SHA512 54df14bf8b292205f24ea62a79ef32024fe7e840d0906ea8b5ce97c0b61319f593dd3bb329dce35840ae48cb6a4a505b46b6e683a8e2897aa7b39e2b2a0e8c92 +EBUILD jsonpickle-3.0.2.ebuild 1646 BLAKE2B cdf66d706e7726cea6dd7184fddfda8694bd5f9faafb4e163692c1e3e07c752440f91fa25a27c8ee297979e052d7a73251371381ff4b3dd5d5a9c0386ce88a21 SHA512 b519a3227360cfd1007c2dbb74b7dd674dbaf3795659e63bf0c3ae05b91e93e51837e6a35f10c1af6f58b0937f5c92b18dc90fb2cb373788b1806353ef64caa0 MISC metadata.xml 412 BLAKE2B a7e746abd8b45415ecdbccbde1b65ba9f1fa9fe7ce353411681c2a3de046878e990aad20849ee561a56ad3208bd5071d7b5e5b3c767fd71b7c44d2e8412d349b SHA512 dc52df78fdfe9024e695aae3d2bf22bed7162e1f2a528a288056b68022ebbc400b0a3a2f3e9c2155ee57e66d77a4f7a3f6f67188fb13ee15f200212ac6809a31 diff --git a/dev-python/jsonpickle/jsonpickle-3.0.2.ebuild b/dev-python/jsonpickle/jsonpickle-3.0.2.ebuild new file mode 100644 index 000000000000..3111bd5232ad --- /dev/null +++ b/dev-python/jsonpickle/jsonpickle-3.0.2.ebuild @@ -0,0 +1,64 @@ +# 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..11} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Python library for serializing any arbitrary object graph into JSON" +HOMEPAGE=" + https://github.com/jsonpickle/jsonpickle/ + https://pypi.org/project/jsonpickle/ +" +SRC_URI=" + https://github.com/jsonpickle/jsonpickle/archive/refs/tags/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/feedparser[${PYTHON_USEDEP}] + dev-python/gmpy[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/simplejson[${PYTHON_USEDEP}] + dev-python/sqlalchemy[${PYTHON_USEDEP}] + dev-python/ujson[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + sed -i -e 's:--cov::' pytest.ini || die + distutils-r1_python_prepare_all + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} +} + +python_test() { + local EPYTEST_DESELECT=( + # problem when pandas are built with Cython 3.0.0 + # https://github.com/jsonpickle/jsonpickle/issues/460 + tests/pandas_test.py::test_timedelta_index_roundtrip + ) + local EPYTEST_IGNORE=( + # unpackaged bson dependency + tests/bson_test.py + ) + epytest +} + +pkg_postinst() { + # Unpackaged optional backends: yajl, demjson + optfeature "encoding numpy-based data" dev-python/numpy + optfeature "encoding pandas objects" dev-python/pandas + optfeature "fast JSON backend" dev-python/simplejson +} diff --git a/dev-python/jupyterlab/Manifest b/dev-python/jupyterlab/Manifest index 2d756776927d..df5e1ff5ed1a 100644 --- a/dev-python/jupyterlab/Manifest +++ b/dev-python/jupyterlab/Manifest @@ -1,7 +1,9 @@ DIST jupyterlab-3.6.3.tar.gz 16847186 BLAKE2B 6916722469ab100a1a240b8a565c9800f35535b2a9b2c39a6bfd275b078d88df9faa1f12d4ce3819155af7b0ed22282836f9b233534bd3e63d8a330d1cd7cd21 SHA512 3d6b4781f9fab02504b2c0223a4d060d80c3442fa6ac53ae326296d69942d68f8545450f671f6ba65c7c4e218aad62ef4f4ceb658899c21aaff3640c3055d364 DIST jupyterlab-4.0.3.tar.gz 18222352 BLAKE2B 7dee4109e94173d35794c2b3a05de5cbab145fc031b22628ca4b5c1d97497658807b0a9b713d58a7aae3a38a64a37e04e535988d727cab6ba3c3aebe2ff6c0a2 SHA512 cb7694c1398cbf1b061d385518d08d5ff4411bc7f53828d99edd3cf8420d39c09d99e1ee061d60a86d83e640c37777bfd4f98ce71276366f291f784f23740d4d DIST jupyterlab-4.0.4.tar.gz 18223782 BLAKE2B 8f2b157d27c68fba62fcfdeeb055b0c9b646987d2f31447b87720110ec2331ddad90c0288ad7554faa26674bf810d92d99f1924e2d34f81d2303a4ab6b213cd9 SHA512 23479cee2405ddc42a11c477cb93fad6cb5481a70766d48c1f7f1e498481c36a0dca47c5523ff3fc97aacfd86a37debd53cc3570e3e0916cc0a6cb526d99a574 +DIST jupyterlab-4.0.5.tar.gz 18235811 BLAKE2B c1847bc3b9cb420d987c1ffd6d00951946c7312dbc94f49e3a4fadc85f4059c6d76294e78be4a629a4d2565bac5b569d957521aa26b4bd2365528cae7548b074 SHA512 befb13b653037511651387e339b8e41c17989c146080ad41c68b60f415a4c3c539d666719ba3256b341998fa13fe414c28c78159429d26f7000d0e01bba41ecc EBUILD jupyterlab-3.6.3.ebuild 2744 BLAKE2B 9cfdab0afb8feff32c1eb0d4f1e641860ff59e72080448805cfc11cfe3a565a7c8fc18b4013f5b78ff83304b21df03ad939d81eac8d9afbbf2bd59ab75f778b2 SHA512 a5ff778dee692241083a51d970ce5025db0976b6abc4c14e15fe39b48427a5a27aee5f91bc6989b3a109ae11590d89e66f15b3dd573cc79caf90118d022ec71c EBUILD jupyterlab-4.0.3.ebuild 2571 BLAKE2B 4afda064ba9209bb9aad9fb11467d46a5b0740c8f2dbb05edd6d74274fb2ce65651a35713f24115a58bb24327705f486f61d85a2168a61d8414699d479582ce2 SHA512 2cb0315f4f5069465d3b7bec38121b85de8c8eaa7cb3aac47e028aae6b885262d4fd72f00869a5fd1db07381036dd929609b8b98661d007184e16cd69fc025fd EBUILD jupyterlab-4.0.4.ebuild 2595 BLAKE2B 10fd556791199de87445fad9ae5464a163e985b4a9a01e90416af5a0b7339f040ed72a3eb24f2784d8e96ddf97cf4bc56f026677de0efd901551adfdd59558f2 SHA512 acee9c5419ec876057bd4c39bbb02b9450bbf60a2620fcd31d40fe728beff2ed5b64fb1bc85a6c9c52c3b40bebcb258645ebc1a5fd11ae32096706cd264d729e +EBUILD jupyterlab-4.0.5.ebuild 2595 BLAKE2B 10fd556791199de87445fad9ae5464a163e985b4a9a01e90416af5a0b7339f040ed72a3eb24f2784d8e96ddf97cf4bc56f026677de0efd901551adfdd59558f2 SHA512 acee9c5419ec876057bd4c39bbb02b9450bbf60a2620fcd31d40fe728beff2ed5b64fb1bc85a6c9c52c3b40bebcb258645ebc1a5fd11ae32096706cd264d729e MISC metadata.xml 412 BLAKE2B f0b40e19f8ba9dc116f0e4a882cabab6376f22d1eaeb3eac58ecff465ee2aff3564ddbf55e4ffb8971807a39945109a164037a954419671a274d3ac558b102ea SHA512 b6149a03585ca04bc3bf6f3ea6055e8e1fcb620a771359d150df7c22ee16bf09f57c8037df2161021fac0c194be0ac5ec79a31f0511d785e0c5b1ca96d817e42 diff --git a/dev-python/jupyterlab/jupyterlab-4.0.5.ebuild b/dev-python/jupyterlab/jupyterlab-4.0.5.ebuild new file mode 100644 index 000000000000..f30a5abdaa2d --- /dev/null +++ b/dev-python/jupyterlab/jupyterlab-4.0.5.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +DISTUTILS_USE_PEP517=hatchling + +inherit distutils-r1 pypi xdg + +DESCRIPTION="JupyterLab computational environment" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyterlab/jupyterlab/ + https://pypi.org/project/jupyterlab/ +" + +LICENSE="BSD MIT GPL-3 Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +RDEPEND=" + dev-python/async-lru[${PYTHON_USEDEP}] + dev-python/ipykernel[${PYTHON_USEDEP}] + >=dev-python/jinja-3.0.3[${PYTHON_USEDEP}] + dev-python/jupyter-core[${PYTHON_USEDEP}] + >=dev-python/jupyter-lsp-2.0.0[${PYTHON_USEDEP}] + >=dev-python/jupyter-server-2.4.0[${PYTHON_USEDEP}] + <dev-python/jupyter-server-3[${PYTHON_USEDEP}] + >=dev-python/jupyterlab-server-2.19[${PYTHON_USEDEP}] + <dev-python/jupyterlab-server-3[${PYTHON_USEDEP}] + >=dev-python/notebook-shim-0.2[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/tomli[${PYTHON_USEDEP}] + >=dev-python/tornado-6.2[${PYTHON_USEDEP}] + dev-python/traitlets[${PYTHON_USEDEP}] + net-libs/nodejs +" + +BDEPEND=" + dev-python/hatch-jupyter-builder[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-console-scripts[${PYTHON_USEDEP}] + >=dev-python/pytest-jupyter-0.5.3[${PYTHON_USEDEP}] + dev-python/pytest-tornasync[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/requests-cache[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ) +" + +EPYTEST_DESELECT=( + # These tests call npm and want internet + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_uninstall_core_extension + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_install_and_uninstall_pinned_folder + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_install_and_uninstall_pinned + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_custom_minimal_core_config + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_custom + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_check + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build + jupyterlab/tests/test_build_api.py::TestBuildAPI::test_clear + jupyterlab/tests/test_build_api.py::TestBuildAPI::test_build +) + +EPYTEST_IGNORE=( + jupyterlab/tests/test_announcements.py +) + +distutils_enable_tests pytest +# TODO: package sphinx_copybutton +#distutils_enable_sphinx docs/source dev-python/sphinx-rtd-theme dev-python/myst-parser + +python_install_all() { + distutils-r1_python_install_all + mv "${ED}/usr/etc" "${ED}/etc" || die +} diff --git a/dev-python/numpy/Manifest b/dev-python/numpy/Manifest index ae3a41d7381c..a8498ad7a85f 100644 --- a/dev-python/numpy/Manifest +++ b/dev-python/numpy/Manifest @@ -10,10 +10,12 @@ DIST numpy-1.24.4.tar.gz 10911229 BLAKE2B 2f054b4ede249653707c3df8ccf6df31b747c0 DIST numpy-1.25.1.tar.gz 10428993 BLAKE2B ee3edaf5416ac858b995f0cb8df75962af01619969a2c70fa10b4e0d0a1c96a3b441ee470a463cdb7c60910d8823af1c41d37933f87bcaa0a724655d052ed20a SHA512 69cc5426f657a21a6a1fb3bb043b8acec90b87969f90177abb6d7294ca96d04f723ddf90fa40822704b16147a390abafbcda9702e40405ea6b6e22377aade71d DIST numpy-1.25.2-patches.tar.xz 7212 BLAKE2B 718331b2d9f8380df239bf2ad9c24d79924e08797825d7c8655124a55e059790f96641633cdb42c597646764ca9efcaf277d5f5b75f042f533c28f2a81d5a5a8 SHA512 bcc0c55710b8d874e1dd9a57fad5698e09e3c96254922db32a8beeae9a5a54532cb0660d3ce43ca68e70fa7227bca9e0d12a0298aa6972ad2cbcecfe4aee3e85 DIST numpy-1.25.2.tar.gz 10805282 BLAKE2B f138eaf237f3e8052cafbe9fc98b4b62fb0748079df8599fc0950624c856294157410a2ec6fe381eaa8386b1530a39f7037ae1887c9fcfe2e77a3d7ad1ca0171 SHA512 6846d558c227329b6e700965ffa4c7886a7ca5f35234a56d734bc8201d19f7ac87d8ea081094bca13685130dce7bfb98ee4aa3a9dbd538288f10f1d9d82fb699 +DIST numpy-1.26.0b1.tar.gz 15632046 BLAKE2B 72991e0a1a9b63ac9a3014b78348aa0bc512c2e22c3959d5466f92e2df8649aea56dd949e8954921fc29302f84e38748665597319fa9baa8154a85b34527e12f SHA512 c099a61ad58e142b29eac891b746c93425a337912df8da5e5a6b36c53f9069f56dd7ee0807b1773eca23a7e39b355e6c13d419cbdd36d35c2ab0a77cb14bb5b5 EBUILD numpy-1.24.0.ebuild 4196 BLAKE2B a7359b00b007339381f458502457b2d2f9f07daf4f9affa239944de9ef3afef4318d063d7a934da394707d3ba5d53b043f68bb59f903ded5847122f0fce35567 SHA512 90500a1ee3a0a5a9ebd741dd9c870e6d57ec27e5da7dc4fc4dcac46f59212cabd777f806110180c11a55c4ffccbfdcaf0d0b5d1598beb5359779b6d6ba6a1c00 EBUILD numpy-1.24.2.ebuild 4366 BLAKE2B a7a396b29efaf6a07bd68f76e0cae0d069f530a4d4d915b89cf5a47a42a4e9cf29215089f0a8f819fd24961280fe83f103f28b6be90758eb78f3f408ab5eb23b SHA512 b1186214bf08642b6ca267d0a84ec03c8f4b6256e728eb17d789eb34a43760bf87ea18696ef30b12494bff23a3b8b6f1980085c900c5341c8d43b8da468549f5 EBUILD numpy-1.24.4-r1.ebuild 5214 BLAKE2B 87986c0f034dcdbeffcb51ca3c90546b16fd1ded2a43744f29ca0210a2b496b8e85e6bd8dfd229b72c496d7cdbb0cfbf4d4ceb81a290786ac55fdb1bcfd18cea SHA512 5932b2c7f0ca7cb5774b9fba9282579384b563bacef63bbf84f69e15c5b86ba72f058660fd44f8a46fdc7088dca8646ff264378da69de017044bd2aaf0e642b9 EBUILD numpy-1.24.4.ebuild 4625 BLAKE2B c0fdf22a1accd3649917ea62e5d0f3d727c2225341ac9955bc581428e8d49df2d9d3a026626ebb88d0a099b2e10863b3c1e1173c03298a4d7ab74c38b0eb63d2 SHA512 a60ffab9872388691c79cce9478ee95a56e355498ea93d80cf6a0e07f1f46f4f6eaa1c5a33a447739d1b2000240c08da74376e924140b6eeac49695edf699704 EBUILD numpy-1.25.1-r3.ebuild 4444 BLAKE2B bc98460d27c6acd233ed219af855f93da93e6dd43db721195fd7e318256509145907136a1336f5d21c7252d05330eaf6b8f83f3f2bd4e4915d92ff447c57b564 SHA512 8dd4d5a3367d1260aa242558048d02da616695aa54f4b666b494d24aac7bef306bf7467fb73e6a7138f67086af51d3d191830a47c14b73062bf0836c345f4397 EBUILD numpy-1.25.2.ebuild 4985 BLAKE2B a1f37ea34bad04b6c82896d0ddfdab2fcf9b01411fcf5b76d04f87655ce31a7fa689726a41405a4c9ddd356fa9cd9389a9c497297667bf95a7342c95906c1384 SHA512 a24097b6c4a4ac55893ff3633655f6cf05fa21b1965e483129acaccfd73159f3e16e322260cde1986c6c7cc0a9ad9af298a995fabe305687cac36b1201d672f3 +EBUILD numpy-1.26.0_beta1.ebuild 4116 BLAKE2B 2e5c723691678ce26459c9e4bacb8530f7694a7fab2255fb8c828cf8f1772e2bc26a98d3c2b6ceab535d8d80f9224f4b4b081d2a223aa82d01e6436589fde14e SHA512 d42ec9bcaeefb4b02ab7cae81e9d817bb418ab36252eb44cb327860a1982cf06dbd2132932fb1030f46c2eddc94f95717fdf6c87d19d93591bcce3234d7dd8e6 MISC metadata.xml 932 BLAKE2B 7a4af31f613bab05ff542da48bf6ff1484d9df2459f559516e71329451dd739d3df0fead507c8033d94ab9ed516b68efe7f21819a8cd6ca303643d8c8bc34e86 SHA512 32cb8c1ab61521a02cbec38f6ea383f074e50d46aa3462ddcb85710f9d348e8e628cf2a5725e3cd921cc32f02885a1b5f02125639f0ec885384eeeff7f468a06 diff --git a/dev-python/numpy/numpy-1.26.0_beta1.ebuild b/dev-python/numpy/numpy-1.26.0_beta1.ebuild new file mode 100644 index 000000000000..bc6646bd3079 --- /dev/null +++ b/dev-python/numpy/numpy-1.26.0_beta1.ebuild @@ -0,0 +1,149 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=meson-python +PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_REQ_USE="threads(+)" +FORTRAN_NEEDED=lapack + +inherit distutils-r1 flag-o-matic fortran-2 multiprocessing pypi toolchain-funcs + +DESCRIPTION="Fast array and numerical python library" +HOMEPAGE=" + https://numpy.org/ + https://github.com/numpy/numpy/ + https://pypi.org/project/numpy/ +" + +LICENSE="BSD" +SLOT="0" +IUSE="lapack" +if [[ ${PV} != *_[rab]* ]] ; then + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +RDEPEND=" + lapack? ( + >=virtual/cblas-3.8 + >=virtual/lapack-3.8 + ) +" +BDEPEND=" + ${RDEPEND} + >=dev-util/meson-1.1.0 + >=dev-python/cython-3.0.0[${PYTHON_USEDEP}] + lapack? ( + virtual/pkgconfig + ) + test? ( + $(python_gen_cond_dep ' + >=dev-python/cffi-1.14.0[${PYTHON_USEDEP}] + ' 'python*') + dev-python/charset-normalizer[${PYTHON_USEDEP}] + >=dev-python/hypothesis-5.8.0[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/pytz-2019.3[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + append-flags -fno-strict-aliasing + + distutils-r1_python_prepare_all +} + +python_configure_all() { + DISTUTILS_ARGS=( + -Dblas=$(usev lapack cblas) + -Dlapack=$(usev lapack lapack) + # TODO: cpu-* options + ) +} + +python_test() { + local EPYTEST_DESELECT=( + # Very disk-and-memory-hungry + lib/tests/test_io.py::TestSaveTxt::test_large_zip + lib/tests/test_io.py::TestSavezLoad::test_closing_fid + lib/tests/test_io.py::TestSavezLoad::test_closing_zipfile_after_load + + # Precision problems + core/tests/test_umath_accuracy.py::TestAccuracy::test_validate_transcendentals + + # Runs the whole test suite recursively, that's just crazy + core/tests/test_mem_policy.py::test_new_policy + + typing/tests/test_typing.py + # Uses huge amount of memory + core/tests/test_mem_overlap.py + + # TODO: crashes + lib/tests/test_histograms.py::TestHistogram::test_big_arrays + ) + + if use arm && [[ $(uname -m || echo "unknown") == "armv8l" ]] ; then + # Degenerate case of arm32 chroot on arm64, bug #774108 + EPYTEST_DESELECT+=( + core/tests/test_cpu_features.py::Test_ARM_Features::test_features + ) + fi + + if use x86 ; then + EPYTEST_DESELECT+=( + # https://github.com/numpy/numpy/issues/18388 + core/tests/test_umath.py::TestRemainder::test_float_remainder_overflow + # https://github.com/numpy/numpy/issues/18387 + random/tests/test_generator_mt19937.py::TestRandomDist::test_pareto + # more precision problems + core/tests/test_einsum.py::TestEinsum::test_einsum_sums_int16 + ) + fi + + if use hppa ; then + EPYTEST_DESELECT+=( + # TODO: Get selectedrealkind updated! + # bug #907228 + # https://github.com/numpy/numpy/issues/3424 (https://github.com/numpy/numpy/issues/3424#issuecomment-412369029) + # https://github.com/numpy/numpy/pull/21785 + f2py/tests/test_kind.py::TestKind::test_real + f2py/tests/test_kind.py::TestKind::test_quad_precision + ) + fi + + if [[ $(tc-endian) == "big" ]] ; then + # https://github.com/numpy/numpy/issues/11831 and bug #707116 + EPYTEST_DESELECT+=( + 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f77[s1]' + 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f90[t1]' + 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f90[s1]' + 'f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f77[t1]' + f2py/tests/test_kind.py::TestKind::test_int + ) + fi + + case "${ABI}" in + alpha|arm|hppa|m68k|o32|ppc|s390|sh|sparc|x86) + EPYTEST_DESELECT+=( + # too large for 32-bit platforms + core/tests/test_ufunc.py::TestUfunc::test_identityless_reduction_huge_array + 'core/tests/test_multiarray.py::TestDot::test_huge_vectordot[float64]' + 'core/tests/test_multiarray.py::TestDot::test_huge_vectordot[complex128]' + ) + ;; + *) + ;; + esac + + rm -rf numpy || die + epytest -n "$(makeopts_jobs)" --pyargs numpy +} + +python_install_all() { + local DOCS=( LICENSE.txt README.md THANKS.txt ) + distutils-r1_python_install_all +} diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 64ef9fb8e3e2..2783478cd693 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -2,10 +2,13 @@ DIST pypdf-3.12.2.gh.tar.gz 7560560 BLAKE2B f00047287619e49829d516f06020119f2ff1 DIST pypdf-3.13.0.gh.tar.gz 7563894 BLAKE2B f2f34dccda87e719b326b4c48331e9813a36dbecd14d26f9268b44891939fb3dac3a2bf2e298efd927e8fe97869f43d39f2890008858d42255c31f6496e2003a SHA512 6259b242aaba8e0b63b988749850aa2138b802eaf52d146793635ff723956f19b1989c3c76278ed4240acbc88f8dd4b7e64fcf777508e98dee81093d794b2945 DIST pypdf-3.14.0.gh.tar.gz 7572714 BLAKE2B 5a706eb9f9965de9ec3e3b03e243b629700b0c43b0549d49c33cc0a4d5ab570c75aa03695ccb8b08dac99032e9c4c170f2511c0dc644fed90d14da4a3fd18dbd SHA512 f7fc45a10249d3a86e60ed73f8e9a226a8bbb3fe181efdc8102128b7005a39f2479386801d18e8d6be56e8a12b5d3c8769a9c5504df27bec981ebe9cf22da205 DIST pypdf-3.15.0.gh.tar.gz 7673228 BLAKE2B 9516d5e7865fa5c3bed90461d2e12ad1a400b755d8254330837e8b5f313f985bd199da9a19b2a189623b392c6ae76fd757e68c1454d09a7b5ec70bc28bff3485 SHA512 a9dc59141918fe47d1b2ec0fc282e31c05ef3df137cc67e85d965172929b3b1bbc38f8827a82a576f02c18b72cdca297364f58814f960b7783a36228a7e29125 +DIST pypdf-3.15.1.gh.tar.gz 7679588 BLAKE2B 9148d17be47fc653bba26fc39ca58f503eba7fd561ef67be034f6ce18318069a1e981e46d6a23ff18dd20a9ddbd38ff056a17e63e71b253d851d3c3934057c74 SHA512 93a4c5c573f8db73df4dd113e4d502bb183c2548a556686848dabf46078721e583c0283f6148c268d6e502e25402fab7b5e40d3eb9c60ab4db19827f183636e5 DIST pypdf-sample-files-2cf1e75af7bcb9c097deae6fb112c715d4721744.gh.tar.gz 10226061 BLAKE2B a9b32d6cd3d22bbc0aee54ca3e914c4d2eb2a9a44a1a508e54e0a8fbcb5fad9ab05e72cf66553a1b5595131104ff22dea115d2804d2970200c4cf5f808532174 SHA512 f064f0468b07bf705a1d0f3a0fc6fe535c234a39408dca268f223e7c3548e66f599a4e67156e7848b70e9a3bd1bc2756395dd93b0c828ee08fe2bb8833f2b196 DIST pypdf-sample-files-5b5ee6b0e9bf4b683490351b1e15e01d6553da7b.gh.tar.gz 10226115 BLAKE2B 7488897284b840c7d4c26525425d326024936654cea42c47f260d1bc61a32a5c1da0a7eb8a9ad532857ea5c2db3446ce5850c509f44ccf6143b8cf4cb826e6c9 SHA512 70d4f0b6957160698afdc9b5bfb9d197f55f1651bc2ec2326621bb77bae5460fe0d4d8543ddbb7ed270c2bd36ad0ccae14deae6040d7f4a01db52374b820fd7e +DIST pypdf-sample-files-935652968f76a41b4fa51afd05498e7dd7314c5e.gh.tar.gz 11187445 BLAKE2B e9332009a49249fdaa8b6c29258b11dfcf3627a5550ea7402cf0288bb4b0537136b039e6f4aefb03574076d1fc0af6100effc0d36510f035d9e63836ad52c4d7 SHA512 8d525aa323e5b45f71130459faa9686ec4ae04bc594895a64f1a5b6d027f866c48aca78602ad526000a11b547cc77068d1ac5e733d3e3a99df0e257c02fbb9e7 EBUILD pypdf-3.12.2.ebuild 1201 BLAKE2B 4f79e41299e7894eda7bda797e889ca7d703b87fc09a1e94c6eb216a4121de842da53b18104a6718d454fd1a73eeded2b6824dd451b8cbb2b94335856df63741 SHA512 be4b3d0ecfe234c5a5de55bb0c2593b654d6c3b2d2776bb94db6cfd44c24825af39482dd5d6c54bf6bcaef4ada0dcae998b80c8194cf2344c741f93b9a461af3 EBUILD pypdf-3.13.0.ebuild 1203 BLAKE2B 67079ff0886eef1417bbbc0a634de2caeaa4cbd4e159fa8d38049e27f2883d40b819a4e07815f4d55102626f33a33c238846a3bc72a49c9fd6da88e0457ee2dd SHA512 2d1e40a7eabed9f5ed20269dec74b3ab9400dd37ec84906bd82f83db4773cddcc05ea00d8024c8d2d52725697177d5ece16923515ac4509afe0f55487f597525 EBUILD pypdf-3.14.0.ebuild 1211 BLAKE2B d17472b430069614a3c719dc5539797e5f3de92ade33c33650c0dfc0f4e280219f58ff6ab283dcf0542736e6da87fb2bab9d22b9b9d670e39683a98e5f7d5609 SHA512 2aeb08bdec6e17366e2e1f03d84ec959d2aa13b18ae091e7500ad32777d81a3b488dd79234c6fb3c10ef6914d354f74ab03dafdaa9e83b01d20584b5beefa5cb EBUILD pypdf-3.15.0.ebuild 1211 BLAKE2B 48ace11f87cfaf862fa59540c6096a9a3cb7fb5a3099e5af8c09858de2f7cca27537f4012b068afe651ba632302b2ef18302b8df45b4b7240bcab1317ae7f0c3 SHA512 61e24949238ff14243d7590bd87d1156c334dbc433865820e5625fef29ba8a695c57fbe2f3916fa15c52208ea870c766a163b5cbec60d2384e18a164d8b9e26a +EBUILD pypdf-3.15.1.ebuild 1211 BLAKE2B d79a894ae3fe363caa1812922a8fc1c1d2282b62f5b3e383ba156c92209d5836eb9eb3bb524f5d16f57d98864af9e94feeac0443bdacaf856104c158672468fd SHA512 14feab4e5c42d1fc977c9fc7ca9cd9488d3c08f21b775ae7b4ec9127d85fc641eaf99614409cb6550fda1012200c3bd9ca5cef2702f025aa3af65acc63b236ed MISC metadata.xml 373 BLAKE2B a829b7048eb3a95caeb1be83b6172603df6a031d40995294f2687bf3c3cb70e66fafb9ba8339d9979fc85f5936b9552963a8fcd072a20661fa78f3aa3c4b89c0 SHA512 775ac2de487f11fba1ea8d283b42b9ef56e42cd95ea11f50a06b099420e69c0567f65c506b14891ac641da90ea05ca70da4f8a3e4a028cf41bdbc823021dccfe diff --git a/dev-python/pypdf/pypdf-3.15.1.ebuild b/dev-python/pypdf/pypdf-3.15.1.ebuild new file mode 100644 index 000000000000..bd9de5c7eff6 --- /dev/null +++ b/dev-python/pypdf/pypdf-3.15.1.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/tox/Manifest b/dev-python/tox/Manifest index 0b1502f3aac5..0f126e43b08d 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -7,6 +7,7 @@ DIST tox-4.6.2.tar.gz 172333 BLAKE2B 0fa9e7782eb18b525ff7f226b0fa9b8001f69f8b620 DIST tox-4.6.3.tar.gz 172585 BLAKE2B 14d895a516fdb1b767c922633185b31904149e7fea9d1ae3faaac343bfd481fc843dcb4784168c89fb6d3f5503f4ff8fb35680ed197b5df2dde1f124be1df8ea SHA512 6261998bb753556a24e869db18955eea9b26063e0b67503028571e62085c2da535dc60552192c69ba07366150c4f3a3ce6bd36dd62d2fe6f24d7b466dccf2e76 DIST tox-4.6.4.tar.gz 172650 BLAKE2B 84164dbb02002d398e779b0c5e4617213fbfc711ded95faddde93711549eab9e69675f0a459ce60ba8357baf4e7d361f86b4cb85818972e5d018a61db179ba1a SHA512 b6a4673ea58e21b5e8b3d1330244d46ac7a36563a089b2e03cfcd7039386ab6afc437ebf4c516bbe373133a7beb54ebb380d39ab126be69f3601226f2273f3c2 DIST tox-4.7.0.tar.gz 172893 BLAKE2B 9611cbff7937e859ad923d40978804eede6eb372868c7af85597644a3568e775627361faa64587aa44c9e1e3bcf565fb4c6956d73fe973c258c90f005f5e5b14 SHA512 17c010af1dd402dd1dff86dca9154be16212bdbdafa4d83f6337e5c4ebd6f7256b7cf813ac8bb22d755873c89179caeecbaeed05c7e6dd6903251c3548fa8042 +DIST tox-4.8.0.tar.gz 173370 BLAKE2B 85dafc76b2dd6fb012112020c12e570904bc7d587ebaded729cabf752e14f1f04ed4f7672e52012f5abaff9a68480a2710483b0f5e0a16fbde64f009c30f0df4 SHA512 e7d4b33df31574fb5b35100e79a9a620a967aa8c4a2add474a21fffa52129429cb54485aaddb44957d75b9875afc332f69afdf8c0c598096572e2c8f83756154 EBUILD tox-3.28.0.ebuild 1916 BLAKE2B ff8aa55245a3f654897ad4c8f5861a55410b2b9442bf3f85aaa0ee236f576efcea1a2ed697c715c7182679b62a4781c5a0f6236eb92a1b12d6ddc73154612a67 SHA512 2f5999d0263da9efb00216600f8b98fb3c204e11640049d92c6106279baeff452468d2bb78236839bc8bd5540d6f9d01338af26315148d81a788d476ec5dbed5 EBUILD tox-4.5.1.ebuild 2677 BLAKE2B 0f93d46d9c831f6b320286b38c2f2b5677442c9fd2c756a109355addba5d7e2efb0657c6ae736f391891508e5d247c1f06afb338ae2a2fb639f962c81939a1a5 SHA512 7a2e2f268c69f8438c6265737f1222561e5707350f6822cdc6d15c425c34f59415b5f7c9bc4993c996c885048f590a696f680ef5a9e41f9daa16cd07b62cc591 EBUILD tox-4.5.2.ebuild 2685 BLAKE2B d431a1d84cd09d18219631d94e24ad049d1e35647a262e70e75bc1851791dfaa68ac76222cec39798460091850998d7312a328335c4c2c354a9b8d72e4ee3893 SHA512 6831ff1bb781bfc16d9402332998cebbbe06915bf1f5d31bcd8f92cc690c93238ba2731fc9378781dad08bffdcedff8f69a288914c2d0a575e2c8021463d18eb @@ -16,4 +17,5 @@ EBUILD tox-4.6.2.ebuild 2695 BLAKE2B 0263ab97ae49bb912e3307477bac9c0646dc79159b2 EBUILD tox-4.6.3.ebuild 2695 BLAKE2B 0263ab97ae49bb912e3307477bac9c0646dc79159b2117ba346832d4c2f184395d0702b70e8c66397d012cc0d48c7e2331f1687c10310d2dfc226a9a68a54eeb SHA512 cb8cc2febf02625daaba076a100c0217e623a805390ba2fd7101b87c11e02f613997c865285d9366440995430f3904e09a099a6921a00163aaa60932ead2dd69 EBUILD tox-4.6.4.ebuild 2702 BLAKE2B 2067ee00b17cf2923e47311c8347481ef1e65b10837bb29aed7c0574da01ca824bceff001ee25142cf1772976ec1d6aa108640074d66d2edba7f5f44b5ba2e55 SHA512 2cb45c6dcf1c70413c86abc6b92b6a544e3c96263218c845a76e33c994578083dd112cd47ba8b1c78399a1559d75f425cbaed48f31aa7662c6cf2f88521873e0 EBUILD tox-4.7.0.ebuild 2704 BLAKE2B 3c0475ac70c9ffff64b61f867d93a6d9cfd2b07166d7e0cde381866e470e905bf91960d6dd00832e51f2fcbb963e14075b2f27f58285825ea31dfd1fafc26f26 SHA512 8156119e3ddd1ee1b46e2d224607c19f58c6b5ea5170f85e7f6a080648a8f1cf0fff1ec96467330849428c2f40a48ea2a0946aa847850d1f56072d021493244c +EBUILD tox-4.8.0.ebuild 2848 BLAKE2B 5997aa898440cecdf8861fc9048454925ea1ac77b030ab6d23949f0b34d65468d83d970bf46263d6a72120dcb53fbd10206e08f1be39512ff455c98f4b49bf28 SHA512 6e6dca04652c831a3ec12e379db162ff432c5754a9ff1b25d2aa9fe7d7cd6c601a721b123f86f7776d1d3c620f6063543835bb82113ad6374317b53052d9428a MISC metadata.xml 382 BLAKE2B 7c0704c5c187ce4a7972fe0372b23c5537a81a8d62fd83436d9558a61761f10764adb5a4d5f6795f0dd1fe905afa604c0be77fe1d48d291847f6ae65dc1b032c SHA512 9d0ced4df9352a81034a50d5766a01534ae8fa889985d99cc9e2a8d0889e31c6c11550677d9a5a74e2aab57c320192ce3a42708a6d23b0419ee34a6054398344 diff --git a/dev-python/tox/tox-4.8.0.ebuild b/dev-python/tox/tox-4.8.0.ebuild new file mode 100644 index 000000000000..eba46d7f762b --- /dev/null +++ b/dev-python/tox/tox-4.8.0.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="virtualenv-based automation of test activities" +HOMEPAGE=" + https://tox.readthedocs.io/ + https://github.com/tox-dev/tox/ + https://pypi.org/project/tox/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/cachetools-5.3.1[${PYTHON_USEDEP}] + >=dev-python/chardet-5.1[${PYTHON_USEDEP}] + >=dev-python/colorama-0.4.6[${PYTHON_USEDEP}] + >=dev-python/filelock-3.12.2[${PYTHON_USEDEP}] + >=dev-python/packaging-23.1[${PYTHON_USEDEP}] + >=dev-python/platformdirs-3.9.1[${PYTHON_USEDEP}] + >=dev-python/pluggy-1.2[${PYTHON_USEDEP}] + >=dev-python/pyproject-api-1.5.3[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + ' 3.{9..10}) + >=dev-python/virtualenv-20.24.1[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/hatch-vcs-0.3[${PYTHON_USEDEP}] + test? ( + >=dev-python/build-0.10[${PYTHON_USEDEP}] + >=dev-python/distlib-0.3.6[${PYTHON_USEDEP}] + >=dev-python/flaky-3.7[${PYTHON_USEDEP}] + >=dev-python/psutil-5.9.5[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.11.1[${PYTHON_USEDEP}] + >=dev-python/pytest-xdist-3.3.1[${PYTHON_USEDEP}] + >=dev-python/re-assert-1.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/time-machine-2.10[${PYTHON_USEDEP}] + ' 'python*') + ) +" + +distutils_enable_tests pytest + +python_test() { + # devpi_process is not packaged, and has lots of dependencies + cat > "${T}"/devpi_process.py <<-EOF || die + def IndexServer(*args, **kwargs): raise NotImplementedError() + EOF + + local -x PYTHONPATH=${T}:${PYTHONPATH} + local EPYTEST_DESELECT=( + # Internet + tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_build_wheel_external + ) + local EPYTEST_IGNORE=( + # requires devpi* + tests/test_provision.py + ) + + [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[explicit-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[constraints-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[explicit+requirements-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements_indirect-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements_constraints_indirect-True-True]' + ) + + epytest + + # tox leaves a *humonogous* tempdir which easily leads to ENOSPC + # when running in parallel with other packages + rm -r "${T}"/pytest* || die +} diff --git a/dev-python/types-docutils/Manifest b/dev-python/types-docutils/Manifest index 4674ae2e4f96..cc55f81bcf49 100644 --- a/dev-python/types-docutils/Manifest +++ b/dev-python/types-docutils/Manifest @@ -1,3 +1,5 @@ DIST types-docutils-0.20.0.1.tar.gz 9796 BLAKE2B 0d7d6b3af0b7c6bf604f7f366f6dc18b0326140b24c86265470eb3f80ececb90b22ec326f621400ebaf53bcafac123f4eee94432e12325d5134a90339c3fa2f9 SHA512 7a6d56ad4222cb8361f8755fc1bb9793b2ffa9aa01996566ccb360eddc5a154104e5ce0bfee64f8ee4770f0cdf9d6209ee4286a067d99a5f05ba40d13b44c1c2 +DIST types-docutils-0.20.0.2.tar.gz 10168 BLAKE2B 444a915964b80dd3c92de3371e27639402ded89562ac633ebec0f580c7e4ead34aad3630b514c0ac0ea93beef3162e8c715b6e3b422981438dc35c552821e744 SHA512 172889c8f34ef8416aede3c7b401a6bfaf5a9e26570d5677c42faa43e04f3ec2a9e46b0cd8f98e92f366a1f6352bab0387cf0d566a7d654c8a38c5e3cdb2c8de EBUILD types-docutils-0.20.0.1.ebuild 373 BLAKE2B 8dec0d93924bb7e297be9b249cfb673681de368eea49c5e48b8e95eff7cf09117d03a6a0d692b85f200af215e57e53331d2392a98bc2d7c69144d6d541cd63fa SHA512 58617888fc7fcf514482f0c5478a7574d05dd1751d504268e9a64b82b4e3eb7e52813dd2d4a04a0f6075c01b3a5ab34fe3a9e25b7dc1ed84be1fe1865d2a7247 +EBUILD types-docutils-0.20.0.2.ebuild 374 BLAKE2B da4af59223f3752b37cab4807b8f8b821f61ba3f674351b45a14576ea0883fe7410b26599449e2675f43dc7573a0277305a19ef25530c009d1431d3de6f699aa SHA512 6cb2694ffd0b714063a8bd36c4cc24610f1c0f55b6807916c8b7cb6e0cad59e7cd9ce16119f145677406233d177f54c2b3aefcac185e725fe86f277f3181463d MISC metadata.xml 325 BLAKE2B 399aab1e8779e48d84998d6fdd595638aaf674b9a7076573aad7ade16855c4fc785dd45b1eff833c8ec7accda2a08cf561dfa14237e4edf6292fc7961ad76f7e SHA512 fb2768e73dd948c79654ab22c24d868a418576f2008153e45e4d0b42e2750872884bd35451ee3917203469d72d1c76f84d849e9d3534dc1006eb4d80b3ef04d7 diff --git a/dev-python/types-docutils/types-docutils-0.20.0.2.ebuild b/dev-python/types-docutils/types-docutils-0.20.0.2.ebuild new file mode 100644 index 000000000000..5dad3e537724 --- /dev/null +++ b/dev-python/types-docutils/types-docutils-0.20.0.2.ebuild @@ -0,0 +1,17 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Typing stubs for docutils" +HOMEPAGE="https://pypi.org/project/types-docutils/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" diff --git a/dev-python/types-gdb/Manifest b/dev-python/types-gdb/Manifest index 1ea4cfea8462..5194490f0b33 100644 --- a/dev-python/types-gdb/Manifest +++ b/dev-python/types-gdb/Manifest @@ -1,3 +1,5 @@ DIST types-gdb-12.1.4.4.tar.gz 10217 BLAKE2B c8724e3c1c5b0528d69da00e537d5f7f41f7eae056585be11e16437216315d7b0ab106b611a53dfd0434af9ace8dee4122d4829df3046a1b5549326571818c7a SHA512 28993238a2a8fad81269825dc88c838d87720f37c9bff01579b31416f3bf14eb047dcf932c1ac1b37403fd6872ed260c2efb615228e8c013f47ef8665e7574d3 +DIST types-gdb-12.1.4.5.tar.gz 10480 BLAKE2B 6f46156970d2ba75dc31101a5ede370a34ca87dd10e13cf13eea1afb4777bfeb651c98e7b01f3c7334525c27971941bae260b7fea3b3752280703e2849ca0618 SHA512 0fd8010d699558566faad5747dd5c868500882eb8c890f67c55f7341fa143aa85e3128749866c40268b77890705c5e1f2605e02906cd9b16a568944b95fb4966 EBUILD types-gdb-12.1.4.4.ebuild 363 BLAKE2B 25b0d94719a42f0f95fbcd58b371899c11bb069cbebc3bbfed89ce5c29bda3acd3f255ca7ed8b4ca4250d2e2afeb4ab54eb502dba06c1a08cc63d94b82f27bf9 SHA512 21bd3edff76a1db284f7d951ca8a7d1eab9b007dff34b94d934abf916e141cdaad293820a3e92caf493f49bbcd07e176c4b9eca81a5491a7f08a17200a155f11 +EBUILD types-gdb-12.1.4.5.ebuild 364 BLAKE2B 51fac2b8f8e0e607346d4c23a6100c2cf8fc8792595449ba28f6f500c9a9322c4345afe7c8ae9ff4736f7b68804adb5838b430c0c0cae57c54b7b2aeef5174a3 SHA512 ac0b250b2d8b5e9cc8550fd4b7bdf5cb49377bb532705a61e04df1a204a07d82180f80fdca82392e797ba6d67435f1a88283dfaf3706c33bde7e2a3b89d9fa6f MISC metadata.xml 320 BLAKE2B e7216faeb2957322c501efcfe35a1ddd197b253f74e4e1674f188d700c9ae765c94cd9609a1aa0c6033608b32e357a827e5ca906d0f4fdf6aeb9fefcdeb8c6ef SHA512 5ebabc196994d0616193657af0766733efc672cf823ac908df138fcad13c510716fd261bfced7986d6170044fa46cc3fbc42760ccb863e26b34ec3920b234061 diff --git a/dev-python/types-gdb/types-gdb-12.1.4.5.ebuild b/dev-python/types-gdb/types-gdb-12.1.4.5.ebuild new file mode 100644 index 000000000000..c5b294bf85b7 --- /dev/null +++ b/dev-python/types-gdb/types-gdb-12.1.4.5.ebuild @@ -0,0 +1,17 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Typing stubs for gdb" +HOMEPAGE="https://pypi.org/project/types-gdb/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest index cbebe5833afb..c5148f0eed86 100644 --- a/dev-python/zeroconf/Manifest +++ b/dev-python/zeroconf/Manifest @@ -2,8 +2,10 @@ DIST zeroconf-0.71.4.tar.gz 144314 BLAKE2B a44062474ba00be0549068811f4c64f353cea DIST zeroconf-0.71.5.tar.gz 144647 BLAKE2B be89e804952c327720c546b4264a464ab2b0ca9ac378e59c45bc114f2ea74d66a136c7d3852bd61a2eea88de9733ab25cf9b8945e22d48bf674d9cd566f206d9 SHA512 12f397b10bfa909fe2dc60be4f01bfbbb0111eab00196cce8b8fda8ee2b0cdb1472186255bbfec7fe793f5d580f40bd2d07851e8d2bea3b4e0b11765d7b34365 DIST zeroconf-0.72.0.tar.gz 144786 BLAKE2B 7b0a53bf76a21c716e1d4762e1ccfd0df9b44f02e4709695c5b39ae4de5dc0b1332c65a8f71459df0fb9b161c5aeab9fb151d9ce45fd9c990b24609253f3d771 SHA512 0a77f60dfff76172a0dbe798717a59b6211f41b46468b34b809a4b35861eb10f4399e238c2976622da0856cd715ef39cf2bb43cd051056d56925546302f2fef7 DIST zeroconf-0.74.0.tar.gz 145447 BLAKE2B e76a88d87cb8577b776fe5afc08198ce5427da398cfcb7fea6fb778be5907b156c633fc695daccceb9988866cbcd56584a418006fa64fc162e7831886d5cdaa2 SHA512 8629befd78470206b9238810d083e91adcc575ec2ef89cc51c433de89fb18723cc43ef45550dbec184a63f1c191023cf818e1cf8eb8b49b0de68e174d4ac4def +DIST zeroconf-0.76.0.tar.gz 146204 BLAKE2B aaa6e6f3c9b1f8eeb837d03178b131a001fedbe80cc28c5b3d412301a43364121111d95abbed6281a9e5576f1473ecd444b0fcb5557bb71f1d1ac4e40da7d221 SHA512 aa57a4f0f72cd162c136e5c6442c5ab35586fc7d44473078e98420ce00da53586344f2f7578542ba417bd6635b982a41bdc96eab70e1b989aef22ad0c45f2dd8 EBUILD zeroconf-0.71.4.ebuild 1416 BLAKE2B d7833220517261b55880e27c23866720402a2869f568058b5fcd2103c3fdba3555f7c0eee6944a091d00045811176ce06ede9614368b0b64cdf2b6be51eb96e7 SHA512 d570948608ede5ad768a267a4ce45462f9072d5fc41d17d825ff88124e459f7933b2f537817fc01264e6704bfec852cb926e61072a7d98c3fbce15f0d3192d87 EBUILD zeroconf-0.71.5.ebuild 1418 BLAKE2B 1fc712d83e2326d78abf0483f0362dcf7df3c8259db1fb5bc73d795dc5dccce0fa7515538f77cf3798dbee86507b0bb8aef4ab617ee38c6b92dfe2acb5b15ac7 SHA512 f64e04ba2ffd114b94e7cb7466aa9127eb958233991e196dca09bc95bac4e36cce046285d8b0425107506badc99b5fb6d076b4c361743a2594cae53f4a9ce35a EBUILD zeroconf-0.72.0.ebuild 1418 BLAKE2B 1fc712d83e2326d78abf0483f0362dcf7df3c8259db1fb5bc73d795dc5dccce0fa7515538f77cf3798dbee86507b0bb8aef4ab617ee38c6b92dfe2acb5b15ac7 SHA512 f64e04ba2ffd114b94e7cb7466aa9127eb958233991e196dca09bc95bac4e36cce046285d8b0425107506badc99b5fb6d076b4c361743a2594cae53f4a9ce35a EBUILD zeroconf-0.74.0.ebuild 1418 BLAKE2B 1fc712d83e2326d78abf0483f0362dcf7df3c8259db1fb5bc73d795dc5dccce0fa7515538f77cf3798dbee86507b0bb8aef4ab617ee38c6b92dfe2acb5b15ac7 SHA512 f64e04ba2ffd114b94e7cb7466aa9127eb958233991e196dca09bc95bac4e36cce046285d8b0425107506badc99b5fb6d076b4c361743a2594cae53f4a9ce35a +EBUILD zeroconf-0.76.0.ebuild 1418 BLAKE2B 1fc712d83e2326d78abf0483f0362dcf7df3c8259db1fb5bc73d795dc5dccce0fa7515538f77cf3798dbee86507b0bb8aef4ab617ee38c6b92dfe2acb5b15ac7 SHA512 f64e04ba2ffd114b94e7cb7466aa9127eb958233991e196dca09bc95bac4e36cce046285d8b0425107506badc99b5fb6d076b4c361743a2594cae53f4a9ce35a MISC metadata.xml 395 BLAKE2B e1ce7a8fbd6d50fd59fbce671a535a3af2fde79dcc98f146c4e361759e61ce6d7e4e241866262fcd78744c673212d1946830c3d7628956b498a98d0af36d4c3d SHA512 544cb62da7212926b63c4e19467fc3e3f7c8210320a8096dc913a846d392e9a09c2b9860312f88effc8ad7a54e0329149a68012b08c674663af5779957e037f9 diff --git a/dev-python/zeroconf/zeroconf-0.76.0.ebuild b/dev-python/zeroconf/zeroconf-0.76.0.ebuild new file mode 100644 index 000000000000..547370f5f4c2 --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.76.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= +} |