From d12e391e68534b2dc2084a10e769dd29614f0ac3 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Thu, 30 Jun 2022 00:49:15 +0000 Subject: Adding metadata --- dev-python/boto3/boto3-1.24.12.ebuild | 2 +- dev-python/botocore/botocore-1.27.12.ebuild | 2 +- dev-python/flask-jwt-extended/Manifest | 2 +- .../flask-jwt-extended-4.4.0.ebuild | 24 ------ .../flask-jwt-extended-4.4.2.ebuild | 24 ++++++ dev-python/furo/Manifest | 1 + dev-python/furo/furo-2022.6.21.ebuild | 38 +++++++++ dev-python/hcloud-python/Manifest | 1 + .../hcloud-python/hcloud-python-1.17.0.ebuild | 45 +++++++++++ dev-python/myst_parser/myst_parser-0.18.0.ebuild | 2 +- dev-python/nuitka/Manifest | 1 + dev-python/nuitka/nuitka-0.9.1.ebuild | 49 ++++++++++++ dev-python/pylint/Manifest | 1 + dev-python/pylint/pylint-2.14.4.ebuild | 82 ++++++++++++++++++++ dev-python/pyopencl/Manifest | 1 + dev-python/pyopencl/pyopencl-2022.1.6.ebuild | 57 ++++++++++++++ .../python-lsp-server-1.4.1-allow-mccabe-0.7.patch | 22 ++++++ .../python-lsp-server-1.4.1-r1.ebuild | 90 ++++++++++++++++++++++ dev-python/reedsolomon/reedsolomon-1.5.4-r1.ebuild | 31 -------- dev-python/rencode/rencode-1.0.6-r2.ebuild | 35 --------- .../requests-futures/requests-futures-1.0.0.ebuild | 31 -------- dev-python/requests/Manifest | 1 + dev-python/requests/requests-2.28.1.ebuild | 72 +++++++++++++++++ dev-python/scikit-build/Manifest | 1 - dev-python/scikit-build/scikit-build-0.12.0.ebuild | 57 -------------- dev-python/sphinx-basic-ng/Manifest | 1 + dev-python/sphinx-basic-ng/metadata.xml | 9 +++ .../sphinx-basic-ng-0.0.1_alpha11.ebuild | 44 +++++++++++ .../sphinx-pytest/sphinx-pytest-0.0.4.ebuild | 2 +- dev-python/textdistance/Manifest | 1 + dev-python/textdistance/textdistance-4.3.0.ebuild | 34 ++++++++ 31 files changed, 579 insertions(+), 184 deletions(-) delete mode 100644 dev-python/flask-jwt-extended/flask-jwt-extended-4.4.0.ebuild create mode 100644 dev-python/flask-jwt-extended/flask-jwt-extended-4.4.2.ebuild create mode 100644 dev-python/furo/furo-2022.6.21.ebuild create mode 100644 dev-python/hcloud-python/hcloud-python-1.17.0.ebuild create mode 100644 dev-python/nuitka/nuitka-0.9.1.ebuild create mode 100644 dev-python/pylint/pylint-2.14.4.ebuild create mode 100644 dev-python/pyopencl/pyopencl-2022.1.6.ebuild create mode 100644 dev-python/python-lsp-server/files/python-lsp-server-1.4.1-allow-mccabe-0.7.patch create mode 100644 dev-python/python-lsp-server/python-lsp-server-1.4.1-r1.ebuild delete mode 100644 dev-python/reedsolomon/reedsolomon-1.5.4-r1.ebuild delete mode 100644 dev-python/rencode/rencode-1.0.6-r2.ebuild delete mode 100644 dev-python/requests-futures/requests-futures-1.0.0.ebuild create mode 100644 dev-python/requests/requests-2.28.1.ebuild delete mode 100644 dev-python/scikit-build/scikit-build-0.12.0.ebuild create mode 100644 dev-python/sphinx-basic-ng/Manifest create mode 100644 dev-python/sphinx-basic-ng/metadata.xml create mode 100644 dev-python/sphinx-basic-ng/sphinx-basic-ng-0.0.1_alpha11.ebuild create mode 100644 dev-python/textdistance/textdistance-4.3.0.ebuild (limited to 'dev-python') diff --git a/dev-python/boto3/boto3-1.24.12.ebuild b/dev-python/boto3/boto3-1.24.12.ebuild index e4a98e2e28f5..ec8f4d61c530 100644 --- a/dev-python/boto3/boto3-1.24.12.ebuild +++ b/dev-python/boto3/boto3-1.24.12.ebuild @@ -25,7 +25,7 @@ else https://github.com/boto/boto3/archive/${PV}.tar.gz -> ${P}.gh.tar.gz " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" # botocore is x.(y+3).z BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" diff --git a/dev-python/botocore/botocore-1.27.12.ebuild b/dev-python/botocore/botocore-1.27.12.ebuild index 1f52e2694e84..cde5d8a56cc5 100644 --- a/dev-python/botocore/botocore-1.27.12.ebuild +++ b/dev-python/botocore/botocore-1.27.12.ebuild @@ -21,7 +21,7 @@ if [[ "${PV}" == "9999" ]]; then inherit git-r3 else SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" fi RDEPEND=" diff --git a/dev-python/flask-jwt-extended/Manifest b/dev-python/flask-jwt-extended/Manifest index ac74c2c032c9..4f9ef86f0e84 100644 --- a/dev-python/flask-jwt-extended/Manifest +++ b/dev-python/flask-jwt-extended/Manifest @@ -1,2 +1,2 @@ -DIST flask-jwt-extended-4.4.0.tar.gz 58401 BLAKE2B 471fbb715da7e5d44186ecb79e5df37c7ac71c34e0ae301dd403d0b0835f28415d7075aded4c3f4efa9d0f7347e7e7fc11e4555c0024adeaf85f66bb0ae3d0d0 SHA512 3c2af9f510892de89c23fa5c0a3b0d4e23cd62f5393574f1b892db431c732b805bc3335def3f6f44e7b1ea06bcc22fa3751a78127d6fbba25d2d7c72e04cbe17 DIST flask-jwt-extended-4.4.1.tar.gz 58436 BLAKE2B 56102090d05d1449edbb05200a9ba6d373302c950a632092a574bc2e6717a8cfcd2a3bd050ff677f9ddb8f452e912bf218873d4dadbfa94848c524666d203275 SHA512 d53d368ef5dd915215698da6086afb4a0f0adac4bee1047ab63c2994c2ef50b63f1afba3161e65179657be2f438e7beb203d0a4f31db610eeec4dbc8997f424f +DIST flask-jwt-extended-4.4.2.tar.gz 58522 BLAKE2B a45fc58c0abf0ce161dae95951a63a5b8f87debb58734d9385e8e5dbd44a348706663c595784b5f96ecf97ccc4b1093023477a4d28cc3e7f0ea85ce513e6f6ae SHA512 e3e9f6b131f08ebc9b6cfaf8981fb631ca84107739da4c36cde1d4a2597c9841ff7c42de255e347cb57d937f58f759abae40b4d5cf2aec9d647c5859666952f8 diff --git a/dev-python/flask-jwt-extended/flask-jwt-extended-4.4.0.ebuild b/dev-python/flask-jwt-extended/flask-jwt-extended-4.4.0.ebuild deleted file mode 100644 index 004729213740..000000000000 --- a/dev-python/flask-jwt-extended/flask-jwt-extended-4.4.0.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 2020-2022 Liguros Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="An open source Flask extension that provides JWT support" -HOMEPAGE="https://github.com/vimalloc/flask-jwt-extended" -SRC_URI="https://github.com/vimalloc/flask-jwt-extended/archive/${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS} - >=dev-python/werkzeug-0.14[${PYTHON_USEDEP}] - >=dev-python/flask-1.0.2[${PYTHON_USEDEP}] - >=dev-python/pyjwt-2.0.0[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - >=dev-python/cryptography-2.4.2[${PYTHON_USEDEP}] - " diff --git a/dev-python/flask-jwt-extended/flask-jwt-extended-4.4.2.ebuild b/dev-python/flask-jwt-extended/flask-jwt-extended-4.4.2.ebuild new file mode 100644 index 000000000000..004729213740 --- /dev/null +++ b/dev-python/flask-jwt-extended/flask-jwt-extended-4.4.2.ebuild @@ -0,0 +1,24 @@ +# Copyright 2020-2022 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="An open source Flask extension that provides JWT support" +HOMEPAGE="https://github.com/vimalloc/flask-jwt-extended" +SRC_URI="https://github.com/vimalloc/flask-jwt-extended/archive/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + >=dev-python/werkzeug-0.14[${PYTHON_USEDEP}] + >=dev-python/flask-1.0.2[${PYTHON_USEDEP}] + >=dev-python/pyjwt-2.0.0[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + >=dev-python/cryptography-2.4.2[${PYTHON_USEDEP}] + " diff --git a/dev-python/furo/Manifest b/dev-python/furo/Manifest index 3bffb6f64e77..3d08c0c1b302 100644 --- a/dev-python/furo/Manifest +++ b/dev-python/furo/Manifest @@ -1 +1,2 @@ DIST furo-2021.10.9.tar.gz 69755 BLAKE2B d9dec7f2161491c1b9806fe8e1e98bf6d8f405ae17931e86da6edf44121a0bfbfef4db26f35b53cc929e143926bdbfb4f223aa52fdd65912cd49bd423e574a43 SHA512 4100cb08f6f97ffde2527ec5678e94da759323521bf26ba49dfe4c0851aabc59556872b494a7dec26fbf6e4ac2f2dbc4c7d92f7ef47cae7f9d256af38da91f7e +DIST furo-2022.6.21-py3-none-any.whl 323874 BLAKE2B aac38e9aaa8d4fc6fdb00a7da9df8781b18229146970a005077075b0049b6493f280377ed735e9dd5425fdce0c43f8cad5b149957018d9a084ad83c5e5fcabeb SHA512 096c9fd0a18c8c4263607a77703412fcc5d7334b08bb6c448e5369b93572f2176f7fbe3fc7eb0b8c72f09d00eeca379debfec2f6565305d2f5e1bd0518af1558 diff --git a/dev-python/furo/furo-2022.6.21.ebuild b/dev-python/furo/furo-2022.6.21.ebuild new file mode 100644 index 000000000000..3e2495d5bc89 --- /dev/null +++ b/dev-python/furo/furo-2022.6.21.ebuild @@ -0,0 +1,38 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# sphinx-theme-builder is completely unusable, as it requires pinning +# to a very-specific nodejs version number, and ofc loves fetching +# everything from the Internet + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Clean customisable Sphinx documentation theme" +HOMEPAGE=" + https://pypi.org/project/furo/ + https://github.com/pradyunsg/furo/ +" +SRC_URI=" + https://files.pythonhosted.org/packages/py3/${PN::1}/${PN}/${P}-py3-none-any.whl +" +S=${WORKDIR} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx-basic-ng[${PYTHON_USEDEP}] +" + +python_compile() { + distutils_wheel_install "${BUILD_DIR}/install" \ + "${DISTDIR}/${P}-py3-none-any.whl" +} diff --git a/dev-python/hcloud-python/Manifest b/dev-python/hcloud-python/Manifest index 209e712ff623..613c74f1cbb9 100644 --- a/dev-python/hcloud-python/Manifest +++ b/dev-python/hcloud-python/Manifest @@ -1 +1,2 @@ DIST hcloud-python-1.16.0.tar.gz 93731 BLAKE2B d94881550dbd08281226b9869008ea6c4a10bc544a21a5aa17e48d4862808baa92b4805dc101ea970bf66baca1f5a971912601c4b934fe47614351029ece9f04 SHA512 282d1accb3c387caefe9dce7ab70dccfe2ff830c6ec3cd665326ad79076d7f9e58ab2f3061fa262208731c9d1e09e6c52d13075adf119f8b19d6af50e0374556 +DIST hcloud-python-1.17.0.gh.tar.gz 98069 BLAKE2B b8fb2f1c4a3d139225a19599f956a845789872642bc62ec0434f5393e90f5ef64226b6363eeae0b3312084312aac4ddbe77e6e134b0502783e72568f23a71ee5 SHA512 829972585b5fe61aaaa2ee5294c97e6ad4a913229e8d87cec8e00d61480a780682b4eb75e2b9da5962bdb3dfda15b0a81afa74383be874e381a5f8e1a27d7014 diff --git a/dev-python/hcloud-python/hcloud-python-1.17.0.ebuild b/dev-python/hcloud-python/hcloud-python-1.17.0.ebuild new file mode 100644 index 000000000000..800e129cd83f --- /dev/null +++ b/dev-python/hcloud-python/hcloud-python-1.17.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Official Hetzner Cloud python library" +HOMEPAGE="https://github.com/hetznercloud/hcloud-python" +SRC_URI=" + https://github.com/hetznercloud/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc examples" + +RDEPEND=" + >=dev-python/future-0.17.1[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.7.5[${PYTHON_USEDEP}] + >=dev-python/requests-2.20[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs \ + dev-python/sphinx_rtd_theme +distutils_enable_tests pytest + +python_install_all() { + use examples && dodoc -r examples + distutils-r1_python_install_all +} + +python_test() { + # Integration tests need docker: + # https://github.com/hetznercloud/hcloud-python/blob/master/.travis.yml#L16 + epytest --ignore tests/integration +} diff --git a/dev-python/myst_parser/myst_parser-0.18.0.ebuild b/dev-python/myst_parser/myst_parser-0.18.0.ebuild index 6e56109fe743..4af74fb00968 100644 --- a/dev-python/myst_parser/myst_parser-0.18.0.ebuild +++ b/dev-python/myst_parser/myst_parser-0.18.0.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~x86" RDEPEND=" =1.6.0,<1.7.0 + flake8>=4.0.0,<4.1.0 +- mccabe>=0.6.0,<0.7.0 ++ mccabe>=0.6.0,<0.8.0 + pycodestyle>=2.8.0,<2.9.0 + pydocstyle>=2.0.0 + pyflakes>=2.4.0,<2.5.0 +@@ -35,7 +35,7 @@ all = + yapf + autopep8 = autopep8>=1.6.0,<1.7.0 + flake8 = flake8>=4.0.0,<4.1.0 +-mccabe = mccabe>=0.6.0,<0.7.0 ++mccabe = mccabe>=0.6.0,<0.8.0 + pycodestyle = pycodestyle>=2.8.0,<2.9.0 + pydocstyle = pydocstyle>=2.0.0 + pyflakes = pyflakes>=2.4.0,<2.5.0 diff --git a/dev-python/python-lsp-server/python-lsp-server-1.4.1-r1.ebuild b/dev-python/python-lsp-server/python-lsp-server-1.4.1-r1.ebuild new file mode 100644 index 000000000000..ec8e689d7a42 --- /dev/null +++ b/dev-python/python-lsp-server/python-lsp-server-1.4.1-r1.ebuild @@ -0,0 +1,90 @@ +# 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_{7,8,9,10} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Python Language Server for the Language Server Protocol" +HOMEPAGE="https://github.com/python-lsp/python-lsp-server" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +IUSE="all-plugins" + +BDEPEND=" + test? ( + >=dev-python/autopep8-1.6.0[${PYTHON_USEDEP}] + =dev-python/flake8-4.0.0[${PYTHON_USEDEP}] + =dev-python/mccabe-0.6.0[${PYTHON_USEDEP}] + =dev-python/pycodestyle-2.8.0[${PYTHON_USEDEP}] + =dev-python/pydocstyle-2.0.0[${PYTHON_USEDEP}] + >=dev-python/pyflakes-2.4.0[${PYTHON_USEDEP}] + =dev-python/pylint-2.5.0[${PYTHON_USEDEP}] + dev-python/QtPy[gui,testlib,${PYTHON_USEDEP}] + >=dev-python/rope-0.10.5[${PYTHON_USEDEP}] + dev-python/yapf[${PYTHON_USEDEP}] + ) +" + +RDEPEND=" + >=dev-python/jedi-0.17.2[${PYTHON_USEDEP}] + =dev-python/python-lsp-jsonrpc-1.0.0[${PYTHON_USEDEP}] + dev-python/pluggy[${PYTHON_USEDEP}] + all-plugins? ( + >=dev-python/autopep8-1.6.0[${PYTHON_USEDEP}] + =dev-python/flake8-4.0.0[${PYTHON_USEDEP}] + =dev-python/mccabe-0.6.0[${PYTHON_USEDEP}] + =dev-python/pycodestyle-2.8.0[${PYTHON_USEDEP}] + =dev-python/pydocstyle-2.0.0[${PYTHON_USEDEP}] + >=dev-python/pyflakes-2.4.0[${PYTHON_USEDEP}] + =dev-python/pylint-2.5.0[${PYTHON_USEDEP}] + >=dev-python/rope-0.10.5[${PYTHON_USEDEP}] + dev-python/yapf[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/${P}-allow-mccabe-0.7.patch" +) + +distutils_enable_tests pytest + +python_prepare_all() { + # remove pytest-cov dep + sed -i -e '0,/addopts/I!d' setup.cfg || die + distutils-r1_python_prepare_all +} + +pkg_postinst() { + optfeature "Automatically format Python code to conform to the PEP 8 style guide" dev-python/autopep8 + optfeature "A wrapper around PyFlakes, pep8 & mccabe" dev-python/flake8 + optfeature "flake8 plugin: McCabe complexity checker" dev-python/mccabe + optfeature "Python style guide checker (fka pep8)" dev-python/pycodestyle + optfeature "Python docstring style checker" dev-python/pydocstyle + optfeature "Passive checker for Python programs" dev-python/pyflakes + optfeature "Python code static checker" dev-python/pylint + optfeature "Python refactoring library" dev-python/rope + optfeature "A formatter for Python files" dev-python/yapf +} diff --git a/dev-python/reedsolomon/reedsolomon-1.5.4-r1.ebuild b/dev-python/reedsolomon/reedsolomon-1.5.4-r1.ebuild deleted file mode 100644 index 77c71c431f81..000000000000 --- a/dev-python/reedsolomon/reedsolomon-1.5.4-r1.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 2021-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="Pure-Python Reed Solomon encoder/decoder" -HOMEPAGE="https://github.com/tomerfiliba/reedsolomon https://pypi.org/project/reedsolo/" -SRC_URI="https://github.com/tomerfiliba/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="public-domain" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] -" - -src_prepare() { - default - rm creedsolo.c || die -} - -python_test() { - "${EPYTHON}" tests/test_creedsolo.py || die "creedsolo test failed with ${EPYTHON}" - "${EPYTHON}" tests/test_reedsolo.py || die "reedsolo test failed with ${EPYTHON}" -} diff --git a/dev-python/rencode/rencode-1.0.6-r2.ebuild b/dev-python/rencode/rencode-1.0.6-r2.ebuild deleted file mode 100644 index b95aa60b3aaa..000000000000 --- a/dev-python/rencode/rencode-1.0.6-r2.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="similar to bencode from the BitTorrent project" -HOMEPAGE="https://github.com/aresch/rencode" -SRC_URI="https://github.com/aresch/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~sparc x86 ~amd64-linux ~x86-linux" - -BDEPEND="dev-python/cython[${PYTHON_USEDEP}]" - -distutils_enable_tests pytest - -PATCHES=( - # https://github.com/aresch/rencode/commit/16e61e1ff4294bddb7c881536d3d454355c78969 - "${FILESDIR}/${P}-drop-wheel-dependency.patch" - # bug #812437 - "${FILESDIR}/${P}-fix-CVE-2021-40839.patch" -) - -python_test() { - # The C extension ("_rencode") can't be imported from "${S}/rencode" - # so we need to cd somewhere else to make sure "rencode" is imported - # from ${BUILD_DIR}/lib (thanks to PYTHONPATH). - cd "${T}" || die - epytest "${S}" -} diff --git a/dev-python/requests-futures/requests-futures-1.0.0.ebuild b/dev-python/requests-futures/requests-futures-1.0.0.ebuild deleted file mode 100644 index 7c84f00800f9..000000000000 --- a/dev-python/requests-futures/requests-futures-1.0.0.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="Asynchronous Python HTTP for Humans" -HOMEPAGE="https://github.com/ross/requests-futures" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" -RESTRICT="test" -PROPERTIES="test_network" - -RDEPEND=">=dev-python/requests-1.2.0[${PYTHON_USEDEP}]" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # known failures by upstream - # https://github.com/ross/requests-futures/issues/94 - test_requests_futures.py::RequestsTestCase::test_redirect - test_requests_futures.py::RequestsProcessPoolTestCase::test_futures_existing_session - test_requests_futures.py::RequestsProcessPoolTestCase::test_futures_session -) diff --git a/dev-python/requests/Manifest b/dev-python/requests/Manifest index f8811e10851e..c6f0bd8fec62 100644 --- a/dev-python/requests/Manifest +++ b/dev-python/requests/Manifest @@ -1,2 +1,3 @@ DIST requests-2.27.1.tar.gz 106758 BLAKE2B a7fed53998fa61b3d03abd254a0cee76450c5b60d76f80aa6b91f32dca1dae5d2c51987b3d3f2138d72c50790e35c36cb03eb5974554ac4eb1a902eff79b5bdd SHA512 e51916abea8125254c5ee72c97e84a73e6981cab09961486873387522d2ce041ee3fe8fa2ff0b9bbe6707eefdc05145e9adcf127bcd999dea127acdfabd5312f DIST requests-2.28.0.tar.gz 109748 BLAKE2B 1df85b90ab1f6c551e46593dc8640aa0629505c9b395ca2100c6af04435e1360503b215d9796c34fb09122ffd616e1a01ca3574ac4543b4857c76a3dd86f13fe SHA512 111cfd2d0b0267111ccad0a97b33c5e9565812e6e6728b7d5bdbe06c32fae9e637b220bda605d799409e57dc6aaf3bcc66a4a4605cdbccb439367dc492fb836f +DIST requests-2.28.1.tar.gz 109805 BLAKE2B 2106be5f9e1d9f1a22de5522b5d72084f91c2849e60e33b89b2411b76cae9b1f7faac34947f69c49480d001e9b77e4dce723ee939d51591882854d510db49b59 SHA512 c123ec07171c2c7c34e4173b97750adfa313b4312d91c0d58e4eb8750361604017e5b370c23ec886d2cbf704f9074ec5ad0fa9c2cd8e6f9521532adafff39d41 diff --git a/dev-python/requests/requests-2.28.1.ebuild b/dev-python/requests/requests-2.28.1.ebuild new file mode 100644 index 000000000000..7b3fde896d0b --- /dev/null +++ b/dev-python/requests/requests-2.28.1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 7 -- sys-apps/portage dep +EAPI=7 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="HTTP library for human beings" +HOMEPAGE=" + https://requests.readthedocs.io/ + https://github.com/psf/requests/ + https://pypi.org/project/requests/ +" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="socks5" + +RDEPEND=" + >=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}] + dev-python/charset_normalizer[${PYTHON_USEDEP}] + =dev-python/PySocks-1.5.6[${PYTHON_USEDEP}] ) +" + +BDEPEND=" + test? ( + dev-python/pytest-httpbin[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}] + !alpha? ( !hppa? ( !ia64? ( + dev-python/trustme[${PYTHON_USEDEP}] + ) ) ) + ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-2.28.0-drop-dependency-warnings.patch +) + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # Internet (doctests) + requests/__init__.py::requests + requests/api.py::requests.api.request + requests/models.py::requests.models.PreparedRequest + requests/sessions.py::requests.sessions.Session + # require IPv4 interface in 10.* range + tests/test_requests.py::TestTimeout::test_connect_timeout + tests/test_requests.py::TestTimeout::test_total_timeout_connect + # TODO: openssl? + tests/test_requests.py::TestRequests::test_pyopenssl_redirect + ) + + if ! has_version "dev-python/trustme[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/test_requests.py::TestRequests::test_https_warnings + ) + fi + + epytest +} diff --git a/dev-python/scikit-build/Manifest b/dev-python/scikit-build/Manifest index 2e457b27dfad..85bdaf8cb8d2 100644 --- a/dev-python/scikit-build/Manifest +++ b/dev-python/scikit-build/Manifest @@ -1,3 +1,2 @@ -DIST scikit-build-0.12.0.tar.gz 138053 BLAKE2B 5007bd070cee14056cbc9cc24a022a39c920ce7fa794a79dcdb707f185529e1ed2442a201593f6df8d2dd9b4ab7a9a1ed209b0bc08f3feae748edd06894f8661 SHA512 76be92d8ff96dc230e38dc36a58021399dd8c57b6883dc032fbcd8f01ce42c879c6d557e7a46d48aa9b8bc724270f409f3760824d5810654b53a1aca25ec1cf9 DIST scikit-build-0.14.1.tar.gz 266776 BLAKE2B cb674412ef000fa961b85b32bf7759430cc5ff1b175e29017219ae3b941bfefee5760742cf17549fe7868fa0fc80f72e027aa683cd07bec53c1578e27b1ea0a7 SHA512 c9c3caaab969e83739cb3be718fc7190ef25372fbbf689ea84f9b9725bfc8329640c26038d875ecf3ccdbab0637ef77d6a30c05dcdaaecf441f631c8601d3b63 DIST scikit-build-0.15.0.tar.gz 268691 BLAKE2B f4cb51ee2367bd4ba6f6c1cada15e1e6be731998a914b28edcf703c5a92c409b78b17dddf04a29b24d40f249ffa06eb9d05d36dc30c0e62ee001519c3ca03f58 SHA512 4d9b1d06d48708ff4f2f5fa8c8f264c7ca85946d5842a1254930d9449d6b6386c17392473c3c85147f6573f7256c94c927962cb56fa23a90a5b442de8de8d727 diff --git a/dev-python/scikit-build/scikit-build-0.12.0.ebuild b/dev-python/scikit-build/scikit-build-0.12.0.ebuild deleted file mode 100644 index 75da2b3d41d0..000000000000 --- a/dev-python/scikit-build/scikit-build-0.12.0.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="Improved build system generator for Python C/C++/Fortran/Cython extensions" -HOMEPAGE="https://github.com/scikit-build/scikit-build" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -SLOT="0" -LICENSE="MIT" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86" - -RDEPEND=" - dev-python/distro[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}]" - -DEPEND=" - test? ( - dev-python/cython[${PYTHON_USEDEP}] - dev-python/path-py[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-virtualenv[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - dev-python/virtualenv[${PYTHON_USEDEP}] - )" - -PATCHES=( - "${FILESDIR}"/${PN}-0.12.0-tests-no-coverage.patch -) - -distutils_enable_sphinx docs \ - dev-python/sphinx_rtd_theme \ - dev-python/sphinx-issues -distutils_enable_tests pytest - -src_prepare() { - # not packaged - sed -i -e '/cmakedomain/d' docs/conf.py || die - distutils-r1_src_prepare -} - -python_test() { - local deselect=( - # sandbox violations - tests/test_hello_cpp.py::test_hello_develop - tests/test_issue274_support_default_package_dir.py - tests/test_issue274_support_one_package_without_package_dir.py - tests/test_issue334_configure_cmakelists_non_cp1252_encoding.py - ) - epytest ${deselect[@]/#/--deselect } -} diff --git a/dev-python/sphinx-basic-ng/Manifest b/dev-python/sphinx-basic-ng/Manifest new file mode 100644 index 000000000000..8d370c8ca62b --- /dev/null +++ b/dev-python/sphinx-basic-ng/Manifest @@ -0,0 +1 @@ +DIST sphinx-basic-ng-0.0.1.a11.gh.tar.gz 21539 BLAKE2B 31707bc8f3c6cd0c1af1aeff309543889119d33e5f5ae33194b58f88a0ff6ec424c5b876fef36b64161932ebb69c0f6108801697b49d47e10ad13affcf89e1fa SHA512 e9f9278a360d2c8d25a6679134d2d54b37c9f2e55285592fa910c85b2f8bfd4ab13d117b7078cb67d862703f8054c3d3a3ca68152551d67a26d7c1a8b75952ff diff --git a/dev-python/sphinx-basic-ng/metadata.xml b/dev-python/sphinx-basic-ng/metadata.xml new file mode 100644 index 000000000000..7ad11570cc7d --- /dev/null +++ b/dev-python/sphinx-basic-ng/metadata.xml @@ -0,0 +1,9 @@ + + + + + python@gentoo.org + + + gentoo-staging + \ No newline at end of file diff --git a/dev-python/sphinx-basic-ng/sphinx-basic-ng-0.0.1_alpha11.ebuild b/dev-python/sphinx-basic-ng/sphinx-basic-ng-0.0.1_alpha11.ebuild new file mode 100644 index 000000000000..026fe54d365b --- /dev/null +++ b/dev-python/sphinx-basic-ng/sphinx-basic-ng-0.0.1_alpha11.ebuild @@ -0,0 +1,44 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +MY_P=${P/_alpha/.a} +DESCRIPTION="A modern skeleton for Sphinx themes" +HOMEPAGE=" + https://github.com/pradyunsg/sphinx-basic-ng/ + https://pypi.org/project/sphinx-basic-ng/ +" +SRC_URI=" + https://github.com/pradyunsg/sphinx-basic-ng/archive/${PV/_alpha/.a}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + =dev-python/sphinx-4.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/myst_parser[${PYTHON_USEDEP}] + ) +" + +python_test() { + local HTML_DOCS=() + build_sphinx tests/barebones + rm -r tests/barebones/_build || die +} diff --git a/dev-python/sphinx-pytest/sphinx-pytest-0.0.4.ebuild b/dev-python/sphinx-pytest/sphinx-pytest-0.0.4.ebuild index a5765ab5f76b..05d7d448b85e 100644 --- a/dev-python/sphinx-pytest/sphinx-pytest-0.0.4.ebuild +++ b/dev-python/sphinx-pytest/sphinx-pytest-0.0.4.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~x86" RDEPEND=" dev-python/pytest[${PYTHON_USEDEP}] diff --git a/dev-python/textdistance/Manifest b/dev-python/textdistance/Manifest index 302ddf4598c8..9c2d9f2bc5d2 100644 --- a/dev-python/textdistance/Manifest +++ b/dev-python/textdistance/Manifest @@ -1 +1,2 @@ DIST textdistance-4.2.2.tar.gz 45089 BLAKE2B 8b08db743a56c289cc10a9ceb606612acb2a13d12cd12f9627870a4748c415804bde7c3f1aee54d59a49053731727827dbbd5f4ed6c2cfcc302166575ba382ca SHA512 f181686153e6e8f1541a15ac752e6a86698445713732858e63b6465c96dfeb582d2ea6cad1f7c526a3dc60796d58064355480bc6ced7dc69268a5c0abbfabdb7 +DIST textdistance-4.3.0.gh.tar.gz 45535 BLAKE2B e43ae62b0b7656a6c4f879b1d8e0c34ae6c83705d324aa99bb7ff6e2d0166faf1fed3ee7bc06602388c16c742a1983a4eaee143b09a7c371b9e941d53edca2b5 SHA512 30d68048b1f0b79e584f5f07731e03193af64cb2de3f52882c17154cc027f4ff8d590b994941bd5d62642d4da334ef0739d4bb65b6b12f039a1ee9aef154cde4 diff --git a/dev-python/textdistance/textdistance-4.3.0.ebuild b/dev-python/textdistance/textdistance-4.3.0.ebuild new file mode 100644 index 000000000000..a462d4fe78fa --- /dev/null +++ b/dev-python/textdistance/textdistance-4.3.0.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_{7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Compute distance between the two texts" +HOMEPAGE="https://github.com/life4/textdistance" +SRC_URI=" + https://github.com/life4/textdistance/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" + +BDEPEND=" + test? ( + dev-python/abydos[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/isort[${PYTHON_USEDEP}] + dev-python/jellyfish[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/python-levenshtein[${PYTHON_USEDEP}] + dev-python/pyxDamerauLevenshtein[${PYTHON_USEDEP}] + )" + +distutils_enable_tests --install pytest + +EPYTEST_DESELECT=( + tests/test_external.py +) -- cgit v1.3