diff options
Diffstat (limited to 'dev-python')
18 files changed, 362 insertions, 155 deletions
diff --git a/dev-python/blessed/Manifest b/dev-python/blessed/Manifest index a93fa8c19131..332a73d19518 100644 --- a/dev-python/blessed/Manifest +++ b/dev-python/blessed/Manifest @@ -1,2 +1,3 @@ DIST blessed-1.49.0.tar.gz 14055928 BLAKE2B ddc5793230d896f6851999c1f519178a026b38002e1149eae03d4ccabdcb56612e536f312d557896725cb88e8cd94bf16a743248d54351b5e324aa2e16a0915e SHA512 6a74f7b5ac374eb34f0d6558aec506e197dc9df809f4460f1d10ac5febf84e7f07afef62dc7423901a9cf3463a2872c87669c8e939d8bcc69213c64d093f00ce DIST blessed-1.50.0.tar.gz 14062021 BLAKE2B a16609378d7b73de78ae07970119fa64a77c5dbe775d7edf62894b7cbbfbc9989fc0630b38398c8139a50ffcb40e579c3b9039dd7249b60ad526b9cb9e0065f2 SHA512 dc8d6805d04d8681b190c30481899e261aafa973129ce825c392142ea8b1e3dec476c7a9fe442d14cf9a712fe872dc0e14099047b787b5dc2349c586d6ca0e3c +DIST blessed-1.51.0.tar.gz 14069432 BLAKE2B d7ade8e3e040f1e218139659d4dc843f8e1f67f9d79a342ca4c7dff9e6a653521ebc7851a32364f3db9f93164f817aaebf99f9ee471719b28ccaa4f6c8c995a6 SHA512 f4e1cfd9d88c5fc6aadb86b56c03b302832770c01a2d456cf016f3115e0d09377e21cae95b02cadc132635318cfd9ec340cb8ace74c57ea4be40d937a987d56c diff --git a/dev-python/blessed/blessed-1.51.0.ebuild b/dev-python/blessed/blessed-1.51.0.ebuild new file mode 100644 index 000000000000..2d966eb57b93 --- /dev/null +++ b/dev-python/blessed/blessed-1.51.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit-core +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Library for making terminal apps using colors, keyboard input and positioning" +HOMEPAGE=" + https://github.com/jquast/blessed/ + https://pypi.org/project/blessed/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/jinxed-2.1[${PYTHON_USEDEP}] + >=dev-python/wcwidth-0.8.3[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs dev-python/sphinx-rtd-theme + +EPYTEST_PLUGINS=() +# tests are flaky with xdist +distutils_enable_tests pytest + +# README.rst is a symlink to docs/ +DOCS=() + +python_prepare_all() { + # Skip those extensions as they don't have a Gentoo package + # Remove calls to scripts that generate rst files because they + # are not present in the tarball + sed -e '/sphinxcontrib.manpage/d' -e '/sphinx_paramlinks/d' \ + -e '/^for script in/,/runpy.run_path/d' \ + -i docs/conf.py || die + distutils-r1_python_prepare_all +} + +python_test() { + local EPYTEST_DESELECT=( + # fragile to timing + tests/test_sixel.py::test_sixel_height_and_width_fallback_to_xtwinops + tests/test_sixel.py::test_fast_path_with_caches_populated + ) + + # COLORTERM must not be truecolor + # See https://github.com/jquast/blessed/issues/162 + local -x COLORTERM= + # Ignore coverage options + epytest --override-ini="addopts=" +} diff --git a/dev-python/fonttools/Manifest b/dev-python/fonttools/Manifest index 987c754daceb..8cf7701be851 100644 --- a/dev-python/fonttools/Manifest +++ b/dev-python/fonttools/Manifest @@ -2,3 +2,4 @@ DIST fonttools-4.64.0.gh.tar.gz 4106541 BLAKE2B 5bdddac2b811e47567948a48bef0de7c DIST fonttools-4.65.0.gh.tar.gz 4113728 BLAKE2B a8315b819ae12417b6757956d237fa9fffb4a2e75dc893c00be0dafe529880e161070f9496594b3414a0ef0932fe84092d1910ca2f292acc6cf9f1ba07506347 SHA512 b6066e438e5237ff18e9b44343d3533ccd4468ac4e685b066a1f5da035161c082468c025ff79832eec534e29a8bbac7cc558301b13abdb763c61f91d0ceecafa DIST fonttools-4.66.0.gh.tar.gz 4129212 BLAKE2B d35d913e0dda168b623cff44a7fa430b5d5922e5ffdca3c0b14f7882780c26412b0e001dd2d277e806f5202fac1deb05bda12291343de45a5ac92482beb8e1db SHA512 01db954f6f895d941dbae3cbf900683e737ec8b4f46fc2b7158cdf9fab2fb350b9121724088521b5d790d2e5ec0e70939ae1757d1612c87616ecbfec2b9ae0b9 DIST fonttools-4.66.1.gh.tar.gz 4131087 BLAKE2B dd76251baec8d84b91dda84aa3abde77a58a09a3ab105f4cfe17eacfd54774ea2e4fb654aba616b5b2b355da4cfc5e5ee43d1f276a38e6daee950aef502df86d SHA512 3a9eceeb3ca630c3e8565e9a097e140c8552bd641e8db4ba4ddd4298a0df43283844d8b655d92922d3caf33d8deff25f08d558362b62184e450148a2cfc9d2ee +DIST fonttools-4.67.0.gh.tar.gz 4184076 BLAKE2B a7453ceb3709b344b32b70dd415e5bfab2d55fbf775e9f21f9228519b49b51dec640b48d6ddb12c8355928462ebf378b3ac20ac097a3099781d83c5187c59cfa SHA512 98f8b15033e6df01a2e4f85645bf70670fecadd544889d13392dd5af2b35c7f3b229f41b555120fa1f4ebfabcd63720d663ae684fc27185f3c6d805e731ade3d diff --git a/dev-python/fonttools/fonttools-4.67.0.ebuild b/dev-python/fonttools/fonttools-4.67.0.ebuild new file mode 100644 index 000000000000..ba3df1e78639 --- /dev/null +++ b/dev-python/fonttools/fonttools-4.67.0.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 virtualx + +DESCRIPTION="Library for manipulating TrueType, OpenType, AFM and Type1 fonts" +HOMEPAGE=" + https://github.com/fonttools/fonttools/ + https://pypi.org/project/fonttools/ +" +SRC_URI=" + https://github.com/fonttools/fonttools/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="+native-extensions" + +BDEPEND=" + native-extensions? ( + dev-python/cython[${PYTHON_USEDEP}] + ) + test? ( + dev-python/brotlicffi[${PYTHON_USEDEP}] + dev-python/munkres[${PYTHON_USEDEP}] + app-arch/zopfli + ) +" + +EPYTEST_PLUGINS=( pytest-rerunfailures ) +# woff2 tests are extremely flaky +EPYTEST_RERUNS=20 +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # length mismatches; possibly zlib-ng? + Tests/ttLib/woff2_test.py::WOFF2ReaderTTFTest::test_table_tags + Tests/ttLib/woff2_test.py::WOFF2WriterTest::test_calcTotalSize_no_flavorData + Tests/ttLib/woff2_test.py::WOFF2WriterTest::test_calcTotalSize_with_metaData + Tests/ttLib/woff2_test.py::WOFF2WriterTest::test_calcTotalSize_with_metaData_and_privData + Tests/ttLib/woff2_test.py::WOFF2WriterTest::test_calcTotalSize_with_privData + Tests/ttLib/woff2_test.py::WOFF2WriterTest::test_checksums + Tests/ttLib/woff2_test.py::WOFF2WriterTest::test_head_transform_flag + Tests/ttLib/woff2_test.py::WOFF2WriterTest::test_hmtx_trasform + Tests/ttLib/woff2_test.py::WOFF2WriterTest::test_no_transforms +) + +python_compile() { + local -x FONTTOOLS_WITH_CYTHON=$(usex native-extensions) + distutils-r1_python_compile +} + +src_test() { + # virtualx used when matplotlib is installed causing plot module tests to run + virtx distutils-r1_src_test +} + +python_test() { + # nonfatal for virtx + nonfatal epytest Tests fontTools || + die -n "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 84adcf220140..d47fd8086cc0 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -8,4 +8,6 @@ DIST pypdf-6.20.0.tar.gz 7072602 BLAKE2B 077fda66d0c13c430e86964aff1f42ee08d8998 DIST pypdf-6.20.0.tar.gz.provenance 9621 BLAKE2B 41ad2e67c10eb3761f6b76641f7a5a5382564b5c359b80376addbf97f0ed5302aadd4ed53ad6fe68c37a9093920b4855a29614150a04dcfa1ab403f2190424d8 SHA512 fcba515f2c5f0572caec8083ac31d405d54b0fbe63a73595785d1ee324e791efb2b70ea289bd3c32eb4856392d2c22b8c0f30e12e34eba246a3993fa40e9578a DIST pypdf-6.20.1.tar.gz 7075352 BLAKE2B 37cdad5ac64fcd04d20de5f92e8ebbfc0812247469948d4c2f6d5f903e2fee3973cce57beb7d56e023d98706d15a06033e407b6e72894711358c7d15eff9b8b0 SHA512 0522345a0501cba23bac9f8170a712a86d77308ddba31c86313add40e74847e5a568ab1d464af5a9db0ed39f68ca5011d9b6b35f25c5c4b0c0b652308431317a DIST pypdf-6.20.1.tar.gz.provenance 9621 BLAKE2B e8dfa965f337d79c88de17dbeec0e6d4c00ae93d900dfd8520fff99a0eb86ed3b5d975c91d82d7283558334ae829913a4dbfc77ca25197b14c9be2db9678f51e SHA512 f6edea4c84e085d4a4b62c2550fd1efa277c58ae650b3c6c94a16ec6b82e3da67500ab47ab44f22a3d6653b7af09da08ef842232dc1a5325c089d264eb837059 +DIST pypdf-6.21.0.tar.gz 7088285 BLAKE2B d88a8775a88855a3d3c68ad428d2e3cc71287e25ad2f0403dd275109cf6b3c6ecfecf7e3f91e0c5593ee5ba05efdb0a6466b978c6a28a32dd11f592a5c723c80 SHA512 0529c071d661c117fb294748e0a8cc838543c41f91772c7fc752365ae46744be3257a822bcbd159a90128a1a515bcce6010a7661eb2a9dca9bfeaecc6154c19b +DIST pypdf-6.21.0.tar.gz.provenance 9668 BLAKE2B ae490f77ca9169550fb48cdbd1b159e0f5bcef6a09a9e838f0d1bfb741dc41fc0fdc96a871f5d287cb4658894ac9014bffc28a1956013350422485b2da1dfeb8 SHA512 619a8e31272eae7b659cf7374a2409db6a287c8b6c7241d51b526f6cf1826f3d4f9f955a117b2eee8d04b1fea8e98d5e83ca61947923a92964a23ce1b84fd6fa DIST pypdf-sample-files-818dc013ad1f537198e9fcfae8a6b0dffe25ffa3.gh.tar.gz 11850954 BLAKE2B fbd0af91de44f2d224b3266727f0dfc462efb4d23176f4ebff147cbfa37337d891859c468b545d0c00796048584e6b621dc622d667e3d45c0b89b92f29ca3030 SHA512 bc601bfaf17f31c6358f594eaf879479e97028d7f5e5825c309a5d1eb843bfea5080c9e151287a0d915ecbc3f4d4755e326ac8fa1ceeb696c76b9f5ecc0d7e9f diff --git a/dev-python/pypdf/pypdf-6.21.0.ebuild b/dev-python/pypdf/pypdf-6.21.0.ebuild new file mode 100644 index 000000000000..4dc16068247d --- /dev/null +++ b/dev-python/pypdf/pypdf-6.21.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit-core +PYPI_VERIFY_REPO=https://github.com/py-pdf/pypdf +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +SAMPLE_COMMIT=818dc013ad1f537198e9fcfae8a6b0dffe25ffa3 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI+=" + 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 ~ppc ~ppc64 ~riscv ~x86" + +BDEPEND=" + test? ( + >=dev-python/cryptography-3.1[${PYTHON_USEDEP}] + dev-python/fonttools[${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 + +EPYTEST_DESELECT=( + # probably requires extra deps + tests/test_appearance_stream.py::test_appearance_stream_rtl + # speed test, uses tons of memory + tests/test_filters.py::test_flatedecode__decode_png_prediction__speed + # apparently we get half the limit somehow? + tests/generic/test_data_structures.py::test_dictionary_object__read_from_stream__missing_length__limit + tests/generic/test_data_structures.py::test_dictionary_object__read_from_stream__read_unsized__limit +) + +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-discovery/Manifest b/dev-python/python-discovery/Manifest index b2c44894605f..f4c0d169129b 100644 --- a/dev-python/python-discovery/Manifest +++ b/dev-python/python-discovery/Manifest @@ -4,3 +4,5 @@ DIST python_discovery-1.6.1.tar.gz 84338 BLAKE2B 817e18c8706a1d582c928b65b7252c0 DIST python_discovery-1.6.1.tar.gz.provenance 9713 BLAKE2B 07cd6ce6319c44ed3f41fb53a481bb142a6c6c3c095d0254eb3933227e2ecb1baad428c1b6d011c0581fa4ab97d1465219044741002dfc2a25ff24363381f9e4 SHA512 6b177195e35a8bfb438c98f3f048f5d0179003b247033dc099ae2673c68d32f30e16d2eb3e5a3252c199c5365e015e906e73b242f49c1eaf9b67abb44a12ef69 DIST python_discovery-1.6.2.tar.gz 86921 BLAKE2B e5e79967f4781e17c18277b00e550314032be295aa4508841cdcfd978ba2a04a883da3627ac5c813145304e3a1f0e961a73995bd7e526e4ea6ed3366c520f3fa SHA512 b3843ff26640a0dda4c1b0ac4b8732776357b7fcdc7e7cddbb63d082c0e65aa69025f6dfbd06738483c1a4444e16fabc7abdffbe863f76401f61c1eeb1574d64 DIST python_discovery-1.6.2.tar.gz.provenance 9679 BLAKE2B 6da1fc38df4ed46f9101b1fb8182e2bde68f04d3c9192f87a667dba3ed05500ec0525003ea7140acb467e14860357ae046acc5a0380df79b8a8cb561667a52e3 SHA512 e0abc195f761676ee3b497fddd4ee0569620372a1d4322c43b2f34c9c534522582c60b052746e1ea6ff6c28a8bde0a8077e03533dac9edd3e1e9059a0608c309 +DIST python_discovery-1.6.3.tar.gz 88998 BLAKE2B 12417fd68545ad417856aec7797fca2534f3451295ffbd612a9fe422d74c804d4c9a627ea84f12aca22bf0a931ebee8d04309f70619f03236d0a76725de8761f SHA512 4f92b73674a972831cc1ccf30ce081731667087dc278070ce1679e8bffb28819be52f3aa63835a08cd6595fec394affdc220fe6e3da12b9f1a8426e3e8e73004 +DIST python_discovery-1.6.3.tar.gz.provenance 10055 BLAKE2B 51bb3f963c04bbce5fb80bdb946a95aa374fe7dc763441a79a7aac7b713a4367c9e94dd84b2b3f153d191a9c77b34de7febf581d7f019f799eb47be8ce3fc1d5 SHA512 fcc4bc79a7a7c3ac08bb90e8a119f954184aa5cef6655c0d9c5bfebe6fccc688897c14501a99e5b6735ecb4963ccc14eb03091a167cd6f9c12f6d7e8952458e5 diff --git a/dev-python/python-discovery/python-discovery-1.6.3.ebuild b/dev-python/python-discovery/python-discovery-1.6.3.ebuild new file mode 100644 index 000000000000..fddf512947d9 --- /dev/null +++ b/dev-python/python-discovery/python-discovery-1.6.3.ebuild @@ -0,0 +1,55 @@ +# Copyright 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/python-discovery +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python interpreter discovery" +HOMEPAGE=" + https://github.com/tox-dev/python-discovery/ + https://pypi.org/project/python-discovery/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/filelock-3.16.1[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/setuptools-75.1[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-mock ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + # TODO: package vermin? + tests/test_py_info_collect.py + ) + local EPYTEST_DESELECT=() + + case ${EPYTHON} in + python3.*t) + EPYTEST_DESELECT+=( + # TODO + tests/test_py_info_extra.py::test_satisfies_path_not_abs_basename_match + tests/test_iter_interpreters.py::test_iter_interpreters_dedups_symlinks + tests/test_iter_interpreters.py::test_iter_interpreters_no_key_includes_running_interpreter + ) + ;; + esac + + epytest +} diff --git a/dev-python/tomlkit/Manifest b/dev-python/tomlkit/Manifest index 6e6087e62d64..657527ca90ea 100644 --- a/dev-python/tomlkit/Manifest +++ b/dev-python/tomlkit/Manifest @@ -1,2 +1,2 @@ -DIST tomlkit-0.15.0.tar.gz 161875 BLAKE2B b3a6086665fd7ba5edc29c910ff762c2bf516a5604ba7efedfff9b886a5122d2dc9bb5c7aa9832f40fa3e98be32ce85d4d92ef2a15f7cc6193ce491286e859b8 SHA512 dfb7dbb44243f13e01c0b66aa9e0a49edba8c4d8cf720bc81b2faa30877599f465ba38e9235a0b4323100c4efd82d78659b25cf15b345ce5fc5376c3695b73e4 DIST tomlkit-0.15.1.tar.gz 180129 BLAKE2B 4d1b00b7ef2a69ad412f16caac2f06febb3fbbc3f73d231f63b55612b66754b96565920cd01383251def682f4f93c4f393f620890d64d210c4c6edeefb503b06 SHA512 f47fec4f550167e5d95d19fe6d6bf1ee4f1587f852d12dd17c2d5b83410b510f891ee1235e70c8825ce4c1ac5b35126d4136f7dc02a07809c2642173be55bef1 +DIST tomlkit-0.15.2.tar.gz 190522 BLAKE2B 04fd9fc3a185b9cb68de4db7fdc2362683fa6fec798cdb483dbbad4a32b9bfc69834d75045442e9b738ce0d166cc70fd8374ce74a96f3681a8c85e834453ed6a SHA512 9b566b30d7e5c21bbfd6b2b0002b2bf668628401f6596f0df73747efc170e93fb9e0b2e9304cedcc28bd7a8776e09ab9fc5c9425fb55b68773db39251277cd52 diff --git a/dev-python/tomlkit/tomlkit-0.15.0.ebuild b/dev-python/tomlkit/tomlkit-0.15.2.ebuild index 3eb5b042a6e4..084518d0ce55 100644 --- a/dev-python/tomlkit/tomlkit-0.15.0.ebuild +++ b/dev-python/tomlkit/tomlkit-0.15.2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -DISTUTILS_USE_PEP517=flit +DISTUTILS_USE_PEP517=flit-core PYTHON_COMPAT=( python3_{13..14} ) inherit distutils-r1 pypi @@ -16,13 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" - -BDEPEND=" - test? ( - dev-python/pyyaml[${PYTHON_USEDEP}] - ) -" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" EPYTEST_PLUGINS=() distutils_enable_tests pytest @@ -46,3 +40,16 @@ src_configure() { # which are older than what zip can handle... find -exec touch {} + || die } + +python_test() { + local EPYTEST_DESELECT=() + + if [[ ${EPYTHON} == pypy* ]]; then + EPYTEST_DESELECT+=( + # https://github.com/python-poetry/tomlkit/issues/619 + tests/test_items.py::test_times_behave_like_times + ) + fi + + epytest +} diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest index 56d4d108cde1..89a2c15d25db 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -28,3 +28,5 @@ DIST tox-4.65.5.tar.gz 343779 BLAKE2B 1a18c2c8e92c706d58794dda4f1b658aa0a1e2b29f DIST tox-4.65.5.tar.gz.provenance 9326 BLAKE2B b82af0b9ffccf77af8a1153f53e03baaad102a725ec608bace4da08d3804b443e50d0e447b951e15aaef00890ee2b870e7ba158b7d8a66379853d49043f9469b SHA512 4bc521a31fac6c0a4800b4a60efa23926393ef871e2b9c42388e5ec73aa9edbd03d9873268c6dd622d6990115e8d06ab00e734918dd8f0ea06b49a47dd29dab3 DIST tox-4.65.6.tar.gz 344248 BLAKE2B 51035fbc0901e2e6cec013afa6ab6568624a3b6173262583914af709a795dc3b7b5729b484a25fe1660c417014dbe5c25edd59b25f67c6c590be6e89feb8fc82 SHA512 4c2150cb7d37cfc312cb8e3fa5e3cd5323915d4f01a671e7a1129116fc8a01eaefffca3ada0caacba6531f00ae4a5d1c9331c56cb8984135fa08ee9c6ab53fa6 DIST tox-4.65.6.tar.gz.provenance 9624 BLAKE2B f55d088386544d9b0e7e9770d0f511dc202c12af35d2366ba16c482dd462617b839bb99e04cd1c0ad18b1b6c95a0dbcf0df8bab284e0c52b6f25f660d974a486 SHA512 8f80e86241104d8f0b36d6d79495343785e957dd27671c90a6004494ba424810af350f7a04b1be8ae5c9a4be63595ac96d8e9c7c6dd10d769e25fdf121e6c4ad +DIST tox-4.66.0.tar.gz 344679 BLAKE2B 4d7a437caf1c90c2fe7b02ef919557787aa99fbda0719d5c3ed2e93c491003fba585fb8d17a0211e35d9bc3d7bccd026f698e70bcd08701ed61c5c6b701ecc05 SHA512 d5b42f3e21f488d4417d674b06aba8be5060d46a077c156d3cd0e9102602c61222ded2516988e9f927dd3bc9175df32f26cc34077576d6ebffed4094184acdb8 +DIST tox-4.66.0.tar.gz.provenance 9244 BLAKE2B c2cfbcd12de6f9312887e675784e7e2879d23b669acbdd4b984dd359e60077e49a9d5880ab904583eb53a3d8a7cab510b4ff5e908dfd3c9e7955f63b1d5842e3 SHA512 40a99a6a6798b587d1c665fb7857c5867be2fcebfe00c5a3e8c41fc05eeedcc956ea0ed6e4b156dbe7fd4ac15552121ce62b5e4c2080d00938e03da018ca11ad diff --git a/dev-python/tox/tox-4.66.0.ebuild b/dev-python/tox/tox-4.66.0.ebuild new file mode 100644 index 000000000000..9d80c8ee22b8 --- /dev/null +++ b/dev-python/tox/tox-4.66.0.ebuild @@ -0,0 +1,84 @@ +# 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_{13..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 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~x86" + +RDEPEND=" + dev-python/cachetools[${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/python-discovery[${PYTHON_USEDEP}] + dev-python/tomli-w[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.15[${PYTHON_USEDEP}] + ' 3.12) +" +BDEPEND=" + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/argcomplete[${PYTHON_USEDEP}] + dev-python/build[${PYTHON_USEDEP}] + dev-python/distlib[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/re-assert[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-{mock,rerunfailures,timeout,xdist} time-machine ) +EPYTEST_RERUNS=3 +# upstream timeouts are quite short +: ${EPYTEST_TIMEOUT:=180} +EPYTEST_XDIST=1 +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 + # require tombi + tests/session/cmd/test_schema.py::test_schema_tombi_lint + ) + local EPYTEST_IGNORE=( + # requires devpi* + tests/test_provision.py + ) + + epytest -o addopts= +} diff --git a/dev-python/wxpython/Manifest b/dev-python/wxpython/Manifest index 135fc72988a3..9dacb7978568 100644 --- a/dev-python/wxpython/Manifest +++ b/dev-python/wxpython/Manifest @@ -1,3 +1,2 @@ -DIST wxPython-4.2.3.tar.gz 58861286 BLAKE2B 2c674227ff109564be1431f2a86a212250ffac809fed4ca8934f7473c93616603e252098511e443ffdf460ab546b5eb17b3f29ab275fb8b5433041a4d47e48cb SHA512 c7b9f0758b9d77dbeab436e8069c024796b6f252af5043615e14083b3f62fb44386c5f325a118f9e2d99c15eeb7687bb1cc1a13a00263114689b32e2126364a7 DIST wxpython-4.2.5.tar.gz 58732217 BLAKE2B 767238e3279c92c3a15fdcd8752ccab47325ca5e3fb3750f47e8d7a13882024dfc84470dfefb885c7aff121a385feb205db211a4c66d850230953e6ddbfd7e47 SHA512 a094faab4f901e46c6a771168160b0e3fec336e937507fedab97a0645df55671af046e673344a37d3d6997fadcb83c5490a673c2475c200841ef9eb12bc19763 DIST wxpython-4.2.5.tar.gz.provenance 9350 BLAKE2B 98ce7cd4cad7ac0a0c937d91ef2b680b60cb35f94a079d6f042acd2b80dfd875aa02eddbba40c9414dd97c925b5b5fe7d09b8a66f7baa99f43b7eaa5ed03ac11 SHA512 1cf3d1f4b9b2c7c29d4126c81cf657d5777568630b49828304cf659c37e0a6c252cd7644fcb0990dbff88cb8f62193c8940b125ed6626f52ce1e9b1a3575a388 diff --git a/dev-python/wxpython/wxpython-4.2.3-r2.ebuild b/dev-python/wxpython/wxpython-4.2.3-r2.ebuild deleted file mode 100644 index 53d9c5c76988..000000000000 --- a/dev-python/wxpython/wxpython-4.2.3-r2.ebuild +++ /dev/null @@ -1,141 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..13} ) -PYPI_NO_NORMALIZE=1 -PYPI_PN="wxPython" -WX_GTK_VER="3.2-gtk3" - -inherit distutils-r1 multilib multiprocessing virtualx wxwidgets pypi - -DESCRIPTION="A blending of the wxWindows C++ class library with Python" -HOMEPAGE=" - https://www.wxpython.org/ - https://github.com/wxWidgets/Phoenix/ - https://pypi.org/project/wxPython/ -" - -LICENSE="wxWinLL-3" -SLOT="4.0" -KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86" -IUSE="test webkit" -RESTRICT="!test? ( test )" - -# wxPython doesn't seem to be able to optionally disable features. webkit is -# optionally patched out because it's so huge, but other elements are not, -# which makes us have to require all features from wxGTK -DEPEND=" - >=x11-libs/wxGTK-3.2.7:${WX_GTK_VER}=[gstreamer,libnotify,opengl,sdl,tiff,webkit?,X] - media-libs/libpng:= - media-libs/tiff:= - media-libs/libjpeg-turbo:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - app-text/doxygen - dev-python/cython[${PYTHON_USEDEP}] - >=dev-python/sip-6.11.1-r1[${PYTHON_USEDEP}] - test? ( - ${VIRTUALX_DEPEND} - dev-python/appdirs[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pytest-forked[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}/${PN}-4.2.0-flags.patch" - "${FILESDIR}/${PN}-4.2.1-x86-time.patch" - "${FILESDIR}/${PN}-4.2.2-setuppy.patch" -) - -python_prepare_all() { - if ! use webkit; then - eapply "${FILESDIR}/${PN}-4.2.0-no-webkit.patch" - fi - - local build_options="build_py --use_syswx --no_magic --jobs=$(makeopts_jobs) --verbose --release" - - DISTUTILS_ARGS=( - --verbose - build - --buildpy-options="${build_options}" - ) - - distutils-r1_python_prepare_all - - # sigh - sed -i -e '/from buildtools/i\ -sys.path.insert(0, ".")' setup.py || die - - # sigh, used only when fetching things implicitly which we definitely - # don't want; https://bugs.gentoo.org/955593 - sed -i -e '/requests/d' build.py || die -} - -src_configure() { - setup-wxwidgets -} - -python_compile() { - # Patch will fail if copy of refreshed sip file is not restored - # if using multiple Python implementations - DOXYGEN="$(type -P doxygen)" ${PYTHON} build.py dox etg sip --nodoc || die - cp "${S}/sip/cpp/sip_corewxAppTraits.cpp" "${S}" || die - - eapply "${FILESDIR}/${PN}-4.2.2-no-stacktrace.patch" || die - - distutils-r1_python_compile - - # This package's built system relies on copying extensions back - # to source directory for setuptools to pick them up. This is - # hopeless. - find -name "*$(get_modname)" -delete || die - - cp "${S}/sip_corewxAppTraits.cpp" "${S}/sip/cpp/" || die -} - -python_test() { - local EPYTEST_DESELECT=( - # virtx probably - unittests/test_display.py::display_Tests::test_display - unittests/test_frame.py::frame_Tests::test_frameRestore - unittests/test_mousemanager.py::mousemanager_Tests::test_mousemanager1 - unittests/test_uiaction.py::uiaction_KeyboardTests::test_uiactionKeyboardChar - unittests/test_uiaction.py::uiaction_KeyboardTests::test_uiactionKeyboardKeyDownUp - unittests/test_uiaction.py::uiaction_MouseTests - - # assertion (TODO) - unittests/test_aboutdlg.py::aboutdlg_Tests::test_aboutdlgGeneric - unittests/test_lib_agw_piectrl.py::lib_agw_piectrl_Tests::test_lib_agw_piectrlCtor - - # seems to rely on state from a previous test (sigh) - unittests/test_lib_agw_persist_persistencemanager.py::lib_agw_persist_persistencemanager_Tests::test_persistencemanagerRestore - - # requires Spanish localization - unittests/test_intl.py::intl_Tests::test_intlGetString - - # TODO - unittests/test_tipwin.py::tipwin_Tests::test_tipwinCtor - unittests/test_lib_pubsub_provider.py::lib_pubsub_Except::test1 - unittests/test_windowid.py::IdManagerTest::test_newIdRef03 - ) - local EPYTEST_IGNORE=() - if ! use webkit; then - EPYTEST_IGNORE+=( unittests/test_webview.py ) - fi - - rm -rf wx || die - # We use pytest-forked as opensuse does to avoid tests corrupting each - # other. - virtx epytest --forked unittests -} diff --git a/dev-python/zope-hookable/Manifest b/dev-python/zope-hookable/Manifest index ccd5d9e14db3..1bacf34c5e6c 100644 --- a/dev-python/zope-hookable/Manifest +++ b/dev-python/zope-hookable/Manifest @@ -1,3 +1,4 @@ -DIST zope_hookable-8.2.tar.gz 19275 BLAKE2B 28693fefa56080ff4d081c15bd71f39fb61ebf3da17508dd934502a3c173114e3a687d61835708df35463153f783e1981adfc66e8fae83a7a7800d4df6ee8d58 SHA512 90eb4d2fb389de52f613a2dab83156d183b914d3be4253de67367693d1cec06d9c84e272acbc7742ca637c4a01401125c2864f2941b6549b4230fc0928d4cf0e DIST zope_hookable-8.3.tar.gz 20679 BLAKE2B 7e7d05c27988bf8f6a0490c8bb852d7ba4835cfd94c202bb39bb73b0509b74bf8370bd0357b84b3a1d08a15025e749c438680eb12e4138ed3fcb8e4807b506c3 SHA512 6867a42b6be7628b5de60f5f6d88a65fe17972c59d18925352d199c6bd606ae81bed5fcdac29d950341bde2429125da88ad79bd501df429dd2cad45cb287e26c DIST zope_hookable-8.3.tar.gz.provenance 9977 BLAKE2B fd19c54d9501c6ee3a55e81e26c4ff314ef82852b5ea5bdeb1311bbdbf5baef5d1db29ed217a2c5337764efbcc40a501b5efdbcf3bccdfa4655077c8ae084e09 SHA512 8d7a6cc5a41c67d4e9a6c977a84e82e9db63c27bc223ae64d2b4ea43f3ed55d623a9fecf07d2b3bf676e7878df903d310495ad93c0535ba3175ce1b1657e3cb2 +DIST zope_hookable-8.4.tar.gz 20982 BLAKE2B 26cb736945df96aa44d35ccffd6f69792db3894198bb74bd9f02e64cacca4c7156bd5cd2d1d307818c4160981e77056caefec1e749e7dddb42b564425cafc750 SHA512 02fdcd72cce146023c4f5fb97e20daa039e12a4cd95a6597124df11b46b19064471fa625423d650bf16f0dcbe690c82fa48756000f0a2f4b0ee6eafc079055ac +DIST zope_hookable-8.4.tar.gz.provenance 10186 BLAKE2B e98e3ede33a1740c37302a6f179604d9d4be214014125eb1b76e0fe76561b52bb89888b94ae3710d6f741b6997930988277d8d1abb86e1dd113cdf90031632d0 SHA512 50b64dceac163234fba733088e0184dd1fca7c6e1de4530d86abbd7e002d44e3104c786dae1a5a1c9560ddb9e5358a3c250c05b5d5c55893e5539883687dfff9 diff --git a/dev-python/zope-hookable/zope-hookable-8.2.ebuild b/dev-python/zope-hookable/zope-hookable-8.4.ebuild index c586571202b1..630d37e51b62 100644 --- a/dev-python/zope-hookable/zope-hookable-8.2.ebuild +++ b/dev-python/zope-hookable/zope-hookable-8.4.ebuild @@ -6,6 +6,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools PYPI_PN=${PN/-/.} +PYPI_VERIFY_REPO=https://github.com/zopefoundation/zope.hookable PYTHON_COMPAT=( python3_{13..14} ) inherit distutils-r1 pypi @@ -18,7 +19,7 @@ HOMEPAGE=" LICENSE="ZPL" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/zope-i18nmessageid/Manifest b/dev-python/zope-i18nmessageid/Manifest index d81c4288fc68..0c1132ab46c3 100644 --- a/dev-python/zope-i18nmessageid/Manifest +++ b/dev-python/zope-i18nmessageid/Manifest @@ -1,3 +1,4 @@ -DIST zope_i18nmessageid-8.2.tar.gz 24716 BLAKE2B 73751a2c466ea8331a47f6ce13920cf4fa47585c6962a66c20c721428c4955d3610151891e909447beec023195bc9edef613bb77bb2ec6b5933063204d1e568b SHA512 59c625f45f0b1819af27a29a455fd1a960e1ca3e7a62ddcd5e4b06f76e5398213ee4d4f5c5b30b2c03ce910dddf7f9cf18cd6a4ecd48a23978bfad574ac22037 DIST zope_i18nmessageid-8.3.tar.gz 26850 BLAKE2B 22f70c69eae137f6899e803011c2c0c6e5158b6b0e7547a2011e1d3bab642f85c3e66a9861ae1058dea94d99c57bf45e6573696b5d9727f5726529c58aed4256 SHA512 854471d79ef4856106da1fb3d30281ae74ef0c1c11f0a7c4bb2e2234e6ea384534b4a32da69cc2c006e9ca7c3b421eb19d57c8833e9dab51ce4aa34e11b26d39 DIST zope_i18nmessageid-8.3.tar.gz.provenance 10141 BLAKE2B 8f22499b92f741595e4619ed2325c7f5776b4254208a74b28328c95bfd3a5531c5559ccc7f79f0282f3dc001334cc879dfdda91f95dcb2c47a2bdeb3f343861c SHA512 88785e1b963ce47a7fa0fa93962c1548eb4226c977350f2045390d839bd8befafe21728d847a7a1e159603f123e3d2c3cdf0f47e9136e0c29c66f6b700ce7a63 +DIST zope_i18nmessageid-8.4.tar.gz 27186 BLAKE2B cc9a039b79931b19072ad2f4d9eb6e6e9179b1cdb9c7949bf999d0e4cfbc0e5e27a5f8f19926cb2f2c48b5dc6f1ec1b4cd793a7100af0154f8cf6bbdf4d95ee5 SHA512 5dfeabf8fbc8a20bb5007325aa7b5581558293ced81d066d32361a97a0f577db9d475eb5c0d58aaf2ed985ea74687195b87277fcf04c911b421a1dfabd32fbc8 +DIST zope_i18nmessageid-8.4.tar.gz.provenance 9806 BLAKE2B 243a7f9afb927d073e934fc19e13fce3f6c21c864983cce402ad2bda43548a38bbaaa56f525016570027dafa45b4dc62018ff3cd7b733b075c59541089749cf4 SHA512 8533fada36be1d3a7d3e3567a27324971b1482bb055677e772844c4efb84e2cec7ae48e7ccc2e3f8b391790ca3ccb98d49249402b77a7353eb0ed4f151eddade diff --git a/dev-python/zope-i18nmessageid/zope-i18nmessageid-8.2.ebuild b/dev-python/zope-i18nmessageid/zope-i18nmessageid-8.4.ebuild index 745381f3c70f..17283f8de555 100644 --- a/dev-python/zope-i18nmessageid/zope-i18nmessageid-8.2.ebuild +++ b/dev-python/zope-i18nmessageid/zope-i18nmessageid-8.4.ebuild @@ -6,6 +6,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools PYPI_PN=${PN/-/.} +PYPI_VERIFY_REPO=https://github.com/zopefoundation/zope.i18nmessageid PYTHON_COMPAT=( python3_{13..14} ) inherit distutils-r1 pypi @@ -18,7 +19,7 @@ HOMEPAGE=" LICENSE="ZPL" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" distutils_enable_tests unittest |
