From f4ec62be67ca7c839ef6cdbc7b4de72196545f03 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sat, 10 Apr 2021 13:45:26 +0000 Subject: Adding metadata --- dev-python/boto3/Manifest | 1 + dev-python/boto3/boto3-1.17.49.ebuild | 56 ++++++++++++++++++ dev-python/botocore/Manifest | 1 + dev-python/botocore/botocore-1.20.49.ebuild | 59 ++++++++++++++++++ dev-python/breathe/Manifest | 1 + dev-python/breathe/breathe-4.29.0.ebuild | 31 ++++++++++ dev-python/django/django-2.2.20.ebuild | 2 +- dev-python/django/django-3.0.14-r1.ebuild | 2 +- dev-python/django/django-3.1.8-r1.ebuild | 2 +- dev-python/eventlet/eventlet-0.30.0-r1.ebuild | 64 ++++++++++++++++++++ dev-python/eventlet/eventlet-0.30.0.ebuild | 65 -------------------- dev-python/eventlet/eventlet-0.30.2-r1.ebuild | 68 +++++++++++++++++++++ dev-python/eventlet/eventlet-0.30.2.ebuild | 69 ---------------------- dev-python/fasteners/fasteners-0.16-r1.ebuild | 27 +++++++++ dev-python/fasteners/fasteners-0.16.ebuild | 28 --------- dev-python/futurist/Manifest | 1 - dev-python/futurist/futurist-1.8.1.ebuild | 27 --------- dev-python/monotonic/Manifest | 1 + dev-python/monotonic/monotonic-1.6.ebuild | 21 +++++++ dev-python/nbsphinx/Manifest | 1 + dev-python/nbsphinx/nbsphinx-0.8.3.ebuild | 24 ++++++++ dev-python/pydata-sphinx-theme/Manifest | 1 + .../pydata-sphinx-theme-0.6.0.ebuild | 32 ++++++++++ dev-python/requests-cache/Manifest | 1 + .../files/requests-cache-0.6.0-test-install.patch | 25 ++++++++ .../requests-cache/requests-cache-0.6.0.ebuild | 69 ++++++++++++++++++++++ dev-python/sqlalchemy/Manifest | 1 + dev-python/sqlalchemy/sqlalchemy-1.4.7.ebuild | 66 +++++++++++++++++++++ dev-python/sudsds/Manifest | 1 - dev-python/sudsds/metadata.xml | 17 ------ dev-python/sudsds/sudsds-1.0.1-r1.ebuild | 19 ------ dev-python/sympy/Manifest | 1 + dev-python/sympy/metadata.xml | 4 ++ dev-python/sympy/sympy-1.8.ebuild | 62 +++++++++++++++++++ dev-python/url-normalize/Manifest | 1 + dev-python/url-normalize/metadata.xml | 12 ++++ .../url-normalize/url-normalize-1.4.3.ebuild | 30 ++++++++++ 37 files changed, 663 insertions(+), 230 deletions(-) create mode 100644 dev-python/boto3/boto3-1.17.49.ebuild create mode 100644 dev-python/botocore/botocore-1.20.49.ebuild create mode 100644 dev-python/breathe/breathe-4.29.0.ebuild create mode 100644 dev-python/eventlet/eventlet-0.30.0-r1.ebuild delete mode 100644 dev-python/eventlet/eventlet-0.30.0.ebuild create mode 100644 dev-python/eventlet/eventlet-0.30.2-r1.ebuild delete mode 100644 dev-python/eventlet/eventlet-0.30.2.ebuild create mode 100644 dev-python/fasteners/fasteners-0.16-r1.ebuild delete mode 100644 dev-python/fasteners/fasteners-0.16.ebuild delete mode 100644 dev-python/futurist/futurist-1.8.1.ebuild create mode 100644 dev-python/monotonic/monotonic-1.6.ebuild create mode 100644 dev-python/nbsphinx/nbsphinx-0.8.3.ebuild create mode 100644 dev-python/pydata-sphinx-theme/pydata-sphinx-theme-0.6.0.ebuild create mode 100644 dev-python/requests-cache/files/requests-cache-0.6.0-test-install.patch create mode 100644 dev-python/requests-cache/requests-cache-0.6.0.ebuild create mode 100644 dev-python/sqlalchemy/sqlalchemy-1.4.7.ebuild delete mode 100644 dev-python/sudsds/Manifest delete mode 100644 dev-python/sudsds/metadata.xml delete mode 100644 dev-python/sudsds/sudsds-1.0.1-r1.ebuild create mode 100644 dev-python/sympy/sympy-1.8.ebuild create mode 100644 dev-python/url-normalize/Manifest create mode 100644 dev-python/url-normalize/metadata.xml create mode 100644 dev-python/url-normalize/url-normalize-1.4.3.ebuild (limited to 'dev-python') diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index e005828bb6a2..b791b4266557 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -12,3 +12,4 @@ DIST boto3-1.17.45.tar.gz 359297 BLAKE2B 2e0f2b3b13db473f2067d2d662dbe867189f4e8 DIST boto3-1.17.46.tar.gz 359739 BLAKE2B 87c22c4605c521e8b80b5b366cc56ce88745cba3fce12ed8a5dd6905b27fbd67dc440eac05f45552f80b6b281df10265d7dce2ef378840c7d6f7d1f1239e478f SHA512 84eabf10695c3fa236436658b878fa2de5c3307aef9f8b68047c1481963fe479b642cff22852a6f76bd208622da61398cbfc3feb3c5f5f6c03ac9e4e1e06a441 DIST boto3-1.17.47.tar.gz 360120 BLAKE2B 11f29c956d317956fbe84a1bea953350cd69c25bbf03bb3098b811c541cdc81ea5e4f80be81b6442ee3064b76eb9dc97f8e2369d95c4b080fe4efa7ec468c2e9 SHA512 1608c5ddf65097c4f3c48a1544fb55e9d5beeb59d58fb781574cc47ce39b693cc030ac8f21fbababd4253ccebdacf4b4a1df6afb0b02cdb8e0d4a92c28a48c2e DIST boto3-1.17.48.tar.gz 360582 BLAKE2B 69d377f058865c96e7920fa42c28bababc2f26d8375860f112391dbd8c041370b5d24d64f1a62902f46b0356bf491aba7f3d1b3f53e2ea79c224cfc1d1bb9cc2 SHA512 ebe21d25a0c6a2edcea5e98027d53013b30e5445b4e954ed6d5a684075289b9077e880dedd55f70133111bd0fbd5da9d737c0f15dea157b8d8d45e350cd44cec +DIST boto3-1.17.49.tar.gz 360898 BLAKE2B 6fa6fddf1f5df4d28ed2163feef1f3e3349c9096a9aaa2d07a9ed0c82c893a40227b8f714fec95bf271622e3243faf6b2f6d087bb0b09094ad99e1ae764c7795 SHA512 ed49d19cc9076828c01665af616d12e7b8466aaccaafb263ee845bec6dc3e49c79a85347c68230358658b39b8ff656b674f8812c69b820bb455b584152ce39d6 diff --git a/dev-python/boto3/boto3-1.17.49.ebuild b/dev-python/boto3/boto3-1.17.49.ebuild new file mode 100644 index 000000000000..2df16964cdb0 --- /dev/null +++ b/dev-python/boto3/boto3-1.17.49.ebuild @@ -0,0 +1,56 @@ +# 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} ) +DISTUTILS_USE_SETUPTOOLS=bdepend +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 ~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 5da902d1f8a8..7ca07f4237d3 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -12,3 +12,4 @@ DIST botocore-1.20.45.tar.gz 7597127 BLAKE2B 64023be1da8b10ab29110fe626ba641e9da DIST botocore-1.20.46.tar.gz 7600596 BLAKE2B 31d81b6ae5ed9a4cf61d81151216bfb49badefce1eb56ae65ead25219044483753e6216883c50602efac336c7d2681a3814ec2449c964d9d0281dc0480180d32 SHA512 fdedd2b79ac8134b7cb819f2f713e7466c4e6f635155799dac0b95b5d97fc2010190b1e64c035b6f375082dff4e65cdf6389e267d25690caa7596dbb381c83c0 DIST botocore-1.20.47.tar.gz 7619450 BLAKE2B c54015bbc537de9a8400f294e3e866f755f462515a2cbde8c15aa80d6d096f02442a71841cb9f9eca931ad948840c94946bcddd58fd1b81ef08d2cba88d9c7c2 SHA512 6f937133e8c9b3978367b4eeeb6b3a752e1d87d528cfc6ee1de8807ad5be14020815c130da25232405a09371a06d329da8b36fb29a0d1ff4391ccfd109727c1a DIST botocore-1.20.48.tar.gz 7630297 BLAKE2B 63956d3d9aae36ff72b030d33ca182c7af466d3151344ac6b483d8ca661cc18f155b49dc5c4229a8b02b4d9ad2323a91751c6acfc080a09b450f302871e30d0e SHA512 76e38a89aa4faca71a05fe84ed6cade67c5baaabc1ae17ca14b06ffd22a2992bf61e924350945f1a659264c41726fa265aed9ff56d2b3a4e2b726dea717858f7 +DIST botocore-1.20.49.tar.gz 7630973 BLAKE2B 89d10ece5cd645d6904046804c2b2d789d7d09c2aa231856f7b5529f54a4933c2bdcc800a64d3bbc27d9f4a7de7debcb3fbc37ead1923b7fa3dbb44b40dd97e8 SHA512 994f9ee04d0b7c99aee12be5823c29fdafe145b7db71df765ba798ba33650b2189fbbfd274aec1051a7e9be1d1ac0ebf19b61ce4d8afd98635e108bbb2c63351 diff --git a/dev-python/botocore/botocore-1.20.49.ebuild b/dev-python/botocore/botocore-1.20.49.ebuild new file mode 100644 index 000000000000..9d681f87244c --- /dev/null +++ b/dev-python/botocore/botocore-1.20.49.ebuild @@ -0,0 +1,59 @@ +# 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="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 ~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/breathe/Manifest b/dev-python/breathe/Manifest index 228cccbe30d2..613f96479987 100644 --- a/dev-python/breathe/Manifest +++ b/dev-python/breathe/Manifest @@ -1,2 +1,3 @@ DIST breathe-4.27.0.tar.gz 186352 BLAKE2B fd4cac6e32a4988812085a71ea6b7222058d6856c377c9ad147da4a9eed980904f09cc04d9524bb20d6495d593c3fb3aa05792b1f0a6a8ce58bff4ca3c29d643 SHA512 b5fc79f8d7728b39e5667d1d763b02a4c0556d9b79ee6b138dc7b1951d9896d18cac1d418401edcb5eb7c4da416c77f177b40b34f85a7ea823cc2d8a4bf6dda4 DIST breathe-4.28.0.tar.gz 187954 BLAKE2B fc17eb9fb47f01907a3edeb316a427c9f06b802189cb860fa43bf7333a2897c36b2ed6ed008ca30e6e5c856d10fcf55df53ed05997ea60c29aade84cc1e5111a SHA512 a02ff717e4f50d336c91aa943a6a15b7ad834e3896d63c3ec31b3d10ff098400c53fb80fd3441e115194942722e5fce8f9b858fc3a3ba691aac900e0b415906a +DIST breathe-4.29.0.tar.gz 189293 BLAKE2B 8eeca14c24b819c4a6510674a55a4f6f9397e33752f449c138a4b3f8fa139d50a7dd2446dcbd297ac6eb7b666090e11fec3de770120e1b581d1586d9f1356bc5 SHA512 2b9824c66ef2cfe4eda1c783ffced147352ce7e59b09d1ff2f728e293d9624aa458e534185c0745aba244817abd58a5d781f4447fb52c9ce511654c06a13748d diff --git a/dev-python/breathe/breathe-4.29.0.ebuild b/dev-python/breathe/breathe-4.29.0.ebuild new file mode 100644 index 000000000000..fc33165df342 --- /dev/null +++ b/dev-python/breathe/breathe-4.29.0.ebuild @@ -0,0 +1,31 @@ +# 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} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Sphinx Doxygen renderer" +HOMEPAGE="https://breathe.readthedocs.io/en/latest/" +SRC_URI="https://github.com/michaeljones/breathe/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + app-doc/doxygen + dev-python/docutils[${PYTHON_USEDEP}] + >=dev-python/sphinx-3.0.0[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-texlive/texlive-bibtexextra + dev-texlive/texlive-fontsextra + dev-texlive/texlive-fontutils + dev-texlive/texlive-latex + dev-texlive/texlive-latexextra +" + +distutils_enable_tests pytest diff --git a/dev-python/django/django-2.2.20.ebuild b/dev-python/django/django-2.2.20.ebuild index fa167f21cb32..79e58d63c9bc 100644 --- a/dev-python/django/django-2.2.20.ebuild +++ b/dev-python/django/django-2.2.20.ebuild @@ -23,7 +23,7 @@ LICENSE+=" Apache-2.0" # admin icons, jquery, xregexp.js LICENSE+=" MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="amd64 arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" IUSE="doc sqlite test" RESTRICT="!test? ( test )" diff --git a/dev-python/django/django-3.0.14-r1.ebuild b/dev-python/django/django-3.0.14-r1.ebuild index 7972e7b873fc..7d1b29019615 100644 --- a/dev-python/django/django-3.0.14-r1.ebuild +++ b/dev-python/django/django-3.0.14-r1.ebuild @@ -23,7 +23,7 @@ LICENSE+=" Apache-2.0" # admin icons, jquery, xregexp.js LICENSE+=" MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" +KEYWORDS="amd64 arm64 ~ppc ~ppc64 x86" IUSE="doc sqlite test" RESTRICT="!test? ( test )" diff --git a/dev-python/django/django-3.1.8-r1.ebuild b/dev-python/django/django-3.1.8-r1.ebuild index 7afa8aa43c57..2869c5938e98 100644 --- a/dev-python/django/django-3.1.8-r1.ebuild +++ b/dev-python/django/django-3.1.8-r1.ebuild @@ -23,7 +23,7 @@ LICENSE+=" Apache-2.0" # admin icons, jquery, xregexp.js LICENSE+=" MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos" +KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~sparc x86 ~x64-macos" IUSE="doc sqlite test" RESTRICT="!test? ( test )" diff --git a/dev-python/eventlet/eventlet-0.30.0-r1.ebuild b/dev-python/eventlet/eventlet-0.30.0-r1.ebuild new file mode 100644 index 000000000000..10cb489ee2be --- /dev/null +++ b/dev-python/eventlet/eventlet-0.30.0-r1.ebuild @@ -0,0 +1,64 @@ +# 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="Highly concurrent networking library" +HOMEPAGE="https://pypi.org/project/eventlet/ https://github.com/eventlet/eventlet/" +SRC_URI="mirror://pypi/e/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm arm64 ppc ppc64 ~s390 sparc x86" +IUSE="doc examples test" + +RDEPEND=" + >=dev-python/dnspython-1.15.0[${PYTHON_USEDEP}] + =dev-python/greenlet-0.3[${PYTHON_USEDEP}] + >=dev-python/six-1.10.0[${PYTHON_USEDEP}]" +DEPEND="doc? ( >=dev-python/python-docs-2.7.6-r1:2.7 ) + test? ( ${RDEPEND} + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] )" + +PATCHES=( + "${FILESDIR}/${PN}-0.25.1-tests.patch" + "${FILESDIR}/${PN}-0.30.0-tests-socket.patch" +) + +distutils_enable_sphinx doc +distutils_enable_tests nose + +python_prepare_all() { + if use doc; then + local PYTHON_DOC_ATOM=$(best_version -b dev-python/python-docs:2.7) + local PYTHON_DOC_VERSION="${PYTHON_DOC_ATOM#dev-python/python-docs-}" + local PYTHON_DOC="/usr/share/doc/python-docs-${PYTHON_DOC_VERSION}/html" + local PYTHON_DOC_INVENTORY="${PYTHON_DOC}/objects.inv" + sed -i "s|'https://docs.python.org/': None|'${PYTHON_DOC}': '${PYTHON_DOC_INVENTORY}'|" doc/conf.py || die + fi + + # Prevent file collisions from teestsuite + sed -e "s:'tests', :'tests', 'tests.*', :" -i setup.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + unset PYTHONPATH + export TMPDIR="${T}" + nosetests -v || die +} + +python_install_all() { + if use examples; then + docompress -x "/usr/share/doc/${PF}/examples" + docinto examples + dodoc -r examples/. + fi + distutils-r1_python_install_all +} diff --git a/dev-python/eventlet/eventlet-0.30.0.ebuild b/dev-python/eventlet/eventlet-0.30.0.ebuild deleted file mode 100644 index 2deba7395685..000000000000 --- a/dev-python/eventlet/eventlet-0.30.0.ebuild +++ /dev/null @@ -1,65 +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="Highly concurrent networking library" -HOMEPAGE="https://pypi.org/project/eventlet/ https://github.com/eventlet/eventlet/" -SRC_URI="mirror://pypi/e/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ppc ppc64 ~s390 sparc x86" -IUSE="doc examples test" - -RDEPEND=" - >=dev-python/dnspython-1.15.0[${PYTHON_USEDEP}] - =dev-python/greenlet-0.3[${PYTHON_USEDEP}] - >=dev-python/monotonic-1.4[${PYTHON_USEDEP}] - >=dev-python/six-1.10.0[${PYTHON_USEDEP}]" -DEPEND="doc? ( >=dev-python/python-docs-2.7.6-r1:2.7 ) - test? ( ${RDEPEND} - dev-python/pyopenssl[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] )" - -PATCHES=( - "${FILESDIR}/${PN}-0.25.1-tests.patch" - "${FILESDIR}/${PN}-0.30.0-tests-socket.patch" -) - -distutils_enable_sphinx doc -distutils_enable_tests nose - -python_prepare_all() { - if use doc; then - local PYTHON_DOC_ATOM=$(best_version -b dev-python/python-docs:2.7) - local PYTHON_DOC_VERSION="${PYTHON_DOC_ATOM#dev-python/python-docs-}" - local PYTHON_DOC="/usr/share/doc/python-docs-${PYTHON_DOC_VERSION}/html" - local PYTHON_DOC_INVENTORY="${PYTHON_DOC}/objects.inv" - sed -i "s|'https://docs.python.org/': None|'${PYTHON_DOC}': '${PYTHON_DOC_INVENTORY}'|" doc/conf.py || die - fi - - # Prevent file collisions from teestsuite - sed -e "s:'tests', :'tests', 'tests.*', :" -i setup.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - unset PYTHONPATH - export TMPDIR="${T}" - nosetests -v || die -} - -python_install_all() { - if use examples; then - docompress -x "/usr/share/doc/${PF}/examples" - docinto examples - dodoc -r examples/. - fi - distutils-r1_python_install_all -} diff --git a/dev-python/eventlet/eventlet-0.30.2-r1.ebuild b/dev-python/eventlet/eventlet-0.30.2-r1.ebuild new file mode 100644 index 000000000000..649047b5305e --- /dev/null +++ b/dev-python/eventlet/eventlet-0.30.2-r1.ebuild @@ -0,0 +1,68 @@ +# 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="Highly concurrent networking library" +HOMEPAGE="https://pypi.org/project/eventlet/ https://github.com/eventlet/eventlet/" +SRC_URI="mirror://pypi/e/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="doc examples" + +RDEPEND=" + >=dev-python/dnspython-1.15.0[${PYTHON_USEDEP}] + =dev-python/six-1.10.0[${PYTHON_USEDEP}] + virtual/python-greenlet[${PYTHON_USEDEP}] +" +BDEPEND=" + doc? ( >=dev-python/python-docs-2.7.6-r1:2.7 ) + test? ( + dev-python/pyopenssl[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/${PN}-0.25.1-tests.patch" + "${FILESDIR}/${PN}-0.30.0-tests-socket.patch" +) + +distutils_enable_sphinx doc +distutils_enable_tests nose + +python_prepare_all() { + if use doc; then + local PYTHON_DOC_ATOM=$(best_version -b dev-python/python-docs:2.7) + local PYTHON_DOC_VERSION="${PYTHON_DOC_ATOM#dev-python/python-docs-}" + local PYTHON_DOC="/usr/share/doc/python-docs-${PYTHON_DOC_VERSION}/html" + local PYTHON_DOC_INVENTORY="${PYTHON_DOC}/objects.inv" + sed -i "s|'https://docs.python.org/': None|'${PYTHON_DOC}': '${PYTHON_DOC_INVENTORY}'|" doc/conf.py || die + fi + + # Prevent file collisions from teestsuite + sed -e "s:'tests', :'tests', 'tests.*', :" -i setup.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + unset PYTHONPATH + export TMPDIR="${T}" + nosetests -v || die +} + +python_install_all() { + if use examples; then + docompress -x "/usr/share/doc/${PF}/examples" + docinto examples + dodoc -r examples/. + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/eventlet/eventlet-0.30.2.ebuild b/dev-python/eventlet/eventlet-0.30.2.ebuild deleted file mode 100644 index 20cf4aa7b390..000000000000 --- a/dev-python/eventlet/eventlet-0.30.2.ebuild +++ /dev/null @@ -1,69 +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="Highly concurrent networking library" -HOMEPAGE="https://pypi.org/project/eventlet/ https://github.com/eventlet/eventlet/" -SRC_URI="mirror://pypi/e/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~s390 ~sparc ~x86" -IUSE="doc examples" - -RDEPEND=" - >=dev-python/dnspython-1.15.0[${PYTHON_USEDEP}] - =dev-python/monotonic-1.4[${PYTHON_USEDEP}] - >=dev-python/six-1.10.0[${PYTHON_USEDEP}] - virtual/python-greenlet[${PYTHON_USEDEP}] -" -BDEPEND=" - doc? ( >=dev-python/python-docs-2.7.6-r1:2.7 ) - test? ( - dev-python/pyopenssl[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-0.25.1-tests.patch" - "${FILESDIR}/${PN}-0.30.0-tests-socket.patch" -) - -distutils_enable_sphinx doc -distutils_enable_tests nose - -python_prepare_all() { - if use doc; then - local PYTHON_DOC_ATOM=$(best_version -b dev-python/python-docs:2.7) - local PYTHON_DOC_VERSION="${PYTHON_DOC_ATOM#dev-python/python-docs-}" - local PYTHON_DOC="/usr/share/doc/python-docs-${PYTHON_DOC_VERSION}/html" - local PYTHON_DOC_INVENTORY="${PYTHON_DOC}/objects.inv" - sed -i "s|'https://docs.python.org/': None|'${PYTHON_DOC}': '${PYTHON_DOC_INVENTORY}'|" doc/conf.py || die - fi - - # Prevent file collisions from teestsuite - sed -e "s:'tests', :'tests', 'tests.*', :" -i setup.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - unset PYTHONPATH - export TMPDIR="${T}" - nosetests -v || die -} - -python_install_all() { - if use examples; then - docompress -x "/usr/share/doc/${PF}/examples" - docinto examples - dodoc -r examples/. - fi - - distutils-r1_python_install_all -} diff --git a/dev-python/fasteners/fasteners-0.16-r1.ebuild b/dev-python/fasteners/fasteners-0.16-r1.ebuild new file mode 100644 index 000000000000..e850c883a08f --- /dev/null +++ b/dev-python/fasteners/fasteners-0.16-r1.ebuild @@ -0,0 +1,27 @@ +# 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="Python package that provides useful locks" +HOMEPAGE="https://github.com/harlowja/fasteners" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ~arm arm64 x86 ~amd64-linux ~x86-linux ~x64-macos" + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}]" + +BDEPEND=" + test? ( + dev-python/diskcache[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + dev-python/testtools[${PYTHON_USEDEP}] + )" + +distutils_enable_tests unittest diff --git a/dev-python/fasteners/fasteners-0.16.ebuild b/dev-python/fasteners/fasteners-0.16.ebuild deleted file mode 100644 index afb475be948f..000000000000 --- a/dev-python/fasteners/fasteners-0.16.ebuild +++ /dev/null @@ -1,28 +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="Python package that provides useful locks" -HOMEPAGE="https://github.com/harlowja/fasteners" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 x86 ~amd64-linux ~x86-linux ~x64-macos" - -RDEPEND=" - >=dev-python/monotonic-0.1[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}]" - -BDEPEND=" - test? ( - dev-python/diskcache[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] - dev-python/testtools[${PYTHON_USEDEP}] - )" - -distutils_enable_tests unittest diff --git a/dev-python/futurist/Manifest b/dev-python/futurist/Manifest index 287d2187d39b..33baaef09237 100644 --- a/dev-python/futurist/Manifest +++ b/dev-python/futurist/Manifest @@ -1,2 +1 @@ -DIST futurist-1.8.1.tar.gz 42430 BLAKE2B 4584d37dd2a5de41be576b1233a50202c9c134b0a7e6c231e028224413f2a0c6e2ab22e1685e5fc974cded3e70c4fee6cbb9ae1262f167455a40a39eeec8c904 SHA512 4ec292284a1a6a7675bd9970f391bfcc47841c42beedac8348b23755481c4f87a2467dbb0f8c963c4b9fc8148a8aaca43e3c166878d07c9e48720481b0f73d9b DIST futurist-2.3.0.tar.gz 42993 BLAKE2B ace10473ee65dedfa33f021437e6d2e974e7e9acd7eb5c6ae6955b133d74376d0bc5e966a8db502f17ff1825abaad1f6b583c6a21dcdd33d87ed4063d35a4638 SHA512 fa12314ce1bc12ccb7d8dd0e99a76a63dbd6a1c6560ca976eacb782f2c28a6003aee820d8ea745b59d35280b047e67563b046c761737d76fefb5928fdfba20e9 diff --git a/dev-python/futurist/futurist-1.8.1.ebuild b/dev-python/futurist/futurist-1.8.1.ebuild deleted file mode 100644 index da9041699667..000000000000 --- a/dev-python/futurist/futurist-1.8.1.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2020 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="Useful additions to futures, from the future" -HOMEPAGE="https://pypi.org/project/futurist/ http://docs.openstack.org/developer/futurist" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" -IUSE="" - -CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]" -DEPEND="dev-python/setuptools - ${CDEPEND}" -RDEPEND=" - ${CDEPEND} - >=dev-python/six-1.10.0[${PYTHON_USEDEP}] - >=dev-python/monotonic-0.6[${PYTHON_USEDEP}] - >=dev-python/contextlib2-0.4.0[${PYTHON_USEDEP}] - >=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}] - +Date: Sat, 10 Apr 2021 10:56:39 +0200 +Subject: [PATCH] Do not install "tests" package + +--- + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 5ca5b80..58d8e89 100644 +--- a/setup.py ++++ b/setup.py +@@ -40,7 +40,7 @@ extras_require['dev'] = list(chain.from_iterable(extras_require.values())) + + setup( + name='requests-cache', +- packages=find_packages(), ++ packages=find_packages(exclude=['tests*']), + version=__version__, + author='Roman Haritonov', + author_email='reclosedev@gmail.com', +-- +2.31.1 + diff --git a/dev-python/requests-cache/requests-cache-0.6.0.ebuild b/dev-python/requests-cache/requests-cache-0.6.0.ebuild new file mode 100644 index 000000000000..bb3609d589ba --- /dev/null +++ b/dev-python/requests-cache/requests-cache-0.6.0.ebuild @@ -0,0 +1,69 @@ +# 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} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 + +HOMEPAGE="https://pypi.org/project/requests-cache/" +DESCRIPTION="Persistent cache for requests library" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/itsdangerous[${PYTHON_USEDEP}] + >=dev-python/requests-2.0.0[${PYTHON_USEDEP}] + >=dev-python/url-normalize-1.4[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + $(python_gen_any_dep ' + dev-python/httpbin[${PYTHON_USEDEP}] + www-servers/gunicorn[${PYTHON_USEDEP}] + ') + )" + +distutils_enable_sphinx docs +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}"/${P}-test-install.patch +) + +python_check_deps() { + use test || return 0 + + has_version -b "dev-python/httpbin[${PYTHON_USEDEP}]" && + has_version -b "www-servers/gunicorn[${PYTHON_USEDEP}]" +} + +src_test() { + local hostport="127.0.0.1:23125" + python_setup + einfo "Starting httpbin on ${hostport}" + gunicorn -b "${hostport}" -D -p gunicorn.pid httpbin:app || die + + local -x HTTPBIN_URL="http://${hostport}/" + distutils-r1_src_test + kill $( - - - - dev@liguros.net - Development - - - python@gentoo.org - Python - - - A lightweight SOAP python client for consuming Web Services. Czech NIC labs fork. - - - ports - \ No newline at end of file diff --git a/dev-python/sudsds/sudsds-1.0.1-r1.ebuild b/dev-python/sudsds/sudsds-1.0.1-r1.ebuild deleted file mode 100644 index 92aa415325ee..000000000000 --- a/dev-python/sudsds/sudsds-1.0.1-r1.ebuild +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 2020-2021 Liguros Foundation -# Distributed under the terms of the GNU General Public License v2 -EAPI=5 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Lightweight SOAP client - Czech NIC labs fork" -HOMEPAGE="https://labs.nic.cz/page/969/" -SRC_URI="http://www.nic.cz/public_media/datove_schranky/releases/src/${P}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="doc" - -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -RDEPEND="" diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest index 012659200257..cecb7a28ce28 100644 --- a/dev-python/sympy/Manifest +++ b/dev-python/sympy/Manifest @@ -1 +1,2 @@ DIST sympy-1.7.1.tar.gz 6974183 BLAKE2B 4bd8c9d60c46b05a7fc6c622667858fe17d25798756dbe967ce19abc8047263fe540f332e39418e877852c0565270377bd01fea7e65aa35ed4e03079bc130805 SHA512 eb9387bb9c632203af650279f896427556725b7496c00d8dfe97b7476beedbbee5714659f7fb44b4fa986c9567cdcaefcc19401d63e1ca0e9a6c7317855440ea +DIST sympy-1.8.tar.gz 7167842 BLAKE2B 878c6daf0584c9da54f82b9c68c62715792db428ab4ebfb355f0368c52edb254947d1ce1919e651279b767295ecb00a76b8cbbaa1fbe9c97915221c7403c3ded SHA512 61141e1d0a6105e725fb415edbdf981b3aa95debcfe73f9da5ca36afc7a70e91b5c28ed45454054c1b9a8d45e42bfe724e5b20da717746c301fd095da17f4db7 diff --git a/dev-python/sympy/metadata.xml b/dev-python/sympy/metadata.xml index 252a5ec92950..55ce37ce826f 100644 --- a/dev-python/sympy/metadata.xml +++ b/dev-python/sympy/metadata.xml @@ -13,6 +13,10 @@ sci-mathematics@gentoo.org Gentoo Mathematics Project + + python@gentoo.org + Python + SymPy is a Python library for symbolic mathematics (manipulation). It aims to become a full-featured computer algebra system (CAS) while keeping diff --git a/dev-python/sympy/sympy-1.8.ebuild b/dev-python/sympy/sympy-1.8.ebuild new file mode 100644 index 000000000000..f9f108d5c847 --- /dev/null +++ b/dev-python/sympy/sympy-1.8.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 virtualx + +DESCRIPTION="Computer Algebra System in pure Python" +HOMEPAGE="https://www.sympy.org/" +SRC_URI="https://github.com/sympy/sympy/archive/${P}.tar.gz" +S="${WORKDIR}/${PN}-${P}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="examples imaging ipython latex mathml opengl pdf png pyglet symengine test texmacs theano" + +RDEPEND=" + dev-python/mpmath[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + imaging? ( dev-python/pillow[${PYTHON_USEDEP}] ) + ipython? ( dev-python/ipython[${PYTHON_USEDEP}] ) + latex? ( + virtual/latex-base + dev-texlive/texlive-fontsextra + png? ( app-text/dvipng ) + pdf? ( app-text/ghostscript-gpl ) + ) + mathml? ( dev-libs/libxml2:2[${PYTHON_USEDEP}] ) + opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] ) + pyglet? ( dev-python/pyglet[${PYTHON_USEDEP}] ) + symengine? ( dev-python/symengine[${PYTHON_USEDEP}] ) + texmacs? ( app-office/texmacs ) + theano? ( dev-python/aesara[${PYTHON_USEDEP}] ) +" + +distutils_enable_tests pytest + +python_test() { + virtx esetup.py test +} + +python_install_all() { + local DOCS=( AUTHORS README.md ) + + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + + distutils-r1_python_install_all + + if use texmacs; then + exeinto /usr/libexec/TeXmacs/bin/ + doexe data/TeXmacs/bin/tm_sympy + insinto /usr/share/TeXmacs/plugins/sympy/ + doins -r data/TeXmacs/progs + fi +} diff --git a/dev-python/url-normalize/Manifest b/dev-python/url-normalize/Manifest new file mode 100644 index 000000000000..1d11186b719f --- /dev/null +++ b/dev-python/url-normalize/Manifest @@ -0,0 +1 @@ +DIST url-normalize-1.4.3.gh.tar.gz 8478 BLAKE2B 2f15a597642626653c96f378b67794819645918473d17faad18187abe35bf7892b11c0bc78451e78f1146389beb3a6470fb3ea1610e60157fee7fbadd9863614 SHA512 46eaa1753b37e89d56cb19818144a7cf5b38653811720eb506732c35bb3732ef0c556420b22a9ee2c08e70e5b408aab7f44cea5e15d1ebe3d717c0c77706bfb8 diff --git a/dev-python/url-normalize/metadata.xml b/dev-python/url-normalize/metadata.xml new file mode 100644 index 000000000000..27b84c4e41fc --- /dev/null +++ b/dev-python/url-normalize/metadata.xml @@ -0,0 +1,12 @@ + + + + + python@gentoo.org + + + niksite/url-normalize + url-normalize + + gentoo-staging + \ No newline at end of file diff --git a/dev-python/url-normalize/url-normalize-1.4.3.ebuild b/dev-python/url-normalize/url-normalize-1.4.3.ebuild new file mode 100644 index 000000000000..253f937a7bde --- /dev/null +++ b/dev-python/url-normalize/url-normalize-1.4.3.ebuild @@ -0,0 +1,30 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=pyproject.toml +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="URL normalization for Python" +HOMEPAGE=" + https://github.com/niksite/url-normalize/ + https://pypi.org/project/url-normalize/" +SRC_URI=" + https://github.com/niksite/url-normalize/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/six[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +src_prepare() { + # remove problematic pytest options + rm tox.ini || die + distutils-r1_src_prepare +} -- cgit v1.3.1