diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-01-17 09:28:46 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-01-17 09:28:46 +0000 |
| commit | cbc5aa36c525ed7f31e3f074acb5f77ca2178a1d (patch) | |
| tree | a6f6759e9c23e6a44d33f7b733643b20305e4bef /dev-python | |
| parent | 1c6364f0bb462f48ce30a4d1db937bd4df251cc3 (diff) | |
| download | baldeagleos-repo-cbc5aa36c525ed7f31e3f074acb5f77ca2178a1d.tar.gz baldeagleos-repo-cbc5aa36c525ed7f31e3f074acb5f77ca2178a1d.tar.xz baldeagleos-repo-cbc5aa36c525ed7f31e3f074acb5f77ca2178a1d.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
40 files changed, 613 insertions, 200 deletions
diff --git a/dev-python/asteval/Manifest b/dev-python/asteval/Manifest index c717992768e8..2ef499bc3baf 100644 --- a/dev-python/asteval/Manifest +++ b/dev-python/asteval/Manifest @@ -1 +1,2 @@ DIST asteval-0.9.25.tar.gz 39473 BLAKE2B c726cc4499b71534e981eb344f424af897fb397a9b60be9a1635598a354805b77429b14939f653a7c37a1ad16f26673b718e9caf796a8f06b535cc468496c385 SHA512 16601ebd84a1f6fb48c51279c9d3ae513d0b98c0407d0301bddda941b04951eeca041ccf6f6801bad194b9d3f719044efef446cd91444ea07ebab4d8b763c81f +DIST asteval-0.9.26.tar.gz 40113 BLAKE2B 9d63b78c500e521ea2740a3068087c42fdb00913c1e110d71fba3dbc9187bd02169a095d08db16c6b2b10d7e066a0e0578ff81d220d0cadcf994bb75790ff450 SHA512 8d568edb018416ff40d09d9dd123ccf595426d84e1f1554a22a19dae045703494fabacf1e15a2778c3ed042b1ad2f3b318fd37a20a15c50301e651d657902e57 diff --git a/dev-python/asteval/asteval-0.9.26.ebuild b/dev-python/asteval/asteval-0.9.26.ebuild new file mode 100644 index 000000000000..d74583e8ff28 --- /dev/null +++ b/dev-python/asteval/asteval-0.9.26.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Evaluator of Python expression using ast module" +HOMEPAGE="https://newville.github.io/asteval/ https://github.com/newville/asteval" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +distutils_enable_tests pytest diff --git a/dev-python/flit/flit-3.6.0-r2.ebuild b/dev-python/flit/flit-3.6.0-r2.ebuild new file mode 100644 index 000000000000..9406ac29972e --- /dev/null +++ b/dev-python/flit/flit-3.6.0-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 2019-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="Simplified packaging of Python modules" +HOMEPAGE="https://github.com/pypa/flit https://flit.readthedocs.io/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/docutils[${PYTHON_USEDEP}] + >=dev-python/flit_core-3.2.0[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/requests_download[${PYTHON_USEDEP}] + dev-python/tomli[${PYTHON_USEDEP}] + dev-python/tomli-w[${PYTHON_USEDEP}] +" +BDEPEND="${RDEPEND} + sys-apps/grep + test? ( + dev-python/pip[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + dev-python/testpath[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/flit-3.2.0-tests.patch" +) + +distutils_enable_tests pytest +distutils_enable_sphinx doc \ + dev-python/sphinxcontrib-github-alt \ + dev-python/pygments-github-lexers \ + +src_prepare() { + # make sure system install is used + rm -r flit_core || die + distutils-r1_src_prepare +} diff --git a/dev-python/flit_core/flit_core-3.6.0-r2.ebuild b/dev-python/flit_core/flit_core-3.6.0-r2.ebuild new file mode 100644 index 000000000000..e6bb38370f5a --- /dev/null +++ b/dev-python/flit_core/flit_core-3.6.0-r2.ebuild @@ -0,0 +1,33 @@ +# Copyright 2019-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="Simplified packaging of Python modules (core module)" +HOMEPAGE=" + https://pypi.org/project/flit-core/ + https://github.com/pypa/flit/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/tomli[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( dev-python/testpath[${PYTHON_USEDEP}] ) +" + +distutils_enable_tests pytest + +src_prepare() { + rm -r flit_core/vendor || die + sed -i -e 's:from \.vendor ::' flit_core/*.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/flufl-i18n/Manifest b/dev-python/flufl-i18n/Manifest index 1699294c6436..3082a73d62ab 100644 --- a/dev-python/flufl-i18n/Manifest +++ b/dev-python/flufl-i18n/Manifest @@ -1 +1,2 @@ DIST flufl.i18n-3.2.tar.gz 24209 BLAKE2B dc827eb4099670c6e5c39ebc8702fcda146b20a3978fa56108ab98a05d2c8911e705b71dacd6b9fc7fae9923d009487f6f047baa0dcd06a5de2e4f4d5fafc465 SHA512 07f329d026f24db623045f3c9857bcaacc1f0982066d4409fc060c4f712716044f96321a4e4909cbc85932f36fc76f71b9d118662ba837fd85b22754ce2d25c7 +DIST flufl.i18n-4.0.tar.gz 21119 BLAKE2B 6bd4a311c3df56b03a0d46164f7f1ee1eeeb257478a82515261894f4cdf3017b150f1e13ce95a08f50ed5e01cf736884c7ba05a96e3f6b90917418ed18462753 SHA512 03e953af7e406d24a64d334647008e222cf74e5e055865638a52d8ec7e25edae44046aa4dfa8766b5a1458b335e9e29bd8b3e89703d8c8b28ab777375da19712 diff --git a/dev-python/flufl-i18n/flufl-i18n-4.0.ebuild b/dev-python/flufl-i18n/flufl-i18n-4.0.ebuild new file mode 100644 index 000000000000..d229ed223c2a --- /dev/null +++ b/dev-python/flufl-i18n/flufl-i18n-4.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +MY_P=${P/-/.} + +DESCRIPTION="A high level API for Python internationalization" +HOMEPAGE="https://gitlab.com/warsaw/flufl.i18n" +SRC_URI="mirror://pypi/${PN::1}/${PN/-/.}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="dev-python/atpublic[${PYTHON_USEDEP}]" +BDEPEND="test? ( dev-python/sybil[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +src_prepare() { + sed -e '/addopts/d' -i pyproject.toml || die + distutils-r1_src_prepare +} diff --git a/dev-python/flufl-lock/Manifest b/dev-python/flufl-lock/Manifest index 86ba5a33d430..2e227058621d 100644 --- a/dev-python/flufl-lock/Manifest +++ b/dev-python/flufl-lock/Manifest @@ -1 +1,2 @@ DIST flufl.lock-6.0.tar.gz 30762 BLAKE2B 98e259f04aac565271e7918223c1bc8abd528f91fd04490a519b482c0d12bbf954f0c678f89d990bc036df5000fb5587e1689d6fc0cd499ed7fe806a1e3125f5 SHA512 cbd41f1dedb91fc120c3f3e20c15f25a39b0ce5b27a2c4fcedad301e91156d5291b35ff961c38a5a7d43c40fdfa2a879a2ba427f1b17994678fbba797e7a234b +DIST flufl.lock-7.0.tar.gz 33169 BLAKE2B 72c763e50e0a28f02fe6d9a8d88b1c64626a60310b203f9bbcc82e950f8ac494640748dece4c63542d4b89512a1f98bb1d92bda145028ebd18a8f254c2e2c1eb SHA512 b1c5151d30aa3e9afc12fe0dbd9be05ad1f9133b32f5e3bacf98532fefb08fbf354bf4b9a4b9fc90e448861941eba358e8f67218daf9797eb031b487cc717181 diff --git a/dev-python/flufl-lock/flufl-lock-7.0.ebuild b/dev-python/flufl-lock/flufl-lock-7.0.ebuild new file mode 100644 index 000000000000..61910153218c --- /dev/null +++ b/dev-python/flufl-lock/flufl-lock-7.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +MY_P=${P/-/.} +DESCRIPTION="NFS-safe file locking with timeouts for POSIX systems" +HOMEPAGE="https://gitlab.com/warsaw/flufl.lock" +SRC_URI="mirror://pypi/${PN::1}/${PN/-/.}/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/atpublic[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( dev-python/sybil[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/addopts/d' pyproject.toml || die + distutils-r1_src_prepare +} diff --git a/dev-python/hacking/Manifest b/dev-python/hacking/Manifest deleted file mode 100644 index 153afbe7326f..000000000000 --- a/dev-python/hacking/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST hacking-4.1.0.tar.gz 61910 BLAKE2B 95ced5b2fbafbb890478b5ef598a836520b4d1a3f1f2a0e708aa3f3135f394aab9e1ca8eaafa9d2f9f8dfcd1043d925b0232228234021ac89d2882ad6c7918a5 SHA512 44741548b5031777b0a508255129893da63a076615dc4245fdcb2368711be0ff6e16702c12c75a7f2c6b13257e2257c58e6e95dfad6da6640ff077fbf2b507db diff --git a/dev-python/hacking/hacking-4.1.0.ebuild b/dev-python/hacking/hacking-4.1.0.ebuild deleted file mode 100644 index 143bbdf26930..000000000000 --- a/dev-python/hacking/hacking-4.1.0.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="A client for the OpenStack Nova API" -HOMEPAGE="https://github.com/openstack/hacking/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~s390 x86 ~amd64-linux ~x86-linux" -IUSE="doc test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/flake8-3.8.0[${PYTHON_USEDEP}] - <dev-python/flake8-3.9.0[${PYTHON_USEDEP}]" -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] - test? ( - >=dev-python/coverage-4.5[${PYTHON_USEDEP}] - >=dev-python/ddt-1.2.1[${PYTHON_USEDEP}] - >=dev-python/eventlet-0.20.2[${PYTHON_USEDEP}] - >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] - >=dev-python/subunit-1.0.0[${PYTHON_USEDEP}] - >=dev-python/stestr-2.0.0[${PYTHON_USEDEP}] - >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] - >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] - ${RDEPEND} - ) - doc? ( - >=dev-python/sphinx-2.2.0[${PYTHON_USEDEP}] - >=dev-python/openstackdocstheme-2.2.1[${PYTHON_USEDEP}] - >=dev-python/reno-3.1.0[${PYTHON_USEDEP}] - )" -DISTUTILS_IN_SOURCE_BUILD=1 - -python_compile_all() { - use doc && sphinx-build -b html -c doc/source/ doc/source/ doc/source/html -} - -python_test() { - stestr init || die "stestr init died" - stestr run || die "testsuite failed under ${EPYTHON}" - flake8 "${PN}"/tests || die "flake8 drew error on a run over ${PN}/tests folder" -} - -python_install_all() { - use doc && local HTML_DOCS=( doc/source/html/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/hacking/metadata.xml b/dev-python/hacking/metadata.xml deleted file mode 100644 index 85a7007f6040..000000000000 --- a/dev-python/hacking/metadata.xml +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>prometheanfire@gentoo.org</email> - <name>Matthew Thode</name> - </maintainer> - <maintainer type="project"> - <email>python@gentoo.org</email> - <name>Python</name> - </maintainer> - <maintainer type="project"> - <email>openstack@gentoo.org</email> - <name>Openstack</name> - </maintainer> - <longdescription lang="en"> - hacking is a set of flake8 plugins that test and enforce - the OpenStack Style Commandments, HACKING.rst - </longdescription> - <upstream> - <remote-id type="pypi">hacking</remote-id> - </upstream> - <origin>gentoo-staging</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/installer/Manifest b/dev-python/installer/Manifest index 2d38fa076c4d..c8357cc23f43 100644 --- a/dev-python/installer/Manifest +++ b/dev-python/installer/Manifest @@ -1,2 +1,4 @@ DIST installer-0.4.0-py2.py3-none-any.whl.zip 451433 BLAKE2B 933b7e63b3d0306213789d493d4df112df26b432d63ecd1f8f21449520c34bd2ad542aac25069043fbb535c44f988dca927625eafd0a5a20489fc3ce2bcf84a2 SHA512 cf303bb422e329a36007b361034144a232ba021d4013bb8678dc7c326544e74ec9a3b3fe8b9d3696433dbbe90d2ce4a0ae8967fb054bd5ed49321d470be729a8 DIST installer-0.4.0.gh.tar.gz 466643 BLAKE2B 635854b3461995cda3b7afa507ca3fe35cae8210e79de0bbd46938c8f103d7840ceca8bb388c2c9533efc78150691f980c478485ee33bafe0bae6c08a6aef8c4 SHA512 13537c479bc8ead8f8b45c8e5c5182e8b1b32c2889df8015be7f517f390a9efbea6fa167e0886dfade6621a8a2d822bfd662ee0238d3d86689619ca4d5483b26 +DIST installer-0.4.0_p20220115-cli.patch 14552 BLAKE2B 6632c1472ae0a578f6c7ed0acf1bb0d89ece924626b68c0daa28d9a7d93826837adaf6b0d40f048c4f5c2986b4328ca565340137e7b7fa7f407f62ebddc70275 SHA512 f8c6369955e0bde2bff0b935c39748d02659bc6ca0341af405e2c1026cf145479ba0b908bd769cdc05f3cc920f881b894b6a5eb7ace643951e05250ec0486b80 +DIST installer-0.4.0_p20220115.gh.tar.gz 466532 BLAKE2B 6dea3f4bacb52c4983e111d420495ee157076342a823b7062c6e5b3e4d3b70e6b2e9cb024d0c7baba6f88ed70f4303ab071d1882bc9d8dd0726f82a3e406056f SHA512 fbb0d4c8642fa2cbe2fd3be2eef7044a0353f04c67ecce20aafed33a0d7877ff55872ca5ad51390ae7e02cdb7af5dbd57b662085b60d425be95da6643b061eaa diff --git a/dev-python/installer/installer-0.4.0.ebuild b/dev-python/installer/installer-0.4.0.ebuild index ad98d8ed9645..2bff90174e3d 100644 --- a/dev-python/installer/installer-0.4.0.ebuild +++ b/dev-python/installer/installer-0.4.0.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" # NB: newer git doesn't use mock anymore BDEPEND=" diff --git a/dev-python/installer/installer-0.4.0_p20220115.ebuild b/dev-python/installer/installer-0.4.0_p20220115.ebuild new file mode 100644 index 000000000000..3b9e64e5c32f --- /dev/null +++ b/dev-python/installer/installer-0.4.0_p20220115.ebuild @@ -0,0 +1,55 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_SETUPTOOLS=manual +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +inherit distutils-r1 + +EGIT_COMMIT="bf68f7b045ffc08784af03cf2433548c9ee9e8ca" +DESCRIPTION="A library for installing Python wheels" +HOMEPAGE=" + https://pypi.org/project/installer/ + https://github.com/pradyunsg/installer/ + https://installer.readthedocs.io/en/latest/ +" +SRC_URI=" + https://github.com/pradyunsg/installer/archive/${EGIT_COMMIT}.tar.gz + -> ${P}.gh.tar.gz + https://files.pythonhosted.org/packages/py2.py3/${PN::1}/${PN}/${P%_p*}-py2.py3-none-any.whl + -> ${P%_p*}-py2.py3-none-any.whl.zip + https://patch-diff.githubusercontent.com/raw/pradyunsg/installer/pull/94.diff + -> ${P}-cli.patch +" +S=${WORKDIR}/${PN}-${EGIT_COMMIT} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# NB: newer git doesn't use mock anymore +BDEPEND=" + app-arch/unzip + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +PATCHES=( + "${DISTDIR}"/${P}-cli.patch +) + +# do not use any build system to avoid circular deps +python_compile() { :; } + +python_test() { + local -x PYTHONPATH=src + epytest +} + +python_install() { + python_domodule src/installer "${WORKDIR}"/*.dist-info +} diff --git a/dev-python/jellyfish/jellyfish-0.9.0.ebuild b/dev-python/jellyfish/jellyfish-0.9.0.ebuild index 2c8e6c29eed5..933ce0d77da9 100644 --- a/dev-python/jellyfish/jellyfish-0.9.0.ebuild +++ b/dev-python/jellyfish/jellyfish-0.9.0.ebuild @@ -20,7 +20,6 @@ BDEPEND=" ) " -distutils_enable_sphinx docs --no-autodoc distutils_enable_tests pytest python_test() { diff --git a/dev-python/js2py/js2py-0.71.ebuild b/dev-python/js2py/js2py-0.71.ebuild index 27fca68e40bf..55e0a5e1ac20 100644 --- a/dev-python/js2py/js2py-0.71.ebuild +++ b/dev-python/js2py/js2py-0.71.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -22,7 +22,7 @@ SRC_URI="https://github.com/PiotrDabkowski/${MY_PN}/archive/${MY_COMMIT}.tar.gz LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" +KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc x86" RDEPEND=" >=dev-python/pyjsparser-2.5.1[${PYTHON_USEDEP}] diff --git a/dev-python/lark-parser/lark-parser-0.11.3.ebuild b/dev-python/lark-parser/lark-parser-0.11.3.ebuild index e6bbabeeb502..8fb4012c4539 100644 --- a/dev-python/lark-parser/lark-parser-0.11.3.ebuild +++ b/dev-python/lark-parser/lark-parser-0.11.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" +KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/mkdocs-material/Manifest b/dev-python/mkdocs-material/Manifest index 00aee98493ca..d826c8070b4a 100644 --- a/dev-python/mkdocs-material/Manifest +++ b/dev-python/mkdocs-material/Manifest @@ -1,3 +1,4 @@ DIST mkdocs-material-8.1.0.tar.gz 7526249 BLAKE2B 6938ae4ff23ba450520f84630759ce408f1c11d75200281f6c454aa90d6af659d49c0d8f345a87b969e0169d4851a2510906b9e7243a0a93efbc99025dc9792a SHA512 2493edefbdbca0a3708950b62178c66ceefb5fb1868cafcb087bf727c404e3955abb2d45b14e944b4720b532e3cd049fbcae3e0d9b8f36295dede9dd2bdb3717 DIST mkdocs-material-8.1.3.tar.gz 7654739 BLAKE2B 9b381e99ee2911d9d54a64b40538fb15bf568ba92171d6d42e1679143cf5729c5fabdb24de4d97509bdbdc05e5e282e310c03dc12c973449c935c77ea277dcc9 SHA512 65527fa1b5cd1f3a31cbc84d3bf52aa49844549dde042534f0d24e7bcf175f72ba1b21bda87d1fb4e25307b51f995d8de492b7c5c909f84d075e2b50fe97fc05 DIST mkdocs-material-8.1.4.tar.gz 7892710 BLAKE2B 3e986279bc93be4599568b431818313e01fe036420a1654a2883f5d855818a7fde64ef04bdf81a9688873a66ecb1e9692147e18a56292071ffbad93157ff06ac SHA512 9298400feb21d9d0027dc22f363f8bdff160b00623ebf09886add90359f739b69c3ee79c3bfc9a4dc18eb2d4cdb5544897aae6a807b0a379cca0dc9df82d16fc +DIST mkdocs-material-8.1.7.tar.gz 7939617 BLAKE2B 67727822e492dba780539b27290e41fe78b48b47e1c55b0d9b0a0d820685b096ac636b8d2a9ab54a7785390689087a651d833d2f609fbdb4d2ff3702896a1b90 SHA512 2580d046960e76253d0312b677538914fe62f1e58d894d956a3a6932e0bad185a24447fde011f4982b128744429e65bf4383562a62c0ea2601790f22e84f20d1 diff --git a/dev-python/mkdocs-material/mkdocs-material-8.1.7.ebuild b/dev-python/mkdocs-material/mkdocs-material-8.1.7.ebuild new file mode 100644 index 000000000000..7d6efb679024 --- /dev/null +++ b/dev-python/mkdocs-material/mkdocs-material-8.1.7.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + dev-python/mkdocs-minify-plugin + dev-python/mkdocs-redirects +" + +inherit distutils-r1 docs + +DESCRIPTION="A Material Design theme for MkDocs" +HOMEPAGE=" + https://github.com/squidfunk/mkdocs-material + https://pypi.org/project/mkdocs-material +" +SRC_URI="https://github.com/squidfunk/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/jinja-2.11.1[${PYTHON_USEDEP}] + >=dev-python/markdown-3.2[${PYTHON_USEDEP}] + >=dev-python/mkdocs-1.2.3[${PYTHON_USEDEP}] + >=dev-python/pygments-2.10[${PYTHON_USEDEP}] + >=dev-python/pymdown-extensions-9.0[${PYTHON_USEDEP}] + >=dev-python/mkdocs-material-extensions-1.0[${PYTHON_USEDEP}] +" diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest index fcaa22f84a68..f34bb9fbd058 100644 --- a/dev-python/nuitka/Manifest +++ b/dev-python/nuitka/Manifest @@ -1,3 +1,4 @@ DIST Nuitka-0.6.19.1.tar.gz 3727050 BLAKE2B 70cde9f6c7254cc229dc534736c1445f9fc813a1463705e0116021107c6b6909c9ac1e35bf7b0b452cd6b6d23b2c4e4103e8427c44d6d3c3273f7f70ad5daeee SHA512 83c5a6c2c547f139cd947c804f646b37f0fbaaa44a53b1cc42366170f91de138d63b5eeb2fa2e37ba9a24cb34c1faeb8e86c09cb08e829aa6d3607931c2eebbf DIST Nuitka-0.6.19.2.tar.gz 3727729 BLAKE2B f74512ab2b57ab66b62e7a67fed8366971fe23103297ab5361685b19408445dac7335e3086f0ce236c7346bcf4d8dfcf828040412e4868e82f06c03e6ea52fd0 SHA512 a92b24168e16054399692d0984dd417b181d2bb920825eabaa64798933b481e188827b5bbae040d329e67b09002b21ce471ce1352b12ac46ab2b8fec97523aa5 +DIST Nuitka-0.6.19.3.tar.gz 3727905 BLAKE2B 7c49bf77100ef28a306bf746b4ba13db07da403ba428b3e770ca3a2efbe384db1f5b66b8858640e2b4cdc5a8034be3f55a57fdc2e175d47bdd24638c379e7afe SHA512 0e9b4805ad2b27338ec03fd121d2787add54795f777b184379eb722e5bff3ce64a64c4802464cb3c11a4be579b03ff89b32995646954a389f1a75fef0069ae12 DIST Nuitka-0.6.19.tar.gz 3739123 BLAKE2B c2e9a6417ff65927c3246849d614fdebb8bcf323b6496dae81f7cef3ab86a22ad21d3fe3eb19c74ea7f228310e3b1b985cea56201efe71c1b0d8ff64998973c0 SHA512 2d8f8c0d95f6d85c7969879ddbe2375ae190bfc1466a21c442e9e109ed7759ecf0bdcc2f29ec8fed5462df52e1b1e69a0e10574d8e7f52b1dfef7f7ae9626c75 diff --git a/dev-python/nuitka/nuitka-0.6.19.3.ebuild b/dev-python/nuitka/nuitka-0.6.19.3.ebuild new file mode 100644 index 000000000000..2c7af01367e2 --- /dev/null +++ b/dev-python/nuitka/nuitka-0.6.19.3.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 flag-o-matic optfeature + +DESCRIPTION="Python to native compiler" +HOMEPAGE="https://www.nuitka.net" +SRC_URI="https://nuitka.net/releases/${P^}.tar.gz" +S="${WORKDIR}/${P^}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-util/scons[${PYTHON_USEDEP}]" +BDEPEND=" + ${RDEPEND} + test? ( dev-util/ccache ) +" + +DOCS=( Changelog.pdf Developer_Manual.pdf README.pdf ) + +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 "${S}/${PN}/build/inline_copy/lib/scons-2.3.2/SCons" || die + eapply_user +} + +python_install() { + distutils-r1_python_install + python_optimize + 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/pdm-pep517/Manifest b/dev-python/pdm-pep517/Manifest new file mode 100644 index 000000000000..f9273745987d --- /dev/null +++ b/dev-python/pdm-pep517/Manifest @@ -0,0 +1 @@ +DIST pdm-pep517-0.10.0.gh.tar.gz 189457 BLAKE2B 5a51b62dbc828aec5bca6ada8c7ecb479dd7491f22251392198a3d8e183f2d3d86fd4264addd9a428c37a24041365f3eeecec0a33c3f1a39ea8a1a8e6827be91 SHA512 7eb76bdf3db99ec1cf76a467617ce15423eaa465800efa9ccb248efb3c3cb5644b8e6a9ce04d6181dc9f3b5287a167f62f25d5e3334929f3e947a62ca9633d01 diff --git a/dev-python/pdm-pep517/metadata.xml b/dev-python/pdm-pep517/metadata.xml new file mode 100644 index 000000000000..e8cd3e61cc44 --- /dev/null +++ b/dev-python/pdm-pep517/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">pdm-pep517</remote-id> + </upstream> + <origin>gentoo-staging</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/pdm-pep517/pdm-pep517-0.10.0.ebuild b/dev-python/pdm-pep517/pdm-pep517-0.10.0.ebuild new file mode 100644 index 000000000000..e8f39a3d29bf --- /dev/null +++ b/dev-python/pdm-pep517/pdm-pep517-0.10.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="A PEP 517 backend for PDM that supports PEP 621 metadata" +HOMEPAGE=" + https://pypi.org/project/pdm-pep517/ + https://github.com/pdm-project/pdm-pep517/ +" +SRC_URI=" + https://github.com/pdm-project/pdm-pep517/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +# setuptools are used to build C extensions +RDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-vcs/git + ) +" + +distutils_enable_tests pytest + +src_test() { + git config --global user.email "test@example.com" || die + git config --global user.name "Test User" || die + distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=() + if [[ ${EPYTHON} == pypy3 ]]; then + EPYTEST_DESELECT+=( + tests/test_wheel.py::test_override_tags_in_wheel_filename + ) + fi + epytest +} diff --git a/dev-python/pillow/Manifest b/dev-python/pillow/Manifest index d8c2375c69a0..cb676a730573 100644 --- a/dev-python/pillow/Manifest +++ b/dev-python/pillow/Manifest @@ -1,2 +1 @@ -DIST pillow-8.4.0.tar.gz 49364586 BLAKE2B f6a0fbafc0869c952bf88ad96146f27cf70c5680f372763bc9989cc49515bc74886a9d7648114797880ca06defc79e2e50d7ecf36bfa7adbd969450615ac0bd1 SHA512 d395f69ccb37c52a3b6f45836700ffbc3173afae31848cc61d7b47db88ca1594541023beb9a14fd9067aca664e182c7d6e3300ab3e3095c31afe8dcbc6e08233 DIST pillow-9.0.0.tar.gz 49510604 BLAKE2B c3b0d07e8fe280e3a253067c4da18ac2dee40d216280632d58ddaa7848e13a165587b9aca61c98f8b5380e53d6d59a4097320bacf6e016e236239af518ec7780 SHA512 d2fd74dd1b8824d994e3767ef9794175dd2f4adc8173612432a3e171705723ee8757d299a87fb1c010b40919792c1ca76578f41977ee3303ccb6f75165deb791 diff --git a/dev-python/pillow/pillow-8.4.0.ebuild b/dev-python/pillow/pillow-8.4.0.ebuild deleted file mode 100644 index 81e0167b790c..000000000000 --- a/dev-python/pillow/pillow-8.4.0.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} 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/" -SRC_URI="https://github.com/python-pillow/Pillow/archive/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="HPND" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" -IUSE="examples imagequant +jpeg jpeg2k lcms test tiff tk truetype webp xcb zlib" -REQUIRED_USE="test? ( jpeg jpeg2k tiff truetype )" -RESTRICT="!test? ( test )" - -DEPEND=" - imagequant? ( media-gfx/libimagequant:0 ) - jpeg? ( virtual/jpeg:0 ) - jpeg2k? ( media-libs/openjpeg:2= ) - lcms? ( media-libs/lcms:2= ) - tiff? ( media-libs/tiff:0=[jpeg,zlib] ) - truetype? ( media-libs/freetype:2= ) - webp? ( media-libs/libwebp:0= ) - xcb? ( x11-libs/libxcb ) - zlib? ( sys-libs/zlib:0= )" -RDEPEND="${DEPEND} - dev-python/olefile[${PYTHON_USEDEP}]" -BDEPEND=" - virtual/pkgconfig - test? ( - ${RDEPEND} - dev-python/pytest[${PYTHON_USEDEP}] - || ( - media-gfx/imagemagick[png] - media-gfx/graphicsmagick[png] - ) - ) -" - -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. - DISTUTILS_ARGS=( - build_ext - --disable-platform-guessing - $(use_enable truetype freetype) - $(use_enable jpeg) - $(use_enable jpeg2k jpeg2000) - $(use_enable lcms) - $(use_enable tiff) - $(use_enable imagequant) - $(use_enable webp) - $(use_enable webp webpmux) - $(use_enable xcb) - $(use_enable zlib) - ) - - # setup.py sucks at adding 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 this setup.py does stupid things. - export \ - INCLUDE=${ESYSROOT}/usr/include \ - LIB=${ESYSROOT}/usr/$(get_libdir) - - # We have patched in this env var. - tc-export PKG_CONFIG -} - -python_test() { - "${EPYTHON}" selftest.py --installed || die "selftest failed with ${EPYTHON}" - # no:relaxed: pytest-relaxed plugin make our tests fail. deactivate if installed - virtx epytest -p no:relaxed -} - -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/pillow/pillow-9.0.0.ebuild b/dev-python/pillow/pillow-9.0.0.ebuild index 057fc9a67dd9..19a50d547b7f 100644 --- a/dev-python/pillow/pillow-9.0.0.ebuild +++ b/dev-python/pillow/pillow-9.0.0.ebuild @@ -18,7 +18,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="HPND" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" IUSE="examples imagequant +jpeg jpeg2k lcms test tiff tk truetype webp xcb zlib" REQUIRED_USE="test? ( jpeg jpeg2k tiff truetype )" RESTRICT="!test? ( test )" diff --git a/dev-python/poetry-core/Manifest b/dev-python/poetry-core/Manifest new file mode 100644 index 000000000000..4c3631d4a43d --- /dev/null +++ b/dev-python/poetry-core/Manifest @@ -0,0 +1 @@ +DIST poetry-core-1.0.7.gh.tar.gz 414539 BLAKE2B 570f13e3c7298fd822a38b75c49c623bde4fa780b3787c3c9cfa3939bb68fee3eeaf6190013117a6e751cb6f87a15b343ba183529fcc07d30e37988097954d4a SHA512 40a8b17ae7c51135eb5f96ec76426f075075de7dafff8ab828fe3b47d13759856a7fd2e7504c1216c4f942befde2c6d42c3976978202ce7aa224e966162bd8e5 diff --git a/dev-python/poetry-core/metadata.xml b/dev-python/poetry-core/metadata.xml new file mode 100644 index 000000000000..a78ab8898b24 --- /dev/null +++ b/dev-python/poetry-core/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="project"> + <email>python@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="pypi">poetry-core</remote-id> + </upstream> + <origin>gentoo-staging</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/poetry-core/poetry-core-1.0.7.ebuild b/dev-python/poetry-core/poetry-core-1.0.7.ebuild new file mode 100644 index 000000000000..cb6f6c7aea78 --- /dev/null +++ b/dev-python/poetry-core/poetry-core-1.0.7.ebuild @@ -0,0 +1,55 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Poetry PEP 517 Build Backend" +HOMEPAGE="https://pypi.org/project/poetry-core/ https://github.com/python-poetry/poetry-core" +SRC_URI=" + https://github.com/python-poetry/poetry-core/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" + +# check inside src/poetry/core/_vendor/vendor.txt +RDEPEND=" + dev-python/attrs[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/lark-parser[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pyparsing[${PYTHON_USEDEP}] + dev-python/pyrsistent[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pep517[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Those "fail" bacause of glob file path resulting from newer versions + # in our tree than vendored. But those don't affect anything. + tests/masonry/builders/test_sdist.py::test_default_with_excluded_data + tests/masonry/builders/test_wheel.py::test_default_src_with_excluded_data +) + +src_prepare() { + # remove vendoring of dependencies + rm -r poetry/core/_vendor || die + sed -e '/__vendor_site__/d' -i poetry/core/__init__.py || die + + distutils-r1_src_prepare +} diff --git a/dev-python/pyjsparser/pyjsparser-2.7.1_p20190421.ebuild b/dev-python/pyjsparser/pyjsparser-2.7.1_p20190421.ebuild index 4db122dfcbf4..caf99e3a42fe 100644 --- a/dev-python/pyjsparser/pyjsparser-2.7.1_p20190421.ebuild +++ b/dev-python/pyjsparser/pyjsparser-2.7.1_p20190421.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -19,7 +19,7 @@ SRC_URI="https://github.com/PiotrDabkowski/${PN}/archive/${MY_COMMIT}.tar.gz -> RESTRICT="!test? ( test )" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" +KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc x86" IUSE="test" BDEPEND=" diff --git a/dev-python/python-debian/Manifest b/dev-python/python-debian/Manifest index 85fe2d44c9e3..509445a7bb6a 100644 --- a/dev-python/python-debian/Manifest +++ b/dev-python/python-debian/Manifest @@ -1 +1,2 @@ DIST python-debian_0.1.42.tar.xz 173928 BLAKE2B 615be084cba8ff11eaaefc1b40335b73a16604b864600dbeb717ba65ee94f1d3a62f845a59c3db5b915346de4211fdde811593db989b143f4d60e7b425b98d2d SHA512 923831077d0a42dafd22277579e714af33b99612e5282f5d95bc884b2faec05321f8caaad20b72b25ce88d8c2449a6a23913c5377ed0bdc30d4ef87e39341ff7 +DIST python-debian_0.1.43.tar.xz 175832 BLAKE2B 2b43da25392c844a3c8fa8e159695ef4c871c6620be88d286abde31b9285e3f005e3c20997617d24014fe94a1a3c446c8721f8d92c35018ac308da8703788bcd SHA512 510dd37ef65be2ee0f9c4c4c15010b94fc7c05c621de2cb25fee4f6e741f51dff2e4cdc333313bac8269bfa621533217b3f72ecbd8b0b6368aa52c54e5237bb6 diff --git a/dev-python/python-debian/python-debian-0.1.43.ebuild b/dev-python/python-debian/python-debian-0.1.43.ebuild new file mode 100644 index 000000000000..7881d7feeebf --- /dev/null +++ b/dev-python/python-debian/python-debian-0.1.43.ebuild @@ -0,0 +1,41 @@ +# Copyright 2011-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Python modules to work with Debian-related data formats" +HOMEPAGE="https://salsa.debian.org/python-debian-team/python-debian" +SRC_URI="mirror://debian/pool/main/${P:0:1}/${PN}/${PN}_${PV}.tar.xz" + +LICENSE="GPL-2 GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" + +RDEPEND=" + dev-python/chardet[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( app-arch/dpkg ) +" + +distutils_enable_tests unittest + +python_prepare_all() { + # See debian/rules. + sed -e "s/__CHANGELOG_VERSION__/${PV}/" lib/debian/_version.py.in > lib/debian/_version.py || die + distutils-r1_python_prepare_all +} + +python_compile_all() { + # See debian/rules. + "${EPYTHON}" lib/debian/doc-debtags > README.debtags || die +} + +python_test() { + eunittest lib +} diff --git a/dev-python/pytz_deprecation_shim/pytz_deprecation_shim-0.1.0_p0-r1.ebuild b/dev-python/pytz_deprecation_shim/pytz_deprecation_shim-0.1.0_p0-r1.ebuild index 26bba26457bd..9687b48ee56c 100644 --- a/dev-python/pytz_deprecation_shim/pytz_deprecation_shim-0.1.0_p0-r1.ebuild +++ b/dev-python/pytz_deprecation_shim/pytz_deprecation_shim-0.1.0_p0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021 Gentoo Authors +# Copyright 2021-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" +KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/sphinx/Manifest b/dev-python/sphinx/Manifest index 037a53dc0c0a..6b147894a1e0 100644 --- a/dev-python/sphinx/Manifest +++ b/dev-python/sphinx/Manifest @@ -1,3 +1,4 @@ DIST Sphinx-3.5.4.tar.gz 5911093 BLAKE2B 8740714dfaf3733bf57d0b277315b4e7b5cad86247ea30dcbc4f5dadf5f5169329050b7be43ec8625c47df9dcc19afcc6c4d782725c7007f8178b7eb7be7dc05 SHA512 853379f3b0496772846be9beb072c2c8a69ff899ffe4c6435b448ea639a32138c61403f9c14f62f4f78b2e526a2ee7c05b4196eabdeee37bcae6aa98df992125 DIST Sphinx-4.3.1.tar.gz 6655951 BLAKE2B eacc9d39e1a108dba1f8d3bd96d7f78f1755f23233c8068dbe598f3d3539d9cf0ea9c12374e0ffc4f471004bbe7cbd6e80ebfa7bcfbf85e5d8c34ed4adfb2acb SHA512 0b7ceb369783d30685c10783fe10b58e92a2f5ae50dda1b6cfb021b0d33fb424a2c6cddc6b97018b63347127fc74ed4f7a442c312ce9e75ceb537f127a46bb9d DIST Sphinx-4.3.2.tar.gz 6657148 BLAKE2B 952cecc20e3f7e046c3ae2abc8524091af82f7947f889320deab3ec82947f793d4dab86ae47f117c84ecdb2e4e50fe531469dffca2806c45500a06c7322bb11b SHA512 2045e1964aef54826a2cde30e6c09b7ec35d49a45b7e449c07ee107c41304435eb51e2be307af77bed4ec50534e6e4009501d58187baa1a129134b69cdc56dff +DIST Sphinx-4.4.0.tar.gz 6690021 BLAKE2B 5f63a6a70b8fb663ff1729766183f8936c9cd3bab81437526fb099ccc2a49c2abd42b602e2fc37af79254a9c8f1238fb4c99f2659142e9b9c2c1a2bd385ac100 SHA512 f5780a7da7a5d758b0e145ab9a7f191a9c65fd3ca4624ca3a04f0d161e3cd6c7133df53ff56e42f012687cbce0460178c2e7957974b5b929b341c98db996c640 diff --git a/dev-python/sphinx/sphinx-4.4.0.ebuild b/dev-python/sphinx/sphinx-4.4.0.ebuild new file mode 100644 index 000000000000..5b224c5984f7 --- /dev/null +++ b/dev-python/sphinx/sphinx-4.4.0.ebuild @@ -0,0 +1,120 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Python documentation generator" +HOMEPAGE="https://www.sphinx-doc.org/ + https://github.com/sphinx-doc/sphinx" +SRC_URI="mirror://pypi/S/${PN^}/${P^}.tar.gz" +S=${WORKDIR}/${P^} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="doc latex" + +RDEPEND=" + <dev-python/alabaster-0.8[${PYTHON_USEDEP}] + >=dev-python/Babel-1.3[${PYTHON_USEDEP}] + <dev-python/docutils-0.18[${PYTHON_USEDEP}] + dev-python/imagesize[${PYTHON_USEDEP}] + >=dev-python/jinja-2.3[${PYTHON_USEDEP}] + >=dev-python/pygments-2.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.5.0[${PYTHON_USEDEP}] + >=dev-python/snowballstemmer-1.1[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-applehelp[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-devhelp[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-jsmath[${PYTHON_USEDEP}] + >=dev-python/sphinxcontrib-htmlhelp-2.0.0[${PYTHON_USEDEP}] + >=dev-python/sphinxcontrib-serializinghtml-1.1.5[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-qthelp[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/importlib_metadata-4.4[${PYTHON_USEDEP}] + ' python3_{8,9} pypy3) + latex? ( + dev-texlive/texlive-latexextra + dev-texlive/texlive-luatex + app-text/dvipng + )" +BDEPEND=" + doc? ( + dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}] + media-gfx/graphviz + ) + test? ( + dev-python/html5lib[${PYTHON_USEDEP}] + virtual/imagemagick-tools[jpeg,png,svg] + dev-texlive/texlive-fontsextra + dev-texlive/texlive-latexextra + dev-texlive/texlive-luatex + app-text/dvipng + )" + +PATCHES=( + "${FILESDIR}/${PN}-3.2.1-doc-link.patch" + "${FILESDIR}/${PN}-4.3.2-doc-link.patch" +) + +distutils_enable_tests pytest + +python_prepare_all() { + # disable internet access + sed -i -e 's:^intersphinx_mapping:disabled_&:' \ + doc/conf.py || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + if use doc; then + esetup.py build_sphinx + HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. ) + fi +} + +python_test() { + mkdir -p "${BUILD_DIR}/sphinx_tempdir" || die + local -x SPHINX_TEST_TEMPDIR="${BUILD_DIR}/sphinx_tempdir" + + local EPYTEST_DESELECT=( + # these tests require Internet access + tests/test_build_latex.py::test_latex_images + tests/test_build_linkcheck.py::test_defaults + tests/test_build_linkcheck.py::test_defaults_json + tests/test_build_linkcheck.py::test_anchors_ignored + tests/test_build_linkcheck.py::test_linkcheck_exclude_documents + # TODO + tests/test_ext_autodoc_autoclass.py::test_classes + tests/test_ext_autodoc_autofunction.py::test_classes + ) + [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( + tests/test_build_linkcheck.py::test_connect_to_selfsigned_fails + tests/test_ext_autodoc.py::test_autodoc_inherited_members_None + tests/test_ext_autodoc.py::test_autodoc_typed_inherited_instance_variables + tests/test_ext_autodoc.py::test_autodoc_typed_instance_variables + tests/test_ext_autodoc.py::test_automethod_for_builtin + tests/test_ext_autodoc.py::test_cython + tests/test_ext_autodoc.py::test_partialfunction + tests/test_ext_autodoc_autoclass.py::test_autodoc_process_bases + tests/test_ext_autodoc_autoclass.py::test_show_inheritance_for_decendants_of_generic_type + tests/test_ext_autodoc_autoclass.py::test_show_inheritance_for_subclass_of_generic_type + tests/test_ext_autodoc_autodata.py::test_autodata_type_comment + tests/test_ext_autodoc_autofunction.py::test_builtin_function + tests/test_ext_autodoc_autofunction.py::test_methoddescriptor + tests/test_ext_autodoc_configs.py::test_autodoc_type_aliases + tests/test_ext_autodoc_configs.py::test_autodoc_typehints_signature + tests/test_ext_autosummary.py::test_autosummary_generate_content_for_module + tests/test_ext_autosummary.py::test_autosummary_generate_content_for_module_skipped + tests/test_pycode_parser.py::test_annotated_assignment + ) + + epytest +} diff --git a/dev-python/tomlkit/tomlkit-0.8.0.ebuild b/dev-python/tomlkit/tomlkit-0.8.0.ebuild index e40942783f93..1ab84f13ec15 100644 --- a/dev-python/tomlkit/tomlkit-0.8.0.ebuild +++ b/dev-python/tomlkit/tomlkit-0.8.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" BDEPEND="test? ( dev-python/pyyaml[${PYTHON_USEDEP}] )" diff --git a/dev-python/traitlets/traitlets-5.1.0.ebuild b/dev-python/traitlets/traitlets-5.1.0.ebuild index 609066d3cd27..73a452e5c0c6 100644 --- a/dev-python/traitlets/traitlets-5.1.0.ebuild +++ b/dev-python/traitlets/traitlets-5.1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -21,6 +21,5 @@ PATCHES=( ) distutils_enable_sphinx docs/source \ - dev-python/ipython_genutils \ dev-python/sphinx_rtd_theme distutils_enable_tests pytest diff --git a/dev-python/traitlets/traitlets-5.1.1.ebuild b/dev-python/traitlets/traitlets-5.1.1.ebuild index 4ae541d84279..fd7989d7b880 100644 --- a/dev-python/traitlets/traitlets-5.1.1.ebuild +++ b/dev-python/traitlets/traitlets-5.1.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -17,6 +17,5 @@ SLOT="0" KEYWORDS="amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" distutils_enable_sphinx docs/source \ - dev-python/ipython_genutils \ dev-python/sphinx_rtd_theme distutils_enable_tests pytest diff --git a/dev-python/tzlocal/tzlocal-4.1.ebuild b/dev-python/tzlocal/tzlocal-4.1.ebuild index b2dea2ecb142..2c96d2a7204f 100644 --- a/dev-python/tzlocal/tzlocal-4.1.ebuild +++ b/dev-python/tzlocal/tzlocal-4.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,7 @@ SRC_URI="https://github.com/regebro/tzlocal/archive/${PV}.tar.gz -> ${P}.gh.tar. LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" +KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" dev-python/pytz_deprecation_shim[${PYTHON_USEDEP}] |
