diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-12-11 09:04:42 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-12-11 09:04:42 +0000 |
| commit | 7c83aaddb7957de1f250e47856d2648a3098cff4 (patch) | |
| tree | febbaaa39a84b213b6bdd31a9823123c63519d37 /dev-python | |
| parent | 90be33f168b71eccaa5792b3ab0056acb6541d1d (diff) | |
| download | baldeagleos-repo-7c83aaddb7957de1f250e47856d2648a3098cff4.tar.gz baldeagleos-repo-7c83aaddb7957de1f250e47856d2648a3098cff4.tar.xz baldeagleos-repo-7c83aaddb7957de1f250e47856d2648a3098cff4.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
55 files changed, 647 insertions, 376 deletions
diff --git a/dev-python/ManimPango/Manifest b/dev-python/ManimPango/Manifest index 428a2a048a76..f078e922c081 100644 --- a/dev-python/ManimPango/Manifest +++ b/dev-python/ManimPango/Manifest @@ -1 +1,2 @@ DIST ManimPango-0.4.3.gh.tar.gz 4144247 BLAKE2B cf6506a7928d9838fad2a0539b39aee6e6b3539f5fcf957817deeca2bdb01c48ed7cbd56bca4f70816f945b918e48a7db7a160f710c2c4f3be77f625cd665e95 SHA512 0bf46f66a20fd2be6ea6fe0e1b7a6fdb51276820827771b0d5d4c34ca465e939566964bb02da35109bddbb3bc10875d7b7c71767ffc4f83a593712253262a886 +DIST ManimPango-0.5.0.gh.tar.gz 4144029 BLAKE2B 0920111f9c52ccbce5bed86ddfdf6c52d2afa715694093703686f3ae6573b42813d0624a12d2a5db2f6b0fccf633882f4a8c57420ebc06e2c7549994a5261a5f SHA512 6dbcb02913eedc28f88dca4d6e57a5a470cce323b423b7cfb0d5e4042d7769f98713cb03690e269be1d08c80c74c78c7a7876ec81794e5cc1a3cd257585d3669 diff --git a/dev-python/ManimPango/ManimPango-0.4.3.ebuild b/dev-python/ManimPango/ManimPango-0.4.3.ebuild index 80dfc5cfb6d7..b83ecf464df8 100644 --- a/dev-python/ManimPango/ManimPango-0.4.3.ebuild +++ b/dev-python/ManimPango/ManimPango-0.4.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/ManimPango/ManimPango-0.5.0.ebuild b/dev-python/ManimPango/ManimPango-0.5.0.ebuild new file mode 100644 index 000000000000..1c29274483ce --- /dev/null +++ b/dev-python/ManimPango/ManimPango-0.5.0.ebuild @@ -0,0 +1,38 @@ +# 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,12} ) + +inherit distutils-r1 + +DESCRIPTION="Binding for Pango, to use with Manim." +HOMEPAGE="https://github.com/ManimCommunity/ManimPango https://pypi.org/project/manimpango" +SRC_URI="https://github.com/ManimCommunity/ManimPango/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="debug" + +BDEPEND=" + >=dev-python/cython-3.0.2[${PYTHON_USEDEP}] + x11-libs/pango +" + # doc? ( + # dev-python/furo[${PYTHON_USEDEP}] + # dev-python/sphinxext-opengraph[${PYTHON_USEDEP}] + # ) +DEPEND="${BDEPEND}" + +src_prepare() { + # The tests always fails. I cannot find how to solve it + rm -rf "${S}/tests" + distutils-r1_src_prepare +} + +# Cannot build the docs, sphinx.ext.autosummary cannot find manimpango +# distutils_enable_sphinx docs diff --git a/dev-python/Nuitka/Manifest b/dev-python/Nuitka/Manifest index e8ae8bf19976..deab414e3d56 100644 --- a/dev-python/Nuitka/Manifest +++ b/dev-python/Nuitka/Manifest @@ -1,3 +1,4 @@ DIST Nuitka-1.9.1.tar.gz 3909492 BLAKE2B 87d658083ce21d720126c61a8f8ec0df7608d365737475b194c739314d1bab4bcdb647646c1bc64a0371e0fd69c22dab512814d968db3bf02c13741ff34b4f15 SHA512 17a44fa076d4812f56f3fe4aa6b6e4ef38dea328fbc1f6d0c8aa31748b303b8cf057891d4749a43064a12d2c836e03f4ad58830ee56c713cffbae6c8bec50d92 DIST Nuitka-1.9.2.tar.gz 3910444 BLAKE2B a16577c9cb17e1cd99f00dd1974d8154ea2a299c82d3eca06dc60bd526d0ec2d4c0d70d8655d9cfe8178c8fa074bb2a90c3bc28b8869f329e1f0ae04fa63cf4c SHA512 abf4f772512af84d937e2618e3419a53b3ab445505a6aa156810606a23c3dc0252cf9938730987fbc8ed9ccd63afc87d243c909953593ead53d60a0a8a3cd7f8 DIST Nuitka-1.9.3.tar.gz 3911401 BLAKE2B 83e88d75984074e09be79be5b1ecbe456b304222aad371c92beac109f2a8642ecfbaf39676be9ad26d081defeb63f0022a928ee4d858fa7844e738dafbba95dd SHA512 23ffb85267b219dee3120369f97e74e3e818c58df4928d41ddf14ccab77bac7485c48c2d69c5669038129f2b4b7ccf3ec68b619fc608140609c0003619c36ba9 +DIST Nuitka-1.9.4.tar.gz 3911526 BLAKE2B 5086b78fd3ae624f86ad67f99c9585277b002fdf30fffcc2c96c099be2c0419337f6230220867a481ad274062e585171bdbea6f7ab3e525ad753c8b75f33bb46 SHA512 977acfd911b79813b84152b95744f884398313feec9a86427069749fbe71b487b32ddfb729e1e781d976d52f34dee144a4232383f9528fc4bc9c3d51d8595770 diff --git a/dev-python/Nuitka/Nuitka-1.9.4.ebuild b/dev-python/Nuitka/Nuitka-1.9.4.ebuild new file mode 100644 index 000000000000..ac9ead24db5b --- /dev/null +++ b/dev-python/Nuitka/Nuitka-1.9.4.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 flag-o-matic optfeature pypi + +DESCRIPTION="Python to native compiler" +HOMEPAGE=" + https://www.nuitka.net/ + https://github.com/Nuitka/Nuitka/ + https://pypi.org/project/Nuitka/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~loong ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-util/scons[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( dev-util/ccache ) +" + +distutils-r1_src_prepare() { + # remove vendored version of SCons that is Python2 only + # this should be removed when upstream removes support for Python2 + rm -vR "nuitka/build/inline_copy/lib/scons-2.3.2/SCons" || die + eapply_user +} + +python_install() { + distutils-r1_python_install + doman doc/nuitka3.1 doc/nuitka3-run.1 +} + +python_test() { + append-ldflags -Wl,--no-warn-search-mismatch + ./tests/basics/run_all.py search || die +} + +pkg_postinst() { + optfeature "support for stand-alone executables" app-admin/chrpath +} diff --git a/dev-python/aiounittest/aiounittest-1.4.2.ebuild b/dev-python/aiounittest/aiounittest-1.4.2.ebuild index 8c2337df6a97..b44406b5a7a0 100644 --- a/dev-python/aiounittest/aiounittest-1.4.2.ebuild +++ b/dev-python/aiounittest/aiounittest-1.4.2.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/wrapt[${PYTHON_USEDEP}] diff --git a/dev-python/argcomplete/Manifest b/dev-python/argcomplete/Manifest index 62a41d2b60ec..56c681c62557 100644 --- a/dev-python/argcomplete/Manifest +++ b/dev-python/argcomplete/Manifest @@ -1,2 +1,3 @@ DIST argcomplete-3.1.6.tar.gz 79685 BLAKE2B df21d5a68a173a3c09b76d866adf949910ad775eb6c7d09d797308e87c128a6eebe173d89fc95aaa42bb87bf08e9c84aa217e8844c9fab5c680c83e07d0c7854 SHA512 7d625dfc49253281f692254a23e7fc4af155b97a7df55a0b33eba9655281702396a1119269cf80b5650885e00d75886fbdcbd85312e7ccac6d940edd6189d50e DIST argcomplete-3.2.0.tar.gz 80524 BLAKE2B cbe15faf0c46f761204f004a4b630efbb037444a7222c9fcd59dafa7f2d8201edade374cf70fe3a059d3681ef320942dd3b43f0984c04a2cd52fe0571dafce6c SHA512 4ec4b83f68080cf8710b7377ae377a8ae10bc54f46bdd2a825b4c04d80a8d42f63fbc04d6413e2c430d7f4024ecd42f944b102c70e3fa3b60afda10a33994ac7 +DIST argcomplete-3.2.1.tar.gz 80727 BLAKE2B 61964ebce499f64eda1e54ccfaf811d327fc1af4010d2365ccbc68809b336c079c32907bbbcea510658759f31eb22663876d655cd8d6126a3407740aa72c897a SHA512 6b6a42b0a1f7f4bfa27ce4ab756f1a665c4fdf4592af106908bbcfdd8af94ed1c4404ad602d9405f84abf011a474f191b36dc761aaeef8d18f2fbde71eba4f5e diff --git a/dev-python/argcomplete/argcomplete-3.2.1.ebuild b/dev-python/argcomplete/argcomplete-3.2.1.ebuild new file mode 100644 index 000000000000..779b34221a7a --- /dev/null +++ b/dev-python/argcomplete/argcomplete-3.2.1.ebuild @@ -0,0 +1,43 @@ +# 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,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Bash tab completion for argparse" +HOMEPAGE=" + https://github.com/kislyuk/argcomplete/ + https://pypi.org/project/argcomplete/ +" + +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 ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +# pip is called as an external tool +BDEPEND=" + test? ( + app-shells/fish + app-shells/tcsh + app-shells/zsh + dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pip-19 + ) +" + +PATCHES=( + # increase test timeouts -- this is particularly necessary + # for entry point tests because they read metadata of all installed + # packages which can take real long on systems with lots of packages + "${FILESDIR}/argcomplete-3.1.6-timeout.patch" +) + +python_test() { + "${EPYTHON}" test/test.py -v || die +} diff --git a/dev-python/cloup/Manifest b/dev-python/cloup/Manifest index 7d42675ff5b9..74694df04716 100644 --- a/dev-python/cloup/Manifest +++ b/dev-python/cloup/Manifest @@ -1 +1,2 @@ -DIST cloup-3.0.2.gh.tar.gz 225377 BLAKE2B cec9fd4c493b46e4498eea7541b8eedd1b9902952fc8ec353c7b5fc14306aea778ef5683b3ec217b54989cfce2b681be3da262879ac3060d3db4284a3ac6c1f8 SHA512 4e19a058c7c07841296ff680cd6be0044d5ab181cd7bcd053b30c709f4dcc21720db8fac60045e453f91b2af7c168df1f0afa425d5dc9d5794040846c72bd79c +DIST cloup-2.1.2.gh.tar.gz 225435 BLAKE2B 035068c22b652a349b98c270c91b8a7c2c8694ae3b7025da576f3495ccde140301376c8c30d75088c5e89a8bdfe47fcab0ad0968e48593802a0de5b6dcc3b31a SHA512 1328459afdfc9e10b7b2e0e4c1794376a4c8fd6c53f811b3dac2d6054059031c51bc2d44dda86d5ea1623d1a2ed536f58028f95eb9fec7631e9bc9c10b744926 +DIST cloup-3.0.3.gh.tar.gz 225678 BLAKE2B 0505c09cd1951427dd037de36f01cbe9bc62a77134909d2b0b674c5cf902d3afd396f0aacf1581395f8779dcc0ddea12763512d7366f2f41b167cdbb7e4469a8 SHA512 8bb90afc8f9d84df9f0173bf6d861d487dfc085191021636599f1e519d9903a3a71a93d8090ca4792636d620cab74693c8d780764cf87e1b197e971c8ab334af diff --git a/dev-python/cloup/cloup-2.1.2.ebuild b/dev-python/cloup/cloup-2.1.2.ebuild new file mode 100644 index 000000000000..97bdede5b8b9 --- /dev/null +++ b/dev-python/cloup/cloup-2.1.2.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=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +DESCRIPTION="Click + option groups + constraints + aliases + help themes + ..." +HOMEPAGE="https://github.com/janluke/cloup https://pypi.org/project/cloup/" +SRC_URI="https://github.com/janluke/cloup/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/click-8.0[${PYTHON_USEDEP}] + <dev-python/click-9.0[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" +# BDEPEND=" +# doc? ( +# dev-python/sphinx-autoapi[${PYTHON_USEDEP}] +# dev-python/sphinx-panels[${PYTHON_USEDEP}] +# dev-python/sphinx-copybutton[${PYTHON_USEDEP}] +# dev-python/sphinx-version-warning[${PYTHON_USEDEP}] +# dev-python/sphinx-issues[${PYTHON_USEDEP}] +# ) + +distutils_enable_tests pytest +# distutils_enable_sphinx docs # The doc need dev-python/sphinx < 5, which we don't have + +src_prepare() { + default + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} +} diff --git a/dev-python/cloup/cloup-3.0.2.ebuild b/dev-python/cloup/cloup-3.0.3.ebuild index 28a3c6885563..732e5ba9dac6 100644 --- a/dev-python/cloup/cloup-3.0.2.ebuild +++ b/dev-python/cloup/cloup-3.0.3.ebuild @@ -6,13 +6,13 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -inherit distutils-r1 pypi +inherit distutils-r1 DESCRIPTION="Click + option groups + constraints + aliases + help themes + ..." HOMEPAGE="https://github.com/janluke/cloup https://pypi.org/project/cloup/" SRC_URI="https://github.com/janluke/cloup/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" -LICENSE="MIT" +LICENSE="BSD" SLOT="0" KEYWORDS="~amd64" @@ -20,10 +20,17 @@ RDEPEND=" >=dev-python/click-8.0[${PYTHON_USEDEP}] <dev-python/click-9.0[${PYTHON_USEDEP}] " +DEPEND="${RDEPEND}" BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] " -DEPEND="${RDEPEND}" +# doc? ( +# dev-python/sphinx-autoapi[${PYTHON_USEDEP}] +# dev-python/sphinx-panels[${PYTHON_USEDEP}] +# dev-python/sphinx-copybutton[${PYTHON_USEDEP}] +# dev-python/sphinx-version-warning[${PYTHON_USEDEP}] +# dev-python/sphinx-issues[${PYTHON_USEDEP}] +# ) distutils_enable_tests pytest # distutils_enable_sphinx docs # The doc need dev-python/sphinx < 5, which we don't have diff --git a/dev-python/cython/cython-3.0.5.ebuild b/dev-python/cython/cython-3.0.5.ebuild index 1a41315bbc99..8748be7c9089 100644 --- a/dev-python/cython/cython-3.0.5.ebuild +++ b/dev-python/cython/cython-3.0.5.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/ddt/ddt-1.7.0.ebuild b/dev-python/ddt/ddt-1.7.0.ebuild index 4ffc93c6ce00..a84cc93a9add 100644 --- a/dev-python/ddt/ddt-1.7.0.ebuild +++ b/dev-python/ddt/ddt-1.7.0.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86" BDEPEND=" test? ( diff --git a/dev-python/feedparser/Manifest b/dev-python/feedparser/Manifest index c33b44d90596..4c4e2ef81a30 100644 --- a/dev-python/feedparser/Manifest +++ b/dev-python/feedparser/Manifest @@ -1 +1,2 @@ DIST feedparser-6.0.10.tar.gz 252872 BLAKE2B 5c3b32d264bd00225de20c56c664f369516ead06b33ed1f2ae4123002297b12cc78c2680366e125af1762e53cd4452f2070e5e726de2f0c9ccd71c78cc5ab3a2 SHA512 92f5608d1a12172bc1524d5c8caa75f1cc1a6d7d3456ecd585e6715209cdff469b775c677b8393e1d1e1a895b857fc3c048c36fb83b215308b707a1f71c6e9d3 +DIST feedparser-6.0.11.gh.tar.gz 253205 BLAKE2B 390a7e2cc5d8c1d0f5fa0d696990fe319ce61d0e65dc3f4eb6b3d21c3e11e06d1eb9aa48e72f55dd293364be555120e4e71d1673a04dbbade81be0f5c6853d92 SHA512 258e06d6077d92a75a899f0832c28587e52aff62b40b03af42effbeb9d5dc1d282f423fad762cf4ddeb854cf709346cf531e05b73aa753dbed97793981d20a97 diff --git a/dev-python/feedparser/feedparser-6.0.11.ebuild b/dev-python/feedparser/feedparser-6.0.11.ebuild new file mode 100644 index 000000000000..72c4c01cdf7f --- /dev/null +++ b/dev-python/feedparser/feedparser-6.0.11.ebuild @@ -0,0 +1,46 @@ +# 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,12} pypy3 ) + +inherit distutils-r1 + +MY_PV=${PV/_beta/b} +MY_P=${PN}-${MY_PV} +DESCRIPTION="Parse RSS and Atom feeds in Python" +HOMEPAGE=" + https://github.com/kurtmckee/feedparser/ + https://pypi.org/project/feedparser/ +" +SRC_URI=" + https://github.com/kurtmckee/feedparser/archive/${MY_PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-python/sgmllib3k[${PYTHON_USEDEP}] +" + +PATCHES=( + "${FILESDIR}/feedparser-6.0.8-fix-py3.10.patch" +) + +src_prepare() { + # broken + rm \ + tests/illformed/chardet/{big5,euckr,gb2312,windows1255}.xml \ + tests/illformed/undeclared_namespace.xml || die + distutils-r1_src_prepare +} + +python_test() { + "${EPYTHON}" tests/runtests.py -v || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/flasgger/flasgger-0.9.7.1.ebuild b/dev-python/flasgger/flasgger-0.9.7.1.ebuild index 8ef519b21a58..72a46a66df2f 100644 --- a/dev-python/flasgger/flasgger-0.9.7.1.ebuild +++ b/dev-python/flasgger/flasgger-0.9.7.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/flask-0.10[${PYTHON_USEDEP}] diff --git a/dev-python/http-ece/http-ece-1.1.0.ebuild b/dev-python/http-ece/http-ece-1.1.0.ebuild index e58ae026233b..76551a8812c2 100644 --- a/dev-python/http-ece/http-ece-1.1.0.ebuild +++ b/dev-python/http-ece/http-ece-1.1.0.ebuild @@ -11,7 +11,7 @@ MY_PN="encrypted-content-encoding" DESCRIPTION="Encrypted Content Encoding for HTTP" HOMEPAGE=" https://pypi.org/project/http-ece/ - https://github.com/martinthomson/encrypted-content-encoding + https://github.com/web-push-libs/encrypted-content-encoding " SRC_URI="https://github.com/martinthomson/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" S="${WORKDIR}/${MY_PN}-${PV}/python" diff --git a/dev-python/httpbin/httpbin-0.10.1-r3.ebuild b/dev-python/httpbin/httpbin-0.10.1-r3.ebuild index 79001c5f0488..8b18aa9839a1 100644 --- a/dev-python/httpbin/httpbin-0.10.1-r3.ebuild +++ b/dev-python/httpbin/httpbin-0.10.1-r3.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="|| ( MIT ISC )" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/brotlicffi[${PYTHON_USEDEP}] diff --git a/dev-python/imageio/Manifest b/dev-python/imageio/Manifest index aea1c401d9c1..4d87da2c2bf2 100644 --- a/dev-python/imageio/Manifest +++ b/dev-python/imageio/Manifest @@ -1,5 +1,6 @@ DIST imageio-2.31.6.gh.tar.gz 412220 BLAKE2B b8eb95d8bf4fd1f8a0873581f401667e5ad4bb1a4cc43527e163e292cac6177e095c140857e8acdd483029f8d155a7e7bde33b41fc53d5945ff42e2685f74d03 SHA512 10f9fc7ac7ef1c3352659ec29c66684133c51350e33f16c617806f75b6137aeb8a580975ae430afab16f06843efa3e41b7e4ab042fb183d44f1a3e5c1d68efeb DIST imageio-2.32.0.gh.tar.gz 412403 BLAKE2B 7e29d7e8008caeecbc4c76293da77fe85b0d3d4e6cd12b7ab8f5d0ab895bb22ff6d29bf70469ff848a8bc8449d5211d96f5a2fd9a31ec88beb93d1568ab78f50 SHA512 b2a1accdf48e23f1b3813fae5f68afa4501fad47968e20f91af2ba433c629748d6cec5a914c4b2288ce527c81aadea296bf1b2d877ef39b3ac99f85a60aa854d DIST imageio-2.33.0.gh.tar.gz 412609 BLAKE2B 4219199e7ba4810299f66b6d4870875e822d1db87dbfd3eb1e9cea2e74edc3c8f17625d7fdb7a8761db9127e85ccac090a68d01fb4bdf458474823f87cd1d55b SHA512 2dfbddf9489748a3d15851a711bbce9da039a8f3b81638124c51b3b96f06ea83de257132043113b8f5431c987d0701794fe341a17a4623a00c2fa827e6e5e4a1 +DIST imageio-2.33.1.gh.tar.gz 413003 BLAKE2B 33afafcca605388e24920047d80b37e5a100c3a747d862a8fccece9ebd6d2ec53f564b1ce5d37fe7c97b2c4b7d4cf5258331b5824ecbdc4648809de7e763e4e0 SHA512 c7fb3ee6df72f4ef93be8a4b21beb15287a644113df2790f0049d6a8dcac6b7762186c4f2b9a07c2b579b3c0d4fbf3037c82889f1911c65fc615b7c8c98c80bb DIST imageio-chelsea.png 221294 BLAKE2B 58537d7a1678fa5be4cc899e5bacd925bfc180eb4ae691330a53749a49ff544e979609b529ed27e5c1fc9efe4bc050ca1ce49b777f4016fb1d66affd926ef9d3 SHA512 48470cdb843eed4dfa6673811c09c5aac9869ee23dd36be0c6b653d9f108d61d21b148c2a4435aaa6604887ba030e5bbc5e35d378da876366445dfc2d0ba4e27 DIST imageio-cockatoo.mp4 728751 BLAKE2B 45b22cd517c1cb7c0cd12f8865facaca6a847047aea716e49633cf2b1dc13826f94787c8a8f9dd5f48c6a896f5d37794c0058da1bde9e1469f196916476dbfa2 SHA512 e9cb7c25de8019c59ba4090cf10ab29f2b5d62ada37a877081ca07d2ecfe010036222ae843b41bbcc843130d97fa5e14421de252639e9481df1d1c27b19add49 diff --git a/dev-python/imageio/imageio-2.33.1.ebuild b/dev-python/imageio/imageio-2.33.1.ebuild new file mode 100644 index 000000000000..fd5f7c6fd8a0 --- /dev/null +++ b/dev-python/imageio/imageio-2.33.1.ebuild @@ -0,0 +1,92 @@ +# 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,12} ) + +inherit distutils-r1 + +BIN_COMMIT=224074bca448815e421a59266864c23041531a42 +DESCRIPTION="Python library for reading and writing image data" +HOMEPAGE=" + https://imageio.readthedocs.io/en/stable/ + https://github.com/imageio/imageio/ + https://pypi.org/project/imageio/ +" +SRC_URI=" + https://github.com/imageio/imageio/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/imageio/imageio-binaries/raw/${BIN_COMMIT}/images/chelsea.png + -> ${PN}-chelsea.png + https://github.com/imageio/imageio-binaries/raw/${BIN_COMMIT}/images/cockatoo.mp4 + -> ${PN}-cockatoo.mp4 + ) +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +# over 50% of tests rely on Internet +PROPERTIES="test_network" +RESTRICT="test" + +RDEPEND=" + >=dev-python/numpy-1.20.0[${PYTHON_USEDEP}] + >=dev-python/pillow-8.3.2[${PYTHON_USEDEP}] + media-libs/freeimage +" +# requests for fsspec[github] +BDEPEND=" + test? ( + dev-python/fsspec[${PYTHON_USEDEP}] + dev-python/imageio-ffmpeg[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/tifffile[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + local PATCHES=( + # block silently downloading vulnerable libraries from the Internet + "${FILESDIR}"/imageio-2.22.0-block-download.patch + ) + + if use test; then + mkdir -p "${HOME}"/.imageio/images || die + local i + for i in chelsea.png cockatoo.mp4; do + cp "${DISTDIR}/${PN}-${i}" "${HOME}/.imageio/images/${i}" || die + done + fi + + distutils-r1_src_prepare +} + +EPYTEST_DESELECT=( + # Fails because of system installed freeimage + tests/test_core.py::test_findlib2 + # Tries to download ffmpeg binary ?! + tests/test_ffmpeg.py::test_get_exe_installed + # blocked by our patch + tests/test_core.py::test_fetching + tests/test_core.py::test_request + # known broken + # https://github.com/imageio/imageio/issues/890 + tests/test_freeimage.py::test_exr_write + # requires pillow-heif, also possibly Internet + tests/test_pillow.py::test_avif_remote + tests/test_pillow.py::test_heif_remote + # TODO: imageio-ffmpeg seems broken with current ffmpeg? + tests/test_ffmpeg.py::test_reader_more + tests/test_ffmpeg.py::test_reverse_read + tests/test_ffmpeg.py::test_write_audio_ac3 + tests/test_ffmpeg.py::test_write_audio_default_codec + tests/test_ffmpeg.py::test_writer_pixelformat_size_verbose + tests/test_ffmpeg_info.py::test_overload_fps +) diff --git a/dev-python/iuliia/iuliia-0.11.5.ebuild b/dev-python/iuliia/iuliia-0.11.5.ebuild index c69c9cd5dbb0..5abdb9c18181 100644 --- a/dev-python/iuliia/iuliia-0.11.5.ebuild +++ b/dev-python/iuliia/iuliia-0.11.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2022 Gentoo Authors +# Copyright 2021-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -9,7 +9,7 @@ inherit distutils-r1 pypi DESCRIPTION="Transliterate Cyrillic to Latin in every possible way" HOMEPAGE=" - https://dangry.ru/iuliia/ + https://iuliia.ru/ https://pypi.org/project/iuliia/ https://github.com/nalgeon/iuliia-py " diff --git a/dev-python/lz4/lz4-4.3.2.ebuild b/dev-python/lz4/lz4-4.3.2.ebuild index f4598686728d..c316e2fcfedb 100644 --- a/dev-python/lz4/lz4-4.3.2.ebuild +++ b/dev-python/lz4/lz4-4.3.2.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" SLOT="0" LICENSE="BSD" -KEYWORDS="amd64 arm arm64 ~riscv x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~riscv x86 ~amd64-linux ~x86-linux" DEPEND=" app-arch/lz4:= diff --git a/dev-python/pathspec/Manifest b/dev-python/pathspec/Manifest index 27ac3294b5cf..b22e4fc1e5d1 100644 --- a/dev-python/pathspec/Manifest +++ b/dev-python/pathspec/Manifest @@ -1,2 +1,3 @@ DIST pathspec-0.11.2.tar.gz 47032 BLAKE2B 4a84b8d5850b226713abff743df4a7ffbef0155454337c20aad78f0fd2dd2ad802d3d0f1e557aaffbb550e85e2e051dc9829090b7a43426795dac802b8da3b7a SHA512 bb1a178db145fee8011f579fb3a87564245e94b22adfac42bda921d8e2b95cab32617379e22d8ec2bd6aa7e6f9d96c10df4503e638aabfe6b358050912ab98a8 DIST pathspec-0.12.0.tar.gz 50357 BLAKE2B 94c704bd48b6dc741b00e8568ff98affe5d5e50a78d16eacda3f557e71c5baba9b036ecf9c3de50fbf8f6e1015c2d7d8b2fd3788d46e138f79d2bae00977c642 SHA512 c95546a0301333ab42e2af63f0729c3b6ad9ec3b9d3773f3201912866d8544a233ffe8878d1cf96abc6cbb7b46743927cc78233c11812c8d5ffed38be8a4e328 +DIST pathspec-0.12.1.tar.gz 51043 BLAKE2B e5cf93dc0a24a51bdcbcec807514344ed4e39029a8f1abe8db7cf8fa4883ac2e74f8b1a3ad6cd44bcff538b5eecc5b091b145c6c8d170de574ce9217d58855cb SHA512 19d1a8ae5936e76eacd691b0e2fb33d0de376556751a9ae007f6b09d0aa36af7d171101df620cab3e93c9913be578ff3d6bba9d4460351ac248e5c9e015380ad diff --git a/dev-python/pathspec/pathspec-0.12.1.ebuild b/dev-python/pathspec/pathspec-0.12.1.ebuild new file mode 100644 index 000000000000..2559fc67d12a --- /dev/null +++ b/dev-python/pathspec/pathspec-0.12.1.ebuild @@ -0,0 +1,21 @@ +# 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,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Utility library for gitignore style pattern matching of file paths" +HOMEPAGE=" + https://github.com/cpburnz/python-pathspec/ + https://pypi.org/project/pathspec/ +" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +distutils_enable_tests unittest diff --git a/dev-python/pikepdf/Manifest b/dev-python/pikepdf/Manifest index 0b528391517a..4a111f12e9f1 100644 --- a/dev-python/pikepdf/Manifest +++ b/dev-python/pikepdf/Manifest @@ -1,8 +1,4 @@ DIST pikepdf-8.4.1.tar.gz 2853305 BLAKE2B 2298514159db17ba49b8e2fa2407d60de50273bea111ece704251d99193bdc4c8ed77f624237a49c3f4f129e3b14ac4ddd1006cf3024bcbf822bc5523e0fee35 SHA512 6989e8a3888f612e453ec1ea8425c0ca35ccfee19ae5e8c32df136ebc3fbb7728d9fe5beaacb4e392a20c9037a1009fc8f8d53d73634427fb0df9103626e34fa -DIST pikepdf-8.5.1.tar.gz 2854559 BLAKE2B 70bca735461d0234cd43cc757a1e8137f9cc30715c409d0bc42c4c547d961e2416203212e91b35cc8a2ac464bb0150fcd685d47fe43d6c1664210918bbb11fc6 SHA512 7c5dc66378c6bb2aaeb9a9fba1c69172619ee516f285e36e5560beb8b10164c01392d06d546f69818af59ebbe7d8c5fa299237d78e622d2cd14ca7c6c1020992 -DIST pikepdf-8.5.2.tar.gz 2854729 BLAKE2B 276d96d21e0d5d58177776257286560771896424dd49145cf5daf32bd6344a0d18b22ca4a0ee806d1aabdef3310a751a091f9a6f4725199d04dab689ea678546 SHA512 7f107ed1535e876c1892d3ffdae57fca85c140ff2fdd981937600b310692248c53a3539dc8c1c1c5ce6e35349692d67c6c4e2f31a3a74ead246faaa212bd70d4 -DIST pikepdf-8.5.3.tar.gz 2854900 BLAKE2B 6dfd458b96b60cbd2cbd5491353c98710bec458b11f92b8e5abdad05a83567f98e0c21eeafd47650de0d6600f958417d92f62d76034db6663555fc76d8c4714b SHA512 dd7c6d131f1bf61c0cb285c06629c44a5e8436fa368832aacac7d5fcd8ab3b19b96d0d1005b02dd5084a1d9a4200f3fb27f66b60e9625f3cd9bfb32a649f497c -DIST pikepdf-8.6.0.tar.gz 2855625 BLAKE2B f9f0867b72e531c54bd65e0ce74eeea3b5379b04c073863b1e690e989f9d05061635eadb10ca0bb6f79f64e3d16d619b7c1200a35dfbfc8808831960c889e474 SHA512 d272b7f8c334a7c803594a6d7ace2d53a971da0ec1e814d16f20564af5075dbff35e1e28e129dcc2168d1c9b83047a9ea1905b163b24d14179cbd2dc874f84d7 -DIST pikepdf-8.7.0.tar.gz 2860417 BLAKE2B bc11b2f1e2023cd25103e78522429cd50a6deae4e598653f6b9e35c82ac2069403c0fd8d17e56597c7189b207dd41dc8ecf23a940095625e19c453695e0290df SHA512 445c6cbd1b311ebfc96924cb5f381fe05ab549826029a796d7b744b93265880b27fe17e9f9cba212c5ed289a5fe6efa5e6457d0912f0ca13109c345d40e20ec7 DIST pikepdf-8.7.1.tar.gz 2860480 BLAKE2B fa06667947d0166e8597e4fa757ffa96eb69ed3fe2dfd4a54e515678f55afd15a0e2dfcd571fabc933423f0696725d623b0fb9f95cb8ca8633a6581a7957c25d SHA512 3adc075244eb66e0aa4b18882c2ede598b26a40c56497628a8262f82c8ec72af25b4c97ded0771a8e0ec7bb1e7537ec4e172505fd30271a995491361bf17277f DIST pikepdf-8.8.0.tar.gz 2865070 BLAKE2B 78c26c577db858c27a1aa632c0e93a955eafc76f3e5928a5d4862408a71c02b66325e51728e81a5d6bd571655b2c96468592b3c591993e4cf6ecfa28fd997a89 SHA512 91bdf67a800c18559172c7a253859e6e5ef443b0f6e2d2f3af21042db2640f9d96a8fb5764e6ddd64ace248788e32b071ed624c95a6a0557ba19dc6fc33fdf76 +DIST pikepdf-8.9.0.tar.gz 2865109 BLAKE2B 6f40bb10201c3a57716a53fb50111a16e1eb9d1042c54395e5a2862c32ad696360c9185dc03667fa36fe82e219ac925c0ca89c414adb86cc5db02cf39f7850ee SHA512 6cab43e0225aa01c7a964509dc517c4135621d37b6a2a4383c0e5d5b180402a0aa0a219ec05ac61360ee77f29a2805b6dfda1794ee4d21cda79654222dd9f00e diff --git a/dev-python/pikepdf/pikepdf-8.5.1.ebuild b/dev-python/pikepdf/pikepdf-8.5.1.ebuild deleted file mode 100644 index 10d2749c1d47..000000000000 --- a/dev-python/pikepdf/pikepdf-8.5.1.ebuild +++ /dev/null @@ -1,62 +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,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python library to work with pdf files based on qpdf" -HOMEPAGE=" - https://github.com/pikepdf/pikepdf/ - https://pypi.org/project/pikepdf/ -" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -# Check QPDF_MIN_VERSION in pyproject.toml on bumps, as well as -# https://qpdf.readthedocs.io/en/stable/release-notes.html. -DEPEND=" - >=app-text/qpdf-11.5.0:0= -" -RDEPEND=" - ${DEPEND} - dev-python/deprecation[${PYTHON_USEDEP}] - >=dev-python/lxml-4.0[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/pillow-10.0.1[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/pybind11-2.10.1[${PYTHON_USEDEP}] - >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}] - test? ( - >=dev-python/attrs-20.2.0[${PYTHON_USEDEP}] - >=dev-python/hypothesis-6.36[${PYTHON_USEDEP}] - >=dev-python/numpy-1.21.0[${PYTHON_USEDEP}] - >=dev-python/pillow-5.0.0[${PYTHON_USEDEP},jpeg,lcms,tiff] - >=dev-python/psutil-5.9[${PYTHON_USEDEP}] - >=dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}] - >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.{8..10}) - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # fragile to system load - tests/test_image_access.py::test_random_image -) - -src_prepare() { - sed -e '/-n auto/d' -i pyproject.toml || die - distutils-r1_src_prepare -} diff --git a/dev-python/pikepdf/pikepdf-8.5.2.ebuild b/dev-python/pikepdf/pikepdf-8.5.2.ebuild deleted file mode 100644 index a223f72a612a..000000000000 --- a/dev-python/pikepdf/pikepdf-8.5.2.ebuild +++ /dev/null @@ -1,62 +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,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python library to work with pdf files based on qpdf" -HOMEPAGE=" - https://github.com/pikepdf/pikepdf/ - https://pypi.org/project/pikepdf/ -" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -# Check QPDF_MIN_VERSION in pyproject.toml on bumps, as well as -# https://qpdf.readthedocs.io/en/stable/release-notes.html. -DEPEND=" - >=app-text/qpdf-11.5.0:0= -" -RDEPEND=" - ${DEPEND} - dev-python/deprecation[${PYTHON_USEDEP}] - >=dev-python/lxml-4.0[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/pillow-10.0.1[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/pybind11-2.10.1[${PYTHON_USEDEP}] - >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}] - test? ( - >=dev-python/attrs-20.2.0[${PYTHON_USEDEP}] - >=dev-python/hypothesis-6.36[${PYTHON_USEDEP}] - >=dev-python/numpy-1.21.0[${PYTHON_USEDEP}] - >=dev-python/pillow-5.0.0[${PYTHON_USEDEP},jpeg,lcms,tiff] - >=dev-python/psutil-5.9[${PYTHON_USEDEP}] - >=dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}] - >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.10) - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # fragile to system load - tests/test_image_access.py::test_random_image -) - -src_prepare() { - sed -e '/-n auto/d' -i pyproject.toml || die - distutils-r1_src_prepare -} diff --git a/dev-python/pikepdf/pikepdf-8.5.3.ebuild b/dev-python/pikepdf/pikepdf-8.5.3.ebuild deleted file mode 100644 index a223f72a612a..000000000000 --- a/dev-python/pikepdf/pikepdf-8.5.3.ebuild +++ /dev/null @@ -1,62 +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,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python library to work with pdf files based on qpdf" -HOMEPAGE=" - https://github.com/pikepdf/pikepdf/ - https://pypi.org/project/pikepdf/ -" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -# Check QPDF_MIN_VERSION in pyproject.toml on bumps, as well as -# https://qpdf.readthedocs.io/en/stable/release-notes.html. -DEPEND=" - >=app-text/qpdf-11.5.0:0= -" -RDEPEND=" - ${DEPEND} - dev-python/deprecation[${PYTHON_USEDEP}] - >=dev-python/lxml-4.0[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/pillow-10.0.1[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/pybind11-2.10.1[${PYTHON_USEDEP}] - >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}] - test? ( - >=dev-python/attrs-20.2.0[${PYTHON_USEDEP}] - >=dev-python/hypothesis-6.36[${PYTHON_USEDEP}] - >=dev-python/numpy-1.21.0[${PYTHON_USEDEP}] - >=dev-python/pillow-5.0.0[${PYTHON_USEDEP},jpeg,lcms,tiff] - >=dev-python/psutil-5.9[${PYTHON_USEDEP}] - >=dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}] - >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.10) - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # fragile to system load - tests/test_image_access.py::test_random_image -) - -src_prepare() { - sed -e '/-n auto/d' -i pyproject.toml || die - distutils-r1_src_prepare -} diff --git a/dev-python/pikepdf/pikepdf-8.6.0.ebuild b/dev-python/pikepdf/pikepdf-8.6.0.ebuild deleted file mode 100644 index bb7a1216927f..000000000000 --- a/dev-python/pikepdf/pikepdf-8.6.0.ebuild +++ /dev/null @@ -1,62 +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,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python library to work with pdf files based on qpdf" -HOMEPAGE=" - https://github.com/pikepdf/pikepdf/ - https://pypi.org/project/pikepdf/ -" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" - -# Check QPDF_MIN_VERSION in pyproject.toml on bumps, as well as -# https://qpdf.readthedocs.io/en/stable/release-notes.html. -DEPEND=" - >=app-text/qpdf-11.5.0:0= -" -RDEPEND=" - ${DEPEND} - dev-python/deprecation[${PYTHON_USEDEP}] - >=dev-python/lxml-4.0[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/pillow-10.0.1[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/pybind11-2.10.1[${PYTHON_USEDEP}] - >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}] - test? ( - >=dev-python/attrs-20.2.0[${PYTHON_USEDEP}] - >=dev-python/hypothesis-6.36[${PYTHON_USEDEP}] - >=dev-python/numpy-1.21.0[${PYTHON_USEDEP}] - >=dev-python/pillow-5.0.0[${PYTHON_USEDEP},jpeg,lcms,tiff] - >=dev-python/psutil-5.9[${PYTHON_USEDEP}] - >=dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}] - >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.10) - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # fragile to system load - tests/test_image_access.py::test_random_image -) - -src_prepare() { - sed -e '/-n auto/d' -i pyproject.toml || die - distutils-r1_src_prepare -} diff --git a/dev-python/pikepdf/pikepdf-8.7.0.ebuild b/dev-python/pikepdf/pikepdf-8.9.0.ebuild index a91aad65a17b..4c6a87b79a62 100644 --- a/dev-python/pikepdf/pikepdf-8.7.0.ebuild +++ b/dev-python/pikepdf/pikepdf-8.9.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MPL-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" # Check QPDF_MIN_VERSION in pyproject.toml on bumps, as well as # https://qpdf.readthedocs.io/en/stable/release-notes.html. diff --git a/dev-python/pkgconfig/pkgconfig-1.5.5-r1.ebuild b/dev-python/pkgconfig/pkgconfig-1.5.5-r1.ebuild index 67fef889e45e..38a9ba077a54 100644 --- a/dev-python/pkgconfig/pkgconfig-1.5.5-r1.ebuild +++ b/dev-python/pkgconfig/pkgconfig-1.5.5-r1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" RDEPEND=" virtual/pkgconfig diff --git a/dev-python/pycpio/Manifest b/dev-python/pycpio/Manifest index 9ccc9943a007..3cd44656b578 100644 --- a/dev-python/pycpio/Manifest +++ b/dev-python/pycpio/Manifest @@ -1 +1 @@ -DIST pycpio-0.5.6.tar.gz 17197 BLAKE2B d25153c65d6835781eccf619ace424ebe5d0f65525f916641bc66cdf27bf63f5762f56ff91f61ddad5121aab2cd090cc8f43ee5a5947516fbcbeddd90cc6bcc9 SHA512 82dca8153dbcc0bed2c97c88ad6d11a4d990ac61e28604da140019a726b2c799131c74605f852d93bf0b5d7cae286c56e67417d01c8db60028c9cb0a7876b360 +DIST pycpio-0.6.0.tar.gz 17226 BLAKE2B dcbd9b74c0aa0e5b4eb8e826787f6de86493c2fc3df596a86040273197e2e3aaa504939cd01974f58e1034ce747049139ee4a7d65ee6721ed948e22417521e61 SHA512 b94783211bbbd5ecf0d39018af7e5f5ad8b64926c694c2b55efb208dc789bd0bcf379733a153e398905024b455acf962c284d7e4cfff7090211382284bdf2655 diff --git a/dev-python/pycpio/pycpio-0.5.6.ebuild b/dev-python/pycpio/pycpio-0.6.0.ebuild index df46eb1bb0ee..5c0bc22c0251 100644 --- a/dev-python/pycpio/pycpio-0.5.6.ebuild +++ b/dev-python/pycpio/pycpio-0.6.0.ebuild @@ -8,11 +8,11 @@ PYTHON_COMPAT=( python3_{8,9,10,11,12} ) inherit distutils-r1 DESCRIPTION="Python CPIO library" -HOMEPAGE="https://github.com/desultory/PyCPIO" +HOMEPAGE="https://github.com/desultory/pycpio" SRC_URI="https://github.com/desultory/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" # Specify the subdirectory containing the actual source code -S="${WORKDIR}/${PN}-${PV}/src" +S="${WORKDIR}/${PN}-${PV}" LICENSE="GPL-2" SLOT="0" diff --git a/dev-python/pymountboot/pymountboot-0.2.3-r1.ebuild b/dev-python/pymountboot/pymountboot-0.2.3-r1.ebuild index b8f9c0102aa6..efc9d727b8b9 100644 --- a/dev-python/pymountboot/pymountboot-0.2.3-r1.ebuild +++ b/dev-python/pymountboot/pymountboot-0.2.3-r1.ebuild @@ -18,7 +18,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~riscv x86" DEPEND=" >=sys-apps/util-linux-2.20 diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index d126bfae49c6..60622c7aa62e 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,2 +1,3 @@ DIST pypdf-3.17.1.gh.tar.gz 7975263 BLAKE2B 27b413dd5f127e22cc0116baeee62115f4b02b2ff39f27b8a7884af2389423c332114cfa826a090683c2ab6583b1a549ee1de775869eaaa0a09237aa52a65ebd SHA512 c23294a67bee6ef4e673c02b045c9ec2d3471f93bfc8530959a02289f94b0aa47e79b24bddd0603731c39ddc5197fc6fc10e668bbd1077a32ecdfc1d33740397 +DIST pypdf-3.17.2.gh.tar.gz 7977562 BLAKE2B d33413b1efe38bc147156e199851a2afb712960a377c675ec2197a720d00ef18d143a1176312c8b9b7681839024fb26544b6c09a482e3e24c9041c3d2d191cd1 SHA512 430bae4aeb1ffb8c75fd95daf04622d082725cdcf01637e2e42234bbc867360d9c5e6ebd3782608c1299f9fa1ec7598c49b0195750f58d0d16c3d744895606d8 DIST pypdf-sample-files-964fb47b0fbfa89864680582640ae4eedf143890.gh.tar.gz 11668924 BLAKE2B 0c7d8e7cfb2f9d06d7633d57b691ba473d33cfcb58d2f1f83661cef9d755340d05db8767771a385d0ba88aa904f84b8bc7eafdb5d4f614b7a21a2d138572316f SHA512 28070b575273b6fee3173e797ed5bac618f8e8aca16d0122dcf3b4b16cedbcad69b84a9bc4be65037695597bcc1fa7898cdf766c37915c49f880a0c6ca057e68 diff --git a/dev-python/pypdf/pypdf-3.17.2.ebuild b/dev-python/pypdf/pypdf-3.17.2.ebuild new file mode 100644 index 000000000000..5e613f48ddd5 --- /dev/null +++ b/dev-python/pypdf/pypdf-3.17.2.ebuild @@ -0,0 +1,59 @@ +# 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,12} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=964fb47b0fbfa89864680582640ae4eedf143890 +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 + tests/test_writer.py::test_remove_image_per_type + # TODO: requires fpdf + tests/test_page.py::test_compression + tests/test_writer.py::test_merging_many_temporary_files +) + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -m "not enable_socket" +} diff --git a/dev-python/pytest-param-files/pytest-param-files-0.6.0.ebuild b/dev-python/pytest-param-files/pytest-param-files-0.6.0.ebuild index 1e3048e2a95d..34150a3ac024 100644 --- a/dev-python/pytest-param-files/pytest-param-files-0.6.0.ebuild +++ b/dev-python/pytest-param-files/pytest-param-files-0.6.0.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/pytest[${PYTHON_USEDEP}] diff --git a/dev-python/pytest-vcr/pytest-vcr-1.0.2.ebuild b/dev-python/pytest-vcr/pytest-vcr-1.0.2.ebuild index ca4f792c9cd6..57c6505ea8c2 100644 --- a/dev-python/pytest-vcr/pytest-vcr-1.0.2.ebuild +++ b/dev-python/pytest-vcr/pytest-vcr-1.0.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/python-lzo/python-lzo-1.15.ebuild b/dev-python/python-lzo/python-lzo-1.15.ebuild index 2226c6b36ab4..668ac2150919 100644 --- a/dev-python/python-lzo/python-lzo-1.15.ebuild +++ b/dev-python/python-lzo/python-lzo-1.15.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux" DEPEND=" dev-libs/lzo:2 diff --git a/dev-python/python-olm/python-olm-3.2.16.ebuild b/dev-python/python-olm/python-olm-3.2.16.ebuild index 5c20989c7d42..8f3bbdee36f2 100644 --- a/dev-python/python-olm/python-olm-3.2.16.ebuild +++ b/dev-python/python-olm/python-olm-3.2.16.ebuild @@ -19,25 +19,23 @@ KEYWORDS="~amd64" DEPEND="dev-libs/olm" RDEPEND=" ${DEPEND} - virtual/python-cffi[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/cffi[${PYTHON_USEDEP}] + ' 'python*') " BDEPEND=" - test? ( - dev-python/aspectlib[${PYTHON_USEDEP}] - dev-python/pytest-benchmark[${PYTHON_USEDEP}] - ) + test? ( dev-python/aspectlib[${PYTHON_USEDEP}] ) " DOCS=( README-python.md ) +EPYTEST_DESELECT=( + # disable benchmarks + tests/group_session_test.py::TestClass::test_encrypt + tests/group_session_test.py::TestClass::test_decrypt +) + distutils_enable_tests pytest distutils_enable_sphinx docs \ dev-python/alabaster - -src_prepare() { - distutils-r1_src_prepare - - # To avoid merge collision with dev-libs/olm - mv "README.md" "README-python.md" || die -} diff --git a/dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.12.0.ebuild b/dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.12.0.ebuild index 0d2dc78a466e..4d4853400756 100644 --- a/dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.12.0.ebuild +++ b/dev-python/ruamel-std-pathlib/ruamel-std-pathlib-0.12.0.ebuild @@ -20,7 +20,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" !dev-python/namespace-ruamel diff --git a/dev-python/ruamel-yaml/ruamel-yaml-0.18.5.ebuild b/dev-python/ruamel-yaml/ruamel-yaml-0.18.5.ebuild index 3aceb3597fe6..09d5e023f3bd 100644 --- a/dev-python/ruamel-yaml/ruamel-yaml-0.18.5.ebuild +++ b/dev-python/ruamel-yaml/ruamel-yaml-0.18.5.ebuild @@ -20,7 +20,7 @@ S="${WORKDIR}"/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/ruamel-yaml-clib[${PYTHON_USEDEP}] diff --git a/dev-python/skia-pathops/Manifest b/dev-python/skia-pathops/Manifest index 4a1c7521cf04..580da5d6f63a 100644 --- a/dev-python/skia-pathops/Manifest +++ b/dev-python/skia-pathops/Manifest @@ -1 +1,2 @@ DIST skia-pathops-0.7.4.zip 61294605 BLAKE2B f68f19a9de6c8d3a7052b8b6e89cfdd789a3ca6932563b9af9e46a8dde50f3583e15c12bfa519b841cd0cb40e765ee29a63a8a330a6109458a1597727095ae94 SHA512 71df9b0b237a70af2246a30d53e201da493deb7a098dd969c346745c60997df1aeb1b20d4c94c2443b1c710c464272b44e9225d58ac3a9fd1074816839ae797b +DIST skia-pathops-0.8.0.post1.zip 66955898 BLAKE2B d1ad24e7dd350b44deec8aaffb17110f048fc0d4584f192eb97b52b9f98604a6fbdd35d37cc5317da14dd33225904eaf8beb0bda761017a9267b7e9f62ca0d2d SHA512 8828a8d3f070d8c4503abc144f3c5566d23812a1646b8c07e61b2b93bc43343ddee8b0c603bf47d029cfbc193c336a2a0d55251230626eb391caaa4654537342 diff --git a/dev-python/skia-pathops/skia-pathops-0.8.0.ebuild b/dev-python/skia-pathops/skia-pathops-0.8.0.ebuild new file mode 100644 index 000000000000..96c16883f1c5 --- /dev/null +++ b/dev-python/skia-pathops/skia-pathops-0.8.0.ebuild @@ -0,0 +1,42 @@ +# 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,12} ) +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_EXT=1 +inherit distutils-r1 pypi + +hash="fa6de52d9cb3a44158431d4cce870e7c2a56cdccedc8fa1262cbf61d4e1e" + +DESCRIPTION="Python bindings for the Skia Path Ops" +HOMEPAGE=" + https://skia.org/dev/present/pathops + https://pypi.org/project/skia-pathops/ + https://github.com/fonttools/skia-pathops +" +SRC_URI="https://files.pythonhosted.org/packages/37/15/${hash}/${P}.post1.zip" +S="${WORKDIR}/${P}.post1" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +# Until cpdef is removed from skia-pathops, we need cython < 3.0.0 +BDEPEND=" + app-arch/unzip + dev-python/cython[${PYTHON_USEDEP}] + dev-util/gn + dev-util/ninja +" + +PATCHES=( "${FILESDIR}"/${PN}-0.7.4-no-net.patch ) + +REPYTEST_DESELECT=( + tests/pathops_test.py::PathTest::test_transform + "tests/pathops_test.py::test_path_operation[conic_2_quad-operations3-expected3]" + "tests/pathops_test.py::test_path_operation[arc_to_quads-operations4-expected4]" +) + +distutils_enable_tests pytest diff --git a/dev-python/sphinxext-opengraph/Manifest b/dev-python/sphinxext-opengraph/Manifest new file mode 100644 index 000000000000..aa4711c3ba3c --- /dev/null +++ b/dev-python/sphinxext-opengraph/Manifest @@ -0,0 +1 @@ +DIST sphinxext-opengraph-0.9.0.tar.gz 1034489 BLAKE2B 86e268d30ddf679f97d646b23130d13c527ab89105359dfce901198a9103303b1e740bb9767dcf26eb3ed89329550aa328e68a07d49c7658b93934ac8b799e1a SHA512 f7c06b71336169258c20c3c2ce445ab95a3827de1adc51b73f918058c7373aec137aae658193998f8b7876e47662b4a3a48d56e17d28f88a14a05cc10775a3b8 diff --git a/dev-python/sphinxext-opengraph/metadata.xml b/dev-python/sphinxext-opengraph/metadata.xml new file mode 100644 index 000000000000..2b34f501d234 --- /dev/null +++ b/dev-python/sphinxext-opengraph/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>gasc@eurecom.fr</email> + <name>Gasc Henri</name> + </maintainer> + <upstream> + <doc>https://sphinxext-opengraph.readthedocs.io</doc> + </upstream> + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/sphinxext-opengraph/sphinxext-opengraph-0.9.0.ebuild b/dev-python/sphinxext-opengraph/sphinxext-opengraph-0.9.0.ebuild new file mode 100644 index 000000000000..93bd94ba270d --- /dev/null +++ b/dev-python/sphinxext-opengraph/sphinxext-opengraph-0.9.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +hash="e261d13676a53f1909ff38edd41a5d83df84dace2625b2fe9e8a679d4ef3" + +DESCRIPTION="Sphinx extension to generate unique OpenGraph metadata" +HOMEPAGE="https://github.com/wpilibsuite/sphinxext-opengraph" +SRC_URI="https://files.pythonhosted.org/packages/e7/b0/${hash}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc" + +RDEPEND=" + >=dev-python/sphinx-4.0[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] +" +BDEPEND=" + doc? ( + media-fonts/roboto + dev-python/furo[${PYTHON_USEDEP}] + dev-python/myst-parser[${PYTHON_USEDEP}] + dev-python/sphinx-design[${PYTHON_USEDEP}] + ) + test? ( dev-python/beautifulsoup4[${PYTHON_USEDEP}] ) +" + +distutils_enable_tests pytest + +python_compile_all() { + use doc && emake -C docs man +} + +python_install_all() { + distutils-r1_python_install_all + use doc && doman "${S}/docs/build/man/${PN}.1" +} diff --git a/dev-python/tempus-themes/tempus-themes-2.3.0.20220206.ebuild b/dev-python/tempus-themes/tempus-themes-2.3.0.20220206.ebuild index ccae35435ec0..ef0a3140f964 100644 --- a/dev-python/tempus-themes/tempus-themes-2.3.0.20220206.ebuild +++ b/dev-python/tempus-themes/tempus-themes-2.3.0.20220206.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/ujson/Manifest b/dev-python/ujson/Manifest index d157b9481400..ae35b388dc84 100644 --- a/dev-python/ujson/Manifest +++ b/dev-python/ujson/Manifest @@ -1 +1,2 @@ DIST ujson-5.8.0.tar.gz 7154530 BLAKE2B 8eef1b2e03fa4a99dccc9d5fba8c1436d8e11b419e7f4c8d382bf5a2250477c99a1f0ff7f9e548ca5a50217a5964dafc953ab3cdb66b784ef1dea129ec1c2b6a SHA512 258e5527bda8b9fb3bea03f97d5db752ae06183337610975fc28f928817b430ae7a1867932ee7b0a0ccd6b825e2c5a104d7ce78c1e3405ed5679a2a70a5804c3 +DIST ujson-5.9.0.tar.gz 7154214 BLAKE2B a13eda1c967b8ad39265caf28f97ef302a0b320653cde3ac927dc8119861aa468cfe267980c18b71172f5b766b2e6bc61bb86f18695528934902867ae3a42d37 SHA512 9940bc0c892341a6d2b85cfe592888866f02f054f1367812c39395eaee946f7c66a0197b2791bbb765ae38a06dcd871145effefbc06c71a87f7d24be105cda1f diff --git a/dev-python/ujson/ujson-5.9.0.ebuild b/dev-python/ujson/ujson-5.9.0.ebuild new file mode 100644 index 000000000000..08368fc0a7d0 --- /dev/null +++ b/dev-python/ujson/ujson-5.9.0.ebuild @@ -0,0 +1,41 @@ +# 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,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Ultra fast JSON encoder and decoder for Python" +HOMEPAGE=" + https://github.com/ultrajson/ultrajson/ + https://pypi.org/project/ujson/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +DEPEND=" + dev-libs/double-conversion:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_configure() { + export UJSON_BUILD_DC_INCLUDES="${EPREFIX}/usr/include/double-conversion" + export UJSON_BUILD_DC_LIBS="-ldouble-conversion" + export UJSON_BUILD_NO_STRIP=1 +} diff --git a/dev-python/xarray/Manifest b/dev-python/xarray/Manifest index 32c711eb4ec2..29eddfbefd70 100644 --- a/dev-python/xarray/Manifest +++ b/dev-python/xarray/Manifest @@ -1,3 +1,2 @@ -DIST xarray-2023.10.1.tar.gz 3796343 BLAKE2B 8c4bcccf977bf22dcb7495a35b507b113cf888819c202f4bdd90fb0146b1a8c75d79337f7dedad5d248330a2cc2dcfb07dae4faa60d90e611e1418be530c2ee4 SHA512 1fe193fc2fbd31d7478bd3152f8322f0c20e312518d1f607b483d2b9c3c19d84fb175319fa55fc01d5da13ee471c60c1976617e33760d10168d6fc7b556aeac4 DIST xarray-2023.11.0.tar.gz 3800529 BLAKE2B 45b54588e3178c5104f40741cf2a3cb6403a0ab199ad1b24a6b2da9cb19649184ba4ca516d54002753ba62c7df6e80dde3b25c68cd63d65dd076b412219de3bc SHA512 fe84884b9147683d61d68233c703d07617f61638d84e28f94c9b9f1fdddf942c563af20a15c6d765b0ff169fe0985d74d7cb4d35d42c3988f62263e55e3e9071 DIST xarray-2023.12.0.tar.gz 3602114 BLAKE2B f6753772d3ea5c5a79afb2e55e0fd9df764d18d9dbd5598dd6ddd8f36dcf96695b542b824f09f049190cc563d4a90b25b5a04e8f1babb262b02955e3f06f8f7c SHA512 a07b5d0b50949c4b3eff5055f5b225d0ab63a223c54b292ea067c9aae748c3f13d130713a146eb590596fdf96cad12bbf2f65fef2117f0b271b3d8c2ad33c9ca diff --git a/dev-python/xarray/xarray-2023.10.1-r1.ebuild b/dev-python/xarray/xarray-2023.10.1-r1.ebuild deleted file mode 100644 index 83bf83d69a60..000000000000 --- a/dev-python/xarray/xarray-2023.10.1-r1.ebuild +++ /dev/null @@ -1,83 +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,12} ) - -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 ~ppc ppc64 ~riscv ~sparc x86" -IUSE="big-endian" - -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 - - if ! has_version ">=dev-python/scipy-1.4[${PYTHON_USEDEP}]" ; then - EPYTEST_DESELECT+=( - 'xarray/tests/test_missing.py::test_interpolate_na_2d[coords1]' - ) - fi - - if use big-endian ; then - EPYTEST_DESELECT+=( - # Appears to be a numpy issue in display? See bug #916460. - 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145224193-ns-int64-20-True]' - 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1970-09-21T00:12:44.145224808-ns-float64-1e+30-True]' - 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145225216-ns-float64--9.223372036854776e+18-True]' - 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145224193-ns-int64-None-False]' - 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:12:43.145225-us-int64-None-False]' - 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1970-01-01T00:00:01.000001-us-int64-None-False]' - 'xarray/tests/test_coding_times.py::test_roundtrip_datetime64_nanosecond_precision[1677-09-21T00:21:52.901038080-ns-float32-20.0-True]' - ) - fi - - epytest -p xdist.plugin -n "$(makeopts_jobs)" --dist=worksteal -} diff --git a/dev-python/xarray/xarray-2023.11.0.ebuild b/dev-python/xarray/xarray-2023.11.0.ebuild index b6a5a4d2468c..50d508a26e9c 100644 --- a/dev-python/xarray/xarray-2023.11.0.ebuild +++ b/dev-python/xarray/xarray-2023.11.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~ppc ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~hppa ~ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="big-endian" RDEPEND=" diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest index 67971bd6cb2f..2f3c58226de8 100644 --- a/dev-python/zeroconf/Manifest +++ b/dev-python/zeroconf/Manifest @@ -1,2 +1,3 @@ DIST zeroconf-0.127.0.tar.gz 161143 BLAKE2B ee560845016ab1de0b065aaae8cd6791ddc847417241c7f2477301948945e938a2ff68206d30166a6049a7ad5919d15bcc6acac9fd9d33d17d5e77154b9f9c0c SHA512 7c8aef766dcc0f3411c4230decd5a0af18ae795e0e4253be2dc69af6ba314271a336807ace1458bb0a081455afa8cc9d8769413bbc97f024e3d3e877cd1e6f2f DIST zeroconf-0.128.0.tar.gz 161199 BLAKE2B 7526c6f4a242e7ab0035ea3f2b29b3b43bbb6235950e7b2899472986e4186584275a39e6341c661203499528f47b2d255d4df3e2e092b0c864a1cf6b5c09a379 SHA512 d058828691a97c7634319fedcf688401d01ae372521d48b3749570975a5afbde839d14a4e34463c20fd267d006bf708c098a4f180844398a64fd96d1538edfa4 +DIST zeroconf-0.128.4.tar.gz 162384 BLAKE2B cd8b60d0f0bdf01835fc1bf3c9bc74311ea4cc353ba1e0825264e850d070c8cee3565ec9942d825c404406623c7e65851688b447afbe1bf9884da077993a77de SHA512 d0781c1c5752eda31806826475cee0e7032e4bae9612adf0f8b7dab21d15be2762fb37af17a34f93f2f5f27ee936fcf4d7e58ce1d9b42af3e8681d5e8eb326ee diff --git a/dev-python/zeroconf/zeroconf-0.128.4.ebuild b/dev-python/zeroconf/zeroconf-0.128.4.ebuild new file mode 100644 index 000000000000..e45ecfa2e75e --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.128.4.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)" +HOMEPAGE=" + https://github.com/python-zeroconf/python-zeroconf/ + https://pypi.org/project/zeroconf/ +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/async-timeout-3.0.0[${PYTHON_USEDEP}] + ' 3.10) +" +# the build system uses custom build script that uses distutils to build +# C extensions, sigh +BDEPEND=" + >=dev-python/cython-3.0.5[${PYTHON_USEDEP}] + >=dev-python/setuptools-65.6.3[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export REQUIRE_CYTHON=1 + +python_test() { + local -x SKIP_IPV6=1 + local EPYTEST_DESELECT=( + # network + tests/test_core.py::Framework::test_close_multiple_times + tests/test_core.py::Framework::test_launch_and_close + tests/test_core.py::Framework::test_launch_and_close_context_manager + + # fragile to timeouts (?) + tests/services/test_browser.py::test_service_browser_expire_callbacks + tests/utils/test_asyncio.py::test_run_coro_with_timeout + ) + + epytest -o addopts= +} |
