diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-01-10 07:21:59 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-01-10 07:21:59 +0000 |
| commit | 237a47c342347182188735933bcf7ccded60c3b6 (patch) | |
| tree | 7cbddffc9d6d378c9924cb32f6150c58f99c7e99 /dev-python | |
| parent | 2e53daf1e0021c6061113be936ef57fcdd3c2048 (diff) | |
| download | baldeagleos-repo-237a47c342347182188735933bcf7ccded60c3b6.tar.gz baldeagleos-repo-237a47c342347182188735933bcf7ccded60c3b6.tar.xz baldeagleos-repo-237a47c342347182188735933bcf7ccded60c3b6.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/filelock/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/filelock/filelock-3.20.3.ebuild | 30 | ||||
| -rw-r--r-- | dev-python/fsspec/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/fsspec/fsspec-2026.1.0.ebuild | 60 | ||||
| -rw-r--r-- | dev-python/pathspec/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/pathspec/pathspec-1.0.3.ebuild | 22 | ||||
| -rw-r--r-- | dev-python/pypdf/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pypdf/pypdf-6.6.0.ebuild | 52 | ||||
| -rw-r--r-- | dev-python/pytest-regressions/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/pytest-regressions/pytest-regressions-2.9.1.ebuild | 72 | ||||
| -rw-r--r-- | dev-python/tox/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/tox/tox-4.34.1.ebuild | 92 | ||||
| -rw-r--r-- | dev-python/translate-toolkit/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/translate-toolkit/translate-toolkit-3.18.0.ebuild | 129 | ||||
| -rw-r--r-- | dev-python/virtualenv/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/virtualenv/virtualenv-20.36.1.ebuild | 133 | ||||
| -rw-r--r-- | dev-python/zope-interface/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/zope-interface/zope-interface-8.2.ebuild | 51 |
18 files changed, 655 insertions, 0 deletions
diff --git a/dev-python/filelock/Manifest b/dev-python/filelock/Manifest index 13e13e617ee3..dad770750e39 100644 --- a/dev-python/filelock/Manifest +++ b/dev-python/filelock/Manifest @@ -3,3 +3,5 @@ DIST filelock-3.20.1.tar.gz 19476 BLAKE2B 04bcd38fa642c3981c0245bc7860ed5516edee DIST filelock-3.20.1.tar.gz.provenance 9550 BLAKE2B fdd26bdeb5a1557d0e2c23a56538394c0bfc741fcd6ea5aae411985b7860162481f41886cf21e86491b4de31045fb6d928932c10e85419d86748bd8e3bb77213 SHA512 1c79360cb6b188411f9f854ee092a22f63dcb3fa2904a90c80b96e6db99622622723a212523ae7ad0a805545b52e2d13f962ef0fcb03dbcb3aff2edeb57c378e DIST filelock-3.20.2.tar.gz 19510 BLAKE2B 7e48b5763ff005efb1f4fdc1e11ee434d89b8bdae8b2c5a2c4481943bbec038195ca013d13aa264fadb8a433d685204f8d3b6d050eb1c88c032f6300313d19da SHA512 d0291f51da460f59a032b686e13546930a5af07aba6c00468300b9a88776a8cae18b9441f9c50b25cb76a27edaccce3795b84a3a62f3df646bd46728a1b61fde DIST filelock-3.20.2.tar.gz.provenance 9456 BLAKE2B fdcf3681034e5100b33a27c6c317dde24a080aa60a46f6dd84ce7c63599f288c756db01de01d7dd7e9328aeed7adecd1c211f8c5ebfc2133fb2c43d4195347b1 SHA512 7c46a278f0323b92d4a4b72d5f665cc374602bc08b86b6b5511addbe255c94d4d39c2a2c2523aa6693c8d73ee1f628c6a49d8f38848384df78daa82e3797eb02 +DIST filelock-3.20.3.tar.gz 19485 BLAKE2B 46a857edb9c5883fe78b52e306edd21c6c0ef521dbe0ea8f9efb08fec852163d79c00e8b832fd05e3822e62585584947cc880e975e09ac79e891889c99ba8531 SHA512 55c792b4a18d884a315ace01b5e74e953d4d53b9d5ce341c9cf6b95d37737ba4ea591b10d65b6a36e2cb126079a9aed05220058175260a8f3ddc73b677083327 +DIST filelock-3.20.3.tar.gz.provenance 9315 BLAKE2B f8e4e28fb80a6527f9055f30cc214842e44175a9215f09f203021e3187ab59f13bb9d9bb4dc5da9dec12fe85f96cb30fc1b8b1f83f016663a14d8562291e2841 SHA512 7708d23c606f85667066e0f520cc6ce226ebb00177274522d3e0d9681768653d3e89e38d6678d7df94eaafc4ac987c2ef3ec880877252d0f21285db3a4334fa5 diff --git a/dev-python/filelock/filelock-3.20.3.ebuild b/dev-python/filelock/filelock-3.20.3.ebuild new file mode 100644 index 000000000000..6cd56cda87df --- /dev/null +++ b/dev-python/filelock/filelock-3.20.3.ebuild @@ -0,0 +1,30 @@ +# Copyright 2018-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/tox-dev/filelock +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A platform independent file lock for Python" +HOMEPAGE=" + https://github.com/tox-dev/filelock/ + https://pypi.org/project/filelock/ +" + +LICENSE="Unlicense" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/virtualenv[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-{asyncio,mock,timeout} ) +distutils_enable_tests pytest diff --git a/dev-python/fsspec/Manifest b/dev-python/fsspec/Manifest index 5fe3ee010421..0ebe5b6d2ff0 100644 --- a/dev-python/fsspec/Manifest +++ b/dev-python/fsspec/Manifest @@ -1,3 +1,4 @@ DIST filesystem_spec-2025.10.0.gh.tar.gz 447778 BLAKE2B 144e3f00139d2a8dd34641f5c00fb5a8e01b2cb4be8e42dded3e0411bd81c9a1ac193833c51b99d95dbf8142e6c9ba4cc1a68f7b831e5f5ab5459059f2fcf56a SHA512 e4b1ee742721eb1be4f98f30f2d27adf394038de9fb3be301a58e0046c4bc3840ffcd63660dc2cf97f4cbcf888276d25a91d3bd5d19844c167bf3d8de365060a DIST filesystem_spec-2025.12.0.gh.tar.gz 449477 BLAKE2B eb884da751cb0671da3159ee21ce4810523c3fe032ffe396e79ea3460e03b1c1834e2741c414537ebd50c16050e184bff2fa832b2e135cfc528f0d8ad3dfe274 SHA512 ae4fe4c1d8ddf7528418f34d874d4e051c044e37bc9da18953a072e9ccdcf9eab521ecff94fd30b68164bd015143503262799e951576e41b31bfe14fe1d0a968 DIST filesystem_spec-2025.9.0.gh.tar.gz 442812 BLAKE2B 83ff3f4f9b58fb38803dd3eae7a3307a41af8fd7385f097bade053106633c40dd20edcf4ef8610d99cf0a6e8f2906711777b3abd96afe59047f9ab0692eb9a7e SHA512 cb972b9c9d3c8f6f899665337581164da14fbdb5bf3422268468bf0cc1ff2b0a1cad66fe2a048eea9cdff95fc6f34361a5ccdc11802e84b558989d4744c7f3d9 +DIST filesystem_spec-2026.1.0.gh.tar.gz 450300 BLAKE2B 9f8d816b41595920966a7044063415bc4f4b5e7efc20bd238f55e6b5d93b2a4bf3b9aabec444a0fab9ab4a8f973a565e11cbbd2ab32716c75cfc43c89f34b84c SHA512 cb122de9eab46210d7c064e6e890aa278408c0bf5f0895714908c4f28e3e7fa7f5ba1a15930a8558b85e80ea250427fb4db2e2267a56f8422f13e8fc557f4968 diff --git a/dev-python/fsspec/fsspec-2026.1.0.ebuild b/dev-python/fsspec/fsspec-2026.1.0.ebuild new file mode 100644 index 000000000000..0a1ac01cae6d --- /dev/null +++ b/dev-python/fsspec/fsspec-2026.1.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 2020-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +MY_P=filesystem_spec-${PV} +DESCRIPTION="A specification that python filesystems should adhere to" +HOMEPAGE=" + https://github.com/fsspec/filesystem_spec/ + https://pypi.org/project/fsspec/ +" +# upstream removed tests in 2024.6.0 +SRC_URI=" + https://github.com/fsspec/filesystem_spec/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/tqdm[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +# Note: this package is not xdist-friendly +EPYTEST_PLUGINS=( pytest-{asyncio,mock,rerunfailures} ) +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +src_test() { + git config --global user.email "you@example.com" || die + git config --global user.name "Your Name" || die + distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # Internet + fsspec/implementations/tests/test_reference.py::test_async_cat_file_ranges + fsspec/implementations/tests/test_github.py + fsspec/implementations/tests/test_gist.py + ) + + epytest -o tmp_path_retention_policy=all +} diff --git a/dev-python/pathspec/Manifest b/dev-python/pathspec/Manifest index acc16a7aa32c..7dad9c04992c 100644 --- a/dev-python/pathspec/Manifest +++ b/dev-python/pathspec/Manifest @@ -5,3 +5,5 @@ DIST pathspec-1.0.1.tar.gz 129791 BLAKE2B f8818ad3139fa6dd687a1ed3b6e1d8d3af424a DIST pathspec-1.0.1.tar.gz.provenance 9381 BLAKE2B 36183d163403357564f126a5e43820961fd1626cce7c59abefd71bdb7735158b524cfa4e1cd6a120e4d374c12cf5e52b752d122617787ad3fe97b84e3a05186d SHA512 ad9b7c9f1f294344973a43486463160a362b40ad8062342250f65dd64af95a245dbf3f1f10f0e3aea7635f365a045307d5f95afbd64535d15225e8dc3d697abf DIST pathspec-1.0.2.tar.gz 130502 BLAKE2B f1557a9b1b110f7e3611aba0dd34e260ab404cd94048619358650ff4fc0a322d04fc0efbc57eef0a372d8b3a70bf4cbf8a7cf57d435242b23015ab6508b5a9d4 SHA512 28b4afd51d6fbb81492dbce30c288a35320d8b6d61da15112bd437eb4902af998c39068ecbac4a450959df8c419820a0252dfc612afc2298b84efd14e0af523b DIST pathspec-1.0.2.tar.gz.provenance 9518 BLAKE2B 26e62b12d506e5bb58a01945381dbaa2e3c894c3d0259aeba6ef19050b1535380c85a5df9c2612e034ddbbf32f27945f9b978a65fc9b38901a1d1d533ffcb558 SHA512 99884148ab3c59b823c335d60f665c59521aaa6d5bb90472f5e7dd223a861fafc625a9d3730383fe8ad4e856942548dadc999e431d5058f44f1a218f904d27cd +DIST pathspec-1.0.3.tar.gz 130841 BLAKE2B c8c092c579b8214595b9a081857d4df9b5373858a7c64b26a681c1748c6764eb7ecb1df14025ccae47759df48d80e7b6497ea07ae587030db3ae2a0eef9650db SHA512 8ca509c3085949827274efd73f5bb618b7446eab5e08e0c1a19b27dc5910d35b3e9dac36dc2f60152c2db4c95c776e5c4b9a436a17d9ade5da71a2bcf098dea8 +DIST pathspec-1.0.3.tar.gz.provenance 9471 BLAKE2B f521d6821e6a39ae2caef6cf513bf5ede906888528bf12c4d6a207f264e25f4aade217fae7943da762dd3e6df49922f1244a0816ef52cdefd5de3c65611db50c SHA512 ed78f5b351c1434e040ef9f67dc243880de977a462e2cf3e82f1775c80d5e2600a9a131428d890b15a96a23a3c2d92e82e55aa7a05241f24c8992312642a16ea diff --git a/dev-python/pathspec/pathspec-1.0.3.ebuild b/dev-python/pathspec/pathspec-1.0.3.ebuild new file mode 100644 index 000000000000..532e68598e96 --- /dev/null +++ b/dev-python/pathspec/pathspec-1.0.3.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYPI_VERIFY_REPO=https://github.com/cpburnz/python-pathspec +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Utility library for gitignore style pattern matching of file paths" +HOMEPAGE=" + https://github.com/cpburnz/python-pathspec/ + https://pypi.org/project/pathspec/ +" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + +distutils_enable_tests unittest diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index a393c37dcac7..22de03ac5717 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -2,4 +2,5 @@ DIST pypdf-6.2.0.gh.tar.gz 8292284 BLAKE2B 5df0f87c0df7760c510b92a66e80cd2600645 DIST pypdf-6.3.0.gh.tar.gz 8295782 BLAKE2B cba7ff1a55f52cfa5d83e8dd11c9a9be6b38f3c9eb42ce14d22b080fdfea72e21da6698d2b05ed02d9aa5b537bd5202205ef11e9c87f2442b56fdd2659a19f3b SHA512 3271c1d991f724e1fb3e85f420a7d60570122460b38ff16b1cd8b3c9dbcadc1d59a6474568a6baf3d7be5669c013938e10246223850f1882027a9d29b016499d DIST pypdf-6.4.2.gh.tar.gz 8295275 BLAKE2B 745936795cabbdd7f561743fb7a0e6b497a683fe23f32560336e82c3f5866a289ffd771e60f73d1782f73f5019191375704f0bc66617eb24cec860ab2613af8d SHA512 985f5a41bf2ab9ea9930dcd6a8f203596d1b50518f63ee815e0e6e74e050afd9a124b380fd8066c7f0b134886a645e165598d7764e3a40c3670df7e8de5c1995 DIST pypdf-6.5.0.gh.tar.gz 8301408 BLAKE2B 9df78a6d9cd8da07d55649ad92491a97d9fc02ea5329b8d6697a05f27a3c0dd1225271dfc4fda7cee6f6c571e328559cd42ead3535904f69c7517a90aa4dceb9 SHA512 09b098660affaaab94c2b7c3aec25538c639c1b15190aee01fa6d9e5882ad75299d53629bd4566bc7c667bfbad8cc8dc05a389598f29dd777121ea9eb10bea40 +DIST pypdf-6.6.0.gh.tar.gz 8363620 BLAKE2B 69462ebf40aa8eeb0392f463a761e72af118abe94ff120e85226f2a6a276a03c62c1726d0d6a5b552ab6d28b81d19fb6aee4c12b494863fc0ce4281530a57a9b SHA512 edbbe417fca077f4ddbd7d4ffe01cc4cabc66e1bdd5f14607c16baceb945a6dc534bc10dae6af25c9f2d85b0b9873ca47981ad1266b6b64672074846dd3d0382 DIST pypdf-sample-files-8c405ece5eff12396a34a1fae3276132002e1753.gh.tar.gz 11748093 BLAKE2B c5989200893b28a3c2062bb024a5cfc6f3389dc259ec129857979fa43469e1274559612b4d555499e2c7e16cf34be07825229932bf4d147fa6d7324d043e97d5 SHA512 c9771129b7668a2fd1fa79bb859ae9213f3d60341cf1b9937ff0eaab0de9bf4c35adcb7b896e93329038dc0f3809a0c697c523f8fe41b43030b0b029a88058e3 diff --git a/dev-python/pypdf/pypdf-6.6.0.ebuild b/dev-python/pypdf/pypdf-6.6.0.ebuild new file mode 100644 index 000000000000..6a4b0c6b2c64 --- /dev/null +++ b/dev-python/pypdf/pypdf-6.6.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=8c405ece5eff12396a34a1fae3276132002e1753 +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" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,zlib,${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + media-libs/jbig2dec[png] + ) +" + +EPYTEST_PLUGINS=( pytest-timeout ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +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/pytest-regressions/Manifest b/dev-python/pytest-regressions/Manifest index 29a3f2bb1527..edddc9aef0e8 100644 --- a/dev-python/pytest-regressions/Manifest +++ b/dev-python/pytest-regressions/Manifest @@ -2,3 +2,5 @@ DIST pytest_regressions-2.8.3.tar.gz 117168 BLAKE2B e47121216fa3d2212eaac14c479f DIST pytest_regressions-2.8.3.tar.gz.provenance 9801 BLAKE2B d2257b1c64b91031d46537f801ebe6f0cf1041cd32aafea347f67b5508bf9bd2af0dfee18ec87b356003d8b59a50ec4c0097993bf08331b0ad044202bfb0e396 SHA512 d658957c78dddf74159bde3d8fad6ee61e6ac2e493a190a76f009827f16c65c58a44a8f78402c3f632d60bd50069fcb26430333fa04c0b5aa1f1063c6acb73de DIST pytest_regressions-2.9.0.tar.gz 115110 BLAKE2B 45272956929730ce2d0c35115f5fe77dff0c18695e7dbae1cb573a9d4696e71b759b3117995b25aecaa6f30eb0ac34b88820e6d9be490ad43c8e7fd544ef0984 SHA512 1e47859ff2823fc80f9514831079df4746d574c3e18b12264141a8e5c0251adca6bce855bd11ec6c8ba04e2fde10c5ab7a334c6329c069339e0fb7e6df350e06 DIST pytest_regressions-2.9.0.tar.gz.provenance 9519 BLAKE2B d72c038677ed851ddeb05b2001259cba1474a41c5551d93a2e8fd0649b572c3e817810f2888fd07f30f5242e24d68ac432234fa3738e65e8b3a0a109cabfcf3b SHA512 a72af535965c99b0b97ef85ce7368356a29394d897cdb75c30438279f52cddb1603b46ac08b504f6ce2b2015befae28ef5551f89a88b2dc6d996139c01a54dcb +DIST pytest_regressions-2.9.1.tar.gz 115361 BLAKE2B 375b0e7d415a2fecd5d20034a937c9d92c620a0e0cddc9e5957ad76331aa417e2a359da0886aefdf3cda7a2d8bd55a5d1e6f2c43ccf527bd6e7dad7fd7576394 SHA512 6618070577103d4f356173262e047a562dc5389db0d3f516e16d2d28ec1eef1009a45bb1f264ba469d5d09f43edf9ef14c9fc4591f0754b7b538aa5f65328116 +DIST pytest_regressions-2.9.1.tar.gz.provenance 9566 BLAKE2B 05e3bb0025a0899572779a55b29bf684fd8bae765b74241d9e5fe45324f2ecc58da9679ac7ae5b96fb6af1b347d0bb41dc1a84c702c5a32da783bf6644c7f07d SHA512 9940fe10b80fd5fed42096c891ac00e4eb340f3c2746912a016c7923dbfb42e552d8855c1f9d4dfd347730d358668fe6fb4b7ea9553b75d9384dbac687916740 diff --git a/dev-python/pytest-regressions/pytest-regressions-2.9.1.ebuild b/dev-python/pytest-regressions/pytest-regressions-2.9.1.ebuild new file mode 100644 index 000000000000..7f579bc2ab75 --- /dev/null +++ b/dev-python/pytest-regressions/pytest-regressions-2.9.1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/ESSS/pytest-regressions +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Easy to use fixtures to write regression tests" +HOMEPAGE=" + https://github.com/ESSS/pytest-regressions/ + https://pypi.org/project/pytest-regressions/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/pytest[${PYTHON_USEDEP}] + >=dev-python/pytest-datadir-1.7.0[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGIN_LOAD_VIA_ENV=1 +EPYTEST_PLUGINS=() +distutils_enable_tests pytest +distutils_enable_sphinx doc dev-python/sphinx-rtd-theme + +python_test() { + local EPYTEST_DESELECT=() + local EPYTEST_IGNORE=() + if ! has_version "dev-python/matplotlib[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/test_image_regression.py::test_image_regression + ) + fi + if ! has_version "dev-python/numpy[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + tests/test_ndarrays_regression.py + ) + fi + if ! has_version "dev-python/pandas[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/test_filenames.py::test_foo + tests/test_filenames.py::TestClass::test_foo + tests/test_filenames.py::TestClassWithIgnoredName::test_foo + ) + EPYTEST_IGNORE+=( + tests/test_dataframe_regression.py + tests/test_num_regression.py + ) + fi + if ! has_version "dev-python/pillow[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/test_image_regression.py + ) + fi + + if [[ ${EPYTHON} == python3.14* ]] ; then + EPYTEST_DESELECT+=( + # Sensitive to warnings + tests/test_data_regression.py::test_regen_all + ) + fi + + local EPYTEST_PLUGINS=( pytest-{datadir,regressions} ) + epytest +} diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest index b7c90c163269..45b65617072b 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -4,3 +4,5 @@ DIST tox-4.33.0.tar.gz 204690 BLAKE2B 0f025d2cc9ea9227e1a9a2f920d24eb5fbe7e04238 DIST tox-4.33.0.tar.gz.provenance 9377 BLAKE2B 8217393511a747c97029694cc8a8a8cca66fbbe7a0b5e3b31ec14209859689b096ee0aed6c6d957734624f74f606a706cbd5eab470d4d8bb6b95406af1390608 SHA512 45215846c6e797e45f41c9ae13457790d7584dbb010c7de3b652132bba1296e01a2a027334408062c9eb5b3f66b25b0abf876f9cab831268ff90806d63ce3d44 DIST tox-4.34.0.tar.gz 205371 BLAKE2B bc077caea5a4f729152243b7d0e7e246e6df921186a4ccae5c7bab536e8ed56df0f9fa85bdd1faced37209f7d19aa5d5b859dc8a94abe1944a5821cf224bcec0 SHA512 436d038e1f8df562ec246e6b8390de4acf93e4b19b183bec1efaedf1a3b0bb616e5e65217c4e2dedff3942b74fed538f6bf3ade442b6108cf6f5207b3a658236 DIST tox-4.34.0.tar.gz.provenance 9189 BLAKE2B 92254099e12754294fcb6924f6e32374ac84ad7525ab3933d2cafb0bc71c55604e9f267dd4fe3a803a7106df45b61b8badbe0c90af25123fc9c874d87083671d SHA512 a616e5d5a9fafad601631e48859a7817d6c025b75280a5e508f6b7f6eba8626a9a8a153e4a320a86b7897d335cc2f6392b6214405721ecb19be4890891907aef +DIST tox-4.34.1.tar.gz 205306 BLAKE2B 76b90cd7b665ebbd3f7d83695168fc9f861b9d1751298fc04b6019bb100131149e4fe0e89c09068bd45a1774832237dfe6423aa909808ff2f52bc6a2e2ee0018 SHA512 ec7ffdf372d1794f659c36f9a5cfc41da18e23532323fbf9a7a21fe9b9ed71ce38f801086ec64de9a8aaea0a15e7b282e24175c7f8ae31930b63fab5dbd57beb +DIST tox-4.34.1.tar.gz.provenance 9138 BLAKE2B 33b06d64b52e3fa092d681e899d73f8e307efd5660840498406342fde9698839cb39c7d5645bb484aa06a19b81eb5731e7e6698319c89e2948375918de3eb360 SHA512 33059f07f02a19786dbd4831006ef11581f977e85d76c369e19ffdacf476b14cba66ffa99c77cb0414d0a7f20a7e25883c496b65f721c3a817d164dbd83cc697 diff --git a/dev-python/tox/tox-4.34.1.ebuild b/dev-python/tox/tox-4.34.1.ebuild new file mode 100644 index 000000000000..c91e7ba94c16 --- /dev/null +++ b/dev-python/tox/tox-4.34.1.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/tox-dev/tox +PYTHON_COMPAT=( python3_{10..14} ) + +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="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/cachetools[${PYTHON_USEDEP}] + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/colorama[${PYTHON_USEDEP}] + dev-python/filelock[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/platformdirs[${PYTHON_USEDEP}] + dev-python/pluggy[${PYTHON_USEDEP}] + dev-python/pyproject-api[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/build[${PYTHON_USEDEP}] + dev-python/distlib[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/re-assert[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/time-machine[${PYTHON_USEDEP}] + ' 'python*') + ) +" + +EPYTEST_PLUGINS=( pytest-{mock,rerunfailures,xdist} ) +# xdist seems to mess up state between successive implementation runs +distutils_enable_tests pytest + +src_prepare() { + # upstream lower bounds are meaningless + sed -i -e 's:>=[0-9.]*::' pyproject.toml || die + distutils-r1_src_prepare +} + +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 + tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_run_installpkg_targz + tests/tox_env/python/virtual_env/package/test_package_pyproject.py::test_pyproject_installpkg_pep517_envs + ) + local EPYTEST_IGNORE=( + # requires devpi* + tests/test_provision.py + ) + + case ${EPYTHON} in + python*) + local EPYTEST_PLUGINS=( "${EPYTEST_PLUGINS[@]}" time-machine ) + ;; + 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]' + ) + ;; + esac + + epytest -o addopts= +} diff --git a/dev-python/translate-toolkit/Manifest b/dev-python/translate-toolkit/Manifest index 642b7a0fbc8a..efdbd1a3f636 100644 --- a/dev-python/translate-toolkit/Manifest +++ b/dev-python/translate-toolkit/Manifest @@ -3,3 +3,4 @@ DIST translate-3.17.2.gh.tar.gz 1237809 BLAKE2B b7f1ea65990ac2b5380e674cadc47c1d DIST translate-3.17.3.gh.tar.gz 1241480 BLAKE2B 2c3e32f1959b37903214005bb360a0efd9c3b8ebbd8c1996be0af80aa753e109512656c896c51cf9a1e0f449fef47116938e5c92a9828c21cd5a3cd6a2bc4315 SHA512 8d5c83b10a706300ba73310469b1e1857338c6dffa5790765fee316c183b832b3f142080759fd6155fcfa716613c6019be17b3ad70ffcf57eeb27e7eb5b62397 DIST translate-3.17.4.gh.tar.gz 1242234 BLAKE2B da13cc36d463c7f50724b1f398d77e817db03abe2ca9bbc19de6900f48de839feff63b7efcbf76e4eb6d252525e56d0abe67403102f2eaf45c5bcc2007f00e55 SHA512 1ee5a3bb82cd7cd57e6ab3cc95469c0c1b00018accb0129fda909317dfd62df77ea69061fddec9838c8e5f0e76fc45c130c93ce99d2e628b508551e573ef9279 DIST translate-3.17.5.gh.tar.gz 1244591 BLAKE2B c8e6cc72e5ff5c324da69d58ed0bd6a6c72257b902797b8673eda49b8cc80061aee898fdafa23a604c6527a9c4d1e3889813d50d876566c408a3e5dde467882f SHA512 eb44c62b73fafaf2844fc75705d2bb48f39d636cb3e30f5b4d770d576326ec59c7186ab3a24e80136fd96bd294eaa59e621f46cf539cf710f0ec7bd676bc9b11 +DIST translate-3.18.0.gh.tar.gz 1263818 BLAKE2B 2c31240428dfcd3af50c9325a22edeed8e14751787dc52497c64d309a77214c18313813432ed68e4a09b6da1c386beca2676bf544f24255c3bb7ad7e0ecd4e8e SHA512 5f8f5bcd4172d46974f312de89360ce3be2d434c3498c28e60c26d6e77ee6c6c7d610fd0c0d4ac7267e3a224db07908a18d53c79025f660148acd532410412f5 diff --git a/dev-python/translate-toolkit/translate-toolkit-3.18.0.ebuild b/dev-python/translate-toolkit/translate-toolkit-3.18.0.ebuild new file mode 100644 index 000000000000..3cd3ebbe10f4 --- /dev/null +++ b/dev-python/translate-toolkit/translate-toolkit-3.18.0.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 + +MY_P=translate-${PV} +DESCRIPTION="Toolkit to convert between many translation formats" +HOMEPAGE=" + https://github.com/translate/translate/ + https://pypi.org/project/translate-toolkit/ +" +SRC_URI=" + https://github.com/translate/translate/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S="${WORKDIR}"/${MY_P} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="+html +ical +ini +subtitles +yaml" + +RDEPEND=" + app-text/iso-codes + >=dev-python/chardet-3.0.4[${PYTHON_USEDEP}] + dev-python/cheroot[${PYTHON_USEDEP}] + >=dev-python/levenshtein-0.12.0[${PYTHON_USEDEP}] + >=dev-python/lxml-5.2.0[${PYTHON_USEDEP}] + >=dev-python/mistletoe-1.1.0[${PYTHON_USEDEP}] + >=dev-python/pyparsing-3[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] + >=dev-python/unicode-segmentation-rs-0.2.0[${PYTHON_USEDEP}] + >=dev-python/wcwidth-0.2.14[${PYTHON_USEDEP}] + sys-devel/gettext + html? ( dev-python/utidylib[${PYTHON_USEDEP}] ) + ical? ( dev-python/vobject[${PYTHON_USEDEP}] ) + ini? ( >=dev-python/iniparse-0.5[${PYTHON_USEDEP}] ) + subtitles? ( media-video/gaupol[${PYTHON_USEDEP}] ) + yaml? ( dev-python/pyyaml[${PYTHON_USEDEP}] ) +" +# Technically, the test suite also has undeclared dependency +# on dev-python/snapshottest but all the tests using it are broken +# anyway, so we skip them. +BDEPEND=" + test? ( + dev-python/phply[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # strip unnecessary pins + sed -i -e 's:,<[0-9.]*::' pyproject.toml || die +} + +src_test() { + # unfortunately, this bad quality package doesn't support XDG_DATA_DIRS + # correctly, so we need to reassemble all data files in a single directory + local -x XDG_DATA_HOME=${T}/share + cp -r translate/share "${T}/" || die + cp -r "${ESYSROOT}"/usr/share/gaupol "${XDG_DATA_HOME}"/ || die + + distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # Fails with network-sandbox (and even with it off but w/ softer fail) + 'tests/xliff_conformance/test_xliff_conformance.py::test_open_office_to_xliff' + 'tests/xliff_conformance/test_xliff_conformance.py::test_po_to_xliff' + # all tests based on snapshottest are broken and I'm too tired + # to figure this out + tests/translate/tools/test_pocount.py::test_{cases,output} + tests/translate/tools/test_junitmsgfmt.py::test_output + ) + local EPYTEST_IGNORE=( + # unpackaged fluent.* + tests/translate/storage/test_fluent.py + # changes directory and does not change it back, sigh + tests/odf_xliff/test_odf_xliff.py + ) + + if ! has_version "dev-python/iniparse[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + translate/convert/test_ini2po.py + translate/convert/test_po2ini.py + ) + fi + + if ! has_version "media-video/gaupol[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + translate/storage/test_subtitles.py + ) + fi + + epytest +} + +python_install_all() { + distutils-r1_python_install_all + + insinto /usr + doins -r translate/share + + if ! use html; then + rm "${ED}"/usr/bin/{html2po,po2html} || die + fi + if ! use ical; then + rm "${ED}"/usr/bin/{ical2po,po2ical} || die + fi + if ! use ini; then + rm "${ED}"/usr/bin/{ini2po,po2ini} || die + fi + if ! use subtitles; then + rm "${ED}"/usr/bin/{sub2po,po2sub} || die + fi +} diff --git a/dev-python/virtualenv/Manifest b/dev-python/virtualenv/Manifest index 3fe3caa80d42..27c3e6596ee8 100644 --- a/dev-python/virtualenv/Manifest +++ b/dev-python/virtualenv/Manifest @@ -4,3 +4,5 @@ DIST virtualenv-20.35.4.tar.gz 6028799 BLAKE2B e4796544d04a5cf71b2f0c98c8b09e08d DIST virtualenv-20.35.4.tar.gz.provenance 9393 BLAKE2B 5e95b323b078ef6d520bd4463a272f9ae11ee5d182e44be80d95d67667375059504f882b85e329e42d42cb66b0cfc86a301ad60ec91885c88d69c9f0e115175b SHA512 f4b7cef5f95fdfeb7ea04ee5f90fe705079580ed4f4d519f4551d138c6a5fad73c862ee67681841ac1d2e258c8aac137ffdd468fd72b442d4c7a7713e7dc0192 DIST virtualenv-20.36.0.tar.gz 6032237 BLAKE2B 864f1542d6e5c7c3b78cfe2695d171d9a545f27e3c2d10adb92e3615f128f47897345b88a7be7c3099fd4a0ad70b2ea7e6801878bdd102a4927296c2820fdd67 SHA512 62a0ffa9a6c1303fead8bc77ce23fa73075bf5fe79c26c612e9a510cd3b7466f5370b549748861410a014bdc96453552d7761ba5c9e4bb20845f6bac3adef941 DIST virtualenv-20.36.0.tar.gz.provenance 9242 BLAKE2B 11401266d08513c5d50e2c846301a887919b4b5e9243966637a4fb2fab96b3be8815ccddf02d6c9ad9f46900abdf904c9d0c81d0c6213c6e542f40d764eefaae SHA512 fa46c395648177b48860a82f81044f6268dbf2ba12398547b4ae46e3012ef352603d7b605b1f7ed49b364a15c29e1cd65ffb7c18fd9224ed7d464f76670d06fb +DIST virtualenv-20.36.1.tar.gz 6032239 BLAKE2B 9d4cd6e28275ab1e5737e12e0661c4e772a0095dfa7cbd1bad76a0c90d55821ae819d6b65fd5b314d3076570f661eb2fe05b4be41c406f8e423df8389feaac06 SHA512 08da448fadd89f43526e27c3dd3c9a1c5a4c8532093db8c73f34d1d88e48ddff5b983d28343f4efcdec30428fa2ac10acc27ab57c647bd3fc8e261dbd9a9b639 +DIST virtualenv-20.36.1.tar.gz.provenance 9246 BLAKE2B 4ee139a4eef0092c20d791db0e3e9901f65db574367ac234bc84cc02998e386a713314d474b7401d484df35dabe52ad9f9bc14cdf0230566853cb84e58e3d660 SHA512 a8b9ec9269848716e6496578b0de27f416327228d205a8fca8f60373c6e72ff11af3da0f241dbbdef660253cb604b9a35c96575eaad4476892a98cc168198aff diff --git a/dev-python/virtualenv/virtualenv-20.36.1.ebuild b/dev-python/virtualenv/virtualenv-20.36.1.ebuild new file mode 100644 index 000000000000..f69ea1399283 --- /dev/null +++ b/dev-python/virtualenv/virtualenv-20.36.1.ebuild @@ -0,0 +1,133 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/pypa/virtualenv +PYTHON_TESTED=( python3_{11..14} pypy3_11 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) + +inherit distutils-r1 pypi + +DESCRIPTION="Virtual Python Environment builder" +HOMEPAGE=" + https://virtualenv.pypa.io/en/stable/ + https://pypi.org/project/virtualenv/ + https://github.com/pypa/virtualenv/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/distlib-0.3.7[${PYTHON_USEDEP}] + >=dev-python/filelock-3.20.1[${PYTHON_USEDEP}] + >=dev-python/platformdirs-3.9.1[${PYTHON_USEDEP}] + + dev-python/ensurepip-pip + >=dev-python/ensurepip-setuptools-70.1 + dev-python/ensurepip-wheel +" +# coverage is used somehow magically in virtualenv, maybe it actually +# tests something useful +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + $(python_gen_cond_dep ' + dev-python/coverage[${PYTHON_USEDEP}] + >=dev-python/pip-22.2.1[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/setuptools-67.8[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + >=dev-python/packaging-20.0[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + $(python_gen_cond_dep ' + dev-python/time-machine[${PYTHON_USEDEP}] + ' python3_{11..14}) + $(python_gen_cond_dep ' + >=dev-python/pytest-freezer-0.4.6[${PYTHON_USEDEP}] + ' 'pypy3*') + ) +" + +src_prepare() { + local PATCHES=( + # use wheels from ensurepip bundle + "${FILESDIR}/${PN}-20.31.1-ensurepip.patch" + ) + + distutils-r1_src_prepare + + # workaround test failures due to warnings from setuptools-scm, sigh + echo '[tool.setuptools_scm]' >> pyproject.toml || die + + # remove useless pins + sed -i -e 's:,<[0-9.]*::' pyproject.toml || die + + # remove bundled wheels + rm src/virtualenv/seed/wheels/embed/*.whl || die +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + einfo "Skipping testing on ${EPYTHON}" + return + fi + + local EPYTEST_DESELECT=( + tests/unit/seed/embed/test_bootstrap_link_via_app_data.py::test_seed_link_via_app_data + # tests for old wheels with py3.7 support + tests/unit/seed/embed/test_pip_invoke.py::test_base_bootstrap_via_pip_invoke + tests/unit/seed/wheels/test_wheels_util.py::test_wheel_not_support + # broken by different wheel versions in ensurepip + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_latest_string + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_exact + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_latest_none + tests/unit/seed/wheels/test_acquire.py::test_download_wheel_bad_output + # hangs on a busy system, sigh + tests/unit/test_util.py::test_reentrant_file_lock_is_thread_safe + # TODO + tests/unit/create/via_global_ref/test_build_c_ext.py::test_can_build_c_extensions + # random resource leaks or xdist + tests/unit/test_file_limit.py::test_too_many_open_files + # Internet + tests/unit/create/test_creator.py::test_create_distutils_cfg + ) + case ${EPYTHON} in + pypy3.11) + EPYTEST_DESELECT+=( + # these don't like the executable called pypy3.11? + tests/unit/activation/test_bash.py::test_bash + tests/unit/activation/test_fish.py::test_fish + tests/unit/discovery/py_info/test_py_info.py::test_fallback_existent_system_executable + ) + ;; + esac + + local -x TZ=UTC + local EPYTEST_PLUGINS=( pytest-{mock,rerunfailures} ) + if [[ ${EPYTHON} == pypy3* ]]; then + EPYTEST_PLUGINS+=( pytest-freezer ) + else + EPYTEST_PLUGINS+=( time-machine ) + fi + local EPYTEST_RERUNS=5 + local EPYTEST_TIMEOUT=180 + local EPYTEST_XDIST=1 + epytest -o addopts= +} + +src_install() { + distutils-r1_src_install + + # remove bundled wheels, we're using ensurepip bundle instead + find "${ED}" -name '*.whl' -delete || die +} diff --git a/dev-python/zope-interface/Manifest b/dev-python/zope-interface/Manifest index 41248a5188d5..80a1765cc376 100644 --- a/dev-python/zope-interface/Manifest +++ b/dev-python/zope-interface/Manifest @@ -1,3 +1,4 @@ DIST zope_interface-8.0.1.tar.gz 253746 BLAKE2B a09c110457a647abd3bd13d4deb1a63d8ec9ef4b74a20dafdfa6a7abdf84379e24a62c631213b68310673d87b7313c89f33eddb6f0100bd6b7e6a17210455564 SHA512 9a09a2ab938c050846fc7156e4a7788a2fc83003ed82fe926bae7df417cadf30b62f2d1a4a07ea8cac6ce04235944110a5ad603209cab62942301f75ca4c358c DIST zope_interface-8.1.1.tar.gz 254748 BLAKE2B 380cad109ebb9fb91dbba9f8736552946f4dd240203413424effaf7c816abbd54a9618cd19586c97d0212c72287927b3ae46dddb8d6ea5c5c6b122f19c1f380b SHA512 707579b862992cb2d338a39be509a3ada0bfe26e1317d6487a9dc2e6a0ae389b0211942d449372ed31dc64084ebbe97b10095226adc6f7ba494c390c439c89cf DIST zope_interface-8.1.tar.gz 253831 BLAKE2B 2f63ace35f6eab24200f42475c069e98c513f7d37f7abc3b28a670cf6f2943706ed7c0fa858bdcb4b7e192adba628f44da476d0b70ca5a6d64d6ef932ef1c120 SHA512 ee9d86ad487eb150754aed7f0136b26603cbafb1dba04bd2296125be52c5d8a3dcef22525c85b37038289960b8f7428a1b6084da07239d8de65798aa31f23b75 +DIST zope_interface-8.2.tar.gz 254019 BLAKE2B 695eb63188d45f9f4cc5bf4376a8e63e8189e5c016945471582046bc75f07eb33fadd3a435855d51138b34dbd148044b3e210a55860161dc4f4c1337cc5f475f SHA512 f256c6d4f1edee2d742903a482054bd2c3a5facdfaeb108cb9b467e24ad7140db9efb4a092e08fb43f3f1024097405c3f1d05b6788179176b2dd6bb99f12fcf6 diff --git a/dev-python/zope-interface/zope-interface-8.2.ebuild b/dev-python/zope-interface/zope-interface-8.2.ebuild new file mode 100644 index 000000000000..aec4eb770ed8 --- /dev/null +++ b/dev-python/zope-interface/zope-interface-8.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Interfaces for Python" +HOMEPAGE=" + https://github.com/zopefoundation/zope.interface/ + https://pypi.org/project/zope.interface/ +" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos ~x64-solaris" +IUSE="+native-extensions test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + dev-python/zope-event[${PYTHON_USEDEP}] + dev-python/zope-testing[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + distutils-r1_src_prepare + + # force failure if extension build fails + sed -i -e "/'build_ext':/d" setup.py || die + if ! use native-extensions; then + sed -i -e '/ext_modules=/d' setup.py || die + fi +} + +python_test() { + local -x PURE_PYTHON=0 + if ! use native-extensions || [[ ${EPYTHON} == pypy3* ]]; then + PURE_PYTHON=1 + fi + + eunittest -s "${BUILD_DIR}/install$(python_get_sitedir)/zope" +} |
