diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-10-23 11:07:59 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-10-23 11:07:59 +0000 |
| commit | ed3ae48fecb01970705fb8e99910f72d8da6e2fe (patch) | |
| tree | 6e43eadbd13e8c8a209496c73ed68aab92751ca9 /dev-python | |
| parent | 7b3f6da73383a258bdaec6bb0e309e1b19b52ead (diff) | |
| download | baldeagleos-repo-ed3ae48fecb01970705fb8e99910f72d8da6e2fe.tar.gz baldeagleos-repo-ed3ae48fecb01970705fb8e99910f72d8da6e2fe.tar.xz baldeagleos-repo-ed3ae48fecb01970705fb8e99910f72d8da6e2fe.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/adblock/adblock-0.5.0.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/boto3/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/boto3/boto3-1.19.2.ebuild | 53 | ||||
| -rw-r--r-- | dev-python/botocore/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/botocore/botocore-1.22.2.ebuild | 50 | ||||
| -rw-r--r-- | dev-python/cssutils/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/cssutils/cssutils-2.3.0.ebuild | 38 | ||||
| -rw-r--r-- | dev-python/cssutils/files/cssutils-2.3.0-fix-py3.10.patch | 21 | ||||
| -rw-r--r-- | dev-python/cssutils/files/cssutils-2.3.0-fix-py3.8.patch | 30 | ||||
| -rw-r--r-- | dev-python/duecredit/duecredit-0.9.1.ebuild | 18 | ||||
| -rw-r--r-- | dev-python/duecredit/metadata.xml | 1 | ||||
| -rw-r--r-- | dev-python/glob2/glob2-0.7.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/parse/parse-1.19.0.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/parse_type/parse_type-0.5.2.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/pytest-bdd/pytest-bdd-4.1.0.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/tldextract/tldextract-3.1.2.ebuild | 2 |
16 files changed, 206 insertions, 20 deletions
diff --git a/dev-python/adblock/adblock-0.5.0.ebuild b/dev-python/adblock/adblock-0.5.0.ebuild index fc8d1fbec48d..2e3ad59391c1 100644 --- a/dev-python/adblock/adblock-0.5.0.ebuild +++ b/dev-python/adblock/adblock-0.5.0.ebuild @@ -81,7 +81,7 @@ S="${WORKDIR}/python-${P}" LICENSE="Apache-2.0 BSD MIT MPL-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 ~x86" IUSE="test" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RESTRICT="!test? ( test )" diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index d9af38073ded..ea8f1f588a19 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -7,3 +7,4 @@ DIST boto3-1.18.64.tar.gz 429469 BLAKE2B c0e423871631017ef9aa5f1e89ada9c82c4c817 DIST boto3-1.18.65.tar.gz 429858 BLAKE2B fbc80e0d8d10f6d02fcf9b86c6b4be03a9c908318c507a7cde1eef0c36d8fe3a5d3be0f8c6178edfdd8bc82adf112f297a5f127cd2b442ce10fe4d37b3a21fa4 SHA512 631d8f618fb6d55b338b563e72e1ccc751b8937bb2660d033b885951ea5ec3ac6902f8c7b9918664d764be84fdef5af4e7a87d444cbc154ebf5ae06908f90714 DIST boto3-1.19.0.tar.gz 430753 BLAKE2B 24b18d5ac312cac54952e6abc0da80e09c7618ba7c24903d5539d182ce7deb71a5f4198dd66f71650a35192d2146aa6754a25c8ba30138476e8b16b822eb3969 SHA512 4c127d2503e48a3c74367b13831fb5907aa398a173e2793362f070136092e6f2c37e3c4c0e1aed21c11b02d9ada31a22b842d83ef4d47ac78e3d4541a0afe717 DIST boto3-1.19.1.tar.gz 430897 BLAKE2B fad3df04ce3dd909684dae90d7b83f4c06bb33fd488e6916179bb886f2753890e82b53c38fcceb3a3342be0681f112bb836f65e293b762431abd2ab1b2b71061 SHA512 cefa3cd811559cba4bd8b39b5d9ed1b2f45d4cce45a537bcde32b808872d8d48828562f6226a128c0befc842777fb07b1ad81b4abbe7b45113b748d4086bb289 +DIST boto3-1.19.2.tar.gz 431304 BLAKE2B 9fe4bea7087488b5bc0ea0583fd774ed5b968dd3f2c948536d4063c246ffd74a1bd988046daeb7b8145f46b8f7e1ce6ffe93f8e18f624f65558e1dff1988edf0 SHA512 e23835e1f5c7ab8c3776d6632725bdf9eb4c72b34df6426967833bd799697326f88da2dcd12d4f7232ffba9cbcdf180fccdacf7f7a713c670584fc36182f3393 diff --git a/dev-python/boto3/boto3-1.19.2.ebuild b/dev-python/boto3/boto3-1.19.2.ebuild new file mode 100644 index 000000000000..30a0b44d3f8c --- /dev/null +++ b/dev-python/boto3/boto3-1.19.2.ebuild @@ -0,0 +1,53 @@ +# 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} ) +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE="https://github.com/boto/boto3" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/boto3" + inherit git-r3 + BOTOCORE_PV=${PV} +else + SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" + + # botocore is x.(y+3).z + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" +fi + +RDEPEND=" + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index f774d851cd44..406693a583aa 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -7,3 +7,4 @@ DIST botocore-1.21.64.tar.gz 8258628 BLAKE2B 5a335085224ed86eb2364a67198f1fe8d74 DIST botocore-1.21.65.tar.gz 8261668 BLAKE2B c955019d06aa1b2f4503673b7d9009e5d6e07ee4348e730e6b4d11285f3030f676f0efda58a72dd92cac8c6ba0cb57f8f879eb5298009ecbd227904d18a453bf SHA512 955d24d2d486524af7bee57a56e2e903458030420198f3e6ab49d61be52b812a98444a9d0f86503b121270d6642345ffad6053ad143374dc56ab908b385afb0a DIST botocore-1.22.0.tar.gz 8275754 BLAKE2B f0acbccf0c451f6cdd75495c15140c8c65bad567ab9f43c0cf77de8b1736689865688816f3b60ab697552f872f7027d26046050828dc0ad7666d5567b3b613ae SHA512 7f39cb16573d9ae4649ad67bb402f2d2fbd371f8818ec2573f7826e71828c559e37e6759e2c6ab8a05d6fa97ce53bac0a94f6d30dea0c184a079e97d1fba3597 DIST botocore-1.22.1.tar.gz 8276879 BLAKE2B 91b339fa62d5faf808273c26187d86e1c855b140a22d348d04b95a21be47e2d83081d25e97efb1f7fae899a8abb98311250062e43e998199aff90486c154b178 SHA512 95ac5c5a0ff4cc31cd4fc0973cef45c5a6bce5b82091bde2f2c0cd8215c65c11be6d4fc62ef76110287e01dc54eb9b69e5bda0f2ce39b728d36097834afd47ac +DIST botocore-1.22.2.tar.gz 8277756 BLAKE2B 6f875956c08d02ac9d92dd6c3aa7ac98cafa018612a98a75e67d50b9ac47d9e0ca7fad535c07b13006b68345be3cccc8bdd56a338cc0599a6182922df736d65e SHA512 6e9853a1cb05b5c3cd7f125b98a7d8bd72c7d188829c1704ca79e77cdfe08e9d9901507f89ca09a60e095da150f4721dd1ba1e52209cabd1ed240a59b920b71e diff --git a/dev-python/botocore/botocore-1.22.2.ebuild b/dev-python/botocore/botocore-1.22.2.ebuild new file mode 100644 index 000000000000..9cd77a5ad4d0 --- /dev/null +++ b/dev-python/botocore/botocore-1.22.2.ebuild @@ -0,0 +1,50 @@ +# 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} ) +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE="https://github.com/boto/botocore" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/botocore" + inherit git-r3 +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + dev-python/jmespath[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch" +) + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + distutils-r1_src_prepare +} + +python_test() { + epytest tests/{functional,unit} +} diff --git a/dev-python/cssutils/Manifest b/dev-python/cssutils/Manifest index 25ea44ec13a7..c729a4620f0b 100644 --- a/dev-python/cssutils/Manifest +++ b/dev-python/cssutils/Manifest @@ -1 +1,2 @@ DIST cssutils-2.2.0.tar.gz 731024 BLAKE2B 8da0e8898e7126a6a84f053f6a3411c3830dc4ec1e20b80bba53b1004c0747f0510390e10c611ce655cc8af62bf657f3b69d3a12a49b781f1b20553cd038f601 SHA512 cd9c3d069e18516484894df38f8cbc9abb1ffc5b021538c99c06878d34195619d7928d553049309ac30c144210df6ed616bbd0d04e158d9fbfce166f9935d5a2 +DIST cssutils-2.3.0.tar.gz 725849 BLAKE2B 7c6f0280c24eb9cf8c6e4215fc6a102ea0b1f72f52b06d8396601a19ffe457fa628bbf5b9f6c020185378ddf26c96e4aec11026e686343513db9141c7ca22dfd SHA512 9919224a61222e860a99ec80e6375a472b89c52af72272c1de7bcd5fd31cf8570a04da7762c62a17a85bef2c41b1c67447583087df4c86c1f8969ad4875a76d2 diff --git a/dev-python/cssutils/cssutils-2.3.0.ebuild b/dev-python/cssutils/cssutils-2.3.0.ebuild new file mode 100644 index 000000000000..cd040ab3c5c0 --- /dev/null +++ b/dev-python/cssutils/cssutils-2.3.0.ebuild @@ -0,0 +1,38 @@ +# 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} ) +inherit distutils-r1 + +DESCRIPTION="A CSS Cascading Style Sheets library" +HOMEPAGE="https://pypi.org/project/cssutils/ https://cthedot.de/cssutils/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" + +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + dev-python/toml[${PYTHON_USEDEP}] + test? ( + dev-python/cssselect[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + )" + +PATCHES=( + "${FILESDIR}/${P}-fix-py3.8.patch" + "${FILESDIR}/${P}-fix-py3.10.patch" +) + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # network + encutils/__init__.py::encutils + cssutils/tests/test_parse.py::CSSParserTestCase::test_parseUrl + examples/website.py::website.logging +) diff --git a/dev-python/cssutils/files/cssutils-2.3.0-fix-py3.10.patch b/dev-python/cssutils/files/cssutils-2.3.0-fix-py3.10.patch new file mode 100644 index 000000000000..540fc7a1cc03 --- /dev/null +++ b/dev-python/cssutils/files/cssutils-2.3.0-fix-py3.10.patch @@ -0,0 +1,21 @@ +From: Arthur Zamarin <arthurzam@gmail.com> +Date: Fri, 22 Oct 2021 17:48:28 +0300 +Subject: [PATCH] Fix expected error message for python 3.10 + +python 3.10 adds some words to it's errors, so catch if our expected +are contained in the actual output + +Signed-off-by: Arthur Zamarin <arthurzam@gmail.com> +https://github.com/jaraco/cssutils/pull/17 + +--- a/cssutils/tests/basetest.py ++++ b/cssutils/tests/basetest.py +@@ -126,7 +126,7 @@ class BaseTestCase(unittest.TestCase): + if not msg: + # No message provided: any message is fine. + return +- elif excMsg == msg: ++ elif msg in excMsg: + # Message provided, and we got the right message: passes. + return + else: diff --git a/dev-python/cssutils/files/cssutils-2.3.0-fix-py3.8.patch b/dev-python/cssutils/files/cssutils-2.3.0-fix-py3.8.patch new file mode 100644 index 000000000000..a3fff246b616 --- /dev/null +++ b/dev-python/cssutils/files/cssutils-2.3.0-fix-py3.8.patch @@ -0,0 +1,30 @@ +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> +Date: Mon, 24 May 2021 08:35:13 +0200 +Subject: [PATCH] Force using importlib_resources in Python < 3.9 + +Force using the external importlib_resources package based on Python +version rather than the presence of the built-in importlib.resources. +The latter does not have the needed files() method in Python < 3.9, +and therefore results in test failures: + + E AttributeError: module 'importlib.resources' has no attribute 'files' + +This affects specifically Python 3.7 and 3.8 that have an older version +of importlib.resources module. + +https://github.com/jaraco/cssutils/pull/10 + +--- a/cssutils/tests/basetest.py ++++ b/cssutils/tests/basetest.py +@@ -6,9 +6,9 @@ + import sys + import unittest + +-try: ++if sys.version_info >= (3, 9): + from importlib import resources +-except ImportError: ++else: + import importlib_resources as resources + + import cssutils diff --git a/dev-python/duecredit/duecredit-0.9.1.ebuild b/dev-python/duecredit/duecredit-0.9.1.ebuild index a5deb8b8d5c2..e9e5ad9d6aa1 100644 --- a/dev-python/duecredit/duecredit-0.9.1.ebuild +++ b/dev-python/duecredit/duecredit-0.9.1.ebuild @@ -4,9 +4,6 @@ EAPI=7 PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -DISTUTILS_USE_SETUPTOOLS=rdepend - inherit distutils-r1 DESCRIPTION="Publications (and donations) tracer" @@ -21,18 +18,11 @@ RDEPEND=" >=dev-python/citeproc-py-0.4[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] dev-python/six[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/importlib_metadata[${PYTHON_USEDEP}] - ' python3_7) " distutils_enable_tests pytest -python_test() { - local deselect=( - # internet? - 'duecredit/tests/test_api.py::test_noincorrect_import_if_no_lxml_numpy[kwargs1-env2]' - ) - - epytest ${deselect[@]/#/--deselect } -} +EPYTEST_DESELECT=( + # internet? + 'duecredit/tests/test_api.py::test_noincorrect_import_if_no_lxml_numpy[kwargs1-env2]' +) diff --git a/dev-python/duecredit/metadata.xml b/dev-python/duecredit/metadata.xml index d71c3b8f19a9..70d80bef9067 100644 --- a/dev-python/duecredit/metadata.xml +++ b/dev-python/duecredit/metadata.xml @@ -13,4 +13,5 @@ <remote-id type="pypi">duecredit</remote-id> </upstream> <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/glob2/glob2-0.7.ebuild b/dev-python/glob2/glob2-0.7.ebuild index 9b29e5fb3686..ac914b55f418 100644 --- a/dev-python/glob2/glob2-0.7.ebuild +++ b/dev-python/glob2/glob2-0.7.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${P::1}/${PN}/${P}.tar.gz" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 ~x86" distutils_enable_tests pytest diff --git a/dev-python/parse/parse-1.19.0.ebuild b/dev-python/parse/parse-1.19.0.ebuild index ebd982c93f93..2203bee57f4a 100644 --- a/dev-python/parse/parse-1.19.0.ebuild +++ b/dev-python/parse/parse-1.19.0.ebuild @@ -12,6 +12,6 @@ SRC_URI="mirror://pypi/${P::1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 ~x86" distutils_enable_tests unittest diff --git a/dev-python/parse_type/parse_type-0.5.2.ebuild b/dev-python/parse_type/parse_type-0.5.2.ebuild index eac080f446ad..ea9b7879d9ac 100644 --- a/dev-python/parse_type/parse_type-0.5.2.ebuild +++ b/dev-python/parse_type/parse_type-0.5.2.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${P::1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 ~x86" RDEPEND=" dev-python/parse[${PYTHON_USEDEP}] diff --git a/dev-python/pytest-bdd/pytest-bdd-4.1.0.ebuild b/dev-python/pytest-bdd/pytest-bdd-4.1.0.ebuild index 0afbd47f2fff..bd89a609a1d7 100644 --- a/dev-python/pytest-bdd/pytest-bdd-4.1.0.ebuild +++ b/dev-python/pytest-bdd/pytest-bdd-4.1.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/pytest-dev/pytest-bdd/archive/refs/tags/${PV}.tar.gz LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 ~x86" RDEPEND=" dev-python/glob2[${PYTHON_USEDEP}] diff --git a/dev-python/tldextract/tldextract-3.1.2.ebuild b/dev-python/tldextract/tldextract-3.1.2.ebuild index 0f039435a833..6bb678e7bd77 100644 --- a/dev-python/tldextract/tldextract-3.1.2.ebuild +++ b/dev-python/tldextract/tldextract-3.1.2.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 ~x86" RDEPEND=" dev-python/filelock[${PYTHON_USEDEP}] |
