diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-02-20 06:54:43 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-02-20 06:54:43 +0000 |
| commit | 0d15b8abb3a09d34e4e1657f4a8b8cb381731b98 (patch) | |
| tree | f593a913f1d4ea6ed9397633db753f56975d72f6 /dev-python | |
| parent | 590fc5fef7eee098c58f5170cad7b8eaf7b40b22 (diff) | |
| download | baldeagleos-repo-0d15b8abb3a09d34e4e1657f4a8b8cb381731b98.tar.gz baldeagleos-repo-0d15b8abb3a09d34e4e1657f4a8b8cb381731b98.tar.xz baldeagleos-repo-0d15b8abb3a09d34e4e1657f4a8b8cb381731b98.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
78 files changed, 1063 insertions, 612 deletions
diff --git a/dev-python/aiohttp-theme/aiohttp-theme-0.1.7.ebuild b/dev-python/aiohttp-theme/aiohttp-theme-0.1.7.ebuild index a1d02da0c518..4d8c2bbcf998 100644 --- a/dev-python/aiohttp-theme/aiohttp-theme-0.1.7.ebuild +++ b/dev-python/aiohttp-theme/aiohttp-theme-0.1.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/bitarray/Manifest b/dev-python/bitarray/Manifest index 09da4c632b14..66bffb23bdd8 100644 --- a/dev-python/bitarray/Manifest +++ b/dev-python/bitarray/Manifest @@ -1,2 +1,2 @@ -DIST bitarray-2.9.3.tar.gz 132724 BLAKE2B bf405ebe9d4354d6f239c2b0b2498336cea98eba4e2cbb548de92cf61364557148ef2c2866d9cfb30d8f2ec6d4a482aedb5a51e6b65b68bf587c85fe3949c503 SHA512 b85e135f1c12066dc49bb7d684e749373f4027855b0f090c9f1b990729362e57b95c3545a9347accf053c9deeb06523ce8d0687d601f35f4db79cd62f59d3bf8 DIST bitarray-3.0.0.tar.gz 126627 BLAKE2B c00d45f2ac165c8bd801932cadf2437b1665f7acf2aea821f976c9550a188443d43b6ace08d3af8db2c27331dd090e51174f96b92aa8ebcf3eb5210d52b5d336 SHA512 36ff7305e66bb766888de7598d6596315caeb34acfb6dcc56130b9ddefea15b31e90eabb8b65ce676bbec08c38e8cd39784edfa8b50f53c3f7a6b7f23795fa85 +DIST bitarray-3.1.0.tar.gz 127114 BLAKE2B 1f2f764ef4072eb4c13c91e3c737cb53f849951f5b8d81cf3d7a41d81e28651b65110a446f9bb413cb433a17f43f6f579e38b24e002bc7c5906ef250f75de94e SHA512 2a1b267f4ead5e0d8daa502d6bda9462922d66cb129589814e90f710c807c6b23a118afd3676fa9834f8f9bac1cbf8a9c4340bdf6457fc1503ce712ace7584fa diff --git a/dev-python/bitarray/bitarray-2.9.3.ebuild b/dev-python/bitarray/bitarray-3.1.0.ebuild index bc87c2d4f1e5..aea47d8e463c 100644 --- a/dev-python/bitarray/bitarray-2.9.3.ebuild +++ b/dev-python/bitarray/bitarray-3.1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="amd64 ~arm arm64 x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" python_test() { "${EPYTHON}" bitarray/test_bitarray.py -v || die "Tests fail with ${EPYTHON}" diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index d7275f0112f8..407f437b3f7d 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -3,3 +3,4 @@ DIST boto3-1.36.16.gh.tar.gz 898785 BLAKE2B fa3de504bb8c58fa5653a3fc3414a333283c DIST boto3-1.36.21.gh.tar.gz 901823 BLAKE2B 9659b8f05c90deeeeedc19f8c1bbd777415b778cf33f0ff2945063e64d413da9365f1a7e0dfc6ee159c00785299eece92596ae38d8a5d2bba02fe344ed2a052c SHA512 f13d44519aa9d62ca26cd7731b7b83cb67bc85d649a3fd61756048a5fe9254d4a1af8fae55b546fce692ca35becf5bfea2c25bde2a63c8c8783b064a61814da7 DIST boto3-1.36.22.gh.tar.gz 902280 BLAKE2B 14633c089bad39b5b487ebdb8cc9cce9424980100d5b0617f7481f2b1cf6c3777758085960f170d7c558442d69b76dbb92b64ea5fcdc9fb8e62a405faf8f0b7c SHA512 e326011c093128abde17dd68f7fdaa455dcb366d20e6fc470347787c1eaf0f7110be39546201dee81d8fe734e7d836855a4ab5350c4fa7f6361147571444f062 DIST boto3-1.36.23.gh.tar.gz 902549 BLAKE2B 24ef6eac4b278375fb27a2abab475a30cdc43bb37d01c68978f49c42bcc144c736d1507433bbe100b793b704a3c02c360bbd28a38dd6d3df531ef00d9075f2bc SHA512 c65a5bab6c902da7907e2144f597c159d456af8e967675684612b6baf525ef500f4077bbe9e851907bd9fbd05f905953eff9bc0800b6609b66af6db8b1b8f781 +DIST boto3-1.36.24.gh.tar.gz 903428 BLAKE2B 037317bca3080d66690923bd844c11e69737bff3a5cfe5466a40af9d2461f3740cf633a810319b43477c81e1f3c3ae3125ec1ea481ad790184855d837e0266ad SHA512 8251f1db021a699e44e3c8102399d8454a7c198d0cfa9f99e34e4696b172fc986cd116305252a25ac5046b00e76af261aeac3db8036c468e27d22e8be49d0324 diff --git a/dev-python/boto3/boto3-1.36.24.ebuild b/dev-python/boto3/boto3-1.36.24.ebuild new file mode 100644 index 000000000000..dfe05b3d9a81 --- /dev/null +++ b/dev-python/boto3/boto3-1.36.24.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.11.0[${PYTHON_USEDEP}] +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index efc23a5bb4e6..6ca00875eaa4 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -3,3 +3,4 @@ DIST botocore-1.36.16.gh.tar.gz 14211411 BLAKE2B 88ea5860e628985d7643acc430b62ed DIST botocore-1.36.21.gh.tar.gz 14227102 BLAKE2B 66948337c21be8024c64ad5daf35dd5f04493c2f83b4873f6040faf1231d4b491ca6714f96756527b4b0b3ab8d2047cfc5a24188c78d5540b8a9ac8c22a009ee SHA512 3f370bcf80faefc54cfa4fb2e342c58a48bcc529247128571892b5c7c4c0ba74b5a184539a7fb2e85faf9e542698846f991120cc47f40e9aa61f2785b7aa7290 DIST botocore-1.36.22.gh.tar.gz 14276406 BLAKE2B 62385ded7bd21fd4d4d29446ddbb4eb977303a0aa07da1002d4c5a502929e325aac0b2a6ab0f45750ba47aaeb11c14eac7a816631968cad96aee15bb8ce2bb61 SHA512 a08dcbdcefe144f1f22dc58f906ca3600ceba13af697a7b3c1eab69ecf4da9b1b2b6458f70b144680026f0e7f1e0ffbd05f586acba97066ad82b2a735b4ac7a3 DIST botocore-1.36.23.gh.tar.gz 14276380 BLAKE2B dd3c8fc76e1b94c462c528965c53b6709c58ea20eee636794a88a78176f601150073de58eed668fc8a55a516fed7d903f1d629ca9266ecc50d76ca6c36543f2f SHA512 f4c56dfa09eafe2882b4d8d7356cc191e5268cd8661aeb57029f49cf046ad8a40375b7cf98f3390a7ba0ef1aca270444b5343d9320622a115bd6fc076d46f380 +DIST botocore-1.36.24.gh.tar.gz 14280552 BLAKE2B 33e689485e3f8812856dc51087f92e270a51ef199399c9ea3fde8a10203c5b3952f9f6f63c354c46b7ba3dbe98d9e2abd879ab1194dd046eeec3fc18ab0e3fc7 SHA512 fe713d5a9cbb95c52984672d0ddf26915e7c08642aa5c8eb7ba745d540fb29bfff53e212596313b922716db129090802f0ab14a22529e0bdb4239ed6996ac5c7 diff --git a/dev-python/botocore/botocore-1.36.24.ebuild b/dev-python/botocore/botocore-1.36.24.ebuild new file mode 100644 index 000000000000..df85ee0d220c --- /dev/null +++ b/dev-python/botocore/botocore-1.36.24.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +# unbundled packages +RDEPEND+=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/django/Manifest b/dev-python/django/Manifest index ea23fc6d303d..7992147a69a3 100644 --- a/dev-python/django/Manifest +++ b/dev-python/django/Manifest @@ -12,5 +12,7 @@ DIST Django-5.1.6.checksum.txt 2573 BLAKE2B b35b22fee8d313510463e77c4b3a6d915484 DIST Django-5.1.6.tar.gz 10700620 BLAKE2B 8d362c686c68cb34eb356b237205b8b18e5bb75ebe7080a4be2f665dcff9fcd8f25775ba16ef70cd755a5a100c16751f35374eb76c39562ea098f5424223188f SHA512 a76a8e523aa90d62ed0fa003bc9117900644d93c62e78bd879b709c107bb18d3e9a5b4fbd475a213398d99f9b9052a31a54cef9c5861a923b66d639c037cc177 DIST Django-5.2a1.checksum.txt 2410 BLAKE2B 34659b6ff74e39fd13e8b1392dcb0411ae88cb88dc0271f3e7f84ad829e2525f1db11c3951b1b1def4ea95a432135996656fd2e894f3afc3c1913913d1033cb6 SHA512 b1e70a6978707b1d90d8810dc349796e969d63299ec8496b5ec1d45d0881ddfa524e2b78fdd07d1e212d74497de011b7d5377dc31e19e74fb532f2cc26f94212 DIST Django-5.2a1.tar.gz 10814424 BLAKE2B fffa0f9f31fdd03b1dbf826ec1484d22fbfdeb13724254034726699d303a66d397e847954d15ab2b2975600bcbe4113051a6d9b7c14f2aeeca862ffd06c21d13 SHA512 5513cf718a30bd1bca5973c4fa679ec9af7b7a69cdfd554a5d5ab6706fdab18d5d9de8e1162968fc0d6c3254823577e43d1704482321178edbce434a8b4b8dd9 +DIST Django-5.2b1.checksum.txt 2411 BLAKE2B ed45a877cfb217909b59351bc9b51e8b4d757b3bb812da4597056f79ff86d9d453dad815e4c5932b6b159e51ca696d982ae4cd8bdd78d53f0b9a058643b5e0d2 SHA512 f0a306a337fe54a6e8ab88a8196c5a9da8af0d03c825034f4141ca1e95cbf9092a30c6a346590e9a4b44c4a299178ecbbaacc86d81c58b7d14dc8eb9743f0343 +DIST Django-5.2b1.tar.gz 10816962 BLAKE2B 8308cecd8870f9ca3ac96aab370d5f9eba4d4a9c580a19f7214a9bf504eee5c2388f46164a33113126364ffdf1e5f13cf9f30c73c49fb5c6eefe255aed4a30c2 SHA512 212b92758ab32fa29d4a60517a09ee7068fbbc4f8893a4473797641d104fa3c21b20b4dea6ec64471b07991da7d3749226f169ac7fee76651896b4518f016180 DIST django-4.2.17-pypy3.patch.xz 5900 BLAKE2B 2a564fc31d8e2f3def5a532d3bca1a4426a496c659192f602d659e0c1a5f5882978baedb384cc3b67fda8c836513ce43aece80db1528c8e8b6e9ca420f7572ce SHA512 9c9d935aff6db7230a26931b5e7f5f94f3b5ff4fc8f7d4201178571de9d9c7929a0e1e558cc2d9b54b8ee91f85819a5680d24fad6251620515a4a020e3b2d66d DIST django-5.0-pypy3.patch.xz 6124 BLAKE2B 7eba7cc70b30743cf4e186a2c5b0f27c13f49114a7a80bcaa2b25fdd7a959583c115a302c9bc6da97c32f6401cf8f3616818ba759190d317c5b033a0f0088766 SHA512 c550e2b2c1243d13cd1f4908f4b6df606355d1491e3bf72042e4b4777a4474306ff0f67b1c2eb4ab4d137cc85bde52dcdbd54bec245d2ba2e092545be8a2993b diff --git a/dev-python/django/django-5.2_beta1.ebuild b/dev-python/django/django-5.2_beta1.ebuild new file mode 100644 index 000000000000..d21ccc37a973 --- /dev/null +++ b/dev-python/django/django-5.2_beta1.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_REQ_USE='sqlite?,threads(+)' + +inherit bash-completion-r1 distutils-r1 multiprocessing optfeature verify-sig + +MY_P=${PN^}-${PV/_beta/b} +DESCRIPTION="High-level Python web framework" +HOMEPAGE=" + https://www.djangoproject.com/ + https://github.com/django/django/ + https://pypi.org/project/Django/ +" +SRC_URI=" + https://media.djangoproject.com/releases/$(ver_cut 1-2)/${MY_P}.tar.gz + verify-sig? ( https://media.djangoproject.com/pgp/${MY_P}.checksum.txt ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +# admin fonts: Roboto (media-fonts/roboto) +LICENSE+=" Apache-2.0" +# admin icons, jquery, xregexp.js +LICENSE+=" MIT" +SLOT="0" +IUSE="doc sqlite test" +RESTRICT="!test? ( test )" + +RDEPEND=" + <dev-python/asgiref-4[${PYTHON_USEDEP}] + >=dev-python/asgiref-3.8.1[${PYTHON_USEDEP}] + >=dev-python/sqlparse-0.3.1[${PYTHON_USEDEP}] + sys-libs/timezone-data +" +BDEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + ${RDEPEND} + >=dev-python/docutils-0.19[${PYTHON_USEDEP}] + >=dev-python/jinja2-2.11.0[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pillow[webp,${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + >=dev-python/selenium-4.8.0[${PYTHON_USEDEP}] + >=dev-python/tblib-1.5.0[${PYTHON_USEDEP}] + sys-devel/gettext + ) + verify-sig? ( >=sec-keys/openpgp-keys-django-20240807 ) +" + +PATCHES=( + "${FILESDIR}"/django-4.0-bashcomp.patch +) + +distutils_enable_sphinx docs --no-autodoc + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/django.asc + +src_unpack() { + if use verify-sig; then + cd "${DISTDIR}" || die + verify-sig_verify_signed_checksums \ + "${MY_P}.checksum.txt" sha256 "${MY_P}.tar.gz" + cd "${WORKDIR}" || die + fi + + default +} + +python_test() { + # Tests have non-standard assumptions about PYTHONPATH, + # and don't work with ${BUILD_DIR}/lib. + PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite \ + -v2 --parallel="${EPYTEST_JOBS:-$(makeopts_jobs)}" || + die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + newbashcomp extras/django_bash_completion ${PN}-admin + bashcomp_alias ${PN}-admin django-admin.py + + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature_header "Additional Backend support can be enabled via:" + optfeature "MySQL backend support" dev-python/mysqlclient + optfeature "PostgreSQL backend support" dev-python/psycopg:0 + optfeature_header + optfeature "GEO Django" "sci-libs/gdal[geos]" + optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached + optfeature "ImageField Support" dev-python/pillow + optfeature "Password encryption" dev-python/bcrypt +} diff --git a/dev-python/flit-core/Manifest b/dev-python/flit-core/Manifest index 08356c292a94..98a12279d888 100644 --- a/dev-python/flit-core/Manifest +++ b/dev-python/flit-core/Manifest @@ -1 +1,2 @@ DIST flit_core-3.10.1.tar.gz 42842 BLAKE2B bd17ab1fb955b1d829b4faaa42257176857b8a9b07132235455331cdd52943fa09fe5e4fd1091f1b15d477ec43e8084c2b409081d077c43a9a4cdbae9e8741b1 SHA512 ac0d39b6ee35b553fc8f7f3f6e558fdc32714ed64d6c506da7913ef95d00780b5f86894d9b042f32cdc51d38ec515fa02f1154b0edbc81d8e53475788c444b08 +DIST flit_core-3.11.0.tar.gz 52038 BLAKE2B 6b6e0c606429fdb8123aa2dc17336003d8348f576bf26745ffa116a5e0159e20be5b8a20c541c570a825cdb2c970380f290599a09fdcc9e3bcf4158329aff9d2 SHA512 628ffd0950da88f1775c1b193ee5c6f1af06046877ca0ad66d7ae5af7df4b49759f19a4494cf15d7a1480d34c19925ce11205e7359df9fc223bca6595f94525d diff --git a/dev-python/flit-core/flit-core-3.11.0.ebuild b/dev-python/flit-core/flit-core-3.11.0.ebuild new file mode 100644 index 000000000000..b157710204e5 --- /dev/null +++ b/dev-python/flit-core/flit-core-3.11.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 2019-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Simplified packaging of Python modules (core module)" +HOMEPAGE=" + https://pypi.org/project/flit-core/ + https://github.com/pypa/flit/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.{9..10}) +" +BDEPEND=" + test? ( dev-python/testpath[${PYTHON_USEDEP}] ) +" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # unbundle deps + rm -r flit_core/vendor || die + sed -i -e 's:from \.vendor ::' flit_core/*.py || die + sed -i -e '/license-files/d' pyproject.toml || die +} diff --git a/dev-python/flit/Manifest b/dev-python/flit/Manifest index 025e2acd6ebb..aeb5e8771964 100644 --- a/dev-python/flit/Manifest +++ b/dev-python/flit/Manifest @@ -1 +1,2 @@ DIST flit-3.10.1.tar.gz 143162 BLAKE2B d98c18a161380c2eb605083a700d7f5226fdc08f72defe9fd60cc8dba5947e9904d4a4df05a9620ef2fcbef8c4913f596b19ef365df7614c4fba7434acc764fd SHA512 37ff7e4de10d4b123cee854e692511574748a050d177e50f06330223ae94a4347e358ff07ca9545c3c8346c51c6734227808929f59401fdd062498d6bf69209a +DIST flit-3.11.0.tar.gz 153236 BLAKE2B b06660e1b57279b0d855dad6116e25115c9c52eae5fb8654b79608661affff8e98a2aaf011c0cb4eb940047a6d219825382e3db6266a6a1cc919bb16c6fadf67 SHA512 704774ab9b8154056a82f59814c2589ad4b3c8593a8e0de75eae99b1517211790604988efaf4f32e5f49fd472ec00efe8269b72524f285a647f4b8126699a4b7 diff --git a/dev-python/flit/flit-3.11.0.ebuild b/dev-python/flit/flit-3.11.0.ebuild new file mode 100644 index 000000000000..9894edf54c9d --- /dev/null +++ b/dev-python/flit/flit-3.11.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 2019-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Simplified packaging of Python modules" +HOMEPAGE=" + https://github.com/pypa/flit/ + https://flit.readthedocs.io/ + https://pypi.org/project/flit/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~mips ~x86" + +RDEPEND=" + dev-python/docutils[${PYTHON_USEDEP}] + >=dev-python/flit-core-${PV}[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/tomli-w[${PYTHON_USEDEP}] +" +BDEPEND="${RDEPEND} + sys-apps/grep + test? ( + dev-python/responses[${PYTHON_USEDEP}] + dev-python/testpath[${PYTHON_USEDEP}] + ) +" + +EPYTEST_DESELECT=( + # requires Internet + tests/test_config.py::test_invalid_classifier + # failing due to Gentoo pip patches + tests/test_install.py::InstallTests::test_install_data_dir + tests/test_install.py::InstallTests::test_install_module_pep621 + tests/test_install.py::InstallTests::test_symlink_data_dir + tests/test_install.py::InstallTests::test_symlink_module_pep621 +) + +distutils_enable_tests pytest +distutils_enable_sphinx doc \ + dev-python/sphinxcontrib-github-alt \ + dev-python/pygments-github-lexers \ + dev-python/sphinx-rtd-theme + +src_prepare() { + # make sure system install is used + rm -r flit_core || die + distutils-r1_src_prepare +} diff --git a/dev-python/furo/furo-2024.8.6.ebuild b/dev-python/furo/furo-2024.8.6.ebuild index 9f7d1799b8cf..250077960064 100644 --- a/dev-python/furo/furo-2024.8.6.ebuild +++ b/dev-python/furo/furo-2024.8.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2024 Gentoo Authors +# Copyright 2021-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -8,7 +8,7 @@ EAPI=8 # everything from the Internet DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) inherit distutils-r1 pypi diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest index 8e3e2b3fd531..3c76923b4025 100644 --- a/dev-python/h5py/Manifest +++ b/dev-python/h5py/Manifest @@ -1 +1,2 @@ DIST h5py-3.12.1.tar.gz 411457 BLAKE2B c8e2bb453b9f7f1a79b9061ec3564bd8f1175c286a163b43f340cb9fc93f0e279131e4ed658066b870237046766aaff1289f22d84ee318108c96840d257baafa SHA512 a96dc5b7a14408c73db3ef758e0d3cff5d4469d6efe19a71af69e049f434aa62f01fbf44464cc5a3d15b89f00b9864cbb42b1b1e59bf3f520b458007f8819cd3 +DIST h5py-3.13.0.tar.gz 414876 BLAKE2B 4c46711c78c6d88a50e4dbb046b55cba003be87199fe25f74c2dfedd04503a79e1b0d3e01b353e8a02066f6824168f666d8a96b6a834093e165060da1402be36 SHA512 9f9f6aab8d4e82dcc64d8ae20e6ecdd894c37313c8234fd14b84af08afaf2847bdce1334e86026381dc45a3edf8f1954c6e8acfc553140f2bd42315f64a30b76 diff --git a/dev-python/h5py/h5py-3.13.0.ebuild b/dev-python/h5py/h5py-3.13.0.ebuild new file mode 100644 index 000000000000..f3c923acdb5d --- /dev/null +++ b/dev-python/h5py/h5py-3.13.0.ebuild @@ -0,0 +1,63 @@ +# 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_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Simple Python interface to HDF5 files" +HOMEPAGE=" + https://www.h5py.org/ + https://github.com/h5py/h5py/ + https://pypi.org/project/h5py/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" +IUSE="examples" + +DEPEND=" + >=dev-python/numpy-1.17.3:=[${PYTHON_USEDEP}] + >=sci-libs/hdf5-1.10.4:=[hl(+)] +" +RDEPEND=" + ${DEPEND} +" + +BDEPEND=" + >=dev-python/cython-0.29.31[${PYTHON_USEDEP}] + >=dev-python/numpy-1.14.5[${PYTHON_USEDEP}] + dev-python/pkgconfig[${PYTHON_USEDEP}] + test? ( + dev-python/qtpy[testlib,${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/sphinx-rtd-theme + +python_prepare_all() { + # avoid pytest-mpi dep, we do not use mpi anyway + sed -i -e 's:pytest-mpi::' pytest.ini || die + distutils-r1_python_prepare_all + + export H5PY_SETUP_REQUIRES=0 +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + epytest -m "not mpi" +} + +python_install_all() { + use examples && dodoc -r examples + distutils-r1_python_install_all +} diff --git a/dev-python/humanize/Manifest b/dev-python/humanize/Manifest index cc833cb4d268..100c4cc0b0ca 100644 --- a/dev-python/humanize/Manifest +++ b/dev-python/humanize/Manifest @@ -1,2 +1,3 @@ DIST humanize-4.11.0.tar.gz 80374 BLAKE2B 880ebf6f14c04c323528ee95c4c32c775bd2662b0d47eb6761c84024199066e69e1d571f7edc2235d81261693f1fbd3c166ec24afeb4dab28f39dd4256d37fcf SHA512 0f872b86643276bd58543d47b72719763b52ea9a434076b99d0db72d89642c2bd77e240bf506cdd04fad049fe1575919b006376d99c037936e9b9e1beb25e1a9 DIST humanize-4.12.0.tar.gz 80785 BLAKE2B 014a748eb5345c78f4922a982ae302688ee4dd86b3a8e4041939fcdabe45bbd19064ed8197ea33140d2d358705a93866feb2f269abe678930423f08daa44e46a SHA512 6ebb11c2595ee9b1dfb7a3f0a5225ea82b1ab2ebeaf8505ed09ff93c6ba2338a3ef23c6d784ca8b501eac152a637989a46fd1bfbbd8d3750ce372cd1a4df9b26 +DIST humanize-4.12.1.tar.gz 80827 BLAKE2B db2c65c74eaa0d7c201b7cc620417c5ce4d95cafcfac94160bf7e8b61f787e26dae346616bc2117275622e14c43720f6ac55e759dc711a35452352b19efa78e9 SHA512 373f9fde324924089019934e712aab94dc50b72da9b2932461dec6700a01a49a132693a29a37f6a65fe60636c9b300aab8053a21afe3f496b3f24dd10ada7fe7 diff --git a/dev-python/humanize/humanize-4.12.1.ebuild b/dev-python/humanize/humanize-4.12.1.ebuild new file mode 100644 index 000000000000..c262c6b3dcb8 --- /dev/null +++ b/dev-python/humanize/humanize-4.12.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Common humanization utilities" +HOMEPAGE=" + https://github.com/python-humanize/humanize/ + https://pypi.org/project/humanize/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -e '/coverage/d' -i pyproject.toml || die + distutils-r1_src_prepare +} diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 3c1af4c6cc09..9b167df78057 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -2,3 +2,4 @@ DIST hypothesis-6.124.3.gh.tar.gz 9510786 BLAKE2B d4104ce7cbe009ce1e0d2d6fa04db8 DIST hypothesis-6.124.9.gh.tar.gz 9507981 BLAKE2B 469448e2c97b0a798293d53d2ae1ea328c61c94245245b989a33a3520a903dbb6a4a468192dc7837dfe75bde5d9a010ffb7d4b8f16c7c8462bab8da4f183f310 SHA512 0c0f48a88a748d4bf1fc0763b4e464166536d4d16461f06a2090a2f5f54464730fff8eb7892ff60584c2135853aab7a56253db83dfd90a8e679fa3f37d4fb6a9 DIST hypothesis-6.125.2.gh.tar.gz 9508767 BLAKE2B 2f356f9678c1c8a56dcc66c5f96fee3426860e541e30c52b9108769fbb4112f9f4d8c77a9b9acef045a52749dd9325155fa8790c023f05dbf58608531ec0f89e SHA512 c953eef644a3c3239c2d0ace3eb6c02c7c48bb37d8fba6c6429720c7ab4b42fd76f6e42ee94f543db8d224bfb6912ed5e64feb181c24207a403e307364618843 DIST hypothesis-6.125.3.gh.tar.gz 9508904 BLAKE2B ce056b2b8d0532ae77ec3e7de68fbe472a86c676250577a9e73c20231d4db781935daacd4c7fbc0b426affc7db74eb92e530b61094d4c3520a14e5823ce5fd9f SHA512 9bef825197660a2d27654c4e0f8923bdaff30ad0a9e2c436bdc5e6e55e2df283c9497c2611e4e3e27b86b6ecccf232eb17f8cbde49e6fb28c4c64368009e6ae2 +DIST hypothesis-6.126.0.gh.tar.gz 9515798 BLAKE2B 8fbecef130bee50e856b4a3af9726d0bff759c1c8d69de9cff28387f87bc4aba72fc7b4944b9c1748c0b032de1556e197de5005ad193a61cc7d9f790f4975c5b SHA512 ee9e633c2f91c7d1a122515be0853c3aa9604db5ff79419c9ede646444c19d895b5cec8bb0dfed707b2b5a09c0899928643040c821e5b9dc47f46e19a18a0128 diff --git a/dev-python/hypothesis/hypothesis-6.126.0.ebuild b/dev-python/hypothesis/hypothesis-6.126.0.ebuild new file mode 100644 index 000000000000..08befcf116e3 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.126.0.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( pypy3 python3_{10..13} ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + ' 3.9 3.10) + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pytest-8[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + # subtests are broken by warnings from random plugins + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin + local -x HYPOTHESIS_NO_PLUGINS=1 + + # NB: paths need to be relative to pytest.ini, + # i.e. start with hypothesis-python/ + local EPYTEST_DESELECT=() + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # failing due to warnings from numpy/cython + hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture + ) + ;; + python3.13) + EPYTEST_DESELECT+=( + # TODO + 'hypothesis-python/tests/cover/test_reflection.py::test_clean_source[case-5]' + ) + ;; + esac + + epytest -o filterwarnings= -p rerunfailures --reruns=5 \ + tests/cover tests/pytest tests/quality +} + +src_install() { + local HAD_CLI= + + distutils-r1_src_install + + if [[ ! ${HAD_CLI} ]]; then + rm -r "${ED}/usr/bin" || die + fi +} + +python_install() { + distutils-r1_python_install + if use cli && has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then + HAD_CLI=1 + else + rm -r "${D}$(python_get_scriptdir)" || die + fi +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/kombu/Manifest b/dev-python/kombu/Manifest index 3b844b9b56b1..4253b1c176e6 100644 --- a/dev-python/kombu/Manifest +++ b/dev-python/kombu/Manifest @@ -1,3 +1,3 @@ DIST kombu-5.4.2.tar.gz 442858 BLAKE2B a613f3a5656c87826345d7e96b4ccf15336afdcd79a77db04140628f8522cb6f348fa31d3ccba66b6d01c423971ae013f157a812e12662bf4639fd4f4dbfc750 SHA512 4224412b8d3ee867af03a1771326681f78d112f31ab7ecd7c0f648bd28e834b296c1b36b7720351ec8e0ba871153caaa6aa06961394c5a9e99cd68291ad20b9b -DIST kombu-5.5.0rc1.tar.gz 457246 BLAKE2B 32dda81ea2e3efc22f6f4c2b9da477f26c42eff4657d4a8f680e0fed4c99df5549554e9f5589cc10da755155d799ee43801dec4051444437e7fae1d934f997e3 SHA512 8e4acfb6e6dc42299c4c2a8eacb0a9266e3d893bea4af2fe64c193d9239b7c3f7ef1f6722f4c541b2b8e7492752f36294832e53600c3de0c8e85c97cd431167a DIST kombu-5.5.0rc2.tar.gz 458112 BLAKE2B 66ad4b8a6230c3fa8b3f85851c767c28e24006f5cb4501e5fc5099b1530db71dfb5eb935ac206665af8d93d46ac3043b1d106bb72a27cc187e76f41b6717f409 SHA512 b0666033a21fab11994508327e727cc3800fb4515844afedb266866cb1805d6692ba1b39daa5d552afbb08ec9f15d1153d3df1a3364bcdd4802849bfb7592bdd +DIST kombu-5.5.0rc3.tar.gz 459611 BLAKE2B c4d54ac68e2e776f0045d839b7a16142a9d2bb0ec24b3d8f26f7297f6d083129683ba879acb894b019a40eb0e41fd5d5cf2ae3bc8400d164d42c1f78b5daed53 SHA512 b91bd5e1409787736817182adfde88a87505616b46560ca769fb1abc210913943666b5588cb888d8990acd82c9315e551ea0d3d6ede7b78a1a02b2d003f9599b diff --git a/dev-python/kombu/kombu-5.5.0_rc1.ebuild b/dev-python/kombu/kombu-5.5.0_rc3.ebuild index f237321fba67..014c78a74a5b 100644 --- a/dev-python/kombu/kombu-5.5.0_rc1.ebuild +++ b/dev-python/kombu/kombu-5.5.0_rc3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index a11d7c268c91..37a64204a00a 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1 +1,3 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db +EBUILD langdetect-1.0.9.ebuild 494 BLAKE2B 9b3521c5721afa49a58e0c35267f7d82bb56bd7e1d6d3152be0d36cd220180a526cb20b90b1113fbf0fff4a512137570f0b3bcf864498b7b7cc00403cb61ca27 SHA512 16d311400bf84a5f04e15f3da4b68b2810e4b005009f4d03dc8a487176dfc294403c976c412c83dcfa8084a49ef7b7d5389b43fb2ba446ce107ce4595e3558c6 +MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch deleted file mode 100644 index 637368d2f237..000000000000 --- a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch +++ /dev/null @@ -1,13 +0,0 @@ -Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." - ---- a/setup.py -+++ b/setup.py -@@ -18,7 +18,7 @@ setup( - author_email='michal.danilak@gmail.com', - url='https://github.com/Mimino666/langdetect', - keywords='language detection library', -- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], -+ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], - include_package_data=True, - install_requires=['six'], - license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index eb2586280d80..56733bbffc48 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,6 +19,4 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" -PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) - distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index c0f74ac187e2..020e07f2a3dd 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,9 +2,11 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>pastalian46@gmail.com</email> - <name>Takuya Wakazono</name> + <email>marcin.deranek@slonko.net</email> + <name>Marcin Deranek</name> </maintainer> - - <origin>gentoo-guru-overlay</origin> + <upstream> + <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> + </upstream> + <origin>slonko-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/mkdocs-material/Manifest b/dev-python/mkdocs-material/Manifest index afc699bd90d9..9020be0208bb 100644 --- a/dev-python/mkdocs-material/Manifest +++ b/dev-python/mkdocs-material/Manifest @@ -1,3 +1,4 @@ DIST mkdocs-material-9.6.1.gh.tar.gz 14796273 BLAKE2B 3dd42a064c50149a5ec0b45594f7136825145c6f279373856fd3cb426eaf71a867c1e63ad30b108145e76cf90ad04f4b0663094adfec46abb345014b39289ebd SHA512 ac2a6815b1d934ef47d292acefabaf7d63424033800325b8fbbe8bd6812a167777e810dd6a9b6431614434b0fcba8f316f96b876f12796ec6688c3078bd3eaa7 DIST mkdocs-material-9.6.3.gh.tar.gz 14915630 BLAKE2B 9945f9991cdad74f3ca92217b32ef649b27504f6efe7aa1fc530505d60e41b13aa617468adf8beff9350f2d84f0a7801fd4d157209aa1e8e018a919454e3ef05 SHA512 1208f45a664701b27b1092dd2491a5172112bf603c24fab1afc3bfef790d286f60a6ce20c0762af851b348201b2d51e26f62940a2ded827d02c17aa10d1ba96f DIST mkdocs-material-9.6.4.gh.tar.gz 14916428 BLAKE2B 9cbf971ec00af1b3ab8d9786dcd4bfe44536a4ae20d2d82fcdebbd8abe0810e527589958bffec6bf8180369f174b70e4a36ce57a69aec49ac182836cf7c8eec6 SHA512 327ea81256e90a3f9ba473f93c4e1a23a31844620e03c5f9da2833655a4cd98803a06e46e0c22469e577bcea30d316bf8ad2d855b4f5bcaddfe58d73e6d4d1f5 +DIST mkdocs-material-9.6.5.gh.tar.gz 14920108 BLAKE2B 50b7565c2a170e62e27b33fffa1bce3536d0b090162d30f113ca45101ab63f4a2f972a01962f362bd267f627e9f62a392b0bba5b21d464c9aaa94dd9580acb3b SHA512 472f07c1f4986062b785af026e5c7c7645bf16bfa172fc5813c6ba9a03ebc0c5d43f099ef7a04c5494dbe4f8a628397c4bff2a16c0e4632ebc439e77697c4785 diff --git a/dev-python/mkdocs-material/mkdocs-material-9.6.5.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.6.5.ebuild new file mode 100644 index 000000000000..09a2daf59272 --- /dev/null +++ b/dev-python/mkdocs-material/mkdocs-material-9.6.5.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + dev-python/mkdocs-material-extensions + dev-python/mkdocs-minify-plugin + dev-python/mkdocs-redirects +" + +inherit distutils-r1 docs + +DESCRIPTION="A Material Design theme for MkDocs" +HOMEPAGE=" + https://github.com/squidfunk/mkdocs-material/ + https://pypi.org/project/mkdocs-material/ +" +SRC_URI=" + https://github.com/squidfunk/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="social" + +RDEPEND=" + >=dev-python/babel-2.10.3[${PYTHON_USEDEP}] + >=dev-python/colorama-0.4[${PYTHON_USEDEP}] + >=dev-python/jinja2-3.0.2[${PYTHON_USEDEP}] + >=dev-python/lxml-4.6[${PYTHON_USEDEP}] + >=dev-python/markdown-3.2[${PYTHON_USEDEP}] + >=dev-python/mkdocs-1.5.3[${PYTHON_USEDEP}] + >=dev-python/paginate-0.5.6[${PYTHON_USEDEP}] + >=dev-python/pygments-2.16[${PYTHON_USEDEP}] + >=dev-python/pymdown-extensions-10.2[${PYTHON_USEDEP}] + >=dev-python/readtime-2.0[${PYTHON_USEDEP}] + >=dev-python/regex-2022.4.24[${PYTHON_USEDEP}] + >=dev-python/requests-2.26[${PYTHON_USEDEP}] + social? ( + >=dev-python/pillow-10.2[${PYTHON_USEDEP}] + >=media-gfx/cairosvg-2.5[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + >=dev-python/trove-classifiers-2023.10.18[${PYTHON_USEDEP}] +" +# mkdocs-material-extensions depends on mkdocs-material creating a circular dep +PDEPEND=" + >=dev-python/mkdocs-material-extensions-1.2[${PYTHON_USEDEP}] +" + +PATCHES=( + # simplify pyproject to remove extra deps for metadata + "${FILESDIR}/${PN}-8.5.7-simplify-build.patch" +) + +src_prepare() { + echo "__version__ = '${PV}'" > gentoo_version.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/numpydoc/numpydoc-1.8.0.ebuild b/dev-python/numpydoc/numpydoc-1.8.0.ebuild index cb09e78f4d36..441a8761e9da 100644 --- a/dev-python/numpydoc/numpydoc-1.8.0.ebuild +++ b/dev-python/numpydoc/numpydoc-1.8.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/pallets-sphinx-themes/pallets-sphinx-themes-2.3.0.ebuild b/dev-python/pallets-sphinx-themes/pallets-sphinx-themes-2.3.0.ebuild index cf8e0ed1aec1..920aff766f06 100644 --- a/dev-python/pallets-sphinx-themes/pallets-sphinx-themes-2.3.0.ebuild +++ b/dev-python/pallets-sphinx-themes/pallets-sphinx-themes-2.3.0.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=flit PYPI_PN=Pallets-Sphinx-Themes -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) inherit distutils-r1 pypi diff --git a/dev-python/pkginfo/Manifest b/dev-python/pkginfo/Manifest index 45ce6aad87e7..5f9f2767b26a 100644 --- a/dev-python/pkginfo/Manifest +++ b/dev-python/pkginfo/Manifest @@ -1 +1,2 @@ DIST pkginfo-1.12.0.tar.gz 451375 BLAKE2B 4a0e30c71c7ce283f16fb8595343ac7f473ce604e47a4863cc107cab96db1db9de0eb1c6ccd9430cea1eb6b94903f00356d75c5b9acfa50129d9c4c7ee24577d SHA512 871d85cfbc69380033dc071bfb32dc3da4a5c44fefda8c3be9c7ae5d8ed17f2800f82f9ce3b81e4c0ebb3a1956581093a1379d00a9eb6a42e0821253586aaceb +DIST pkginfo-1.12.1.2.tar.gz 451828 BLAKE2B 8023dac51913ebcca02310b0f58511962dabb860ae4588b239f55824c59855924f47975cfdad6092244fabb3f48660496d38d333cee296ba899467c820aa57ed SHA512 16eed4c19b92384aa422d7a4e352746270bab8dc80b503c73aae0554eca012f38e2099867febf1a205d6fa572f4738f503a80e51ea247af4404581eea4a2d1d4 diff --git a/dev-python/pkginfo/pkginfo-1.12.1.2.ebuild b/dev-python/pkginfo/pkginfo-1.12.1.2.ebuild new file mode 100644 index 000000000000..bb0fe867c168 --- /dev/null +++ b/dev-python/pkginfo/pkginfo-1.12.1.2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Provides an API for querying the distutils metadata written in a PKG-INFO file" +HOMEPAGE=" + https://launchpad.net/pkginfo/ + https://pypi.org/project/pkginfo/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +BDEPEND=" + test? ( + dev-python/wheel[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs diff --git a/dev-python/podman/Manifest b/dev-python/podman/Manifest index 2652166a275a..c53914c3fc47 100644 --- a/dev-python/podman/Manifest +++ b/dev-python/podman/Manifest @@ -1,2 +1,2 @@ -DIST podman-py-5.0.0.gh.tar.gz 183844 BLAKE2B c2c5511815d37321a843dfe028839592f6e9b4cc580263e743b6a2ee0917b3307b77bf4d08b327781c6d765c231d8bfcc4d1e0027351c4297509433405887552 SHA512 3abcc4c989843fb82a09e32359018cb9b3352f014253def4bec46a7336c95405b50fe774192d2f4625748351c57293b70d393eb85671719833c0a9f1311612ed DIST podman-py-5.2.0.gh.tar.gz 186468 BLAKE2B d993e50817c6251dae4fcff8bdd9b4d125b5f96b2d5a690922ea5294cc739e2132edd4878b1dca26e1ffb7deef1e971f94a6e34c1b869dbe412c7965b49b2973 SHA512 6189415d644cf74868ccc5d560414fa876c1e0525ca028e7436a804ffe3a1219dead37223619e3d248da455856989407482638856b68cabeaf3ca4f02a9cf25c +DIST podman-py-5.4.0.1.gh.tar.gz 174543 BLAKE2B b0e8ff4702e1b4d82a41883998b6722c761484000e3ee6fda3b80998587d9e8e4892c2f5fd07ec58aa2d4bb7b44c3556448eff4af53f03dcc9a7b44dfa4437bf SHA512 ba86f42100691126e96401443a9febc87315c8b2f4bb11ee93803205886a910eaedc6c3f801e9cbc661d9c5ad8ee051b77cc63a14465a8c6ed307a3a606f708e diff --git a/dev-python/podman/podman-5.0.0.ebuild b/dev-python/podman/podman-5.4.0.1.ebuild index 1ae0f09a7e61..8024b6a02158 100644 --- a/dev-python/podman/podman-5.0.0.ebuild +++ b/dev-python/podman/podman-5.4.0.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -25,7 +25,6 @@ SLOT="0" KEYWORDS="~amd64" RDEPEND=" - >=dev-python/pyxdg-0.26[${PYTHON_USEDEP}] >=dev-python/requests-2.24[${PYTHON_USEDEP}] >=dev-python/rich-12.5.1[${PYTHON_USEDEP}] dev-python/urllib3[${PYTHON_USEDEP}] diff --git a/dev-python/pycotap/pycotap-1.3.1.ebuild b/dev-python/pycotap/pycotap-1.3.1.ebuild index 95588bee56e5..f5947331961e 100644 --- a/dev-python/pycotap/pycotap-1.3.1.ebuild +++ b/dev-python/pycotap/pycotap-1.3.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86" PATCHES=( "${FILESDIR}"/pycotap-1.3.1-fix-python3.13-tests.patch diff --git a/dev-python/pydata-sphinx-theme/pydata-sphinx-theme-0.16.0.ebuild b/dev-python/pydata-sphinx-theme/pydata-sphinx-theme-0.16.0.ebuild index b1dd0d8c185b..24e2af676b71 100644 --- a/dev-python/pydata-sphinx-theme/pydata-sphinx-theme-0.16.0.ebuild +++ b/dev-python/pydata-sphinx-theme/pydata-sphinx-theme-0.16.0.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=standalone PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) inherit distutils-r1 pypi diff --git a/dev-python/pyelftools/Manifest b/dev-python/pyelftools/Manifest index 8856d57cb21b..6f1368b54c33 100644 --- a/dev-python/pyelftools/Manifest +++ b/dev-python/pyelftools/Manifest @@ -1 +1,2 @@ DIST pyelftools-0.31.gh.tar.gz 14204157 BLAKE2B 9e5a1e0a7b9292b30db7331e18c5c800f84eb087b58b266f3f23a7c9c5e7ea655f913788495e1df04e79c9f0a82789cad58ee2dcd8a0afb17e696d4c58679f33 SHA512 7f4ef37da7fda75125cb95ced2f3084848943592eff7deae7ae917508f1cd5281c96960ee3bbc6e503e71a4e2196622cd68cc67e3df1f4cd99b9b675f14fd58c +DIST pyelftools-0.32.gh.tar.gz 15168340 BLAKE2B 4763302d019acf8904b4ca4d8114eacc4c9bb9a7128f040951a190e619ba384967a0999b437e4e32135edc519ea0c0766934c6a4b2a699fd9227b4519a41685e SHA512 798da482d97bb759e9d54aa6c1be80bcfc118b7c0b2011b053564763ba3866946da8ad4b472a0b28c4e71f2b9023130ff044886f5d665d143b4922dbd87ba47e diff --git a/dev-python/pyelftools/pyelftools-0.32.ebuild b/dev-python/pyelftools/pyelftools-0.32.ebuild new file mode 100644 index 000000000000..2e0593fbf322 --- /dev/null +++ b/dev-python/pyelftools/pyelftools-0.32.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 + +DESCRIPTION="pure-Python library for analyzing ELF files and DWARF debugging information" +HOMEPAGE=" + https://pypi.org/project/pyelftools/ + https://github.com/eliben/pyelftools/ +" +# PyPI tarball lacks some test files +SRC_URI=" + https://github.com/eliben/pyelftools/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +python_test() { + # readelf_tests often fails due to host `readelf` changing output format + "${EPYTHON}" test/run_all_unittests.py || die + "${EPYTHON}" test/run_examples_test.py || die +} diff --git a/dev-python/python-openstackclient/Manifest b/dev-python/python-openstackclient/Manifest index d40cc5c1294f..10c4aa7ce757 100644 --- a/dev-python/python-openstackclient/Manifest +++ b/dev-python/python-openstackclient/Manifest @@ -1 +1,2 @@ DIST python-openstackclient-7.2.1.tar.gz 947778 BLAKE2B 44274861d6f14852184f89520e08ddc5a0b88a97473708eac092fa8d4992b1174efa698530c917c15e212a28aff4487ffcd3c58bb530dc3450cfe2f7fa1dc09d SHA512 12009df28accc4c6076bc6d4c0a418ee0600bbca73f126ba58caff2c211839b38d8812fded09d93154781586aa6ee7b92a7c1ea6cb07f01a6e31a2a0655d3786 +DIST python_openstackclient-7.3.0.tar.gz 951679 BLAKE2B ce9e3546dc2ae3fff7fa5f9404f6f2bda452936092d611d33f12d0f6a94b42827b5b6f829779d59dcbde427b00987c9103987522159b61078e485ca71fd2621c SHA512 72bc3790e876c721de9cb1507752633a0563f6b51ddff1a555809aa049b3f330af22470843e47080f4203e077f3c862e05e646701ce6b005860c1d1e120008a3 diff --git a/dev-python/python-openstackclient/python-openstackclient-7.3.0.ebuild b/dev-python/python-openstackclient/python-openstackclient-7.3.0.ebuild new file mode 100644 index 000000000000..b99dfb50ac0f --- /dev/null +++ b/dev-python/python-openstackclient/python-openstackclient-7.3.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A client for the OpenStack APIs" +HOMEPAGE=" + https://opendev.org/openstack/python-openstackclient/ + https://github.com/openstack/python-openstackclient/ + https://pypi.org/project/python-openstackclient/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +RDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + >=dev-python/cliff-3.5.0[${PYTHON_USEDEP}] + >=dev-python/cryptography-2.7[${PYTHON_USEDEP}] + >=dev-python/openstacksdk-3.3.0[${PYTHON_USEDEP}] + >=dev-python/osc-lib-2.3.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >=dev-python/python-keystoneclient-3.22.0[${PYTHON_USEDEP}] + >=dev-python/python-cinderclient-3.3.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.27.0[${PYTHON_USEDEP}] + >=dev-python/stevedore-2.0.1[${PYTHON_USEDEP}] +" +BDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + test? ( + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + >=dev-python/tempest-17.1.0[${PYTHON_USEDEP}] + >=dev-python/wrapt-1.7.0[${PYTHON_USEDEP}] + >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + # Depends on a specific runner + sed -e 's/test_command_has_logger/_&/' \ + -i openstackclient/tests/unit/common/test_command.py || die + + distutils-r1_src_prepare +} + +python_test() { + # functional tests require cloud instance access + eunittest -b openstackclient/tests/unit +} diff --git a/dev-python/qscintilla/qscintilla-2.14.1-r2.ebuild b/dev-python/qscintilla/qscintilla-2.14.1-r2.ebuild deleted file mode 100644 index 181542c5188d..000000000000 --- a/dev-python/qscintilla/qscintilla-2.14.1-r2.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) -inherit multibuild python-r1 qmake-utils out-of-source-utils - -DESCRIPTION="Python bindings for QScintilla" -HOMEPAGE="https://www.riverbankcomputing.com/software/qscintilla/ https://pypi.org/project/QScintilla/" - -MY_PN=QScintilla -MY_P=${MY_PN}_src-${PV/_pre/.dev} -SRC_URI="https://www.riverbankcomputing.com/static/Downloads/${MY_PN}/${PV}/${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P}/Python - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc64 x86" -IUSE="debug qt5 +qt6" - -REQUIRED_USE="|| ( qt5 qt6 ) ${PYTHON_REQUIRED_USE}" - -# no tests -RESTRICT="test" - -DEPEND="${PYTHON_DEPS} - qt5? ( - >=dev-python/pyqt5-5.15.5[gui,printsupport,widgets,${PYTHON_USEDEP}] - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtprintsupport:5 - dev-qt/qtwidgets:5 - ) - qt6? ( - dev-python/pyqt6[gui,printsupport,widgets,${PYTHON_USEDEP}] - dev-qt/qtbase:6[gui,widgets] - ) - ~x11-libs/qscintilla-${PV}:=[qt5(+)?,qt6(-)?] -" -RDEPEND="${DEPEND} - qt5? ( >=dev-python/pyqt5-sip-12.9:=[${PYTHON_USEDEP}] ) - qt6? ( >=dev-python/pyqt6-sip-13.5:=[${PYTHON_USEDEP}] ) -" -BDEPEND=" - >=dev-python/pyqt-builder-1.10[${PYTHON_USEDEP}] - >=dev-python/sip-6.2[${PYTHON_USEDEP}] - qt5? ( dev-qt/qtcore:5 ) - qt6? ( dev-qt/qtbase:6 ) -" - -pkg_setup() { - MULTIBUILD_VARIANTS=( $(usev qt5) $(usev qt6) ) -} - -src_configure() { - my_src_configure() { - case ${MULTIBUILD_VARIANT} in - qt5) - configuration() { - local myconf=( - sip-build - --verbose - --build-dir="${BUILD_DIR}" - --scripts-dir="$(python_get_scriptdir)" - --qmake="$(qt5_get_bindir)"/qmake - --no-make - $(usev debug '--debug --qml-debug --tracing') - ) - echo "${myconf[@]}" - "${myconf[@]}" || die - - run_in_build_dir qmake5 -recursive ${MY_PN}.pro - } - mv pyproject{-${MULTIBUILD_VARIANT},}.toml || die - python_foreach_impl configuration - ;; - qt6) - configuration() { - local myconf=( - sip-build - --verbose - --build-dir="${BUILD_DIR}" - --scripts-dir="$(python_get_scriptdir)" - --qmake="$(qt6_get_bindir)"/qmake - --no-make - $(usev debug '--debug --qml-debug --tracing') - ) - echo "${myconf[@]}" - "${myconf[@]}" || die - - run_in_build_dir qmake6 -recursive ${MY_PN}.pro - } - mv pyproject{-${MULTIBUILD_VARIANT},}.toml || die - python_foreach_impl configuration - ;; - esac - } - multibuild_foreach_variant my_src_configure -} - -src_compile() { - multibuild_foreach_variant python_foreach_impl run_in_build_dir default -} - -src_install() { - installation() { - emake INSTALL_ROOT="${D}" install - python_optimize - } - multibuild_foreach_variant python_foreach_impl run_in_build_dir installation -} diff --git a/dev-python/qscintilla/qscintilla-2.14.1-r3.ebuild b/dev-python/qscintilla/qscintilla-2.14.1-r3.ebuild new file mode 100644 index 000000000000..40c5192140b8 --- /dev/null +++ b/dev-python/qscintilla/qscintilla-2.14.1-r3.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +inherit python-r1 qmake-utils out-of-source-utils + +DESCRIPTION="Python bindings for QScintilla" +HOMEPAGE="https://www.riverbankcomputing.com/software/qscintilla/ https://pypi.org/project/QScintilla/" + +MY_PN=QScintilla +MY_P=${MY_PN}_src-${PV/_pre/.dev} +SRC_URI="https://www.riverbankcomputing.com/static/Downloads/${MY_PN}/${PV}/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P}/Python + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 ~arm64 ~ppc64 x86" +IUSE="debug" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# no tests +RESTRICT="test" + +DEPEND="${PYTHON_DEPS} + dev-python/pyqt6[gui,printsupport,widgets,${PYTHON_USEDEP}] + dev-qt/qtbase:6[gui,widgets] + ~x11-libs/qscintilla-${PV}:=[qt6(+)] +" +RDEPEND="${DEPEND} + !=x11-libs/qscintilla-2.14.1-r0 + >=dev-python/pyqt6-sip-13.5:=[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pyqt-builder-1.10[${PYTHON_USEDEP}] + >=dev-python/sip-6.2[${PYTHON_USEDEP}] + dev-qt/qtbase:6 +" + +src_prepare() { + default + mv pyproject{-qt6,}.toml || die +} + +src_configure() { + configuration() { + local myconf=( + sip-build + --verbose + --build-dir="${BUILD_DIR}" + --scripts-dir="$(python_get_scriptdir)" + --qmake="$(qt6_get_bindir)"/qmake + --no-make + $(usev debug '--debug --qml-debug --tracing') + ) + echo "${myconf[@]}" + "${myconf[@]}" || die + + run_in_build_dir eqmake6 -recursive PyQt6-${MY_PN}.pro + } + python_foreach_impl configuration +} + +src_compile() { + python_foreach_impl run_in_build_dir default +} + +src_install() { + installation() { + emake INSTALL_ROOT="${D}" install + python_optimize + } + python_foreach_impl run_in_build_dir installation +} diff --git a/dev-python/reno/reno-4.1.0.ebuild b/dev-python/reno/reno-4.1.0.ebuild index 904d98ed442a..69c2b359c275 100644 --- a/dev-python/reno/reno-4.1.0.ebuild +++ b/dev-python/reno/reno-4.1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/shiboken6/shiboken6-6.8.1.1-r1.ebuild b/dev-python/shiboken6/shiboken6-6.8.1.1-r1.ebuild index cd9a043f2f18..66602415a5d7 100644 --- a/dev-python/shiboken6/shiboken6-6.8.1.1-r1.ebuild +++ b/dev-python/shiboken6/shiboken6-6.8.1.1-r1.ebuild @@ -98,7 +98,7 @@ src_prepare() { # https://bugs.gentoo.org/619490 sed -e \ 's~(findClangBuiltInIncludesDir())~(QStringLiteral("'"${EPREFIX}"'/usr/lib/clang/'"${LLVM_SLOT}"'/include"))~' \ - -i sources/shiboken6/ApiExtractor/clangparser/compilersupport.cpp || die + -i ApiExtractor/clangparser/compilersupport.cpp || die cmake_src_prepare } diff --git a/dev-python/sphinx-argparse/Manifest b/dev-python/sphinx-argparse/Manifest index 1699498acb2a..8ff35ffbbb5d 100644 --- a/dev-python/sphinx-argparse/Manifest +++ b/dev-python/sphinx-argparse/Manifest @@ -1,2 +1 @@ -DIST sphinx_argparse-0.4.0.tar.gz 15020 BLAKE2B 73118f56ff82d52f04066b9d500aebc77eb5a0fecd03fa69f382c0f2afc0cbffdd395da707cf37b59f039e93935f8d5c3fe0e0f7a2820d3b6509dd78b37b0d74 SHA512 b96050da6c02f87c54f9dc9146bed955e99258df740b467575a2b3e9919fa8c4c6d30a736dab24360086bfc0d7d09c4bc7a818700af2c7846eed3a3b99053d65 DIST sphinx_argparse-0.5.2.tar.gz 27838 BLAKE2B 273b08c02ed9d43483988170857389c3e933a850774a721e59049c8c42c82f85cfd60aa324d8189a9f06993166bbe079449fff48a4947c271a8ebe19cbb13d86 SHA512 d200099392f7ab657f98b98bf0a02992baa5e2762805f4b066cc971a8181fb53ea20c522fbc1927e7be73cb69725c31a0aa9433b59a1deea0d1a805321fa77dd diff --git a/dev-python/sphinx-argparse/sphinx-argparse-0.4.0.ebuild b/dev-python/sphinx-argparse/sphinx-argparse-0.4.0.ebuild deleted file mode 100644 index ffdc4c9328e8..000000000000 --- a/dev-python/sphinx-argparse/sphinx-argparse-0.4.0.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 2020-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Sphinx extension that automatically documents argparse commands and options" -HOMEPAGE=" - https://github.com/sphinx-doc/sphinx-argparse/ - https://pypi.org/project/sphinx-argparse/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~riscv x86" - -RDEPEND=" - dev-python/sphinx[${PYTHON_USEDEP}] - dev-python/commonmark[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/sphinx-argparse/sphinx-argparse-0.5.2.ebuild b/dev-python/sphinx-argparse/sphinx-argparse-0.5.2.ebuild index e9158b891f77..ae3f163957b8 100644 --- a/dev-python/sphinx-argparse/sphinx-argparse-0.5.2.ebuild +++ b/dev-python/sphinx-argparse/sphinx-argparse-0.5.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2024 Gentoo Authors +# Copyright 2020-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/sphinx-autoapi/sphinx-autoapi-3.4.0.ebuild b/dev-python/sphinx-autoapi/sphinx-autoapi-3.4.0.ebuild index 578ec2d8256f..38d01ba1a1fd 100644 --- a/dev-python/sphinx-autoapi/sphinx-autoapi-3.4.0.ebuild +++ b/dev-python/sphinx-autoapi/sphinx-autoapi-3.4.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/sphinx-autodoc-typehints/Manifest b/dev-python/sphinx-autodoc-typehints/Manifest index d2d4d18a4db8..7b2094c16909 100644 --- a/dev-python/sphinx-autodoc-typehints/Manifest +++ b/dev-python/sphinx-autodoc-typehints/Manifest @@ -1 +1,2 @@ DIST sphinx_autodoc_typehints-3.0.1.tar.gz 36282 BLAKE2B 44fbb2de34cd788e400d0556599cac9501d65cbccc1338be3b927d9c35e2141042885376da6df488cfae05af0667210b6d74c240710af5c848eff0a03c83eeca SHA512 f15a14c010328d46ab50c8f28c84d332502b577b95d739439a8b583e95303105fa403058443f4120c043a3d3635d4cff8274adc9472e1876aa9f476e78b4abcd +DIST sphinx_autodoc_typehints-3.1.0.tar.gz 36528 BLAKE2B 9a36f154658508b571df01bd4e4083c65ede287f4dc202040176acc8793e3f87a9bf07871f89dcc118bf47f5d5984eb9bb26fa3827e524d8a2674927da3dc469 SHA512 0837eba88913d2ca1d843041c06c950d7e680009617b8a2e464424fc3e41787fb953da7b140d92068f1d4a0a355feb853a96bec2fb139a3175fa49343ccff621 diff --git a/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-3.1.0.ebuild b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-3.1.0.ebuild new file mode 100644 index 000000000000..8405d15734d4 --- /dev/null +++ b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-3.1.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Type hints support for the Sphinx autodoc extension" +HOMEPAGE=" + https://github.com/tox-dev/sphinx-autodoc-typehints/ + https://pypi.org/project/sphinx-autodoc-typehints/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/sphinx-8.2.0[${PYTHON_USEDEP}] +" +# skipping optional test dep on dev-python/nptyping as that package +# is horribly broken and on its way out +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/sphobjinv-2.3.1[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.5[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # this package is addicted to Internet + tests/test_sphinx_autodoc_typehints.py::test_format_annotation + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/sphinx-basic-ng/sphinx-basic-ng-1.0.0_beta2.ebuild b/dev-python/sphinx-basic-ng/sphinx-basic-ng-1.0.0_beta2.ebuild index 1ed626f6f446..93a7e8131e0b 100644 --- a/dev-python/sphinx-basic-ng/sphinx-basic-ng-1.0.0_beta2.ebuild +++ b/dev-python/sphinx-basic-ng/sphinx-basic-ng-1.0.0_beta2.ebuild @@ -1,10 +1,10 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) inherit distutils-r1 diff --git a/dev-python/sphinx-celery/sphinx-celery-2.1.3.ebuild b/dev-python/sphinx-celery/sphinx-celery-2.1.3.ebuild index c0d88fde5cdf..4f6413115ef7 100644 --- a/dev-python/sphinx-celery/sphinx-celery-2.1.3.ebuild +++ b/dev-python/sphinx-celery/sphinx-celery-2.1.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/sphinx-copybutton/sphinx-copybutton-0.5.2.ebuild b/dev-python/sphinx-copybutton/sphinx-copybutton-0.5.2.ebuild index 04662938cc75..630431640af5 100644 --- a/dev-python/sphinx-copybutton/sphinx-copybutton-0.5.2.ebuild +++ b/dev-python/sphinx-copybutton/sphinx-copybutton-0.5.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/sphinx-gallery/sphinx-gallery-0.18.0.ebuild b/dev-python/sphinx-gallery/sphinx-gallery-0.18.0.ebuild index ae265b6db586..eaec37851795 100644 --- a/dev-python/sphinx-gallery/sphinx-gallery-0.18.0.ebuild +++ b/dev-python/sphinx-gallery/sphinx-gallery-0.18.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/sphinx-issues/sphinx-issues-5.0.0.ebuild b/dev-python/sphinx-issues/sphinx-issues-5.0.0.ebuild index b0c249a2c91f..7f844aa5601a 100644 --- a/dev-python/sphinx-issues/sphinx-issues-5.0.0.ebuild +++ b/dev-python/sphinx-issues/sphinx-issues-5.0.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2019-2024 Gentoo Authors +# Copyright 2019-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/sphinx-notfound-page/sphinx-notfound-page-1.1.0.ebuild b/dev-python/sphinx-notfound-page/sphinx-notfound-page-1.1.0.ebuild index 771002a7e1f0..a163a2e9f96d 100644 --- a/dev-python/sphinx-notfound-page/sphinx-notfound-page-1.1.0.ebuild +++ b/dev-python/sphinx-notfound-page/sphinx-notfound-page-1.1.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) inherit distutils-r1 diff --git a/dev-python/sphinx-prompt/sphinx-prompt-1.9.0.ebuild b/dev-python/sphinx-prompt/sphinx-prompt-1.9.0.ebuild index a7e5d424d2f1..68e648261a1e 100644 --- a/dev-python/sphinx-prompt/sphinx-prompt-1.9.0.ebuild +++ b/dev-python/sphinx-prompt/sphinx-prompt-1.9.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) inherit distutils-r1 diff --git a/dev-python/sphinx-tabs/sphinx-tabs-3.4.7.ebuild b/dev-python/sphinx-tabs/sphinx-tabs-3.4.7.ebuild index 987e9ead2c4a..0a85d752437c 100644 --- a/dev-python/sphinx-tabs/sphinx-tabs-3.4.7.ebuild +++ b/dev-python/sphinx-tabs/sphinx-tabs-3.4.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/sphinx/Manifest b/dev-python/sphinx/Manifest index d3b5b2639de2..6bde4f986aea 100644 --- a/dev-python/sphinx/Manifest +++ b/dev-python/sphinx/Manifest @@ -1,5 +1,3 @@ DIST sphinx-8.0.2.gh.tar.gz 8264835 BLAKE2B ed6e321a1e58341609d88993c418ec1a0a580683ed28895077322fdba839d5c158007d65d5349d4d53c5e3b49ae823142cc6eb0203812580ebbb5b95247bf157 SHA512 5e9f38af91d7a80b6a80a80ab26adbebc1c3303996182a58eed9120ed896c5bfde022616e116e8cb8195fe03741e93fd97dcacccf492912ab147c5bfcb79213d DIST sphinx-8.1.3.gh.tar.gz 8245194 BLAKE2B 43e0b2bc3214e01c55da356144c7e2e27dd8202b5c2dda6f6e1768c4ba4fa968180ff97f41c3b97e3cbeff1dad1199cd19385ae34dc0cb4250af60e157b3bd1f SHA512 b1d0fe9586b11083103449a04443884d06d2dcab2d0bcf66d07ef97543b5e92da60e3c02e6f8ba9e04a6d7bdd62c75ef9d3f790411753fcda2a67e0fbf6a2d86 DIST sphinx-8.2.0.gh.tar.gz 8375102 BLAKE2B 440453b08eeaf22b521093fdf3794727231a83ce631548e74c79412359c1f8223a9cef74609e98e7fd7928abc478e85ae57d03583dda44b2c79ec2f228fd76db SHA512 f993ee98793b230f4dffc2c7eba8b7525634c8b1a6d4b16ae72dd81bc82625d057563ab9d1ac210bf6cc3922a02f1d43aa490c463b428c88a110c76756a9538d -DIST sphinx-8.2.0rc1.gh.tar.gz 8283034 BLAKE2B 7387106d4fc41595dfff84611f7ec2abd6f8cdc3692c8848689c2aa14d6b157b70c19dbeab8fd2a8c6d5b50993e31b37efdecc3dc39894d9b3ecb17b72733d90 SHA512 57bebe1ac19176779ed9d27ad2e981f580ea30872fdb909d47f7474608f7b02b7a531fee8208d1625ae252cb05301daa84a8b241b4d3b431f5a5229be0c35280 -DIST sphinx-8.2.0rc2.gh.tar.gz 8283673 BLAKE2B 8949600e0befd6992c1530fcd10a8f57930696f4d41c79785e1ea31b0ef59847858d4430803f3888847d53587d63ca21c107f03d4ae9638d00f625d9dc127ed6 SHA512 92f93727426a58c3178e294e0a65fb73e50cee7c138266ce1a1f25b109eea2167c69814cc9744bbfb5362531c5039e672ab56b0075d2b258c25aa0c2a17455e9 diff --git a/dev-python/sphinx/sphinx-8.2.0.ebuild b/dev-python/sphinx/sphinx-8.2.0.ebuild index 7f11e4a244f2..d96eb6f7affd 100644 --- a/dev-python/sphinx/sphinx-8.2.0.ebuild +++ b/dev-python/sphinx/sphinx-8.2.0.ebuild @@ -24,6 +24,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD-2" SLOT="0" +KEYWORDS="~amd64" IUSE="doc latex" RDEPEND=" diff --git a/dev-python/sphinx/sphinx-8.2.0_rc1.ebuild b/dev-python/sphinx/sphinx-8.2.0_rc1.ebuild deleted file mode 100644 index a6d561149879..000000000000 --- a/dev-python/sphinx/sphinx-8.2.0_rc1.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_USE_PEP517=flit -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -MY_P=${P/_} -DESCRIPTION="Python documentation generator" -HOMEPAGE=" - https://www.sphinx-doc.org/ - https://github.com/sphinx-doc/sphinx/ - https://pypi.org/project/Sphinx/ -" -SRC_URI=" - https://github.com/sphinx-doc/sphinx/archive/v${PV/_}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD-2" -SLOT="0" -IUSE="doc latex" - -RDEPEND=" - >=dev-python/alabaster-0.7.14[${PYTHON_USEDEP}] - >=dev-python/babel-2.13[${PYTHON_USEDEP}] - <dev-python/docutils-0.22[${PYTHON_USEDEP}] - >=dev-python/docutils-0.20[${PYTHON_USEDEP}] - >=dev-python/imagesize-1.3[${PYTHON_USEDEP}] - >=dev-python/jinja2-3.1[${PYTHON_USEDEP}] - >=dev-python/packaging-23.0[${PYTHON_USEDEP}] - >=dev-python/pygments-2.14[${PYTHON_USEDEP}] - >=dev-python/requests-2.30.0[${PYTHON_USEDEP}] - >=dev-python/roman-numerals-py-1.0.0[${PYTHON_USEDEP}] - >=dev-python/snowballstemmer-2.2[${PYTHON_USEDEP}] - >=dev-python/sphinxcontrib-applehelp-1.0.7[${PYTHON_USEDEP}] - >=dev-python/sphinxcontrib-devhelp-1.0.6[${PYTHON_USEDEP}] - >=dev-python/sphinxcontrib-htmlhelp-2.0.6[${PYTHON_USEDEP}] - >=dev-python/sphinxcontrib-jsmath-1.0.1[${PYTHON_USEDEP}] - >=dev-python/sphinxcontrib-qthelp-1.0.6[${PYTHON_USEDEP}] - >=dev-python/sphinxcontrib-serializinghtml-1.1.9[${PYTHON_USEDEP}] - latex? ( - dev-texlive/texlive-latexextra - dev-texlive/texlive-luatex - app-text/dvipng - ) -" -BDEPEND=" - doc? ( - dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}] - media-gfx/graphviz - ) - test? ( - app-text/dvipng - >=dev-python/cython-3.0.0[${PYTHON_USEDEP}] - >=dev-python/defusedxml-0.7.1[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - >=dev-python/setuptools-67.0[${PYTHON_USEDEP}] - dev-texlive/texlive-fontsextra - dev-texlive/texlive-latexextra - dev-texlive/texlive-luatex - virtual/imagemagick-tools[jpeg,png,svg] - ) -" - -PATCHES=( - "${FILESDIR}/sphinx-3.2.1-doc-link.patch" - #"${FILESDIR}/sphinx-4.3.2-doc-link.patch" -) - -distutils_enable_tests pytest - -python_prepare_all() { - # disable internet access - sed -i -e 's:^intersphinx_mapping:disabled_&:' \ - doc/conf.py || die - - distutils-r1_python_prepare_all -} - -python_compile_all() { - # we can't use distutils_enable_sphinx because it would - # introduce a dep on itself - use doc && build_sphinx doc -} - -python_test() { - mkdir -p "${BUILD_DIR}/sphinx_tempdir" || die - local -x SPHINX_TEST_TEMPDIR="${BUILD_DIR}/sphinx_tempdir" - - local EPYTEST_DESELECT=( - # less interesting failures - tests/test_builders/test_build_latex.py::test_build_latex_doc - tests/test_extensions/test_ext_math.py::test_imgmath_png - tests/test_extensions/test_ext_math.py::test_imgmath_numfig_html - ) - case ${EPYTHON} in - python3.13x) - EPYTEST_DESELECT+=( - tests/test_extensions/test_ext_autodoc.py::test_autodoc_special_members - tests/test_extensions/test_ext_autodoc_configs.py::test_autodoc_type_aliases - tests/test_extensions/test_ext_autodoc_configs.py::test_autodoc_typehints_format_fully_qualified - tests/test_extensions/test_ext_autodoc_configs.py::test_autodoc_typehints_none - tests/test_extensions/test_ext_autodoc_configs.py::test_autodoc_typehints_signature - ) - ;; - pypy3) - EPYTEST_DESELECT+=( - tests/test_extensions/test_ext_autodoc.py::test_autodoc_exception - tests/test_extensions/test_ext_autodoc.py::test_autodoc_ignore_module_all - tests/test_extensions/test_ext_autodoc.py::test_autodoc_inherited_members_None - tests/test_extensions/test_ext_autodoc.py::test_autodoc_subclass_of_builtin_class - tests/test_extensions/test_ext_autodoc.py::test_automethod_for_builtin - tests/test_extensions/test_ext_autodoc.py::test_cython - tests/test_extensions/test_ext_autodoc.py::test_format_signature - tests/test_extensions/test_ext_autodoc.py::test_partialfunction - tests/test_extensions/test_ext_autodoc_autoclass.py::test_autodoc_process_bases - tests/test_extensions/test_ext_autodoc_autoclass.py::test_show_inheritance_for_decendants_of_generic_type - tests/test_extensions/test_ext_autodoc_autoclass.py::test_show_inheritance_for_subclass_of_generic_type - tests/test_extensions/test_ext_autodoc_autofunction.py::test_builtin_function - tests/test_extensions/test_ext_autodoc_autofunction.py::test_methoddescriptor - tests/test_extensions/test_ext_autodoc_automodule.py::test_automodule_inherited_members - tests/test_extensions/test_ext_autodoc_preserve_defaults.py::test_preserve_defaults_special_constructs - tests/test_extensions/test_ext_autosummary.py::test_autosummary_generate_content_for_module - tests/test_extensions/test_ext_autosummary.py::test_autosummary_generate_content_for_module_skipped - tests/test_util/test_util_inspect.py::test_isattributedescriptor - tests/test_util/test_util_inspect.py::test_signature - tests/test_util/test_util_typing.py::test_is_invalid_builtin_class - ) - ;; - esac - - # note: pytest-xdist causes random test failures - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p rerunfailures --reruns=5 -} diff --git a/dev-python/sphinx/sphinx-8.2.0_rc2.ebuild b/dev-python/sphinx/sphinx-8.2.0_rc2.ebuild deleted file mode 100644 index 7f11e4a244f2..000000000000 --- a/dev-python/sphinx/sphinx-8.2.0_rc2.ebuild +++ /dev/null @@ -1,143 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -MY_P=${P/_} -DESCRIPTION="Python documentation generator" -HOMEPAGE=" - https://www.sphinx-doc.org/ - https://github.com/sphinx-doc/sphinx/ - https://pypi.org/project/Sphinx/ -" -SRC_URI=" - https://github.com/sphinx-doc/sphinx/archive/v${PV/_}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD-2" -SLOT="0" -IUSE="doc latex" - -RDEPEND=" - >=dev-python/alabaster-0.7.14[${PYTHON_USEDEP}] - >=dev-python/babel-2.13[${PYTHON_USEDEP}] - <dev-python/docutils-0.22[${PYTHON_USEDEP}] - >=dev-python/docutils-0.20[${PYTHON_USEDEP}] - >=dev-python/imagesize-1.3[${PYTHON_USEDEP}] - >=dev-python/jinja2-3.1[${PYTHON_USEDEP}] - >=dev-python/packaging-23.0[${PYTHON_USEDEP}] - >=dev-python/pygments-2.14[${PYTHON_USEDEP}] - >=dev-python/requests-2.30.0[${PYTHON_USEDEP}] - >=dev-python/roman-numerals-py-1.0.0[${PYTHON_USEDEP}] - >=dev-python/snowballstemmer-2.2[${PYTHON_USEDEP}] - >=dev-python/sphinxcontrib-applehelp-1.0.7[${PYTHON_USEDEP}] - >=dev-python/sphinxcontrib-devhelp-1.0.6[${PYTHON_USEDEP}] - >=dev-python/sphinxcontrib-htmlhelp-2.0.6[${PYTHON_USEDEP}] - >=dev-python/sphinxcontrib-jsmath-1.0.1[${PYTHON_USEDEP}] - >=dev-python/sphinxcontrib-qthelp-1.0.6[${PYTHON_USEDEP}] - >=dev-python/sphinxcontrib-serializinghtml-1.1.9[${PYTHON_USEDEP}] - latex? ( - dev-texlive/texlive-latexextra - dev-texlive/texlive-luatex - app-text/dvipng - ) -" -BDEPEND=" - doc? ( - dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}] - media-gfx/graphviz - ) - test? ( - app-text/dvipng - >=dev-python/cython-3.0.0[${PYTHON_USEDEP}] - >=dev-python/defusedxml-0.7.1[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - >=dev-python/setuptools-67.0[${PYTHON_USEDEP}] - dev-texlive/texlive-fontsextra - dev-texlive/texlive-latexextra - dev-texlive/texlive-luatex - virtual/imagemagick-tools[jpeg,png,svg] - ) -" - -PATCHES=( - "${FILESDIR}/sphinx-3.2.1-doc-link.patch" - #"${FILESDIR}/sphinx-4.3.2-doc-link.patch" -) - -distutils_enable_tests pytest - -python_prepare_all() { - # disable internet access - sed -i -e 's:^intersphinx_mapping:disabled_&:' \ - doc/conf.py || die - - distutils-r1_python_prepare_all -} - -python_compile_all() { - # we can't use distutils_enable_sphinx because it would - # introduce a dep on itself - use doc && build_sphinx doc -} - -python_test() { - mkdir -p "${BUILD_DIR}/sphinx_tempdir" || die - local -x SPHINX_TEST_TEMPDIR="${BUILD_DIR}/sphinx_tempdir" - - local EPYTEST_DESELECT=( - # less interesting failures - tests/test_builders/test_build_latex.py::test_build_latex_doc - tests/test_extensions/test_ext_math.py::test_imgmath_png - tests/test_extensions/test_ext_math.py::test_imgmath_numfig_html - ) - case ${EPYTHON} in - pypy3.11) - EPYTEST_DESELECT+=( - # TODO - tests/test_util/test_util_inspect.py::test_is_classmethod_descriptor - tests/test_util/test_util_inspect.py::test_is_builtin_classmethod_like - # minor repr() differences - tests/test_util/test_util_typing.py::test_restify - tests/test_util/test_util_typing.py::test_stringify_annotation - tests/test_util/test_util_typing.py::test_stringify_type_union_operator - ) - ;& - pypy3) - EPYTEST_DESELECT+=( - tests/test_extensions/test_ext_autodoc.py::test_autodoc_exception - tests/test_extensions/test_ext_autodoc.py::test_autodoc_ignore_module_all - tests/test_extensions/test_ext_autodoc.py::test_autodoc_inherited_members_None - tests/test_extensions/test_ext_autodoc.py::test_autodoc_subclass_of_builtin_class - tests/test_extensions/test_ext_autodoc.py::test_automethod_for_builtin - tests/test_extensions/test_ext_autodoc.py::test_cython - tests/test_extensions/test_ext_autodoc.py::test_format_signature - tests/test_extensions/test_ext_autodoc.py::test_partialfunction - tests/test_extensions/test_ext_autodoc_autoclass.py::test_autodoc_process_bases - tests/test_extensions/test_ext_autodoc_autoclass.py::test_show_inheritance_for_decendants_of_generic_type - tests/test_extensions/test_ext_autodoc_autoclass.py::test_show_inheritance_for_subclass_of_generic_type - tests/test_extensions/test_ext_autodoc_autofunction.py::test_builtin_function - tests/test_extensions/test_ext_autodoc_autofunction.py::test_methoddescriptor - tests/test_extensions/test_ext_autodoc_automodule.py::test_automodule_inherited_members - tests/test_extensions/test_ext_autodoc_preserve_defaults.py::test_preserve_defaults_special_constructs - tests/test_extensions/test_ext_autosummary.py::test_autosummary_generate_content_for_module - tests/test_extensions/test_ext_autosummary.py::test_autosummary_generate_content_for_module_skipped - tests/test_util/test_util_inspect.py::test_isattributedescriptor - tests/test_util/test_util_inspect.py::test_signature - tests/test_util/test_util_typing.py::test_is_invalid_builtin_class - ) - ;; - esac - - # note: pytest-xdist causes random test failures - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p rerunfailures --reruns=5 -} diff --git a/dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.5.0.ebuild b/dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.5.0.ebuild index 78ef6e13a699..8cf07ac3aba9 100644 --- a/dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.5.0.ebuild +++ b/dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.5.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2024 Gentoo Authors +# Copyright 2021-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/sphinxcontrib-autoprogram/sphinxcontrib-autoprogram-0.1.9.ebuild b/dev-python/sphinxcontrib-autoprogram/sphinxcontrib-autoprogram-0.1.9.ebuild index b5be071daf29..bd36574d76de 100644 --- a/dev-python/sphinxcontrib-autoprogram/sphinxcontrib-autoprogram-0.1.9.ebuild +++ b/dev-python/sphinxcontrib-autoprogram/sphinxcontrib-autoprogram-0.1.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.6.2.ebuild b/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.6.2.ebuild index 63c1c2118d0b..d3afe6fe500f 100644 --- a/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.6.2.ebuild +++ b/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.6.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.6.3.ebuild b/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.6.3.ebuild index 320e5e976cfe..3d3a6a725166 100644 --- a/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.6.3.ebuild +++ b/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.6.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/sphinxcontrib-doxylink/sphinxcontrib-doxylink-1.12.3.ebuild b/dev-python/sphinxcontrib-doxylink/sphinxcontrib-doxylink-1.12.3.ebuild index 4531e07587e3..714325ce3417 100644 --- a/dev-python/sphinxcontrib-doxylink/sphinxcontrib-doxylink-1.12.3.ebuild +++ b/dev-python/sphinxcontrib-doxylink/sphinxcontrib-doxylink-1.12.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/sphinxcontrib-github-alt/sphinxcontrib-github-alt-1.2-r2.ebuild b/dev-python/sphinxcontrib-github-alt/sphinxcontrib-github-alt-1.2-r2.ebuild index d4e4b7972064..e7c9581e2d7b 100644 --- a/dev-python/sphinxcontrib-github-alt/sphinxcontrib-github-alt-1.2-r2.ebuild +++ b/dev-python/sphinxcontrib-github-alt/sphinxcontrib-github-alt-1.2-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 diff --git a/dev-python/sphinxcontrib-log-cabinet/sphinxcontrib-log-cabinet-1.0.1-r1.ebuild b/dev-python/sphinxcontrib-log-cabinet/sphinxcontrib-log-cabinet-1.0.1-r1.ebuild index 8e0c1673565b..ff632b0c3bb6 100644 --- a/dev-python/sphinxcontrib-log-cabinet/sphinxcontrib-log-cabinet-1.0.1-r1.ebuild +++ b/dev-python/sphinxcontrib-log-cabinet/sphinxcontrib-log-cabinet-1.0.1-r1.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 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_{9,10,11,12,13} pypy3 ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) inherit distutils-r1 pypi diff --git a/dev-python/sphinxcontrib-programoutput/sphinxcontrib-programoutput-0.18.ebuild b/dev-python/sphinxcontrib-programoutput/sphinxcontrib-programoutput-0.18.ebuild index 516745d642b5..fb8972331872 100644 --- a/dev-python/sphinxcontrib-programoutput/sphinxcontrib-programoutput-0.18.ebuild +++ b/dev-python/sphinxcontrib-programoutput/sphinxcontrib-programoutput-0.18.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/spyder/spyder-5.5.6-r1.ebuild b/dev-python/spyder/spyder-5.5.6-r1.ebuild index 1377001d8461..964692281172 100644 --- a/dev-python/spyder/spyder-5.5.6-r1.ebuild +++ b/dev-python/spyder/spyder-5.5.6-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/terminaltables/Manifest b/dev-python/terminaltables/Manifest deleted file mode 100644 index e7d4a8b1e4e0..000000000000 --- a/dev-python/terminaltables/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST terminaltables-3.1.10.gh.tar.gz 282122 BLAKE2B 53d5ecde38370f5b05d3eaae4b618ada6991214feadc7e826467dafede5baaf8292e47e6b2be903eb8ae6d46e3066314fe7950d7330056cd3053e0d643ad1a9e SHA512 84fa403cee4206b6b19de0206d89535bd2965a0796e1890dd9b0a9c6593c5f41d0d24b88ee9db426067c777712a4e810d67d4d0246496239a7a96b53a24e8174 diff --git a/dev-python/terminaltables/files/terminaltables-3.1.0-stdout.patch b/dev-python/terminaltables/files/terminaltables-3.1.0-stdout.patch deleted file mode 100644 index e463ff66f93b..000000000000 --- a/dev-python/terminaltables/files/terminaltables-3.1.0-stdout.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 9cb9d0ef11fac861e46776fb18cef309df28c234 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Thu, 30 Jul 2020 07:59:05 +0200 -Subject: [PATCH] Fix writing binary data to sys.stdout - ---- - terminaltables/terminal_io.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/terminaltables/terminal_io.py b/terminaltables/terminal_io.py -index 8b8c10d..310263c 100644 ---- a/terminaltables/terminal_io.py -+++ b/terminaltables/terminal_io.py -@@ -94,5 +94,5 @@ def set_terminal_title(title, kernel32=None): - return kernel32.SetConsoleTitleW(title) != 0 - - # Linux/OSX. -- sys.stdout.write(b'\033]0;' + title_bytes + b'\007') -+ sys.stdout.buffer.write(b'\033]0;' + title_bytes + b'\007') - return True --- -2.28.0 - diff --git a/dev-python/terminaltables/metadata.xml b/dev-python/terminaltables/metadata.xml deleted file mode 100644 index a0d4c5913ba0..000000000000 --- a/dev-python/terminaltables/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>python@gentoo.org</email> - </maintainer> - - <origin>gentoo-staging</origin> - <stabilize-allarches/> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/terminaltables/terminaltables-3.1.10-r1.ebuild b/dev-python/terminaltables/terminaltables-3.1.10-r1.ebuild deleted file mode 100644 index 41627cdea8ee..000000000000 --- a/dev-python/terminaltables/terminaltables-3.1.10-r1.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 - -DESCRIPTION="Generate simple tables in terminals from a nested list of strings" -HOMEPAGE=" - https://robpol86.github.io/terminaltables/ - https://github.com/matthewdeanmartin/terminaltables/ - https://pypi.org/project/terminaltables/ -" -SRC_URI=" - https://github.com/matthewdeanmartin/terminaltables/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" - -BDEPEND=" - test? ( - dev-python/colorama[${PYTHON_USEDEP}] - dev-python/colorclass[${PYTHON_USEDEP}] - dev-python/termcolor[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}"/terminaltables-3.1.0-stdout.patch -) - -src_prepare() { - sed -e '/requires/s:poetry:&-core:' \ - -e '/backend/s:poetry:&.core:' \ - -i pyproject.toml || die - - distutils-r1_src_prepare -} - -python_test() { - # We override FORCE_COLOR otherwise termcolor - # would pick it up from env. and give unexpected - # output for tests. - FORCE_COLOR=1 epytest -} diff --git a/dev-python/terminaltables/terminaltables-9999.ebuild b/dev-python/terminaltables/terminaltables-9999.ebuild deleted file mode 100644 index bb526bf6a4f2..000000000000 --- a/dev-python/terminaltables/terminaltables-9999.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 git-r3 - -DESCRIPTION="Generate simple tables in terminals from a nested list of strings" -HOMEPAGE="https://robpol86.github.io/terminaltables/" -EGIT_REPO_URI="https://github.com/matthewdeanmartin/${PN}.git" - -LICENSE="MIT" -SLOT="0" - -BDEPEND=" - test? ( - dev-python/colorama[${PYTHON_USEDEP}] - dev-python/colorclass[${PYTHON_USEDEP}] - dev-python/termcolor[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -src_prepare() { - sed -e '/requires/s:poetry:&-core:' \ - -e '/backend/s:poetry:&.core:' \ - -i pyproject.toml || die - - distutils-r1_src_prepare -} - -python_test() { - # We override FORCE_COLOR otherwise termcolor - # would pick it up from env. and give unexpected - # output for tests. - FORCE_COLOR=1 epytest -} diff --git a/dev-python/uv/Manifest b/dev-python/uv/Manifest index 6c5b73d87f93..a69372f8277e 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -13,3 +13,5 @@ DIST uv-0.5.29-crates.tar.xz 47545324 BLAKE2B 880a4c51619031cabd6e375373e5a1a99f DIST uv-0.5.29.gh.tar.gz 3375616 BLAKE2B bce1af0353271f8c0ecf073286ed26303953920f68fdb3e24aa7f03926dbc0a9165e93ee2b92bc554ce5eeca3c2d40413e3eee5c83c85dc85da7f737a9af5cb3 SHA512 ebcc2f4d25e800fdd864b1aa64ed0c2f7e5ab2f9e4a80e43f7ecc27d4a0fedac1062644bd954e15b39055d562ec2366c089a934fd65bb103cb50e2b5414a6d97 DIST uv-0.6.0-crates.tar.xz 54110108 BLAKE2B a294d565c6c807a1267f69acdea0a6b5bc578b9efc13ce8aea368ad8befcaad72820415c1fe1cd97162762a903492a69d3305bc5727e6eb4787056ad36b79b86 SHA512 3c646ff690c6dcb0f61f9def400b4d02b8d12aef21726d28d8cffa068637d9f5d57da475ad2bfc958cb3379e925ef09a15d9e2bd037ec1f47dcb242f4c508c5e DIST uv-0.6.0.gh.tar.gz 3531818 BLAKE2B 14e162edffc74de92b7540f413fc2c09488bed88628a6e06d18a75f22f6fcbd57042199490923c1af3f01953ede974dd449936ae63d0279fb79f7b8dc7a57903 SHA512 cf658f39e4b51d8bc12e59c8f81983fdd50ef226eb9d81403d2ad74bbf1510f6c75fcd88300a30beace26e18fb32d334361a93c3086f0a58391db192ff38608a +DIST uv-0.6.2-crates.tar.xz 54121752 BLAKE2B b1ace1c08ae63fa662d73675eb30818b63d653e4eec3e358edd9346f4e1ee284fc43fa6a18342390f3e0a4bdd4202f99591938b8aa5f604453db51e0f699f241 SHA512 8347bccbf2ea7540388a4dd35b419662213bd0be2ddb2dfd9923be2ce31b79640f18e779938c8470a7c5d4c5f94c82a66813d3b5067f9e596d41ef916f0e83e7 +DIST uv-0.6.2.gh.tar.gz 3720975 BLAKE2B 04e3e9d6cc3a808f5323e7e72584c74078ee74d8636533a42e0027e2abcf98fc73fb2fb8f94dd855773bf046d381a8d928dc3fb3688bcff25df1c848bc3a1496 SHA512 ac193c0de1cd6ae48fd40e05a1c47999bc2cee9ac553d69fe676a78e970e2763c2e9a6f3a84b123701db143534d8597ef4445e255ca74788fef88332e51f092e diff --git a/dev-python/uv/uv-0.6.2.ebuild b/dev-python/uv/uv-0.6.2.ebuild new file mode 100644 index 000000000000..90421d834a5a --- /dev/null +++ b/dev-python/uv/uv-0.6.2.ebuild @@ -0,0 +1,170 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +" + +declare -A GIT_CRATES=( + [async_zip]='https://github.com/charliermarsh/rs-async-zip;c909fda63fcafe4af496a07bfda28a5aae97e58d;rs-async-zip-%commit%' + [pubgrub]='https://github.com/astral-sh/pubgrub;b70cf707aa43f21b32f3a61b8a0889b15032d5c4;pubgrub-%commit%' + [tl]='https://github.com/astral-sh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%' + [version-ranges]='https://github.com/astral-sh/pubgrub;b70cf707aa43f21b32f3a61b8a0889b15032d5c4;pubgrub-%commit%/version-ranges' +) + +RUST_MIN_VER="1.83.0" + +inherit cargo check-reqs + +CRATE_PV=0.6.2 +DESCRIPTION="A Python package installer and resolver, written in Rust" +HOMEPAGE=" + https://github.com/astral-sh/uv/ + https://pypi.org/project/uv/ +" +# pypi sdist misses scripts/, needed for tests +SRC_URI=" + https://github.com/astral-sh/uv/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" +if [[ ${PKGBUMPING} != ${PVR} ]]; then + SRC_URI+=" + https://github.com/gentoo-crate-dist/uv/releases/download/${CRATE_PV}/uv-${CRATE_PV}-crates.tar.xz + " +fi + +# most of the code +LICENSE="|| ( Apache-2.0 MIT )" +# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below +# Dependent crate licenses +LICENSE+=" + 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC MIT + MPL-2.0 Unicode-3.0 Unicode-DFS-2016 ZLIB +" +# ring crate +LICENSE+=" openssl" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="test" +PROPERTIES="test_network" + +DEPEND=" + app-arch/bzip2:= + app-arch/xz-utils:= + app-arch/zstd:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + test? ( + dev-lang/python:3.8 + dev-lang/python:3.9 + dev-lang/python:3.10 + dev-lang/python:3.11 + dev-lang/python:3.12 + !!~dev-python/uv-0.5.0 + ) +" + +QA_FLAGS_IGNORED="usr/bin/.*" + +check_space() { + local CHECKREQS_DISK_BUILD=3G + use debug && CHECKREQS_DISK_BUILD=9G + check-reqs_pkg_setup +} + +pkg_pretend() { + check_space +} + +pkg_setup() { + check_space + rust_pkg_setup +} + +src_prepare() { + default + + # enable system libraries where supported + export ZSTD_SYS_USE_PKG_CONFIG=1 + # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? + + # remove unbundled sources, just in case + find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die + + # bzip2-sys requires a pkg-config file + # https://github.com/alexcrichton/bzip2-rs/issues/104 + mkdir "${T}/pkg-config" || die + export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} + cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die + Name: bzip2 + Version: 9999 + Description: + Libs: -lbz2 + EOF +} + +src_configure() { + local myfeatures=( + git + pypi + python + ) + + cargo_src_configure --no-default-features +} + +src_compile() { + cd crates/uv || die + cargo_src_compile +} + +src_test() { + # work around https://github.com/astral-sh/uv/issues/4376 + local -x PATH=${BROOT}/usr/lib/python-exec/python3.12:${PATH} + local -x COLUMNS=100 + local -x PYTHONDONTWRITEBYTECODE= + # fix tests failing because of our config + local -x XDG_CONFIG_DIRS=${T} + + cd crates/uv || die + cargo_src_test --no-fail-fast +} + +src_install() { + cd crates/uv || die + cargo_src_install + + insinto /etc/xdg/uv + newins - uv.toml <<-EOF || die + # These defaults match Fedora, see: + # https://src.fedoraproject.org/rpms/uv/pull-request/18 + + # By default ("automatic"), uv downloads missing Python versions + # automatically and keeps them in the user's home directory. + # Disable that to make downloading opt-in, and especially + # to avoid unnecessarily fetching custom Python when the distro + # package would be preferable. Python builds can still be + # downloaded manually via "uv python install". + # + # https://docs.astral.sh/uv/reference/settings/#python-downloads + python-downloads = "manual" + + # By default ("managed"), uv always prefers self-installed + # Python versions over the system Python, independently + # of versions. Since we generally expect users to use that + # to install old Python versions not in ::gentoo anymore, + # this effectively means that uv would end up preferring very + # old Python versions over the newer ones that are provided + # by the system. Default to using the system versions to avoid + # this counter-intuitive behavior. + # + # https://docs.astral.sh/uv/reference/settings/#python-preference + python-preference = "system" + EOF +} |
