diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-08-21 06:25:12 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-08-21 06:25:12 +0000 |
| commit | d246e137e3f7c313a4146c5928c9d545cdff5508 (patch) | |
| tree | e742bc9b5054fdf14f03a399f3b48a2e792ce9eb /dev-python | |
| parent | 7a39f3319f5a07a23ca4ab943c40ddc85b986982 (diff) | |
| download | baldeagleos-repo-d246e137e3f7c313a4146c5928c9d545cdff5508.tar.gz baldeagleos-repo-d246e137e3f7c313a4146c5928c9d545cdff5508.tar.xz baldeagleos-repo-d246e137e3f7c313a4146c5928c9d545cdff5508.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
76 files changed, 547 insertions, 735 deletions
diff --git a/dev-python/automat/automat-22.10.0.ebuild b/dev-python/automat/automat-22.10.0.ebuild index d916812efd72..8a451f1d51fc 100644 --- a/dev-python/automat/automat-22.10.0.ebuild +++ b/dev-python/automat/automat-22.10.0.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" IUSE="examples" RDEPEND=" diff --git a/dev-python/black/black-23.7.0.ebuild b/dev-python/black/black-23.7.0.ebuild index e8dd6482bc76..0f668fc6a2b6 100644 --- a/dev-python/black/black-23.7.0.ebuild +++ b/dev-python/black/black-23.7.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" RDEPEND=" >=dev-python/click-8.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/cattrs/cattrs-23.1.2.ebuild b/dev-python/cattrs/cattrs-23.1.2.ebuild index 1472b6555422..abe58e440b99 100644 --- a/dev-python/cattrs/cattrs-23.1.2.ebuild +++ b/dev-python/cattrs/cattrs-23.1.2.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" IUSE="test-rust" RDEPEND=" diff --git a/dev-python/cbor2/cbor2-5.4.6.ebuild b/dev-python/cbor2/cbor2-5.4.6.ebuild index 23cbebe7fad0..beba1fa47286 100644 --- a/dev-python/cbor2/cbor2-5.4.6.ebuild +++ b/dev-python/cbor2/cbor2-5.4.6.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 arm arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" BDEPEND=" >=dev-python/setuptools-61[${PYTHON_USEDEP}] diff --git a/dev-python/cleo/cleo-2.0.1-r1.ebuild b/dev-python/cleo/cleo-2.0.1-r1.ebuild index b8fc0d0bf8ec..4141188832eb 100644 --- a/dev-python/cleo/cleo-2.0.1-r1.ebuild +++ b/dev-python/cleo/cleo-2.0.1-r1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" dev-python/crashtest[${PYTHON_USEDEP}] diff --git a/dev-python/click-help-colors/Manifest b/dev-python/click-help-colors/Manifest index 8baf04840f9d..a03279190e21 100644 --- a/dev-python/click-help-colors/Manifest +++ b/dev-python/click-help-colors/Manifest @@ -1 +1,2 @@ DIST click-help-colors-0.9.1.gh.tar.gz 101042 BLAKE2B 0f40d6d15f8e0a4647212f57e071c49b66bcd2b3d7ef582bd7d8a14135e50028f3ceb07987b5b74a868d998c12886a711f40e1d85b541566c63dca39e43a907d SHA512 ac4ce56ab249f7b98f670a6624700109f20a7c666e006b891d5c9fd4977512a0c94d82f6b43915952179abc946899f85fa1d358cd3d59508ef341ba22d8fc745 +DIST click-help-colors-0.9.2.gh.tar.gz 130204 BLAKE2B ac8f4b0369f5a1d71115e92d84b6b2229f955c74d2ca443aa98319316d5a6d944d29ce4979fc2d8cd03dd5916c4ab6b0870172f2982a83df6d510e51b779ef60 SHA512 1092b256339faf7399274c7cd525895f53e57f31e5d0d4a7068e0fa29e7757d14881a2fd980c501a7277a25ece760623fa4c967c60302359c880899c8a01652f diff --git a/dev-python/click-help-colors/click-help-colors-0.9.2.ebuild b/dev-python/click-help-colors/click-help-colors-0.9.2.ebuild new file mode 100644 index 000000000000..cf1f7a20e116 --- /dev/null +++ b/dev-python/click-help-colors/click-help-colors-0.9.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Colorization of help messages in Click" +HOMEPAGE=" + https://github.com/click-contrib/click-help-colors/ + https://pypi.org/project/click-help-colors/ +" +SRC_URI=" + https://github.com/click-contrib/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv" +IUSE="examples" + +RDEPEND=" + dev-python/click[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_install_all() { + use examples && dodoc -r examples + distutils-r1_python_install_all +} diff --git a/dev-python/crashtest/crashtest-0.4.1.ebuild b/dev-python/crashtest/crashtest-0.4.1.ebuild index 24882024a050..c2c81b824cf0 100644 --- a/dev-python/crashtest/crashtest-0.4.1.ebuild +++ b/dev-python/crashtest/crashtest-0.4.1.ebuild @@ -20,6 +20,6 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" distutils_enable_tests pytest diff --git a/dev-python/cython/cython-0.29.36.ebuild b/dev-python/cython/cython-0.29.36.ebuild index 229354488f55..ad27a0baae7c 100644 --- a/dev-python/cython/cython-0.29.36.ebuild +++ b/dev-python/cython/cython-0.29.36.ebuild @@ -25,7 +25,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="emacs test" RESTRICT="!test? ( test )" diff --git a/dev-python/cython/cython-3.0.0-r1.ebuild b/dev-python/cython/cython-3.0.0-r1.ebuild index da47f7932894..75e1d42f7574 100644 --- a/dev-python/cython/cython-3.0.0-r1.ebuild +++ b/dev-python/cython/cython-3.0.0-r1.ebuild @@ -26,7 +26,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/decorator/decorator-5.1.1-r1.ebuild b/dev-python/decorator/decorator-5.1.1-r1.ebuild index d36f81e203ce..c434c2e63d0d 100644 --- a/dev-python/decorator/decorator-5.1.1-r1.ebuild +++ b/dev-python/decorator/decorator-5.1.1-r1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" DOCS=( CHANGES.md ) diff --git a/dev-python/django-timezone-field/Manifest b/dev-python/django-timezone-field/Manifest index 34b808c3644b..d3735679cf38 100644 --- a/dev-python/django-timezone-field/Manifest +++ b/dev-python/django-timezone-field/Manifest @@ -1 +1,2 @@ DIST django-timezone-field-5.1.gh.tar.gz 37449 BLAKE2B 9676bd686f7a1bfb2d7e5ee53db5ca3818a9bc20c4c759c09c6d602bcb1937098c40b9c07b3db1d7ca8af2f8882d6aaa333f325e422725e3ea7303fc60e9b59c SHA512 518e16b092af00edae9b2488fd4e9380a661864e9f2d2d3ed8ffc6d9188831d4a7b79ed81d553bc41089ac8cb6fab760339af668ce7c2c0218d991b77306c50f +DIST django-timezone-field-6.0.gh.tar.gz 35628 BLAKE2B 3df5b07f4dc2d16ba71b0eacac90dd173f559322b14dba5ac62f5e336ccaeae3538b4464ad708ebadef92d317b1bc7ef859cde3a8005c9e4c31a2af3cd1d6e69 SHA512 efa15bf819e9a9fd35b4c373883f12aedd262c5223561bd3158acc3ebb9e4d72821153b5a48d544eebfe65342f8d33ce07b0b37bd847b1ec8d83d345e022c17c diff --git a/dev-python/django-timezone-field/django-timezone-field-6.0.ebuild b/dev-python/django-timezone-field/django-timezone-field-6.0.ebuild new file mode 100644 index 000000000000..10b135a9bd2c --- /dev/null +++ b/dev-python/django-timezone-field/django-timezone-field-6.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="A Django app providing database and form fields for timezone objects" +HOMEPAGE=" + https://github.com/mfogel/django-timezone-field/ + https://pypi.org/project/django-timezone-field/ +" +SRC_URI=" + https://github.com/mfogel/django-timezone-field/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + <dev-python/django-5[${PYTHON_USEDEP}] + >=dev-python/django-2.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/djangorestframework[${PYTHON_USEDEP}] + dev-python/pytest-django[${PYTHON_USEDEP}] + dev-python/pytest-lazy-fixture[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x DB_ENGINE=sqlite + epytest +} diff --git a/dev-python/elastic-transport/elastic-transport-8.4.0.ebuild b/dev-python/elastic-transport/elastic-transport-8.4.0.ebuild index 75a4d3e11c17..61a20941d516 100644 --- a/dev-python/elastic-transport/elastic-transport-8.4.0.ebuild +++ b/dev-python/elastic-transport/elastic-transport-8.4.0.ebuild @@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}-python-${PV}" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 x86" +KEYWORDS="amd64 ~arm64 x86" PROPERTIES="test_network" RESTRICT="test" diff --git a/dev-python/elasticsearch/elasticsearch-8.8.2.ebuild b/dev-python/elasticsearch/elasticsearch-8.8.2.ebuild index 73565efb5ce7..66529dfdee51 100644 --- a/dev-python/elasticsearch/elasticsearch-8.8.2.ebuild +++ b/dev-python/elasticsearch/elasticsearch-8.8.2.ebuild @@ -20,7 +20,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="Apache-2.0" SLOT="0/$(ver_cut 1)" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 ~arm64 ~x86" RESTRICT="!test? ( test )" diff --git a/dev-python/fonttools/Manifest b/dev-python/fonttools/Manifest index 79c89ddac3d9..1258ab443a59 100644 --- a/dev-python/fonttools/Manifest +++ b/dev-python/fonttools/Manifest @@ -1 +1,2 @@ DIST fonttools-4.42.0.gh.tar.gz 3764057 BLAKE2B ef6340a58d1b8dc0fa87a6514792da76c63ee39fa7c0f420e637bb008ae4d6078722b695625bbba72481bfb47f239cd734288b6f5f89d57fcb1acca1e732f460 SHA512 c5b6963d420dd8bf2bae776880bf23c9e91aeb04f62fb3231cfb0af00008b82a19814138311c2b06cc8df1dbb83c0cd1fc1312a540918a3727407cee81d19116 +DIST fonttools-4.42.1.gh.tar.gz 3767442 BLAKE2B 902eb47cfea3c113cab7e6ccf9a0b768782bd7243690cafdde9c6c76f057bc425fd17b0c1e62a43b0c40c2c26969ead1fc9e842a8dca74f063a29c3333f9250f SHA512 0bf48873c3fb8389851de44425f7b949b1de4ae7d2f46b5041225890ce3b853351f69b0d22cb647090568947b4f09ccd4450d022fd918d92ddd0dd9325397100 diff --git a/dev-python/fonttools/fonttools-4.42.1.ebuild b/dev-python/fonttools/fonttools-4.42.1.ebuild new file mode 100644 index 000000000000..7c40e3d1b217 --- /dev/null +++ b/dev-python/fonttools/fonttools-4.42.1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2023 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_{8,9,10,11} ) +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 ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +RDEPEND=" + >=dev-python/fs-2.4.9[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + app-arch/brotli[python,${PYTHON_USEDEP}] + app-arch/zopfli + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # When dev-python/pytest-shutil is installed, we get weird import errors. + # This is due to incomplete nesting in the Tests/ tree: + # + # Tests/feaLib/__init__.py + # Tests/ufoLib/__init__.py + # Tests/svgLib/path/__init__.py + # Tests/otlLib/__init__.py + # Tests/varLib/__init__.py + # + # This tree requires an __init__.py in Tests/svgLib/ too, bug #701148. + touch Tests/svgLib/__init__.py || die + + distutils-r1_python_prepare_all +} + +src_configure() { + export FONTTOOLS_WITH_CYTHON=1 +} + +src_test() { + # virtualx used when matplotlib is installed causing plot module tests to run + virtx distutils-r1_src_test +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest Tests fontTools || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/hiredis/hiredis-2.3.0.ebuild b/dev-python/hiredis/hiredis-2.3.0.ebuild index fe406a142de1..9600bcc9ecba 100644 --- a/dev-python/hiredis/hiredis-2.3.0.ebuild +++ b/dev-python/hiredis/hiredis-2.3.0.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" +KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" DEPEND=" >=dev-libs/hiredis-1.0.0:= diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index d83e4f69e42f..f20a67440137 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -2,3 +2,4 @@ DIST hypothesis-6.81.2.gh.tar.gz 9378154 BLAKE2B d4654e8de621af93fa6ab013bf45ea1 DIST hypothesis-6.82.3.gh.tar.gz 9378981 BLAKE2B bb73131f9982e8df71e24a5f329a2f34b7e895ffa231d55724f84a3d692608e59a4494a820ea5ee449db4c40f2521548b2dece2f1bcfa9fbd4f0ddbc4dbb9756 SHA512 02b649116630dc6be3cbd659a00c9c55d68c85a9cbf029558fc1c065909a1cadd2fb120615fa3bf7fe4a11f51d26d264cf6730ac4d3165798668d38e62c5d955 DIST hypothesis-6.82.4.gh.tar.gz 9379010 BLAKE2B 0da8b3ff53f6f2019019ade9a8b42ef62eb90993ca1835b89938d0a36387958e4b32bc6c7ac6345f465682c5fd4d549befa30d083d81fa4af611d16c3df07007 SHA512 22d186203b23409e315bf7341bd51e084785c833318cb32a88c81123cdefb1ae757c89bb025209d36adf720e2a407fe28fabf1d3fb2ae0d2e4363cf69adfe72e DIST hypothesis-6.82.5.gh.tar.gz 9378852 BLAKE2B b40cd8cce2c84f535be7f73e91b354fe2688f3bfb8d70f9765de437b8547a77a720ade4263a067e61ee9204ab998cd798917795ea4e7e47c07b897d8bc932434 SHA512 2934c05cb387aff8151a13b03c5a04b07aa54d82a6a41c7e33a2b823f4bb17c534ebaf36672a76392dba7b109ccaf4d808fe7005146ef76f30a1b66e0b7a76c1 +DIST hypothesis-6.82.6.gh.tar.gz 9379121 BLAKE2B f6f6803e07fa10663f9f3ad60915f179acc14dee57f373e36772bb60bf74dcdf1ea20bb251f67394fadeca47cddc33fc8b8950fddd1def1a84c97616d9888331 SHA512 507656462a88a436a1b250cd348770f8e3f359cd9988ea9c97dd98e6f82bf05a827b6cff394da6b7102ddf31b17443d25df31ee2efaf814f08a174617d3e59c0 diff --git a/dev-python/hypothesis/hypothesis-6.82.6.ebuild b/dev-python/hypothesis/hypothesis-6.82.6.ebuild new file mode 100644 index 000000000000..19caaada81bf --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.82.6.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 multiprocessing optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + ' 3.9 3.10) + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !!<dev-python/requests-toolbelt-0.10.1 + ) +" + +distutils_enable_tests pytest + +python_test() { + # subtests are broken by warnings from random plugins + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin + local -x HYPOTHESIS_NO_PLUGINS=1 + + # NB: paths need to be relative to pytest.ini, + # i.e. start with hypothesis-python/ + local EPYTEST_DESELECT=() + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # failing due to warnings from numpy/cython + hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture + ) + ;; + esac + + epytest -o filterwarnings= -n "$(makeopts_jobs)" \ + tests/cover tests/pytest tests/quality +} + +python_install() { + distutils-r1_python_install + if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then + rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die + fi +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/jaraco-env/jaraco-env-1.0.0.ebuild b/dev-python/jaraco-env/jaraco-env-1.0.0.ebuild index 986a2a148342..a3e75a9263fe 100644 --- a/dev-python/jaraco-env/jaraco-env-1.0.0.ebuild +++ b/dev-python/jaraco-env/jaraco-env-1.0.0.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 ~sparc x86" BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] diff --git a/dev-python/mapbox-vector-tile/mapbox-vector-tile-2.0.1.ebuild b/dev-python/mapbox-vector-tile/mapbox-vector-tile-2.0.1.ebuild index 2249577947f6..6aa426923509 100644 --- a/dev-python/mapbox-vector-tile/mapbox-vector-tile-2.0.1.ebuild +++ b/dev-python/mapbox-vector-tile/mapbox-vector-tile-2.0.1.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/tilezen/mapbox-vector-tile/archive/refs/tags/v${PV}. LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 ~arm64 ~x86" RDEPEND=" dev-python/protobuf-python[${PYTHON_USEDEP}] diff --git a/dev-python/matplotlib/matplotlib-3.7.2.ebuild b/dev-python/matplotlib/matplotlib-3.7.2.ebuild index ea73315a9691..5bc4374d21fe 100644 --- a/dev-python/matplotlib/matplotlib-3.7.2.ebuild +++ b/dev-python/matplotlib/matplotlib-3.7.2.ebuild @@ -30,7 +30,7 @@ SRC_URI+=" # Fonts: BitstreamVera, OFL-1.1 LICENSE="BitstreamVera BSD matplotlib MIT OFL-1.1" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" IUSE="cairo doc excel examples gtk3 latex qt5 tk webagg wxwidgets" # internal copy of pycxx highly patched diff --git a/dev-python/meson-python/Manifest b/dev-python/meson-python/Manifest index 589e9f7fd4b2..120dbde79529 100644 --- a/dev-python/meson-python/Manifest +++ b/dev-python/meson-python/Manifest @@ -1,2 +1 @@ -DIST meson-python-0.13.1.gh.tar.gz 69434 BLAKE2B c3442eb1c066772b80efe4e41764897df85a3581c94f9d958951af04e9ad7a01c646c7ed7f0104fbe957567e16b80c6e3744ab23b6b66a8df3cc920cb68c852f SHA512 037825eabcaec5bdb73890114ecfcfb05373bcb5e2806a8d38e4afeeecea42aa14f9c8cf0bec151bd231e2984c64608b28a1ec79640485933cd57c8895b6a305 DIST meson-python-0.13.2.gh.tar.gz 69575 BLAKE2B ddcab5530e7c235057752f1c355052120863167fc601b669e3add713079400cf95617be84989e06542125850559124d70a693a618cbec456c0e59e3f80d14c5f SHA512 b5518c5e9ccbec40747f2c08a83134f012557e0d9612b99999473d2ae7fdfdeae5b7552dc16cebb493133c3ed8c52153b3e3afd3cef32d0f3a65771ebbb5b3bb diff --git a/dev-python/meson-python/meson-python-0.13.1.ebuild b/dev-python/meson-python/meson-python-0.13.1.ebuild deleted file mode 100644 index 5b85778b76a3..000000000000 --- a/dev-python/meson-python/meson-python-0.13.1.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Meson PEP 517 Python build backend" -HOMEPAGE=" - https://pypi.org/project/meson-python/ - https://github.com/mesonbuild/meson-python/ -" -SRC_URI=" - https://github.com/mesonbuild/meson-python/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" - -RDEPEND=" - >=dev-python/pyproject-metadata-0.7.1[${PYTHON_USEDEP}] - >=dev-util/meson-0.63.0[${PYTHON_USEDEP}] - dev-util/patchelf - $(python_gen_cond_dep ' - >=dev-python/tomli-1.0.0[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - >=dev-python/cython-0.29.34[${PYTHON_USEDEP}] - test? ( - dev-python/pytest-mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # requires network access - tests/test_pep518.py::test_pep518 - # requires git repo - # https://github.com/mesonbuild/meson-python/issues/397 - tests/test_project.py::test_user_args - ) - unset NINJA - - if [[ ${EPYTHON} == pypy3 ]]; then - EPYTEST_DESELECT+=( - # broken venv usage that copies pypy3 executable, making it - # unable to find lib_pypy - tests/test_editable.py::test_editable_install - tests/test_editable.py::test_editble_reentrant - tests/test_examples.py::test_spam - tests/test_wheel.py::test_local_lib - ) - fi - - epytest - - rm -rf docs/examples/spam/build/ || die # remove artifacts -} diff --git a/dev-python/meson-python/meson-python-0.13.2-r1.ebuild b/dev-python/meson-python/meson-python-0.13.2-r1.ebuild index fb3329eea3dd..d3f674b8ac04 100644 --- a/dev-python/meson-python/meson-python-0.13.2-r1.ebuild +++ b/dev-python/meson-python/meson-python-0.13.2-r1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" RDEPEND=" >=dev-python/pyproject-metadata-0.7.1[${PYTHON_USEDEP}] diff --git a/dev-python/moto/moto-4.1.14.ebuild b/dev-python/moto/moto-4.1.14.ebuild index c8a9e3220a53..2ae0c2e88d4b 100644 --- a/dev-python/moto/moto-4.1.14.ebuild +++ b/dev-python/moto/moto-4.1.14.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86" RDEPEND=" >=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}] diff --git a/dev-python/omemo-dr/omemo-dr-1.0.0.ebuild b/dev-python/omemo-dr/omemo-dr-1.0.0.ebuild index 658a95005315..0d86b3945603 100644 --- a/dev-python/omemo-dr/omemo-dr-1.0.0.ebuild +++ b/dev-python/omemo-dr/omemo-dr-1.0.0.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" RDEPEND=" dev-python/cryptography[${PYTHON_USEDEP}] diff --git a/dev-python/path/path-16.7.1.ebuild b/dev-python/path/path-16.7.1.ebuild index 56bcb5581cc4..936ef4cd4e50 100644 --- a/dev-python/path/path-16.7.1.ebuild +++ b/dev-python/path/path-16.7.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" SLOT="0" LICENSE="MIT" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" RDEPEND=" dev-python/appdirs[${PYTHON_USEDEP}] diff --git a/dev-python/pendulum/pendulum-2.1.2-r2.ebuild b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild index 64052ba9042b..021de8078149 100644 --- a/dev-python/pendulum/pendulum-2.1.2-r2.ebuild +++ b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" DEPEND=" dev-python/python-dateutil[${PYTHON_USEDEP}] diff --git a/dev-python/pexpect/pexpect-4.8.0_p20230402.ebuild b/dev-python/pexpect/pexpect-4.8.0_p20230402.ebuild index 06096dd953bd..b169d2a52a42 100644 --- a/dev-python/pexpect/pexpect-4.8.0_p20230402.ebuild +++ b/dev-python/pexpect/pexpect-4.8.0_p20230402.ebuild @@ -25,7 +25,7 @@ S="${WORKDIR}/${PN}-${COMMIT}" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos" IUSE="examples" RDEPEND=" diff --git a/dev-python/pillow/Manifest b/dev-python/pillow/Manifest index 6c66afbcbcad..e669484a701e 100644 --- a/dev-python/pillow/Manifest +++ b/dev-python/pillow/Manifest @@ -1,2 +1 @@ DIST pillow-10.0.0.gh.tar.gz 50537667 BLAKE2B f0ce48e947363c16c0bb08881b42dcf845a142fe7d2162154f5ddce47bf909fc4c829dcb4365ee363680a41c247cea28eef37c879d22959ef69c9dc5adce91f4 SHA512 a963ae8398c609569e1b23d2362f6382cd888698492ba2349f9c931a04c463fbdc27a43e53d1dee8bbb1b5e88c0d5eb655f6f5e9df7d489c206b6acda0adec3a -DIST pillow-9.5.0.gh.tar.gz 50491974 BLAKE2B 663c14b89ddd1e2d49872994033a04e500d0b6eccbb8d6ce094f58ae1aaf3f215e9984f2afeb43fb83e0c3c93af1150beeb7d5f0abb77c59087901b53fd24e37 SHA512 da0c7a1bde4741ced168c013fdc7afa8af1100bba878bdaeeb9804fed4dcf70c07ed62004ab2c73694eae3d28e2d72d46c155f78b540075aafb36c8e7a5649ff diff --git a/dev-python/pillow/pillow-10.0.0.ebuild b/dev-python/pillow/pillow-10.0.0.ebuild index 805e09b6a444..7d07361fce75 100644 --- a/dev-python/pillow/pillow-10.0.0.ebuild +++ b/dev-python/pillow/pillow-10.0.0.ebuild @@ -28,7 +28,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="HPND" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" IUSE="examples imagequant +jpeg jpeg2k lcms test tiff tk truetype webp xcb zlib" REQUIRED_USE="test? ( jpeg jpeg2k lcms tiff truetype )" RESTRICT="!test? ( test )" diff --git a/dev-python/pillow/pillow-9.5.0.ebuild b/dev-python/pillow/pillow-9.5.0.ebuild deleted file mode 100644 index 814f3b67e2b6..000000000000 --- a/dev-python/pillow/pillow-9.5.0.ebuild +++ /dev/null @@ -1,131 +0,0 @@ -# Copyright 1999-2023 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_{8,9,10,11} pypy3 ) -PYTHON_REQ_USE='tk?,threads(+)' - -inherit distutils-r1 toolchain-funcs virtualx - -MY_PN=Pillow -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Python Imaging Library (fork)" -HOMEPAGE=" - https://python-pillow.org/ - https://github.com/python-pillow/ - https://pypi.org/project/Pillow/ -" -SRC_URI=" - https://github.com/python-pillow/Pillow/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}" - -LICENSE="HPND" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" -IUSE="examples imagequant +jpeg jpeg2k lcms test tiff tk truetype webp xcb zlib" -REQUIRED_USE="test? ( jpeg jpeg2k lcms tiff truetype )" -RESTRICT="!test? ( test )" - -DEPEND=" - imagequant? ( media-gfx/libimagequant:= ) - jpeg? ( media-libs/libjpeg-turbo:= ) - jpeg2k? ( media-libs/openjpeg:2= ) - lcms? ( media-libs/lcms:2= ) - tiff? ( media-libs/tiff:=[jpeg,zlib] ) - truetype? ( media-libs/freetype:2= ) - webp? ( media-libs/libwebp:= ) - xcb? ( x11-libs/libxcb ) - zlib? ( sys-libs/zlib:= ) -" -RDEPEND=" - ${DEPEND} - dev-python/olefile[${PYTHON_USEDEP}] -" -BDEPEND=" - virtual/pkgconfig - test? ( - ${RDEPEND} - dev-python/defusedxml[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - || ( - media-gfx/imagemagick[png] - media-gfx/graphicsmagick[png] - ) - ) -" - -EPYTEST_DESELECT=( - # TODO; incompatible Qt version? - Tests/test_qt_image_qapplication.py::test_sanity -) - -usepil() { - usex "${1}" enable disable -} - -python_configure_all() { - # It's important that these flags are also passed during the install phase - # as well. Make sure of that if you change the lines below. See bug 661308. - cat >> setup.cfg <<-EOF || die - [build_ext] - disable_platform_guessing = True - $(usepil truetype)_freetype = True - $(usepil jpeg)_jpeg = True - $(usepil jpeg2k)_jpeg2000 = True - $(usepil lcms)_lcms = True - $(usepil tiff)_tiff = True - $(usepil imagequant)_imagequant = True - $(usepil webp)_webp = True - $(usepil webp)_webpmux = True - $(usepil xcb)_xcb = True - $(usepil zlib)_zlib = True - EOF - - # setup.py won't let us add the right toolchain paths but it does - # accept additional ones from INCLUDE and LIB so set these. You - # wouldn't normally need these at all as the toolchain should look - # here anyway but it doesn't for this setup.py. - export \ - INCLUDE="${ESYSROOT}"/usr/include \ - LIB="${ESYSROOT}"/usr/$(get_libdir) - - # We have patched in this env var. - tc-export PKG_CONFIG -} - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - local EPYTEST_DESELECT=( - # TODO (is clipboard unreliable in Xvfb?) - Tests/test_imagegrab.py::TestImageGrab::test_grabclipboard - ) - - "${EPYTHON}" selftest.py --installed || die "selftest failed with ${EPYTHON}" - # no:relaxed: pytest-relaxed plugin make our tests fail. deactivate if installed - epytest -p no:relaxed || die "Tests failed with ${EPYTHON}" -} - -python_install() { - python_doheader src/libImaging/*.h - distutils-r1_python_install -} - -python_install_all() { - if use examples ; then - docinto example - dodoc docs/example/* - docompress -x /usr/share/doc/${PF}/example - fi - distutils-r1_python_install_all -} diff --git a/dev-python/pip-run/pip-run-12.1.0.ebuild b/dev-python/pip-run/pip-run-12.1.0.ebuild index 840376358860..b2ff1f9d6f0c 100644 --- a/dev-python/pip-run/pip-run-12.1.0.ebuild +++ b/dev-python/pip-run/pip-run-12.1.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" dev-python/autocommand[${PYTHON_USEDEP}] diff --git a/dev-python/poetry/Manifest b/dev-python/poetry/Manifest index 7fe951512e55..beb89ca51a28 100644 --- a/dev-python/poetry/Manifest +++ b/dev-python/poetry/Manifest @@ -1 +1,2 @@ DIST poetry-1.5.1.tar.gz 1469755 BLAKE2B ac60d6aabe69b1e46a6fbc188579034e716a470384571a611952489d175485cf997636c9206a53e29be073582e672f8010ab5f8f13b58a12dc644279753f903e SHA512 863bc4ea43b6fc5b340f50f007c76d2c253223d6bd55ea5c1ead4bc353c3d4cd85d51372a774276e14d9fca733fac9c2f582892fec950b74f25dc188dafa7a96 +DIST poetry-1.6.0.tar.gz 1475454 BLAKE2B 11bdfb5cacee0563d134919619bffeb007c13c632d8ab017521ce191a5ccaace52405ef9afa81ece1042c075b4601069deab99028a187bea73d4d6e4b505b55f SHA512 eef9a4c4d0526d3c71380c00b654852b22b7c5e86f187463977b1f798b5cb377c41983a6c21350c19f13fb1804a8190f5bd158dc5f0a298d0732812e44524063 diff --git a/dev-python/poetry/poetry-1.6.0.ebuild b/dev-python/poetry/poetry-1.6.0.ebuild new file mode 100644 index 000000000000..50699f3ae9d0 --- /dev/null +++ b/dev-python/poetry/poetry-1.6.0.ebuild @@ -0,0 +1,84 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A frontend for poetry - a python dependency management and packaging tool" +HOMEPAGE=" + https://python-poetry.org/ + https://github.com/python-poetry/poetry + https://pypi.org/project/poetry/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/poetry-core-1.7.0[${PYTHON_USEDEP}] + >=dev-python/poetry-plugin-export-1.5.0[${PYTHON_USEDEP}] + >=dev-python/build-0.10.0[${PYTHON_USEDEP}] + >=dev-python/cachecontrol-0.13.0[${PYTHON_USEDEP}] + >=dev-python/cleo-2.0.0[${PYTHON_USEDEP}] + >=dev-python/crashtest-0.4.1[${PYTHON_USEDEP}] + >=dev-python/dulwich-0.21.2[${PYTHON_USEDEP}] + >=dev-python/installer-0.7.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.10.0[${PYTHON_USEDEP}] + >=dev-python/keyring-24.0.0[${PYTHON_USEDEP}] + >=dev-python/packaging-20.4[${PYTHON_USEDEP}] + >=dev-python/pexpect-4.7.0[${PYTHON_USEDEP}] + >=dev-python/pkginfo-1.9.4[${PYTHON_USEDEP}] + >=dev-python/platformdirs-3.0.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.18[${PYTHON_USEDEP}] + >=dev-python/requests-toolbelt-0.10.1[${PYTHON_USEDEP}] + >=dev-python/shellingham-1.5.0[${PYTHON_USEDEP}] + >=dev-python/tomlkit-0.11.6[${PYTHON_USEDEP}] + >=dev-python/trove-classifiers-2022.5.19[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.26.0[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20.22.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + ' 3.10) +" + +BDEPEND=" + test? ( + >=dev-python/deepdiff-6.3.1[${PYTHON_USEDEP}] + >=dev-python/httpretty-1.0[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.9[${PYTHON_USEDEP}] + >=dev-python/pytest-xdist-3.1[${PYTHON_USEDEP}] + ) +" + +src_prepare() { + # unpin + sed -e 's:\^:>=:' \ + -e '/poetry-core/s:":">=:' \ + -e 's:,<[0-9.]*::' \ + -i pyproject.toml || die + + distutils-r1_src_prepare +} + +EPYTEST_DESELECT=( + # Tests require network (they run `pip install ...`) + tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_directories + tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_git + tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_git_with_subdirectories + tests/installation/test_pip_installer.py::test_uninstall_git_package_nspkg_pth_cleanup + tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_non_wheel_files + tests/installation/test_installer.py::test_installer_with_pypi_repository + tests/masonry/builders/test_editable_builder.py::test_builder_setup_generation_runs_with_pip_editable + + # Works with network, but otherwise: Backend 'poetry.core.masonry.api' is not available. + tests/installation/test_chef.py::test_prepare_sdist + tests/installation/test_chef.py::test_prepare_directory + tests/installation/test_chef.py::test_prepare_directory_with_extensions + tests/installation/test_chef.py::test_prepare_directory_editable +) + +distutils_enable_tests pytest diff --git a/dev-python/ptyprocess/ptyprocess-0.7.0-r1.ebuild b/dev-python/ptyprocess/ptyprocess-0.7.0-r1.ebuild index 8818779b5193..28d24a6ab34a 100644 --- a/dev-python/ptyprocess/ptyprocess-0.7.0-r1.ebuild +++ b/dev-python/ptyprocess/ptyprocess-0.7.0-r1.ebuild @@ -16,6 +16,6 @@ HOMEPAGE=" LICENSE="ISC" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" distutils_enable_tests pytest diff --git a/dev-python/pybind11/Manifest b/dev-python/pybind11/Manifest index eef588c8e9bb..a19b36b3cbd5 100644 --- a/dev-python/pybind11/Manifest +++ b/dev-python/pybind11/Manifest @@ -1,2 +1 @@ -DIST pybind11-2.10.4.gh.tar.gz 740622 BLAKE2B 7b2d86e8262581b2cc6dd720b83336206e242ef8ca99b257b01a11141ed8b127d7f35d7d573bc763dd36f2fe8c8ac91766089deb63a76e9c10029c34eec2d6d3 SHA512 7970defbb6d057a44468ed707c80bfa6ef8c9578528fbc084b03aeea20a52dbd681581f82d55ff90af11ee89693379bd79e2ab6603239ba05b0aa8da29dd93c7 DIST pybind11-2.11.1.gh.tar.gz 756445 BLAKE2B 66ad933ffcd7fd475121f0b7488e13b914cb090d0ed511b96070e2849dcc537fb55e865b72fe06da6c5d1e3ed8e438799c5b0b60cbdc71e5713530174bff3be9 SHA512 ed1512ff0bca3bc0a45edc2eb8c77f8286ab9389f6ff1d5cb309be24bc608abbe0df6a7f5cb18c8f80a3bfa509058547c13551c3cd6a759af708fd0cdcdd9e95 diff --git a/dev-python/pybind11/files/pybind11-2.10.4_macOS-GCC.patch b/dev-python/pybind11/files/pybind11-2.10.4_macOS-GCC.patch deleted file mode 100644 index cbfcff84a684..000000000000 --- a/dev-python/pybind11/files/pybind11-2.10.4_macOS-GCC.patch +++ /dev/null @@ -1,22 +0,0 @@ -Break the toolchain assumption of LLVM on Prefix/macOS. - -At Prefix/macOS, the system compiler is GCC with libstdc++. - -Reference: https://github.com/pybind/pybind11/pull/4639 - -Signed-off-by: Benda Xu <heroxbd@gentoo.org> - -Index: pybind11-2.10.4/pybind11/setup_helpers.py -=================================================================== ---- pybind11-2.10.4.orig/pybind11/setup_helpers.py -+++ pybind11-2.10.4/pybind11/setup_helpers.py -@@ -154,9 +154,6 @@ class Pybind11Extension(_Extension): # - c_cpp_flags = shlex.split(env_cflags) + shlex.split(env_cppflags) - if not any(opt.startswith("-g") for opt in c_cpp_flags): - cflags += ["-g0"] -- if MACOS: -- cflags += ["-stdlib=libc++"] -- ldflags += ["-stdlib=libc++"] - self._add_cflags(cflags) - self._add_ldflags(ldflags) - diff --git a/dev-python/pybind11/pybind11-2.10.4.ebuild b/dev-python/pybind11/pybind11-2.10.4.ebuild deleted file mode 100644 index e5399cf7fd21..000000000000 --- a/dev-python/pybind11/pybind11-2.10.4.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit cmake distutils-r1 - -DESCRIPTION="AST-based Python refactoring library" -HOMEPAGE=" - https://pybind11.readthedocs.io/en/stable/ - https://github.com/pybind/pybind11/ - https://pypi.org/project/pybind11/ -" -SRC_URI=" - https://github.com/pybind/pybind11/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" - -RDEPEND=" - dev-cpp/eigen:3 -" -BDEPEND=" - test? ( - >=dev-cpp/catch-2.13.5 - dev-libs/boost - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - export PYBIND11_USE_CMAKE=1 - cmake_src_prepare - PATCHES=( "${FILESDIR}"/pybind11-2.10.4_macOS-GCC.patch ) - distutils-r1_python_prepare_all -} - -python_configure() { - local mycmakeargs=( - # disable forced lto - -DPYBIND11_LTO_CXX_FLAGS= - -DPYBIND11_INSTALL=ON - -DPYBIND11_TEST=$(usex test) - ) - cmake_src_configure -} - -python_compile() { - distutils-r1_python_compile - # Compilation only does anything for tests - use test && cmake_src_compile -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - cmake_build check -} - -python_install() { - distutils-r1_python_install - cmake_src_install -} diff --git a/dev-python/pybind11/pybind11-2.11.1.ebuild b/dev-python/pybind11/pybind11-2.11.1.ebuild index 3b1a29f91143..35bcfef9b3b7 100644 --- a/dev-python/pybind11/pybind11-2.11.1.ebuild +++ b/dev-python/pybind11/pybind11-2.11.1.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" RDEPEND=" dev-cpp/eigen:3 diff --git a/dev-python/pymountboot/pymountboot-0.2.3-r1.ebuild b/dev-python/pymountboot/pymountboot-0.2.3-r1.ebuild index 214843fd13ee..80f71de6b0e7 100644 --- a/dev-python/pymountboot/pymountboot-0.2.3-r1.ebuild +++ b/dev-python/pymountboot/pymountboot-0.2.3-r1.ebuild @@ -13,12 +13,19 @@ DESCRIPTION="Python extension module to (re)mount /boot" HOMEPAGE="https://github.com/projg2/pymountboot/" SRC_URI=" https://github.com/projg2/pymountboot/archive/v${PV}.tar.gz - -> ${P}.tar.gz" + -> ${P}.tar.gz +" LICENSE="BSD" SLOT="0" KEYWORDS="amd64 ~arm ~arm64 ~riscv x86" -RDEPEND=">=sys-apps/util-linux-2.20" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" +DEPEND=" + >=sys-apps/util-linux-2.20 +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + virtual/pkgconfig +" diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 4c0d992d6c7d..9e33b7d80fa3 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -3,6 +3,7 @@ DIST pypdf-3.13.0.gh.tar.gz 7563894 BLAKE2B f2f34dccda87e719b326b4c48331e9813a36 DIST pypdf-3.14.0.gh.tar.gz 7572714 BLAKE2B 5a706eb9f9965de9ec3e3b03e243b629700b0c43b0549d49c33cc0a4d5ab570c75aa03695ccb8b08dac99032e9c4c170f2511c0dc644fed90d14da4a3fd18dbd SHA512 f7fc45a10249d3a86e60ed73f8e9a226a8bbb3fe181efdc8102128b7005a39f2479386801d18e8d6be56e8a12b5d3c8769a9c5504df27bec981ebe9cf22da205 DIST pypdf-3.15.0.gh.tar.gz 7673228 BLAKE2B 9516d5e7865fa5c3bed90461d2e12ad1a400b755d8254330837e8b5f313f985bd199da9a19b2a189623b392c6ae76fd757e68c1454d09a7b5ec70bc28bff3485 SHA512 a9dc59141918fe47d1b2ec0fc282e31c05ef3df137cc67e85d965172929b3b1bbc38f8827a82a576f02c18b72cdca297364f58814f960b7783a36228a7e29125 DIST pypdf-3.15.1.gh.tar.gz 7679588 BLAKE2B 9148d17be47fc653bba26fc39ca58f503eba7fd561ef67be034f6ce18318069a1e981e46d6a23ff18dd20a9ddbd38ff056a17e63e71b253d851d3c3934057c74 SHA512 93a4c5c573f8db73df4dd113e4d502bb183c2548a556686848dabf46078721e583c0283f6148c268d6e502e25402fab7b5e40d3eb9c60ab4db19827f183636e5 +DIST pypdf-3.15.2.gh.tar.gz 7679823 BLAKE2B c53e51adaa2d789b56f0871ef9937e01eb91074dd30afece840a17c8b789686ff88942345764e7451b4ad1af21405f9e18d96f03cb8cdfbbe34ef786fcd85fac SHA512 804ff4c57e626b10827167a91aaa82e9acc46aea48b1a961ea50fff526c3fc012aa231f2ea269bd715a9f5294b684f8338d34356f738dd45f512228019a63633 DIST pypdf-sample-files-2cf1e75af7bcb9c097deae6fb112c715d4721744.gh.tar.gz 10226061 BLAKE2B a9b32d6cd3d22bbc0aee54ca3e914c4d2eb2a9a44a1a508e54e0a8fbcb5fad9ab05e72cf66553a1b5595131104ff22dea115d2804d2970200c4cf5f808532174 SHA512 f064f0468b07bf705a1d0f3a0fc6fe535c234a39408dca268f223e7c3548e66f599a4e67156e7848b70e9a3bd1bc2756395dd93b0c828ee08fe2bb8833f2b196 DIST pypdf-sample-files-5b5ee6b0e9bf4b683490351b1e15e01d6553da7b.gh.tar.gz 10226115 BLAKE2B 7488897284b840c7d4c26525425d326024936654cea42c47f260d1bc61a32a5c1da0a7eb8a9ad532857ea5c2db3446ce5850c509f44ccf6143b8cf4cb826e6c9 SHA512 70d4f0b6957160698afdc9b5bfb9d197f55f1651bc2ec2326621bb77bae5460fe0d4d8543ddbb7ed270c2bd36ad0ccae14deae6040d7f4a01db52374b820fd7e DIST pypdf-sample-files-935652968f76a41b4fa51afd05498e7dd7314c5e.gh.tar.gz 11187445 BLAKE2B e9332009a49249fdaa8b6c29258b11dfcf3627a5550ea7402cf0288bb4b0537136b039e6f4aefb03574076d1fc0af6100effc0d36510f035d9e63836ad52c4d7 SHA512 8d525aa323e5b45f71130459faa9686ec4ae04bc594895a64f1a5b6d027f866c48aca78602ad526000a11b547cc77068d1ac5e733d3e3a99df0e257c02fbb9e7 diff --git a/dev-python/pypdf/pypdf-3.15.2.ebuild b/dev-python/pypdf/pypdf-3.15.2.ebuild new file mode 100644 index 000000000000..f967c6c812a3 --- /dev/null +++ b/dev-python/pypdf/pypdf-3.15.2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=935652968f76a41b4fa51afd05498e7dd7314c5e +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + # TODO: requires fpdf + tests/test_page.py::test_compression +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +} diff --git a/dev-python/pyproj/pyproj-3.6.0.ebuild b/dev-python/pyproj/pyproj-3.6.0.ebuild index 5f493d2c5e87..d8c9ef663b0e 100644 --- a/dev-python/pyproj/pyproj-3.6.0.ebuild +++ b/dev-python/pyproj/pyproj-3.6.0.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~x86 ~amd64-linux" +KEYWORDS="amd64 ~arm64 ~x86 ~amd64-linux" DEPEND=" >=sci-libs/proj-9.0.0:= diff --git a/dev-python/pytables/Manifest b/dev-python/pytables/Manifest index ea9d491502ea..63cd4acb139e 100644 --- a/dev-python/pytables/Manifest +++ b/dev-python/pytables/Manifest @@ -1,2 +1 @@ -DIST tables-3.7.0.tar.gz 8227955 BLAKE2B 0d5b7b765375c4787f1210138e5fd02e3c0ce429ef209a3a8d4fd3bc094f68486ab6f4d0a960ce86efea6991ed691ef2a3e9e8f37a49fe91cb8d6372cadea80e SHA512 eaa368d063b5fad87e6d0f9ab6f02da0b2a3542740a52fe8c2bb58e41121495d07b6d2710ad402a28891294aa61a11238c6a7e2cf2933a1bb11391b79cf4fd13 DIST tables-3.8.0.tar.gz 8014052 BLAKE2B 28d120ad609ebc9ae8cd97286bb3fb9c484bd8a179edcf0de1b96e4400b7a21b4db835d94fae3aaee84924bd46b84b84da12c538b39517362d805651e7aa3aef SHA512 1616c00787a2e88ff3dc2aebe3a1b2ad428b5a8ea48fc94058b49c509f1c040b540b3f62551b16b3246d2fed58e0b33443cbdaaf1dfcba5a6eead5f3e8028029 diff --git a/dev-python/pytables/pytables-3.7.0.ebuild b/dev-python/pytables/pytables-3.7.0.ebuild deleted file mode 100644 index de5f3f4a90cf..000000000000 --- a/dev-python/pytables/pytables-3.7.0.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -PYPI_PN="tables" -PYTHON_COMPAT=( python3_{8,9,10,11} ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 pypi - -DESCRIPTION="Hierarchical datasets for Python" -HOMEPAGE="https://www.pytables.org/" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" -IUSE="examples test" -RESTRICT="!test? ( test )" - -DEPEND=" - app-arch/bzip2:0= - app-arch/lz4:0= - >=app-arch/zstd-1.0.0:= - >=dev-libs/c-blosc-1.11.1:0= - dev-libs/lzo:2= - >=dev-python/numpy-1.19[${PYTHON_USEDEP}] - >=sci-libs/hdf5-1.8.4:= -" -RDEPEND="${DEPEND} - >=dev-python/numexpr-2.6.2[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}]" -BDEPEND=" - >=dev-python/cython-0.21[${PYTHON_USEDEP}] - virtual/pkgconfig - test? ( - ${RDEPEND} - ) -" - -python_prepare_all() { - export {BLOSC,BZIP2,LZO,HDF5}_DIR="${ESYSROOT}"/usr - export PYTABLES_NO_EMBEDDED_LIBS=1 - export USE_PKGCONFIG=TRUE - - rm tables/*.c || die - sed -e "s:/usr:${EPREFIX}/usr:g" \ - -i setup.py || die - rm -r c-blosc/{blosc,internal-complibs} || die - sed -i -e '/_version/ s/\\s\*/\\s\+/' setup.py || die - distutils-r1_python_prepare_all -} - -python_compile() { - distutils-r1_python_compile -j1 -} - -python_test() { - cd "${BUILD_DIR}"/lib* || die - "${EPYTHON}" tables/tests/test_all.py -v || die -} - -python_install_all() { - distutils-r1_python_install_all - - if use examples; then - dodoc -r contrib examples - docompress -x /usr/share/doc/${PF}/{contrib,examples} - fi -} diff --git a/dev-python/pytables/pytables-3.8.0-r1.ebuild b/dev-python/pytables/pytables-3.8.0-r1.ebuild deleted file mode 100644 index 57242a3df75f..000000000000 --- a/dev-python/pytables/pytables-3.8.0-r1.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8,9,10,11} ) -PYPI_PN="tables" -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 prefix pypi - -DESCRIPTION="Hierarchical datasets for Python" -HOMEPAGE=" - https://www.pytables.org/ - https://github.com/PyTables/PyTables/ - https://pypi.org/project/tables/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ia64 ~riscv ~x86" -IUSE="examples test" -RESTRICT="!test? ( test )" - -DEPEND=" - app-arch/bzip2:0= - app-arch/lz4:0= - >=app-arch/zstd-1.0.0:= - >=dev-libs/c-blosc-1.11.1:0= - dev-libs/c-blosc2:= - dev-libs/lzo:2= - >=dev-python/numpy-1.19[${PYTHON_USEDEP}] - >=sci-libs/hdf5-1.8.4:= -" -RDEPEND=" - ${DEPEND} - >=dev-python/numexpr-2.6.2[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/py-cpuinfo[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/cython-0.21[${PYTHON_USEDEP}] - dev-python/py-cpuinfo[${PYTHON_USEDEP}] - virtual/pkgconfig - test? ( - ${RDEPEND} - ) -" - -python_prepare_all() { - local PATCHES=( - "${FILESDIR}"/${P}-blosc2.patch - ) - - export PYTABLES_NO_EMBEDDED_LIBS=1 - export USE_PKGCONFIG=TRUE - - rm -r c-blosc/{blosc,internal-complibs} || die - rm tables/libblosc2.so || die - sed -i -e '/blosc2/d' requirements.txt || die - hprefixify -w '/prefixes =/' setup.py - distutils-r1_python_prepare_all -} - -python_compile() { - distutils-r1_python_compile -j1 -} - -python_test() { - cd "${BUILD_DIR}"/lib* || die - "${EPYTHON}" tables/tests/test_all.py -v || die -} - -python_install_all() { - distutils-r1_python_install_all - - if use examples; then - dodoc -r contrib examples - docompress -x /usr/share/doc/${PF}/{contrib,examples} - fi -} diff --git a/dev-python/pytest-subprocess/pytest-subprocess-1.5.0.ebuild b/dev-python/pytest-subprocess/pytest-subprocess-1.5.0.ebuild index 22adecd6b776..ad8032f10e05 100644 --- a/dev-python/pytest-subprocess/pytest-subprocess-1.5.0.ebuild +++ b/dev-python/pytest-subprocess/pytest-subprocess-1.5.0.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" >=dev-python/pytest-4.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/python3-discogs-client/python3-discogs-client-2.7.ebuild b/dev-python/python3-discogs-client/python3-discogs-client-2.7.ebuild index f00fb5f91879..679487c2020d 100644 --- a/dev-python/python3-discogs-client/python3-discogs-client-2.7.ebuild +++ b/dev-python/python3-discogs-client/python3-discogs-client-2.7.ebuild @@ -15,7 +15,7 @@ if [[ ${PV} == 9999 ]]; then inherit git-r3 else inherit pypi - KEYWORDS="~amd64 ~x86" + KEYWORDS="amd64 ~x86" fi DESCRIPTION="Continuation of the official Python API client for Discogs" diff --git a/dev-python/pytzdata/pytzdata-2020.1-r2.ebuild b/dev-python/pytzdata/pytzdata-2020.1-r2.ebuild index bde37c89bcc9..0a8b4d5247b0 100644 --- a/dev-python/pytzdata/pytzdata-2020.1-r2.ebuild +++ b/dev-python/pytzdata/pytzdata-2020.1-r2.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" dev-python/cleo[${PYTHON_USEDEP}] diff --git a/dev-python/pyyaml/Manifest b/dev-python/pyyaml/Manifest index 6c5246976908..afe749130ef2 100644 --- a/dev-python/pyyaml/Manifest +++ b/dev-python/pyyaml/Manifest @@ -1,2 +1 @@ DIST pyyaml-6.0.1.gh.tar.gz 120376 BLAKE2B c34f2169f6eb6aa718aeb53dbfaf02590e11e504d16cc85a802e1a1191f296ef9aa2501db683e1a48173ce6adeaeca09f2ab989581dcf1c1ba4004831bb4cf47 SHA512 1c74a92a4ad7d47854dc7bcb2e89b3c8e0b14fa815c7dbfbc22b24480dbba6c81e971c77ee384c494a960914b95f06edf943d7431925a5ed674a0ba830d258e0 -DIST pyyaml-6.0.gh.tar.gz 119855 BLAKE2B 286678ac81f2e6c252d285d2f98dab98894787e3aa164a29a697986f56200c7b71b0a768edf6d50e61065efcd054078673270872162a4975409928d7dd67aacc SHA512 cbcacc3560a035e2082867e93a9733f8660ea4c7f60573d07642f33a5453dcdc88d67299c3bcb97c27b843202a45d40de7444eb5e815bd4955129c9fc8ae04ad diff --git a/dev-python/pyyaml/pyyaml-6.0-r1.ebuild b/dev-python/pyyaml/pyyaml-6.0-r1.ebuild deleted file mode 100644 index e0fdbe95b96b..000000000000 --- a/dev-python/pyyaml/pyyaml-6.0-r1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2023 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_{8,9,10,11} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="YAML parser and emitter for Python" -HOMEPAGE=" - https://pyyaml.org/wiki/PyYAML - https://pypi.org/project/PyYAML/ - https://github.com/yaml/pyyaml/ -" -SRC_URI=" - https://github.com/yaml/pyyaml/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="examples" - -DEPEND=" - dev-libs/libyaml:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - <dev-python/cython-3[${PYTHON_USEDEP}] -" - -distutils_enable_tests setup.py - -src_configure() { - export PYYAML_FORCE_CYTHON=1 -} - -python_install_all() { - distutils-r1_python_install_all - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF} - fi -} diff --git a/dev-python/pyyaml/pyyaml-6.0.1-r1.ebuild b/dev-python/pyyaml/pyyaml-6.0.1-r1.ebuild index 102bb132ff1b..c0a406d75886 100644 --- a/dev-python/pyyaml/pyyaml-6.0.1-r1.ebuild +++ b/dev-python/pyyaml/pyyaml-6.0.1-r1.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="examples" DEPEND=" diff --git a/dev-python/pyyaml/pyyaml-6.0.1.ebuild b/dev-python/pyyaml/pyyaml-6.0.1.ebuild deleted file mode 100644 index 4f87db58ca6f..000000000000 --- a/dev-python/pyyaml/pyyaml-6.0.1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2023 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_{8,9,10,11} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="YAML parser and emitter for Python" -HOMEPAGE=" - https://pyyaml.org/wiki/PyYAML - https://pypi.org/project/PyYAML/ - https://github.com/yaml/pyyaml/ -" -SRC_URI=" - https://github.com/yaml/pyyaml/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="examples" - -DEPEND=" - dev-libs/libyaml:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - <dev-python/cython-3[${PYTHON_USEDEP}] -" - -distutils_enable_tests setup.py - -src_configure() { - export PYYAML_FORCE_CYTHON=1 -} - -python_install_all() { - distutils-r1_python_install_all - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF} - fi -} diff --git a/dev-python/rapidfuzz-capi/rapidfuzz-capi-1.0.5.ebuild b/dev-python/rapidfuzz-capi/rapidfuzz-capi-1.0.5.ebuild index 104f24fc381a..21199fe45ed7 100644 --- a/dev-python/rapidfuzz-capi/rapidfuzz-capi-1.0.5.ebuild +++ b/dev-python/rapidfuzz-capi/rapidfuzz-capi-1.0.5.ebuild @@ -22,4 +22,4 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" diff --git a/dev-python/rapidfuzz/rapidfuzz-3.2.0.ebuild b/dev-python/rapidfuzz/rapidfuzz-3.2.0.ebuild index 5c2290cdbba4..b1a92a7e3e2c 100644 --- a/dev-python/rapidfuzz/rapidfuzz-3.2.0.ebuild +++ b/dev-python/rapidfuzz/rapidfuzz-3.2.0.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" # all these are header-only libraries DEPEND=" diff --git a/dev-python/reedsolo/reedsolo-2.1.1_beta1.ebuild b/dev-python/reedsolo/reedsolo-2.1.1_beta1.ebuild index 72b56982d91b..631dfb84049c 100644 --- a/dev-python/reedsolo/reedsolo-2.1.1_beta1.ebuild +++ b/dev-python/reedsolo/reedsolo-2.1.1_beta1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="|| ( Unlicense MIT-0 )" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 x86" +KEYWORDS="amd64 ~arm ~arm64 x86" IUSE="+native-extensions" distutils_enable_tests pytest diff --git a/dev-python/scikit-build-core/scikit-build-core-0.4.8.ebuild b/dev-python/scikit-build-core/scikit-build-core-0.4.8.ebuild index d1f3babadbf3..b91165f4aec1 100644 --- a/dev-python/scikit-build-core/scikit-build-core-0.4.8.ebuild +++ b/dev-python/scikit-build-core/scikit-build-core-0.4.8.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" # we always want [pyproject] extra RDEPEND=" diff --git a/dev-python/sphinxcontrib-serializinghtml/Manifest b/dev-python/sphinxcontrib-serializinghtml/Manifest index 24b5fdfe27dc..b3dd3150780d 100644 --- a/dev-python/sphinxcontrib-serializinghtml/Manifest +++ b/dev-python/sphinxcontrib-serializinghtml/Manifest @@ -1,3 +1,4 @@ DIST sphinxcontrib-serializinghtml-1.1.5.tar.gz 21019 BLAKE2B e2da8b1e1300a327b8d508ce98e7c0d3eff1e0cea28cd874df4fbd9ed0bd4de6c17e107e622ec72e00bb237025ae26b2c5aaa33b2156cee2fad7c8f8d2c65ed5 SHA512 c5aabe4d29fd0455c269f8054089fdd61e1de5c35aa407740fc3baae4cfb3235d9fd5515c0489b0becd12abc8f18d0f42aa169ed315c00f30ba87e64ce851667 DIST sphinxcontrib_serializinghtml-1.1.7.tar.gz 15313 BLAKE2B 6453e5b24be17ed10ab2c9567cac273af9941f94850388b4ef61e2114e1e1f6fd5e6fd63306107c55df068d9b4f784c6c282d8f8fba7d4b772272f6c9fa39bee SHA512 a4a3ff0b7d7ef8b9eb4e179a494b58d3358cd94837db40c19350ceb1810d9917dca8a116d624d2a679399221fc4fc06ad161d6a2735525cc43bec9826e605af9 DIST sphinxcontrib_serializinghtml-1.1.8.tar.gz 15350 BLAKE2B b88b5386434b02f18726a84ab600fbd8cebd0a9b732b95fed566b40a75b026c70723eb85d9a3655af57e5476623cd3d0d3cf87596d656f0a7329bfb3ae7f4eac SHA512 fa1b49d87bb3f163412c0c4cdf4daf38183037491b2e00a21ae246891c61e6eb90a7dde5d14061f429bec278d1946919f26c045ae9d76ddb5d745a09ac848b2a +DIST sphinxcontrib_serializinghtml-1.1.9.tar.gz 15446 BLAKE2B 53d61209a043e7481c252e0a83f7e01e71ab2e385a28d78c9672b4a0d4fae2911ab4dff47dced09442a760872a7f63e04bae5916d9d7d96ff85c57b6f732eb7c SHA512 9e14527794a71120c1db9dc534383f3e56ee18241009aab2a04133351fc4dd56ee9ba242ad64be13faf44162e90e88109eb36a5692fb343f4bb28f43cda78bba diff --git a/dev-python/sphinxcontrib-serializinghtml/sphinxcontrib-serializinghtml-1.1.9.ebuild b/dev-python/sphinxcontrib-serializinghtml/sphinxcontrib-serializinghtml-1.1.9.ebuild new file mode 100644 index 000000000000..c62b87f2526f --- /dev/null +++ b/dev-python/sphinxcontrib-serializinghtml/sphinxcontrib-serializinghtml-1.1.9.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Sphinx extension which outputs outputs serialized HTML files" +HOMEPAGE=" + https://www.sphinx-doc.org/ + https://github.com/sphinx-doc/sphinxcontrib-serializinghtml/ + https://pypi.org/project/sphinxcontrib-serializinghtml/ +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +PDEPEND=" + >=dev-python/sphinx-5[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( ${PDEPEND} ) +" + +distutils_enable_tests pytest diff --git a/dev-python/sqlalchemy/sqlalchemy-2.0.19.ebuild b/dev-python/sqlalchemy/sqlalchemy-2.0.19.ebuild index 8239ca7fe043..24ef4acb0c2f 100644 --- a/dev-python/sqlalchemy/sqlalchemy-2.0.19.ebuild +++ b/dev-python/sqlalchemy/sqlalchemy-2.0.19.ebuild @@ -22,7 +22,7 @@ S="${WORKDIR}/${MY_PN}-${PV}" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="examples +sqlite test" RDEPEND=" diff --git a/dev-python/time-machine/Manifest b/dev-python/time-machine/Manifest index 1ef833da566c..8cae66584abc 100644 --- a/dev-python/time-machine/Manifest +++ b/dev-python/time-machine/Manifest @@ -1,4 +1,2 @@ -DIST time-machine-2.10.0.gh.tar.gz 28770 BLAKE2B ba4ff7dd2559530e86e38d23600209f2e860a1541c9ef5536d07092678018c210ec5e0c63bc615e81b62e8179324953d023ba247c501aa94e16beb0345cacf8f SHA512 4a3120432cb6aacb1e022415094a4fb204d2f1b39c378307a0de34505d470982d81e1d2d940d0b9745c3edcd563ff55f9ab1d602bd1dea720a474fee5fa1e4af DIST time-machine-2.11.0.gh.tar.gz 28075 BLAKE2B 2eb07ac60d4014e5796fefcf5cb846d60fef1887fe01459d906a2118eddc924d60642131530f76e131080e2989f60263bda2fbcc0cc917e0f9452d16a4f640a6 SHA512 5bd5d76e2ecc392c249e86e2cfe54ee94a99a4e1cd1dd7e00b240e1299426d87a284ec270ae36aeb82acfe06d974d5aeca27ae977a480441e4daa5b852d00198 DIST time-machine-2.12.0.gh.tar.gz 27743 BLAKE2B 4ed0c9901edb9c698b8bbba6df80d12b06f344ad6ee8f9e89577264da1f0211774c2d227d02dc1ab0ceb5b905094168d19cdebc00a91a955d216729082ecbc28 SHA512 4708cdc3aa0ec06907d0ee1219ceb074947fc962ab6f0d3606e5273f3d64ca278bb43254d924c04364b967301cf69229ced70d7b1db92b0b6dff1523cccb2f82 -DIST time-machine-2.9.0.gh.tar.gz 28043 BLAKE2B 9a9a521c94b72a7464853661da791b6f57f5155ddc62ffceeb82f808903f4c337e6bf48fe8300bb4f9f5673fd175fd85038a4e80a39e8f3e096c12c27ee790ec SHA512 ecc780a72d279b49d026a8f3f89210cb4c90e02c5a517c08eadbabcb65216a24c603ace39afd76ea1e6ccdef589d5997581d0db7477bb28fe4d1e0510daf17a0 diff --git a/dev-python/time-machine/time-machine-2.10.0.ebuild b/dev-python/time-machine/time-machine-2.10.0.ebuild deleted file mode 100644 index 8673e0f8dd10..000000000000 --- a/dev-python/time-machine/time-machine-2.10.0.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 2022-2023 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_{8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="Travel through time in your tests" -HOMEPAGE=" - https://github.com/adamchainz/time-machine/ - https://pypi.org/project/time-machine/ -" -SRC_URI=" - https://github.com/adamchainz/time-machine/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - dev-python/python-dateutil[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/time-machine/time-machine-2.11.0.ebuild b/dev-python/time-machine/time-machine-2.11.0.ebuild index 2f5b64837779..9f81fdd1bbbb 100644 --- a/dev-python/time-machine/time-machine-2.11.0.ebuild +++ b/dev-python/time-machine/time-machine-2.11.0.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/python-dateutil[${PYTHON_USEDEP}] diff --git a/dev-python/time-machine/time-machine-2.9.0.ebuild b/dev-python/time-machine/time-machine-2.9.0.ebuild deleted file mode 100644 index 9f81fdd1bbbb..000000000000 --- a/dev-python/time-machine/time-machine-2.9.0.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 2022-2023 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_{8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="Travel through time in your tests" -HOMEPAGE=" - https://github.com/adamchainz/time-machine/ - https://pypi.org/project/time-machine/ -" -SRC_URI=" - https://github.com/adamchainz/time-machine/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - dev-python/python-dateutil[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/txredisapi/Manifest b/dev-python/txredisapi/Manifest index b18523de2cab..9ea106b0e0f0 100644 --- a/dev-python/txredisapi/Manifest +++ b/dev-python/txredisapi/Manifest @@ -1,2 +1 @@ DIST txredisapi-1.4.10.gh.tar.gz 54536 BLAKE2B d1224a95516323bfe3cf57b66612cea6b5fe7a4bd9aba0d2202f19575e1607209dc018ad6f754530ba07f09e89f38238f7ae3213898a33f317dc347722e055d7 SHA512 f0ba61c48807de90ec1dde5100b735f7fe0fb8168895d99ee77cbbfe741bae77e0495bf60f719d6cda65d6403c011c9bb15e6057e717afc4051cfdd7e514ddf9 -DIST txredisapi-1.4.9.gh.tar.gz 54484 BLAKE2B faf66eecd51f007dae03d34a6fab8c204b01b44d4967281dbf52fce1d3dd0dbf261e0901902cd3484c8edb951d7b318266f7a72e04eee9c55ca1684e12bc2a7f SHA512 b471bd6cbb7c01f5e1a87e1fc45cc6daf7ed08e0e4168e641e4b1b16a92481d0643eafed22efa9d0dbd807dab46359b570176d97a03673987f4a04930e231fdd diff --git a/dev-python/txredisapi/txredisapi-1.4.10.ebuild b/dev-python/txredisapi/txredisapi-1.4.10.ebuild index 1d4005e5c195..2eb3bd42b17d 100644 --- a/dev-python/txredisapi/txredisapi-1.4.10.ebuild +++ b/dev-python/txredisapi/txredisapi-1.4.10.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~ppc64" +KEYWORDS="amd64 ~ppc64" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/txredisapi/txredisapi-1.4.9.ebuild b/dev-python/txredisapi/txredisapi-1.4.9.ebuild deleted file mode 100644 index 0e01b0126c75..000000000000 --- a/dev-python/txredisapi/txredisapi-1.4.9.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) -inherit distutils-r1 optfeature - -DESCRIPTION="Non-blocking redis client for python" -HOMEPAGE=" - https://github.com/IlyaSkriblovsky/txredisapi/ - https://pypi.org/project/txredisapi/ -" -# Github is used because PyPI package contains broken tests, -# see https://github.com/IlyaSkriblovsky/txredisapi/issues/149 -SRC_URI=" - https://github.com/IlyaSkriblovsky/${PN}/archive/refs/tags/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~ppc64" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/six[${PYTHON_USEDEP}] - dev-python/twisted[${PYTHON_USEDEP},ssl(-)] -" -BDEPEND=" - test? ( - dev-db/redis - dev-python/hiredis[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - ) -" - -src_prepare() { - sed -i "/redis_sock =/s:/tmp:${T}:" tests/test_unix_connection.py || die - - distutils-r1_src_prepare -} - -python_test() { - # paralellized tests with -j parameter fail - "${EPYTHON}" -m twisted.trial tests || die "tests failed with ${EPYTHON}" -} - -src_test() { - local redis_pid="${T}"/redis.pid - local redis_port=6379 - - if has_version ">=dev-db/redis-7"; then - local extra_conf=" - enable-debug-command yes - enable-module-command yes - " - fi - - # Spawn Redis itself for testing purposes - einfo "Spawning Redis" - einfo "NOTE: Port ${redis_port} must be free" - "${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server" - daemonize yes - pidfile ${redis_pid} - port ${redis_port} - bind 127.0.0.1 ::1 - unixsocket ${T}/redis.sock - unixsocketperm 700 - ${extra_conf} - EOF - - # Run the tests - distutils-r1_src_test - - # Clean up afterwards - kill "$(<"${redis_pid}")" || die -} - -pkg_postinst() { - optfeature "Use hiredis protocol parser" dev-python/hiredis -} diff --git a/dev-python/unasync/unasync-0.5.0-r1.ebuild b/dev-python/unasync/unasync-0.5.0-r1.ebuild index e9ae6df05d99..37ef4d9106cc 100644 --- a/dev-python/unasync/unasync-0.5.0-r1.ebuild +++ b/dev-python/unasync/unasync-0.5.0-r1.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/python-trio/unasync/archive/refs/tags/v${PV}.tar.gz LICENSE="|| ( Apache-2.0 MIT )" SLOT="0" -KEYWORDS="amd64 x86" +KEYWORDS="amd64 ~arm64 x86" distutils_enable_sphinx docs/source \ dev-python/sphinxcontrib-trio \ diff --git a/dev-python/xarray/Manifest b/dev-python/xarray/Manifest index b08392caeaec..ba8b535769f3 100644 --- a/dev-python/xarray/Manifest +++ b/dev-python/xarray/Manifest @@ -1 +1,2 @@ DIST xarray-2023.7.0.tar.gz 3725483 BLAKE2B 814af19a4c24eb0179441d07bcd6165dee2ed5430a6fd94f4014387b7b7fd4ae250b64124bdda8ca411124ab2276075af65bde2a3ed3dc6d081dd466a485007e SHA512 88863770b22978ba681a2d970453ae087a234fcfb68f047b6020b39841a91207e8d92e01486d58bbeadac8d14608aa0c744ee9b6d54890f52fe3537b28292239 +DIST xarray-2023.8.0.tar.gz 3757528 BLAKE2B f94bcf90ee06273e82400f4786af97d5cf0db32ff4070929863d5072056fa4e0a33feaf3d378d9d67eed61f349df3ac96efcd1bb3b455043e01af0abf96bb6b3 SHA512 1d712e9fbf266906ac35c199eead77cec76ba5b4b4462140bef2fffd227a52d2cba9670a042cb669b0567320e9308bf81fe4e84c1cfcff234ad2332d72e895a3 diff --git a/dev-python/xarray/xarray-2023.8.0.ebuild b/dev-python/xarray/xarray-2023.8.0.ebuild new file mode 100644 index 000000000000..6910a5fd68ed --- /dev/null +++ b/dev-python/xarray/xarray-2023.8.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 multiprocessing pypi + +DESCRIPTION="N-D labeled arrays and datasets in Python" +HOMEPAGE=" + https://xarray.pydata.org/ + https://github.com/pydata/xarray/ + https://pypi.org/project/xarray/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/numpy-1.22[${PYTHON_USEDEP}] + >=dev-python/pandas-1.4[${PYTHON_USEDEP}] + >=dev-python/packaging-21.3[${PYTHON_USEDEP}] +" +# note: most of the test dependencies are optional +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/bottleneck[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/toolz[${PYTHON_USEDEP}] + !hppa? ( >=dev-python/scipy-1.4[${PYTHON_USEDEP}] ) + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # warning-targeted tests are fragile and not important to end users + xarray/tests/test_backends.py::test_no_warning_from_dask_effective_get + # TODO: segv in netcdf4-python + 'xarray/tests/test_backends.py::test_open_mfdataset_manyfiles[netcdf4-20-True-5-5]' + 'xarray/tests/test_backends.py::test_open_mfdataset_manyfiles[netcdf4-20-True-5-None]' + 'xarray/tests/test_backends.py::test_open_mfdataset_manyfiles[netcdf4-20-True-None-5]' + 'xarray/tests/test_backends.py::test_open_mfdataset_manyfiles[netcdf4-20-True-None-None]' + xarray/tests/test_backends.py::TestDask::test_save_mfdataset_compute_false_roundtrip + # hangs + xarray/tests/test_backends.py::TestDask::test_dask_roundtrip + # mismatches when pyarrow is installed + # https://github.com/pydata/xarray/issues/8092 + xarray/tests/test_dask.py::TestToDaskDataFrame::test_to_dask_dataframe_2D + xarray/tests/test_dask.py::TestToDaskDataFrame::test_to_dask_dataframe_not_daskarray +) + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p xdist.plugin -n "$(makeopts_jobs)" --dist=worksteal +} diff --git a/dev-python/xcffib/xcffib-1.3.0-r1.ebuild b/dev-python/xcffib/xcffib-1.3.0-r1.ebuild index d9d0a120f4fa..b3b931f2a7c1 100644 --- a/dev-python/xcffib/xcffib-1.3.0-r1.ebuild +++ b/dev-python/xcffib/xcffib-1.3.0-r1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86" DEPEND=" x11-libs/libxcb diff --git a/dev-python/ytmusicapi/Manifest b/dev-python/ytmusicapi/Manifest index e7278281bd64..d22ef02c66d2 100644 --- a/dev-python/ytmusicapi/Manifest +++ b/dev-python/ytmusicapi/Manifest @@ -1 +1,2 @@ DIST ytmusicapi-1.1.1.tar.gz 69876 BLAKE2B bdc729033710fd1a1bbfb7ee98c3e0ed4651c1f784f3d3fe2d429bac012d6440a897e38955c88f2d8cbe298e5bfdae4e191a894435a4e27b4f6fde57d9117569 SHA512 f65f568d7837cca06b9e1827d39cbb281adf4c9bbf9c1e1030e320ccaac9df00a343bdfa7036807cea57d205b3501551bed37f71e4c33e7cc5a898412ef9e564 +DIST ytmusicapi-1.2.0.tar.gz 71189 BLAKE2B 99c93d650c1546004db2b13b2b56c6cbaa2450b440c0efe4a09cf97d0944dae307c51d0414c00702dd91653ae0e0f4f88efea75d45a55111647235dd5e0d1476 SHA512 4fa5efcbbc2a5e079cfa588ef4328cc17390edb44ae1261f6de87a18d57e7c1d02009e1b6cac26163ed149b131782692f97ec532cff6ee1040812e7f5a9cf193 diff --git a/dev-python/ytmusicapi/ytmusicapi-1.2.0.ebuild b/dev-python/ytmusicapi/ytmusicapi-1.2.0.ebuild new file mode 100644 index 000000000000..c430d9c08fac --- /dev/null +++ b/dev-python/ytmusicapi/ytmusicapi-1.2.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Unofficial API for YouTube Music" +HOMEPAGE="https://ytmusicapi.readthedocs.io/ + https://github.com/sigma67/ytmusicapi/" + +LICENSE="MIT" +KEYWORDS="~amd64 ~x86" +SLOT="0" + +RDEPEND="dev-python/requests[${PYTHON_USEDEP}]" + +distutils_enable_sphinx docs/source \ + dev-python/sphinx-rtd-theme |
