From 026742a1d924b9986b824a7085e9863df2bd2e77 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Tue, 14 Sep 2021 01:38:41 +0000 Subject: Adding metadata --- dev-python/autopage/autopage-0.4.0.ebuild | 2 +- dev-python/bashate/Manifest | 1 + dev-python/bashate/bashate-2.1.0.ebuild | 25 +++ dev-python/bitarray/Manifest | 2 +- dev-python/bitarray/bitarray-2.3.2.ebuild | 19 --- dev-python/bitarray/bitarray-2.3.4.ebuild | 19 +++ dev-python/boto3/Manifest | 1 + dev-python/boto3/boto3-1.18.41.ebuild | 57 +++++++ dev-python/botocore/Manifest | 1 + dev-python/botocore/botocore-1.21.41.ebuild | 59 +++++++ dev-python/cliff/cliff-3.9.0.ebuild | 2 +- dev-python/django-otp/Manifest | 1 + dev-python/django-otp/django-otp-1.1.0.ebuild | 35 ++++ dev-python/fido2/metadata.xml | 4 + dev-python/httpcore/Manifest | 1 + dev-python/httpcore/httpcore-0.13.7.ebuild | 65 ++++++++ dev-python/hypothesis/Manifest | 1 + dev-python/hypothesis/hypothesis-6.21.1.ebuild | 62 +++++++ .../jupyter_console/jupyter_console-6.4.0.ebuild | 1 - dev-python/openpyxl/Manifest | 1 + dev-python/openpyxl/openpyxl-3.0.8.ebuild | 29 ++++ dev-python/pyotherside/metadata.xml | 4 + dev-python/pypy-exe/Manifest | 2 + dev-python/pypy-exe/pypy-exe-7.3.6_rc1.ebuild | 178 +++++++++++++++++++++ dev-python/pysvn/metadata.xml | 4 +- dev-python/sphinx_rtd_theme/Manifest | 1 + .../sphinx_rtd_theme/sphinx_rtd_theme-1.0.0.ebuild | 32 ++++ dev-python/theano-pymc/theano-pymc-1.1.2-r1.ebuild | 1 - dev-python/theano/theano-1.0.5-r1.ebuild | 1 - dev-python/vecrec/metadata.xml | 1 + dev-python/vecrec/vecrec-0.3.0.ebuild | 8 +- 31 files changed, 590 insertions(+), 30 deletions(-) create mode 100644 dev-python/bashate/bashate-2.1.0.ebuild delete mode 100644 dev-python/bitarray/bitarray-2.3.2.ebuild create mode 100644 dev-python/bitarray/bitarray-2.3.4.ebuild create mode 100644 dev-python/boto3/boto3-1.18.41.ebuild create mode 100644 dev-python/botocore/botocore-1.21.41.ebuild create mode 100644 dev-python/django-otp/django-otp-1.1.0.ebuild create mode 100644 dev-python/httpcore/httpcore-0.13.7.ebuild create mode 100644 dev-python/hypothesis/hypothesis-6.21.1.ebuild create mode 100644 dev-python/openpyxl/openpyxl-3.0.8.ebuild create mode 100644 dev-python/pypy-exe/pypy-exe-7.3.6_rc1.ebuild create mode 100644 dev-python/sphinx_rtd_theme/sphinx_rtd_theme-1.0.0.ebuild (limited to 'dev-python') diff --git a/dev-python/autopage/autopage-0.4.0.ebuild b/dev-python/autopage/autopage-0.4.0.ebuild index 96b5bda140d2..1f15d954751a 100644 --- a/dev-python/autopage/autopage-0.4.0.ebuild +++ b/dev-python/autopage/autopage-0.4.0.ebuild @@ -19,7 +19,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~sparc ~x86" BDEPEND=" test? ( dev-python/fixtures[${PYTHON_USEDEP}] )" diff --git a/dev-python/bashate/Manifest b/dev-python/bashate/Manifest index 65f9120e502f..130aaa69c006 100644 --- a/dev-python/bashate/Manifest +++ b/dev-python/bashate/Manifest @@ -1 +1,2 @@ DIST bashate-2.0.0.tar.gz 29579 BLAKE2B 35cd827a9b5846d0319e6de8fc4bdffbace6b0f669e496aaffa12c44349cc5947a14baecf3b21c3bc4f424796f12b38e273f273f4862949bbae11dfc4b787464 SHA512 f6bacddcad1077d034df0de4313b13aa24ba4c60baa456912d1f40511830a58ca118a72193d4cac358963870e097bee4b0e2ae5a7f7aec42f0ba1663180eb401 +DIST bashate-2.1.0.tar.gz 34717 BLAKE2B 6d25c9fe35f976f5ef24d580cb7ee5a30eb79f68f05de2b6784b79ec93ae090ecbc2a2a09b0cabd4a6a997adef6ccb73f8f258044b0443fa231a403115591202 SHA512 6ef17da86113195d8dae093fddb7c17a365b4cd7816ef0ebb98ac6cda61f52526092f7da6c39c11fba9d709a124970e18e93e267f7d0fb38190e313208f66e98 diff --git a/dev-python/bashate/bashate-2.1.0.ebuild b/dev-python/bashate/bashate-2.1.0.ebuild new file mode 100644 index 000000000000..b0b172143d43 --- /dev/null +++ b/dev-python/bashate/bashate-2.1.0.ebuild @@ -0,0 +1,25 @@ +# 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 pep8 equivalent for bash scripts" +HOMEPAGE="https://pypi.org/project/bashate/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + test? ( + dev-python/fixtures[${PYTHON_USEDEP}] + dev-python/testtools[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest diff --git a/dev-python/bitarray/Manifest b/dev-python/bitarray/Manifest index 449efc42cdae..e0ca3d533c73 100644 --- a/dev-python/bitarray/Manifest +++ b/dev-python/bitarray/Manifest @@ -1,2 +1,2 @@ -DIST bitarray-2.3.2.tar.gz 88480 BLAKE2B 0baff242d0450e76d40b6616f394a7c6ab8151c32c65b859e264fc5ddd13c808558ff6cb79723c29d6b33703f474fcd4cb583d62688ec44e9792f1a0f4ae9f13 SHA512 fa615bf411101eb26f3e6317d9b695602f65cd20d7d4037f9520ded8203b8b3cbfc749b95d29e5e21c6aea0b34cfc9dea688ef8e87f3d6ea837197d0965c3fe1 DIST bitarray-2.3.3.tar.gz 88192 BLAKE2B 1635db26f1c9c5f90f7f858e11d608cb361644f0d7ba3f7830f7e6216ddab485647b8be51c38b8da1e3a0a12fd959f1a8ea138db710e8d9f48782c0afebff205 SHA512 34b7a66c3bffc58fb4ead51f379152ce33f9cd4f56c6251f7d366f5f95786a6afc310ff71b3ac73eb256cece8789bd3227c0924ed94696497721a220532e746a +DIST bitarray-2.3.4.tar.gz 88229 BLAKE2B adf9c6e0cd1ebab3aa36af82d15fac2d7772289c3969134540154863decb7f58f532ad2a721127774c931b2fdb8f2a9698f990f8778b744a1eb267666140c66d SHA512 ba77ade534044bf19298c886958600cbf90c907ef08fbc70ad0975981942a213622a68a9c7e2708d89f19a8d127d6189cdcf365b27b0ae4c4f553b4febb3fcce diff --git a/dev-python/bitarray/bitarray-2.3.2.ebuild b/dev-python/bitarray/bitarray-2.3.2.ebuild deleted file mode 100644 index 012b3f886892..000000000000 --- a/dev-python/bitarray/bitarray-2.3.2.ebuild +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 2020-2021 Liguros 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="efficient arrays of booleans -- C extension" -HOMEPAGE="https://github.com/ilanschnell/bitarray https://pypi.org/project/bitarray/" -SRC_URI="mirror://pypi/b/${PN}/${P}.tar.gz" - -SLOT="0" -LICENSE="PSF-2" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~amd64-fbsd" - -python_test() { - "${PYTHON}" ${PN}/test_${PN}.py || die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/bitarray/bitarray-2.3.4.ebuild b/dev-python/bitarray/bitarray-2.3.4.ebuild new file mode 100644 index 000000000000..012b3f886892 --- /dev/null +++ b/dev-python/bitarray/bitarray-2.3.4.ebuild @@ -0,0 +1,19 @@ +# Copyright 2020-2021 Liguros 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="efficient arrays of booleans -- C extension" +HOMEPAGE="https://github.com/ilanschnell/bitarray https://pypi.org/project/bitarray/" +SRC_URI="mirror://pypi/b/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="PSF-2" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~amd64-fbsd" + +python_test() { + "${PYTHON}" ${PN}/test_${PN}.py || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index d810fce1bade..84c2f4ab337f 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -1,2 +1,3 @@ DIST boto3-1.18.28.tar.gz 406268 BLAKE2B 1379f65f46f287a541b098b3ae183bc7d0a6c40a58f6241d97ce39ffdde4f0655e755fe56890fda767b57c6cf7bd565d95745dbbeb80f42f729f561f6e8d9a82 SHA512 98c0d94dd4971f833677947dbfbdcd495a26fda60592130842cf2f22b8929c6f72f971294d9ddc4923372706bf7f37d3d4cb0ede32afc6955d8253c19ddab63f DIST boto3-1.18.40.tar.gz 412065 BLAKE2B c548c6a1f5cfac3d304384b56882943201c45f3515bcd3804b90656966ba5ada0bfd5130fef34d8ad1466aad8a45166a9e35706d4ea53e9eb4ca1fcfae7172f4 SHA512 95e0c6ea5a9741657d801b1feab1ac813b653becba442d83673168d029635928e031386c7147ce28a9407acda4b593fc32b0a4f6ff1761f4b8d903b585220cd5 +DIST boto3-1.18.41.tar.gz 412328 BLAKE2B 134ec70addcb9748d255b86d9e12dd380094a6a82c1d79ea9772dcc59e6eaac95a4337a1980d4791f856bd9a4d84b2f0a79b00b8b7f5a2e57384eca95a4090f5 SHA512 a7d0093083a6dae9a9ee8ad183027adc5d1f4cde05f244f126af022c77df457c0810626fe9ce5baf6fbc9e8d9ec2f8086bf95587d4f80b63c47bf4ef210bf61a diff --git a/dev-python/boto3/boto3-1.18.41.ebuild b/dev-python/boto3/boto3-1.18.41.ebuild new file mode 100644 index 000000000000..bee358e1c595 --- /dev/null +++ b/dev-python/boto3/boto3-1.18.41.ebuild @@ -0,0 +1,57 @@ +# 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 nose + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # prevent an infinite loop + rm tests/functional/docs/test_smoke.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + nosetests -v tests/unit/ tests/functional/ || + die "test failed under ${EPYTHON}" +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 4eea1fe342c7..314ebe366b81 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -1,2 +1,3 @@ DIST botocore-1.21.28.tar.gz 8079306 BLAKE2B 26dce445746a9da1b0cf62b622597396f9b4e735701f9260fd9863410b28b884e70e41b446b8349df39c81696b64632450f4ebb3e3f7865175e538f1b465898c SHA512 29534e51465bc7ac7b6f2e2c48472768c26caa5089f4c7f4a23cc2411fd55fde473388ad181a0b5a36650a6c1252ecb3e2b65e30510adc40f6edd6ce0c89f484 DIST botocore-1.21.40.tar.gz 8149052 BLAKE2B 0554e2b9caa08b7518f1b51b5a980d98926782f0d4d523fa5c40dc66ecdf2db75719a36a2bf320c8d473119030693e0d1ab6bc7ea34c0574de7488bff5d7e411 SHA512 5466e15f8c09f3b4df13aee951d65219be86ccf1c0e73ed17e50fb7e2418f4694409676804bf6cf3ca638419512d903708e0994cff1f8105a19f0e26f0cabc31 +DIST botocore-1.21.41.tar.gz 8152451 BLAKE2B e236a8f0f64bd18c138dc168c74cefe7af598ad72def9e1faeba222b07f01a65fb7f74627afe470f2894794fd3a617aaa1d789a983606de9329db58c5db2d975 SHA512 540848ccb054340f22c20930a3f867754accd15c6f084dd20ca97184d1c5e390d68f21272d68087b99ae6676d05cbc187e61c88dd0df09cc033e01f1ac1af0ac diff --git a/dev-python/botocore/botocore-1.21.41.ebuild b/dev-python/botocore/botocore-1.21.41.ebuild new file mode 100644 index 000000000000..5684261bd4b3 --- /dev/null +++ b/dev-python/botocore/botocore-1.21.41.ebuild @@ -0,0 +1,59 @@ +# 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/mock[${PYTHON_USEDEP}] + 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 nose + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + # very unstable + sed -i -e 's:test_stress_test_token_bucket:_&:' \ + tests/functional/retries/test_bucket.py || die + distutils-r1_src_prepare +} + +python_test() { + # note: suites need to be run separately as one of the unit tests + # seems to be leaking mocks and breaking a few functional tests + nosetests -v tests/unit || + die "unit tests failed under ${EPYTHON}" + nosetests -v tests/functional || + die "functional tests failed under ${EPYTHON}" +} diff --git a/dev-python/cliff/cliff-3.9.0.ebuild b/dev-python/cliff/cliff-3.9.0.ebuild index f47fabff1aac..a76e3ebeacff 100644 --- a/dev-python/cliff/cliff-3.9.0.ebuild +++ b/dev-python/cliff/cliff-3.9.0.ebuild @@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~sparc ~x86" RDEPEND=" >=dev-python/autopage-0.4.0[${PYTHON_USEDEP}] diff --git a/dev-python/django-otp/Manifest b/dev-python/django-otp/Manifest index d408f76583e1..d73c9ad2c64b 100644 --- a/dev-python/django-otp/Manifest +++ b/dev-python/django-otp/Manifest @@ -1 +1,2 @@ DIST django-otp-1.0.6.gh.tar.gz 69023 BLAKE2B 82534fb666e27ab654b1587160fd9fd4600d1ecb57f5b506b383c3d7b36a13d6bbff39598603c7c3bc69edc871a6a3ad1aa2531a92ea921ab07798e7e4bb1316 SHA512 ff14a786bc8b3d22c8767fa78d676951c262389dfe00def981c79894d299f393ffc86510c33866482aa246ac1643238a3de5701bb76cf56aea5e3ba0a25cbb97 +DIST django-otp-1.1.0.gh.tar.gz 71399 BLAKE2B 826677582fff6102b3e65750c367607e9641aa629a59f064af7023774017f6e7817f36e51e0fada181fa84054545367689b8b499ef9625729c8434a903911876 SHA512 b23c0e72508c890f7a84b59b7827f093aeaad77e6df7c824894bc789282db6f8a26699c9a3ee9bf755eb8e13c6fe5a80fad263659be7528762a8cc29d4636e11 diff --git a/dev-python/django-otp/django-otp-1.1.0.ebuild b/dev-python/django-otp/django-otp-1.1.0.ebuild new file mode 100644 index 000000000000..8119b92ce6d4 --- /dev/null +++ b/dev-python/django-otp/django-otp-1.1.0.ebuild @@ -0,0 +1,35 @@ +# 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="Django framework adding two-factor authentication using one-time passwords" +HOMEPAGE="https://github.com/django-otp/django-otp/" +SRC_URI=" + https://github.com/django-otp/django-otp/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/django-2.2[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/qrcode[${PYTHON_USEDEP}] + ${RDEPEND} + )" + +python_test() { + local -x PYTHONPATH=test:${PYTHONPATH} + local -x DJANGO_SETTINGS_MODULE=test_project.settings + django-admin test -v 2 django_otp || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/fido2/metadata.xml b/dev-python/fido2/metadata.xml index 4310152ec55a..06351218932d 100644 --- a/dev-python/fido2/metadata.xml +++ b/dev-python/fido2/metadata.xml @@ -1,6 +1,10 @@ + + marecki@gentoo.org + Marek Szuba + fido2 provides library functionality for communicating with a FIDO device over USB as well as verifying attestation and assertion diff --git a/dev-python/httpcore/Manifest b/dev-python/httpcore/Manifest index a6800a518bf0..72fa0eb6dfcb 100644 --- a/dev-python/httpcore/Manifest +++ b/dev-python/httpcore/Manifest @@ -4,3 +4,4 @@ DIST httpcore-0.13.1.tar.gz 58538 BLAKE2B 4c0b681f96fd64d17bc1974bdb74486fd336f8 DIST httpcore-0.13.2.tar.gz 59043 BLAKE2B c534c304b238837486b8a61860553475c87363b43842c9dad2629673c1d30c2f906f31658f6ff75bd9354040c08453c3d4ffe8bdf53077ca993399b93d68a57a SHA512 b032d56bc5bf4049d02ca2ddfaf66615a1ac2f0723291f82f9104a0d7f09d5eec710f9e1ac2082fa1e83ef7fa6fe4f5a6c7c28d660abd6803a990094c952834f DIST httpcore-0.13.3.tar.gz 64246 BLAKE2B afc43122a5502770b6efe7052846926e25fa678dcbd5c8ddbcd806df36dcf684d94df12571efaab0ff1b657fef14d5d71dd902be5cbec12c61db13004d7fe5a9 SHA512 7ba6c2cb77c082bcdb8cdfad2bc17646ccc9348f49760150ec1070429f94913b2fb9eae6d3407b404581b48670b866bf11696453325dd70610bd700e94990450 DIST httpcore-0.13.6.tar.gz 64716 BLAKE2B 6eadcaac626d4561dec2e41bdbde21836727f10870093890469e6b5a4af2aa276361044d08b5e25e3bf760092e5537edff9d0c99acb1ddf6ab0a17343bcd9af2 SHA512 52b6189763755dbbd762ad26fef0107ad50949c1dd4865db788317ce981079cc095161e543f1a455ce84138b51f89806d8c55267378574feced107675f6cde47 +DIST httpcore-0.13.7.tar.gz 64734 BLAKE2B e6c4b1720ce4bf62689995d3e1c648c4702bb416f3b3586eb8dd2f0cfd2155046e64181c4c04e65f721a5f0fcbc23b5ffd01c2930c7c69d37ee4c36e37b7d0d4 SHA512 0cc48828d0710066b3ef89998ec85975285763ac63a8b59106952ef2dac5a02dac71e7e106c4b6ea1022eb4d06a9cb5ee3e634eb564bad49c5508beff75279d6 diff --git a/dev-python/httpcore/httpcore-0.13.7.ebuild b/dev-python/httpcore/httpcore-0.13.7.ebuild new file mode 100644 index 000000000000..363fb88b58d1 --- /dev/null +++ b/dev-python/httpcore/httpcore-0.13.7.ebuild @@ -0,0 +1,65 @@ +# 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 minimal low-level HTTP client" +HOMEPAGE="https://www.encode.io/httpcore/" +SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=" + =dev-python/anyio-3*[${PYTHON_USEDEP}] + + + marecki@gentoo.org + Marek Szuba + gentoo-staging \ No newline at end of file diff --git a/dev-python/pypy-exe/Manifest b/dev-python/pypy-exe/Manifest index ce22adbe9f48..42d3b0aa0a8d 100644 --- a/dev-python/pypy-exe/Manifest +++ b/dev-python/pypy-exe/Manifest @@ -1,2 +1,4 @@ DIST pypy2.7-gentoo-patches-7.3.5.tar.xz 6928 BLAKE2B 41aff14411882e60102866a41de6a2c13983d5489c9ed928e2823714883b5cca289c093426fdec35b6df8d17de7a96528d799e10412a0f2f02563e152acf24ea SHA512 f12c1a414cf40e86e9d2a7d1cdfaaacc1045f8043da479b5270ef983ffcf01418a70bbd21ae740abf544091cdc5026bffe467d631242d5e9e0863a64fa8d026b +DIST pypy2.7-gentoo-patches-7.3.6rc1.tar.xz 7904 BLAKE2B 3a5b8efaa67d5a1b4f65a56c6256a3b1efa765079e0fb2c2d380b325175f2e8f3a7d7c4886f734374b6069b3ebf3ac63483f90ada0ece72ff5d8e5c82940c875 SHA512 820d6155e3451b22076719eb3ffc29fab74965761faeade52013d3928fd63cd00b8c5d045f0da0bc1f303a9d2998cd210cd6bec05b2ca01c8b281a61c9a4a73c DIST pypy2.7-v7.3.5-src.tar.bz2 21572184 BLAKE2B 388b8623c2c5de839dea0e60acc5e11a6a774b4a6cdc051691053a97fe13ec12c6735a4be64015653ef420c0d8af2c79d8faa90a7dfc3042e29f35f4e1ded6c3 SHA512 a30c666c29eec7cca7e2e52f26480958b5885cd59c6b2e3d3c0d8c1cc55c298e878fc95f88e38a4297bb3d7d1cc1f77470de958e5acfd317e1fc8bdd5d013dcb +DIST pypy2.7-v7.3.6rc1-src.tar.bz2 21617621 BLAKE2B 659dd16920b157dae94c5d1f7a9346c7b933ec8c6a3019e36aaa6911bd01d5c9d064a75baa3d8f3df423db4d5a1de5d4f3c8fb63c8d5188d23401b07cc7611be SHA512 f8b949488c3af8acc5533d92238b7bca9ce59c24e93413e0db88094eaf58af5f92a9c9a941f3b7184d2761af2c2c4775891353df053a0762519606a4ce7ca544 diff --git a/dev-python/pypy-exe/pypy-exe-7.3.6_rc1.ebuild b/dev-python/pypy-exe/pypy-exe-7.3.6_rc1.ebuild new file mode 100644 index 000000000000..08a241f6d46f --- /dev/null +++ b/dev-python/pypy-exe/pypy-exe-7.3.6_rc1.ebuild @@ -0,0 +1,178 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{6,7,8,9,10} ) +inherit check-reqs pax-utils python-any-r1 toolchain-funcs + +PYPY_PV=${PV%_p*} +MY_P=pypy2.7-v${PYPY_PV/_} +PATCHSET="pypy2.7-gentoo-patches-${PV/_}" + +DESCRIPTION="PyPy executable (build from source)" +HOMEPAGE="https://www.pypy.org/" +SRC_URI="https://buildbot.pypy.org/pypy/${MY_P}-src.tar.bz2 + https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz" +S="${WORKDIR}/${MY_P}-src" + +LICENSE="MIT" +SLOT="${PYPY_PV}" +KEYWORDS="" +IUSE="bzip2 +jit low-memory ncurses cpu_flags_x86_sse2" + +RDEPEND=">=sys-libs/zlib-1.1.3:0= + dev-libs/libffi:0= + virtual/libintl:0= + dev-libs/expat:0= + bzip2? ( app-arch/bzip2:0= ) + ncurses? ( sys-libs/ncurses:0= ) + !dev-python/pypy-exe-bin:${PYPY_PV}" +# don't enforce the dep on pypy with USE=low-memory since it's going +# to cause either collisions or circular dep on itself +DEPEND="${RDEPEND}" +BDEPEND=" + !low-memory? ( + || ( + dev-python/pypy + dev-lang/python:2.7 + ) + )" + +check_env() { + if use low-memory; then + if ! has_version -b dev-python/pypy && + ! has_version -b dev-python/pypy-bin + then + eerror "USE=low-memory requires a (possibly old) version of dev-python/pypy" + eerror "being installed. Please install it using e.g.:" + eerror + eerror " $ emerge -1v dev-python/pypy dev-python/pypy-exe-bin" + eerror + eerror "before attempting to build dev-python/pypy-exe[low-memory]." + die "dev-python/pypy needs to be installed for USE=low-memory" + fi + + CHECKREQS_MEMORY="1750M" + use amd64 && CHECKREQS_MEMORY="3500M" + else + CHECKREQS_MEMORY="3G" + use amd64 && CHECKREQS_MEMORY="6G" + fi + + check-reqs_pkg_pretend +} + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && check_env +} + +pkg_setup() { + if [[ ${MERGE_TYPE} != binary ]]; then + check_env + + use low-memory && EPYTHON= + if [[ ! ${EPYTHON} || ${EPYTHON} == pypy ]] && + { has_version -b dev-python/pypy || + has_version -b dev-python/pypy-bin; } + then + einfo "Using already-installed PyPy to perform the translation." + EPYTHON=pypy + else + einfo "Using ${EPYTHON} to perform the translation. Please note that upstream" + einfo "recommends using PyPy for that. If you wish to do so, please unset" + einfo "the EPYTHON variable." + python-any-r1_pkg_setup + fi + fi +} + +src_prepare() { + local PATCHES=( + "${WORKDIR}/${PATCHSET}" + ) + default +} + +src_configure() { + tc-export CC + + local jit_backend + if use jit; then + jit_backend='--jit-backend=' + + # We only need the explicit sse2 switch for x86. + # On other arches we can rely on autodetection which uses + # compiler macros. Plus, --jit-backend= doesn't accept all + # the modern values... + + if use x86; then + if use cpu_flags_x86_sse2; then + jit_backend+=x86 + else + jit_backend+=x86-without-sse2 + fi + else + jit_backend+=auto + fi + fi + + local args=( + --no-shared + $(usex jit -Ojit -O2) + + ${jit_backend} + + pypy/goal/targetpypystandalone + ) + + # Avoid linking against libraries disabled by use flags + local opts=( + bzip2:bz2 + ncurses:_minimal_curses + ) + + local opt + for opt in "${opts[@]}"; do + local flag=${opt%:*} + local mod=${opt#*:} + + args+=( + $(usex ${flag} --withmod --withoutmod)-${mod} + ) + done + + local interp=( "${EPYTHON}" ) + if use low-memory; then + interp=( env PYPY_GC_MAX_DELTA=200MB + "${EPYTHON}" --jit loop_longevity=300 ) + fi + + if [[ ${EPYTHON} != pypy ]]; then + # reuse bundled pycparser to avoid external dep + mkdir -p "${T}"/pymod/cffi || die + : > "${T}"/pymod/cffi/__init__.py || die + cp -r lib_pypy/cffi/_pycparser "${T}"/pymod/cffi/ || die + local -x PYTHONPATH=${T}/pymod:${PYTHONPATH} + fi + + # translate into the C sources + # we're going to build them ourselves since otherwise pypy does not + # free up the unneeded memory before spawning the compiler + set -- "${interp[@]}" rpython/bin/rpython --batch --source "${args[@]}" + echo -e "\033[1m${@}\033[0m" + "${@}" || die "translation failed" +} + +src_compile() { + emake -C "${T}"/usession*-0/testing_1 +} + +src_install() { + local dest=/usr/lib/pypy2.7 + exeinto "${dest}" + newexe "${T}"/usession*-0/testing_1/pypy-c pypy-c-${PYPY_PV} + insinto "${dest}"/include/${PYPY_PV} + doins include/pypy_* + pax-mark m "${ED}${dest}/pypy-c-${PYPY_PV}" +} diff --git a/dev-python/pysvn/metadata.xml b/dev-python/pysvn/metadata.xml index 83d00b14c8d4..2b1638946386 100644 --- a/dev-python/pysvn/metadata.xml +++ b/dev-python/pysvn/metadata.xml @@ -1,6 +1,8 @@ - + + cpe:/a:pysvn_project:svn-workbench + gentoo-staging \ No newline at end of file diff --git a/dev-python/sphinx_rtd_theme/Manifest b/dev-python/sphinx_rtd_theme/Manifest index 24daf3d45d6b..37d58481f12a 100644 --- a/dev-python/sphinx_rtd_theme/Manifest +++ b/dev-python/sphinx_rtd_theme/Manifest @@ -1 +1,2 @@ DIST sphinx_rtd_theme-0.5.2.tar.gz 7606638 BLAKE2B c104121b36c89f4d2b7c2fc12433ffd1a7cba9b9d532358dafd53061b2ca9ead4bb93b7b596394c244a9da51c0b9299f2fe0ec8d4ca102015b6c7dfb92081813 SHA512 dd46bfeb05b433970d8130c06cad6dfa9dbc4e9db2d9a8190b80232d75b4d0a86590c17d64b9b1dcd2cb1d042033f4d2c2ce2e5cac0239c6b86899628b94b274 +DIST sphinx_rtd_theme-1.0.0.tar.gz 2780623 BLAKE2B 02e72ddade0632423d21e512ab86fbdcc9f18eddbef328ba766f1b06a49c838808af4ee000e57c8f0f40112569b35c1b62c9c0c8853c237fd2ddb6de76d48a21 SHA512 06025445e1358c994bf0c15a382ec8f8f3f2114dfac19f340585a3660d91a279100c2d16ef665d9eb8d38b0e4ed264e96d3ac6814dd01b9430d2f8a0d8275178 diff --git a/dev-python/sphinx_rtd_theme/sphinx_rtd_theme-1.0.0.ebuild b/dev-python/sphinx_rtd_theme/sphinx_rtd_theme-1.0.0.ebuild new file mode 100644 index 000000000000..6c839f34f4ee --- /dev/null +++ b/dev-python/sphinx_rtd_theme/sphinx_rtd_theme-1.0.0.ebuild @@ -0,0 +1,32 @@ +# 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 ) +inherit distutils-r1 + +DESCRIPTION="ReadTheDocs.org theme for Sphinx" +HOMEPAGE="https://github.com/readthedocs/sphinx_rtd_theme" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="" + +PDEPEND=">=dev-python/sphinx-1.6[${PYTHON_USEDEP}]" +RDEPEND="https://github.com/kxgames/vecrec/issues gentoo-staging + \ No newline at end of file diff --git a/dev-python/vecrec/vecrec-0.3.0.ebuild b/dev-python/vecrec/vecrec-0.3.0.ebuild index 286181492676..4b1af1f714ad 100644 --- a/dev-python/vecrec/vecrec-0.3.0.ebuild +++ b/dev-python/vecrec/vecrec-0.3.0.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{6,7,8,9,10} ) @@ -11,13 +11,13 @@ DESCRIPTION="2D vector and rectangle classes" HOMEPAGE="https://github.com/kxgames/vecrec https://pypi.org/project/vecrec/" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" -LICENSE="MIT" +LICENSE="MIT" KEYWORDS="~amd64" SLOT="0" distutils_enable_tests pytest python_test() { - pytest -vv tests || die "Tests fail with ${EPYTHON}" + epytest tests } -- cgit v1.3.1