diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-01-05 12:40:38 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-01-05 12:40:38 +0000 |
| commit | 998742a1aa858db0be8cf74b18e9029b696ff366 (patch) | |
| tree | 57372525cdee4ffb0cd6901181707ce850596e3c /dev-python | |
| parent | cc6c64d22ac04a54a43f9e2c49f7980531c0b0af (diff) | |
| download | baldeagleos-repo-998742a1aa858db0be8cf74b18e9029b696ff366.tar.gz baldeagleos-repo-998742a1aa858db0be8cf74b18e9029b696ff366.tar.xz baldeagleos-repo-998742a1aa858db0be8cf74b18e9029b696ff366.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python')
42 files changed, 645 insertions, 35 deletions
diff --git a/dev-python/asn1crypto/metadata.xml b/dev-python/asn1crypto/metadata.xml index 1d2f88634649..42c7d364a0c6 100644 --- a/dev-python/asn1crypto/metadata.xml +++ b/dev-python/asn1crypto/metadata.xml @@ -5,6 +5,7 @@ <email>python@gentoo.org</email> <name>Python</name> </maintainer> + <stabilize-allarches/> <upstream> <remote-id type="pypi">asn1crypto</remote-id> <remote-id type="github">wbond/asn1crypto</remote-id> diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 5c92b8037a70..ab2f46f1a8a6 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -9,3 +9,4 @@ DIST boto3-1.16.44.tar.gz 342481 BLAKE2B c6241580998fe729cbb706c8d99a441fabae619 DIST boto3-1.16.45.tar.gz 342528 BLAKE2B b8e02cb656d9dc9c82ee88969443f8ba1660114a00e891b28cc40e9007e6dae735454931cf1cf9bc5ec35d8d034532e04a97dc777e5596031ff1d71684a57c01 SHA512 32a74ea5bbe3b44259f7c2dc9a9b152a9404e3ddfb924d30dbbdb0fab23267c005c31ea377e04ecee2b8830dccf3d1556ccc260e895fa43289b93c472c3bd9f7 DIST boto3-1.16.46.tar.gz 342528 BLAKE2B 7c68c2ff006f0a8120eb049ad7dfa765e98b73338b365057a8b239e0dbc4562ef60a12d57348e0f1412206bc7530aa981885c60a08b158aa258a818085e75327 SHA512 82887b4556255eff8ab6988bbd950da006849a8eb3c3017c235064f7f9f3989d97f6ef2a2d75018c2b848d586363169f354f087f1a0b841d9f0eef3dbca05ba4 DIST boto3-1.16.47.tar.gz 342541 BLAKE2B 956c76bc6f5f07125862ab7614da9d9d6eee1af9d0e3d39ddaeb4f130bb455a05f472a19b578ceae17211cd9e32492048af8b391bd42bc3ee8e26c947d95f08c SHA512 5a4e3d8ee6437254e8a560262531cf7a7055d5d06b530cac2d5940b39cbb3de3cae18aea4d05dec0a304ede76ebef5ed83d1cc3f1200fabfe135afc484aba5df +DIST boto3-1.16.48.tar.gz 342685 BLAKE2B d0137aa8cb9d1951ea1aed8b3457d73fc314e9035c5ff28006579067ac421d3538602861e9cf2ca3f47898da9038c898a9a690487a17772439dcee77c2e0f5f5 SHA512 67f7b7bf725a47d12c47bc604fe82ad8a5f9aebe18a2185140d9c0fe6f78ab45e468de9823910976a073b87adeffb399a8482dac2d61e52c5060a6023113e8e4 diff --git a/dev-python/boto3/boto3-1.16.48.ebuild b/dev-python/boto3/boto3-1.16.48.ebuild new file mode 100644 index 000000000000..2df16964cdb0 --- /dev/null +++ b/dev-python/boto3/boto3-1.16.48.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 8cdd8a80d65c..3debd8628b33 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -9,3 +9,4 @@ DIST botocore-1.19.44.tar.gz 7374043 BLAKE2B 57548d1ccf963c1c2c33f9fdb365e04d60a DIST botocore-1.19.45.tar.gz 7378425 BLAKE2B 868976d31dbc78e6d985734cd5dd4b6fd90e507188a85d0f11da73f222bafdf00010484917ab7537270e2e504265ce0c4fb77e6515e1b4b9085b9e787c226593 SHA512 79dbe8a3325fb2db3f52b3258a02910670ab1867c2c23c58389da2c60df89d671d716560575e450e7d218313805b1ce259b85ed59fdee668f2c2d6910fef78f2 DIST botocore-1.19.46.tar.gz 7377742 BLAKE2B c80c6f3a21e4d460d4be198762dad44055744ca3b555d73d72f61647e585296a8748f0daa3b8f73c56a1fb6182efd904d5081d2ba13f7380c22a2be328638fc7 SHA512 5ff8dc2179394dc64b2a634eb81d8b9c1b3a7244da79adafdcb64de4347ce8820a319ca4c7ecb71f537f09ec51a9a55cabf3735e910eb8c14d2bcd663a963bb3 DIST botocore-1.19.47.tar.gz 7378319 BLAKE2B e560a191221f6fe617ab700ac9d1f474312bcb278b1641ca1c80090288bea2aa8f9e0b5ac30607c987f409b574b02c445456835f6360fd77f1fc3403647c5b09 SHA512 06b363be4f380ba7061397f93f4f9d11f4c8302430030fd806a812d75caf7fa28c1d24abe4f06eb76e37d1ac9972bcef9231f3330c9f96e7ab66cc8f7ecd96a1 +DIST botocore-1.19.48.tar.gz 7379483 BLAKE2B d5848c04dcced3d55a634026ae295133e5c5ea01f86d6545e9d32c7f4a289ba2bf256b6d9dba2ea38ef5b2bc1c76b3c57e0168c178d74fa36c1d661990719c35 SHA512 d7d7992de4e4833a8b043597cb8c5de22b19fe375f2b15549d30eb2ef9e145c056fb16333f1b1feb44b946cdca64944bd91cc10028b726b19df9398f992df183 diff --git a/dev-python/botocore/botocore-1.19.48.ebuild b/dev-python/botocore/botocore-1.19.48.ebuild new file mode 100644 index 000000000000..9d681f87244c --- /dev/null +++ b/dev-python/botocore/botocore-1.19.48.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/curtsies/metadata.xml b/dev-python/curtsies/metadata.xml index 88305912d677..3c2546567d0e 100644 --- a/dev-python/curtsies/metadata.xml +++ b/dev-python/curtsies/metadata.xml @@ -5,6 +5,7 @@ <email>python@gentoo.org</email> <name>Python</name> </maintainer> + <stabilize-allarches/> <upstream> <remote-id type="pypi">curtsies</remote-id> <remote-id type="github">thomasballinger/curtsies</remote-id> diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 5f896b9428ed..89516d54836d 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -6,3 +6,4 @@ DIST hypothesis-python-5.43.4.tar.gz 9104105 BLAKE2B 08b8c9ac7ac72afcc4556ae2167 DIST hypothesis-python-5.43.8.tar.gz 9106677 BLAKE2B dd4334eb96e25cb31a16f06d1f7714bbf3631a7f09ed1bc46b9ce0d951b0718ac3ba0353ea4f71c221273f9c204380ab052e1bf4e3726e438a46585f6057b0db SHA512 475e6a60dd1132bcf1f4aed5e4cf6d478529e158583d4e81a1a74891037ff3fd80547a7adf5ee7263654984738fd983ef19fe8a6fb44cbd38160371ec30a6842 DIST hypothesis-python-5.43.9.tar.gz 9094672 BLAKE2B d7e6ca30556635d358b44e4bfaeb653d1960321d7c520907d6f3872e09eab0bb1a79dc70d0583e4642c16805150badb47f18ecdcff6c9991fb2a02a87453bc87 SHA512 1040dd8065604c175c5c138846c050ea1c28c5823e9ba17ffee67edfbae9a3ea071d9db40c844735513d2c7f1168aa6fef8d3fc3a3774cc49b6889b77816008b DIST hypothesis-python-5.46.0.tar.gz 9099456 BLAKE2B dd90cff66fd487427e1741eb7e31d7d04ed6e1070a3963dc55e607af0627f54d73b632a59620920565d1d1e900f97e44b6bc5d6cd0861d56a19a178f1b063878 SHA512 976575c27642f80fe903345d1b58eba5c984b78505da5c8ae4574b40795adc39e8fd8619b8fa887c796f62b772d958d1544efc883407c8500f882b9c6e9adf01 +DIST hypothesis-python-5.47.0.tar.gz 9101964 BLAKE2B 7f57eebb6f27bf57373f2560612458bf9fd6233f8a9f254e59ced22c070a6f00453036c09b4e224b340843ad5027a9217e83473aaa13c1f94d354408d8d28799 SHA512 6a72469f0c2d0f16ddb56846a96f584104e726e4cd459abe30a744aef20ff50811e00e2a0feb72a3e3e6a3c6c7a7bf15be7c633640350e3bd550ad145c97c693 diff --git a/dev-python/hypothesis/hypothesis-5.47.0.ebuild b/dev-python/hypothesis/hypothesis-5.47.0.ebuild new file mode 100644 index 000000000000..9c1c85cb43dc --- /dev/null +++ b/dev-python/hypothesis/hypothesis-5.47.0.ebuild @@ -0,0 +1,64 @@ +# 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} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 eutils multiprocessing optfeature + +DESCRIPTION="A library for property based testing" +HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/" +SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz" +S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="cli test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' python3_{6..9}) + ) +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + <dev-python/pytest-6.2[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !!<dev-python/typing-3.7.4.1 + ) +" + +python_prepare() { + if ! use cli || [[ ${EPYTHON} != python* ]]; then + sed -i -e '/console_scripts/d' setup.py || die + fi +} + +python_test() { + distutils_install_for_testing --via-root + pytest -vv tests/cover tests/pytest tests/quality \ + -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" || + die "Tests fail with ${EPYTHON}" +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/idna/Manifest b/dev-python/idna/Manifest index 48a73e20cafe..f17c09e45ce1 100644 --- a/dev-python/idna/Manifest +++ b/dev-python/idna/Manifest @@ -1,2 +1,3 @@ DIST idna-2.10.tar.gz 175616 BLAKE2B 2b109491a5751811e6e85244133a1c66b04b577441c250e600a9cb58511f4a0350f9dc386c64ce40464bf644c7434187c61e747c8e9a422443a740ebb766fe22 SHA512 83b412de2f79a4bc86fb4bdac7252521b9d84f0be54f4fb1bde1ee13a210bbfa4b1a98247affbc7921046fb117a591316c12694c1be72865767646554c5207ac DIST idna-3.0.tar.gz 180786 BLAKE2B f802465ccad978600af0f6b2aeacf4fa56957ccb73625ba374663bebc5a507986589c54b7a81c7303fcb97f8fac11695fa6e159236d61e6e29c110b8a8a66143 SHA512 2ed384e75fb3d873a19c6ee49915a48a757b3617227015f92f5e21b130cf30816ce3abf25d9ffd8931e080e645416fb0551b1be18a2d0233e02bce2e4b6556f3 +DIST idna-3.1.tar.gz 181601 BLAKE2B 1cacc2ad93de4e7f3e4faff72496dd17162a042558c6771d4ed39c68c33087633d6bdd141df3d4f867befde16acdfa82aeb0d70c36b1b1c62bbd0b3b446aed63 SHA512 23c02520d00a99855d552a9b9def529f0baeec7d27e8036c544dd654ade15243fd5c9e5ad02e73b83a9ca3bb335ab2584233d17345a6a5e6d5ac089e8ac81e8a diff --git a/dev-python/idna/idna-3.1.ebuild b/dev-python/idna/idna-3.1.ebuild new file mode 100644 index 000000000000..aabee37a3a2b --- /dev/null +++ b/dev-python/idna/idna-3.1.ebuild @@ -0,0 +1,18 @@ +# 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} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Internationalized Domain Names in Applications (IDNA)" +HOMEPAGE="https://github.com/kjd/idna https://pypi.org/project/idna/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +distutils_enable_tests setup.py diff --git a/dev-python/livereload/metadata.xml b/dev-python/livereload/metadata.xml index 0e15c6980051..f34c39142800 100644 --- a/dev-python/livereload/metadata.xml +++ b/dev-python/livereload/metadata.xml @@ -9,6 +9,7 @@ <email>proxy-maint@gentoo.org</email> <name>Proxy Maintainers</name> </maintainer> + <stabilize-allarches/> <upstream> <remote-id type="github">lepture/python-livereload</remote-id> <remote-id type="pypi">livereload</remote-id> diff --git a/dev-python/lunr/metadata.xml b/dev-python/lunr/metadata.xml index 1a1fadf969c5..02bdfcd6bac4 100644 --- a/dev-python/lunr/metadata.xml +++ b/dev-python/lunr/metadata.xml @@ -9,6 +9,7 @@ <email>proxy-maint@gentoo.org</email> <name>Proxy Maintainers</name> </maintainer> + <stabilize-allarches/> <upstream> <remote-id type="github">lepture/python-livereload</remote-id> <remote-id type="pypi">lunr</remote-id> diff --git a/dev-python/mkdocs/metadata.xml b/dev-python/mkdocs/metadata.xml index 352785960993..8d9db98cbaef 100644 --- a/dev-python/mkdocs/metadata.xml +++ b/dev-python/mkdocs/metadata.xml @@ -9,6 +9,7 @@ <email>proxy-maint@gentoo.org</email> <name>Proxy Maintainers</name> </maintainer> + <stabilize-allarches/> <upstream> <remote-id type="github">mkdocs/mkdocs</remote-id> <remote-id type="pypi">mkdocs</remote-id> diff --git a/dev-python/parameterized/Manifest b/dev-python/parameterized/Manifest index cc85d7dec7bd..9dabbd69dfcc 100644 --- a/dev-python/parameterized/Manifest +++ b/dev-python/parameterized/Manifest @@ -1 +1,2 @@ DIST parameterized-0.7.4.tar.gz 23389 BLAKE2B cc1ac334c0209a7471799587e1d35f6d8db84df91f559514bf3067ec8b2110948a6148613efd1d0111a65d43c52f7be16ab56cb69dca339fe7049f64484b7889 SHA512 71c51ad57900f5b1b6f4866c60ba4d23649df7740e7f7e735a2e0faf4810bc8dc552a1647da8c174f8a0b80db7de5727ce24dabc9fee6b4cfe12ee98c18945d7 +DIST parameterized-0.7.5.tar.gz 21830 BLAKE2B 9ec717797f0aed058200ec3359a20d83f3c21f36b112c9395a6d7d20e5a28eb00c683e7829ab3e8ac161cf80d31b820d14edd0567fa569f29aafaabcef008dc0 SHA512 d7d3665f0ffe5449eacce2b0dbb01a0b8a83c0afea8a62320d49e3ed71996d5cb3a8ce51de58c17d41edace18c3491587d012c65d1d8990edf3b6e2553afd3c0 diff --git a/dev-python/parameterized/parameterized-0.7.5.ebuild b/dev-python/parameterized/parameterized-0.7.5.ebuild new file mode 100644 index 000000000000..b4ff5a682dd9 --- /dev/null +++ b/dev-python/parameterized/parameterized-0.7.5.ebuild @@ -0,0 +1,24 @@ +# 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="Parameterized testing with any Python test framework" +HOMEPAGE="https://github.com/wolever/parameterized" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests nose diff --git a/dev-python/plumbum/metadata.xml b/dev-python/plumbum/metadata.xml index 6d56e7477294..cf90252dda8f 100644 --- a/dev-python/plumbum/metadata.xml +++ b/dev-python/plumbum/metadata.xml @@ -14,6 +14,7 @@ attempting to mimic the shell syntax (shell combinators) where it makes sense, while keeping it all Pythonic and cross-platform. </longdescription> + <stabilize-allarches/> <upstream> <remote-id type="pypi">plumbum</remote-id> <remote-id type="github">tomerfiliba/plumbum</remote-id> diff --git a/dev-python/pylast/Manifest b/dev-python/pylast/Manifest index 14990f7926ab..aae739022cda 100644 --- a/dev-python/pylast/Manifest +++ b/dev-python/pylast/Manifest @@ -1 +1,2 @@ DIST pylast-4.0.0.tar.gz 40044 BLAKE2B 89402027494d608bffc4738857d8a7728175cf29a68af259aec1d6ab3755c5e02268bbacac2ff9bd8d8c6490b86ae200aeed59f34c764a4c2f90ea59cb732070 SHA512 093845c718269ed5a0b5223182e60192a71e2fed9270fec453b96b0b2a5488a0c5a8f6386edb42ed183b97cb7ea00397b4491ff72cbf72f9e7d42dc90fae66e7 +DIST pylast-4.1.0.tar.gz 39592 BLAKE2B ff1f9f025701ebf741e53d96c2ba0c34d7a165d1c248973874484ed0c2e5e24693631f31de516fb4a58ea14014cb38c60fe04b9d116128a6a259346f16085dc2 SHA512 90be1cafb9252c2c19db9b179350269dc8eec82545487394d671d411e4fc2ca10fcd85259874f72c39674474c75274446cd8c64cd5f2274ef98ebf5ba7fbb351 diff --git a/dev-python/pylast/pylast-4.1.0.ebuild b/dev-python/pylast/pylast-4.1.0.ebuild new file mode 100644 index 000000000000..a0cad075e74a --- /dev/null +++ b/dev-python/pylast/pylast-4.1.0.ebuild @@ -0,0 +1,33 @@ +# 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} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Python interface to last.fm and other api-compatible websites" +HOMEPAGE="https://github.com/pylast/pylast" +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( dev-python/flaky[${PYTHON_USEDEP}] ) +" + +distutils_enable_tests pytest + +src_configure() { + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} +} + +python_test() { + distutils_install_for_testing + pytest -vv || die "tests failed with ${EPYTHON}" +} diff --git a/dev-python/pytest-mock/Manifest b/dev-python/pytest-mock/Manifest index aecb5ef21a58..50b91a363135 100644 --- a/dev-python/pytest-mock/Manifest +++ b/dev-python/pytest-mock/Manifest @@ -1,2 +1,3 @@ DIST pytest-mock-3.3.1.tar.gz 27551 BLAKE2B 9e3602b988c0e27caa295d42d7400cbe7e3e30392511e662fa6ec16ec9fa4ef776d3e64b63b0345d1b520f753c6776103f507f91f0bad022544bfccc510b7e6b SHA512 ffd53974f82f725cf3bdbe750c1deb568ad1a12a67532eca93ff28d80b1cbcd8ebf709985f5473717c9d54345b251c1627c0567821e9e8b9e102db5c16cf7421 DIST pytest-mock-3.4.0.tar.gz 28115 BLAKE2B 0a7f9098955d57f7121c04f7ab706dd67eb52d8ec0b2254552460eb90b2e3fef3cd3b925cf46619532ffe7bede2f208bf822e465647f3ac4504566c18ff58a75 SHA512 5456b60bdd06a63859232b28aeb79be643e8298e69ae103cb6e194891987e01b17771ad895dfead97fa45531959689fb202bb1ebc9ba44491098760c10d1ef43 +DIST pytest-mock-3.5.0.tar.gz 28903 BLAKE2B 39490d30546ad7419a16309a60cc7a3d8090cb38c11ca89d41034264147501fcd1ca52b26d391425df043b7234a0dc0b1255b973f93c8f40898a19d364df2e77 SHA512 ca85c49144a2dba83b4e3c5cfc5a82ddb631429271a4b87af686ba738f8137fe87db22121e4c04d04038c0bc786a555e882bfea21d667d1ed9f67c21b208d4ce diff --git a/dev-python/pytest-mock/pytest-mock-3.5.0.ebuild b/dev-python/pytest-mock/pytest-mock-3.5.0.ebuild new file mode 100644 index 000000000000..dd6f090d9b47 --- /dev/null +++ b/dev-python/pytest-mock/pytest-mock-3.5.0.ebuild @@ -0,0 +1,36 @@ +# 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} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Thin-wrapper around the mock package for easier use with pytest" +HOMEPAGE="https://github.com/pytest-dev/pytest-mock/" +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 ~sparc ~x86 ~x64-macos" +IUSE="" + +RDEPEND=">=dev-python/pytest-5[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +src_prepare() { + if has_version dev-python/mock; then + # test fails when standalone mock is installed + sed -e 's|^\(def \)\(test_standalone_mock(\)|\1_\2|' -i tests/test_pytest_mock.py || die + fi + distutils-r1_src_prepare +} + +python_test() { + distutils_install_for_testing + pytest --assert=plain -vv || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/python-docs/Manifest b/dev-python/python-docs/Manifest index 5ba8afa11981..fd28ddac1231 100644 --- a/dev-python/python-docs/Manifest +++ b/dev-python/python-docs/Manifest @@ -2,4 +2,6 @@ DIST python-2.7.18-docs-html.tar.bz2 4634932 BLAKE2B c48e2dede15d8186231acf65709 DIST python-3.6.12-docs-html.tar.bz2 6013089 BLAKE2B dc1c9f702bdd8be619c3cd6fd0f8cab022b8d7542ace7a7b7f63b9642f693c63b036f03248cf7ea0108ab7e33655379ca906c8ef7c35d8242517ead721a83778 SHA512 da28da84f5e8f889f328fafb4d17beb6cfc52c5703bcf5080cfbaea552f414d6f0a682aaacb2f04fa32e9453a1bdaae8ff108c38a4486170bd0edf1efacafdf7 DIST python-3.7.9-docs-html.tar.bz2 6285801 BLAKE2B bc76a90bed3f9126a63fc76bc7ec858b90dcf827eb0af19652ee987aa3feeef9de71be0e14b33f98ee5733b9eeecd3d6ec01837fcbab31d505e389ea99d6fd0a SHA512 243327bdcb85b696fccf20b3cb841b398a672f07e34f441323418651ead58ab3346eff39e78501130b5d97e5d87fb72c945a9c4b9082b26577f33bd095791d55 DIST python-3.8.6-docs-html.tar.bz2 6578280 BLAKE2B efdc62b2d570cbe7e69be1cf118250ee89f1b09af7e7db306970e764dcc9e6f20bda9230fe934ecc0891a1d79370294bc42170713b9471d05f23a468f09015fc SHA512 be0d61a9556fbdd24ab124cfdf220b3bdb537cc02d5896f8f4c75cb73e3cfd5c2947c060d049b57bf5576b4b2d1c7f0f3987070d70ce883dea023e1feab1a630 +DIST python-3.8.7-docs-html.tar.bz2 6583700 BLAKE2B 7509e4bb530f272653f0efcc6582628f80e60ddf143085cc8fb9492a686d8de2be599be3e0a38ae0271526704c04e7bbe0bc064dbbf6712d03b8f4166f6e8cda SHA512 317217948168d870dee57f2b1633c5d3dbd1a54963f5595dda4cccdf902ea48bbc70369f98e2c03958047a76966aabf9842b87adade21bb1fc5ec01c3db694f1 DIST python-3.9.0-docs-html.tar.bz2 6771373 BLAKE2B 301b8687043277a3d11dc497985769efdeaf33f8af2fc3d52b8a0b50322851402c1a1b273e782db6bd7ac51bbd94f7345c0995d0dd4f4d37bce10351620c6f6e SHA512 d04957f4895ab8f6bef8467d8b5282e0b3e5c453e2168c25123ee7aefd7a3d6d8b918e9f455bbf82913370a00181b8c00998ec2ae67c763aeda237c5b3a42097 +DIST python-3.9.1-docs-html.tar.bz2 6806786 BLAKE2B 0101e59fd25bd57e8abbb9f289b2b48a7db8e4ad9a74e51e3c8977f85a0d5d731624fe61fdc376048166e1ffaadd69c8e97acc677024a9bb711ba958a5c43cef SHA512 aa87b27b895894281b923031af651d26627526f85e61fe09c88be081ff6471ae367364cea176b1e522e065c6ec98372504f769aa1d40382716004f90c3761d97 diff --git a/dev-python/python-docs/python-docs-2.7.18.ebuild b/dev-python/python-docs/python-docs-2.7.18.ebuild index 06d23092b3c5..69b83c700c31 100644 --- a/dev-python/python-docs/python-docs-2.7.18.ebuild +++ b/dev-python/python-docs/python-docs-2.7.18.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -10,7 +10,7 @@ S="${WORKDIR}/python-${PV}-docs-html" LICENSE="PSF-2" SLOT="$(ver_cut 1-2)" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86" src_install() { rm -r _sources || die diff --git a/dev-python/python-docs/python-docs-3.6.12.ebuild b/dev-python/python-docs/python-docs-3.6.12.ebuild index 06d23092b3c5..69b83c700c31 100644 --- a/dev-python/python-docs/python-docs-3.6.12.ebuild +++ b/dev-python/python-docs/python-docs-3.6.12.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -10,7 +10,7 @@ S="${WORKDIR}/python-${PV}-docs-html" LICENSE="PSF-2" SLOT="$(ver_cut 1-2)" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86" src_install() { rm -r _sources || die diff --git a/dev-python/python-docs/python-docs-3.7.9.ebuild b/dev-python/python-docs/python-docs-3.7.9.ebuild index 06d23092b3c5..69b83c700c31 100644 --- a/dev-python/python-docs/python-docs-3.7.9.ebuild +++ b/dev-python/python-docs/python-docs-3.7.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -10,7 +10,7 @@ S="${WORKDIR}/python-${PV}-docs-html" LICENSE="PSF-2" SLOT="$(ver_cut 1-2)" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86" src_install() { rm -r _sources || die diff --git a/dev-python/python-docs/python-docs-3.8.6.ebuild b/dev-python/python-docs/python-docs-3.8.6.ebuild index 06d23092b3c5..69b83c700c31 100644 --- a/dev-python/python-docs/python-docs-3.8.6.ebuild +++ b/dev-python/python-docs/python-docs-3.8.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -10,7 +10,7 @@ S="${WORKDIR}/python-${PV}-docs-html" LICENSE="PSF-2" SLOT="$(ver_cut 1-2)" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86" src_install() { rm -r _sources || die diff --git a/dev-python/python-docs/python-docs-3.8.7.ebuild b/dev-python/python-docs/python-docs-3.8.7.ebuild new file mode 100644 index 000000000000..bfc00bc95def --- /dev/null +++ b/dev-python/python-docs/python-docs-3.8.7.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="HTML documentation for Python" +HOMEPAGE="https://www.python.org/doc/" +SRC_URI="https://www.python.org/ftp/python/doc/${PV}/python-${PV}-docs-html.tar.bz2" +S="${WORKDIR}/python-${PV}-docs-html" + +LICENSE="PSF-2" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" + +src_install() { + rm -r _sources || die + docinto html + dodoc -r . + + newenvd - 60python-docs-${SLOT} <<-EOF + PYTHONDOCS_${SLOT//./_}="${EPREFIX}/usr/share/doc/${PF}/html/library" + EOF +} diff --git a/dev-python/python-docs/python-docs-3.9.0.ebuild b/dev-python/python-docs/python-docs-3.9.0.ebuild index 16f1d2327d67..69b83c700c31 100644 --- a/dev-python/python-docs/python-docs-3.9.0.ebuild +++ b/dev-python/python-docs/python-docs-3.9.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -10,7 +10,7 @@ S="${WORKDIR}/python-${PV}-docs-html" LICENSE="PSF-2" SLOT="$(ver_cut 1-2)" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86" src_install() { rm -r _sources || die diff --git a/dev-python/python-docs/python-docs-3.9.1.ebuild b/dev-python/python-docs/python-docs-3.9.1.ebuild new file mode 100644 index 000000000000..bfc00bc95def --- /dev/null +++ b/dev-python/python-docs/python-docs-3.9.1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="HTML documentation for Python" +HOMEPAGE="https://www.python.org/doc/" +SRC_URI="https://www.python.org/ftp/python/doc/${PV}/python-${PV}-docs-html.tar.bz2" +S="${WORKDIR}/python-${PV}-docs-html" + +LICENSE="PSF-2" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" + +src_install() { + rm -r _sources || die + docinto html + dodoc -r . + + newenvd - 60python-docs-${SLOT} <<-EOF + PYTHONDOCS_${SLOT//./_}="${EPREFIX}/usr/share/doc/${PF}/html/library" + EOF +} diff --git a/dev-python/reportlab/Manifest b/dev-python/reportlab/Manifest index 68ffdf6c4b78..09c44cde7c1c 100644 --- a/dev-python/reportlab/Manifest +++ b/dev-python/reportlab/Manifest @@ -3,3 +3,4 @@ DIST reportlab-3.5.48.tar.gz 2890211 BLAKE2B bf0cde9b9e80459caee37949dc90a777a56 DIST reportlab-3.5.56.tar.gz 2899527 BLAKE2B 83f14c472a8675449e2f50f806fc5136fceb2c2f307ebd2d34ecad98ce6a67f62971869e05b7d4fe7017b5e728d21d16037ef6f04c3639b0cec8069851e46b64 SHA512 49bafe1b1f0067df1d76a8e61b35ec7062dfffa608f6086241dfa589244bef5784180de7c3d86dc62334282a40a012f7579f5c3cec3c4b0387ba2c482a04c010 DIST reportlab-3.5.57.tar.gz 2901465 BLAKE2B ecb0459414d359b8feb048ad34cfd782a6913f2e254f6d8832dd076fe63fda82d24c4dda28da9c0cc6765c284d51a45d44459d225899574625212c33800116dc SHA512 d325e389ddd7d3c4d98e462956a3c4b7237c9219728577a1e0599a137d19a27205b223fd13c5c260e2968c435bc06b2e4745945ac056926543a47e52868e21db DIST reportlab-3.5.58.tar.gz 2903638 BLAKE2B ac19bda75e111266b35a939fc64ac44de4ad69dc7a7cbf9fdabc233e28f33589ba97dc5082cd38d5b8d11a2c7aaab0bac69a1453d8661fd26017f8e07299c2e8 SHA512 949b50f65ca305f79fbb06e7e7b1ebfb6546864892f764a3440eaed0a95ac001a71d3685e8702032573ed60893b9529bd2356b1d5419882058a3b9aab986cb64 +DIST reportlab-3.5.59.tar.gz 2904089 BLAKE2B ab9bdbc8decda8f858c49a7ffe5ed919a2ca971a20967be45bdb780d9480aa474462c76f886756b433cee3ccd4d78e245334dc6a600c8e19c28ad79befe14705 SHA512 c862acb10f4eaed877321afadb52615132dcda0976e648e1767c32cd0398fc2763048f274d31da6088cb824311e8a28fee048cd6e98411e70583cfb36d0050ca diff --git a/dev-python/reportlab/reportlab-3.5.59.ebuild b/dev-python/reportlab/reportlab-3.5.59.ebuild new file mode 100644 index 000000000000..c83ddde8da39 --- /dev/null +++ b/dev-python/reportlab/reportlab-3.5.59.ebuild @@ -0,0 +1,62 @@ +# 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="Tools for generating printable PDF documents from any data source" +HOMEPAGE=" + https://www.reportlab.com/ + https://pypi.org/project/reportlab/" +SRC_URI=" + mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz + https://www.reportlab.com/ftp/fonts/pfbfer-20070710.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + media-libs/freetype + media-libs/libart_lgpl + sys-libs/zlib:=" +RDEPEND=" + ${DEPEND} + dev-python/pillow[tiff,truetype,jpeg(+),${PYTHON_USEDEP}]" +BDEPEND=" + app-arch/unzip + test? ( ${RDEPEND} )" + +distutils_enable_sphinx docs/source + +PATCHES=( + # bug 738312, remove -L/usr/lib from link line + "${FILESDIR}"/${PN}-3.5.48-usr-lib-LLD.patch +) + +src_unpack() { + unpack ${P}.tar.gz + cd ${P}/src/reportlab/fonts || die + unpack pfbfer-20070710.zip +} + +python_prepare_all() { + # tests requiring Internet access + sed -i -e 's:test0:_&:' \ + tests/test_platypus_general.py \ + tests/test_platypus_images.py || die + sed -i -e 's:test9:_&:' tests/test_lib_utils.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + pushd tests >/dev/null || die + "${EPYTHON}" runAll.py || die "Testing failed with ${EPYTHON}" + popd >/dev/null || die +} diff --git a/dev-python/roman/metadata.xml b/dev-python/roman/metadata.xml index 550f8b505b0a..13528291a463 100644 --- a/dev-python/roman/metadata.xml +++ b/dev-python/roman/metadata.xml @@ -5,6 +5,7 @@ <email>python@gentoo.org</email> <name>Python</name> </maintainer> + <stabilize-allarches/> <upstream> <remote-id type="pypi">roman</remote-id> </upstream> diff --git a/dev-python/sphinx/Manifest b/dev-python/sphinx/Manifest index 6c72bd82791d..c1b1c3a14619 100644 --- a/dev-python/sphinx/Manifest +++ b/dev-python/sphinx/Manifest @@ -3,3 +3,4 @@ DIST Sphinx-3.2.1.tar.gz 5970067 BLAKE2B 6158d31390c9b07aa3abcdc4eb7ed827cf21601 DIST Sphinx-3.3.1.tar.gz 5979919 BLAKE2B 4eb9d8c9dccfd83690252ad6be05a3e69006e1e801bb0b37b77fb6ccf998f3a2fd99a90eba890cfb2baa5545ac0c2734fcd72d602fc2d1091e6754337f241b34 SHA512 bb1fb0780b741c0162ca014cb996dcdaac06985d14b6cc645a835679d7cf2680912784a815a027caf3fe902f721f9707bc9e9daaaf2c2d43051d31fe00584f78 DIST Sphinx-3.4.0.tar.gz 5996932 BLAKE2B 9765d076b7b4738c3d4676618c69d401c49c5f5994f0daf0d04d02ce8c74a8084242910a821333b9233636a195df801f978bf43fbd4d323ad7e9f3651ef33b6e SHA512 49fe0aea70c244416bd26141271074d0f04dd69a8fa37be6d3f6cc3e5e98d4b64fa83ac3bbb80b0b37e8ea05d06bcc5f9891ddc00682e1c3c14130f48a831971 DIST Sphinx-3.4.1.tar.gz 5997545 BLAKE2B 18bca0e05f0226785f96d108b08ed8a41638f1ce1678578a16666cde66b1a3a1d2a8cafa0213157fbb6aa5f471a7e2e8154f47e9b1a0c1ba017d0a86145a19cb SHA512 feaf20046dc82ca94c1d80e90e232dd3d183830202ef48f51599a58e3a8f255d5d746293926757e326d9fe1bd43b62bd9c29c265ad83baa34a7631b5b3cbd7a0 +DIST Sphinx-3.4.2.tar.gz 5996867 BLAKE2B 4ab0989d521702a5e84148d12f57c2332d27519807de1aa33fff3a17813c8be0247e413c768cd3062c4c52372607cc6f5f16ca0a2ff46cbb8e73db4dd7270796 SHA512 7af39a6c40f54018cce59c2407af278bcbfbded305742918d053e75ae7bdc3a1ea8cc615fd554c9f9581c84723cf5f70ebed8916c54215c5024cf63e31dd3a0e diff --git a/dev-python/sphinx/sphinx-3.3.1.ebuild b/dev-python/sphinx/sphinx-3.3.1-r1.ebuild index e4701f467cbb..e852d369b5a4 100644 --- a/dev-python/sphinx/sphinx-3.3.1.ebuild +++ b/dev-python/sphinx/sphinx-3.3.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -22,13 +22,13 @@ RESTRICT="!test? ( test )" RDEPEND=" <dev-python/alabaster-0.8[${PYTHON_USEDEP}] - dev-python/Babel[${PYTHON_USEDEP}] - dev-python/docutils[${PYTHON_USEDEP}] + >=dev-python/Babel-1.3[${PYTHON_USEDEP}] + >=dev-python/docutils-0.12[${PYTHON_USEDEP}] dev-python/imagesize[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - dev-python/pygments[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/snowballstemmer[${PYTHON_USEDEP}] + >=dev-python/jinja-2.3[${PYTHON_USEDEP}] + >=dev-python/pygments-2.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.5.0[${PYTHON_USEDEP}] + >=dev-python/snowballstemmer-1.1[${PYTHON_USEDEP}] dev-python/sphinxcontrib-applehelp[${PYTHON_USEDEP}] dev-python/sphinxcontrib-devhelp[${PYTHON_USEDEP}] dev-python/sphinxcontrib-jsmath[${PYTHON_USEDEP}] diff --git a/dev-python/sphinx/sphinx-3.4.0.ebuild b/dev-python/sphinx/sphinx-3.4.0-r1.ebuild index 7ae59b1e3113..29a1dbbdbcf1 100644 --- a/dev-python/sphinx/sphinx-3.4.0.ebuild +++ b/dev-python/sphinx/sphinx-3.4.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -22,13 +22,13 @@ RESTRICT="!test? ( test )" RDEPEND=" <dev-python/alabaster-0.8[${PYTHON_USEDEP}] - dev-python/Babel[${PYTHON_USEDEP}] - dev-python/docutils[${PYTHON_USEDEP}] + >=dev-python/Babel-1.3[${PYTHON_USEDEP}] + >=dev-python/docutils-0.12[${PYTHON_USEDEP}] dev-python/imagesize[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - dev-python/pygments[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/snowballstemmer[${PYTHON_USEDEP}] + >=dev-python/jinja-2.3[${PYTHON_USEDEP}] + >=dev-python/pygments-2.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.5.0[${PYTHON_USEDEP}] + >=dev-python/snowballstemmer-1.1[${PYTHON_USEDEP}] dev-python/sphinxcontrib-applehelp[${PYTHON_USEDEP}] dev-python/sphinxcontrib-devhelp[${PYTHON_USEDEP}] dev-python/sphinxcontrib-jsmath[${PYTHON_USEDEP}] diff --git a/dev-python/sphinx/sphinx-3.4.1.ebuild b/dev-python/sphinx/sphinx-3.4.1-r1.ebuild index 7ae59b1e3113..29a1dbbdbcf1 100644 --- a/dev-python/sphinx/sphinx-3.4.1.ebuild +++ b/dev-python/sphinx/sphinx-3.4.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -22,13 +22,13 @@ RESTRICT="!test? ( test )" RDEPEND=" <dev-python/alabaster-0.8[${PYTHON_USEDEP}] - dev-python/Babel[${PYTHON_USEDEP}] - dev-python/docutils[${PYTHON_USEDEP}] + >=dev-python/Babel-1.3[${PYTHON_USEDEP}] + >=dev-python/docutils-0.12[${PYTHON_USEDEP}] dev-python/imagesize[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - dev-python/pygments[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/snowballstemmer[${PYTHON_USEDEP}] + >=dev-python/jinja-2.3[${PYTHON_USEDEP}] + >=dev-python/pygments-2.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.5.0[${PYTHON_USEDEP}] + >=dev-python/snowballstemmer-1.1[${PYTHON_USEDEP}] dev-python/sphinxcontrib-applehelp[${PYTHON_USEDEP}] dev-python/sphinxcontrib-devhelp[${PYTHON_USEDEP}] dev-python/sphinxcontrib-jsmath[${PYTHON_USEDEP}] diff --git a/dev-python/sphinx/sphinx-3.4.2-r1.ebuild b/dev-python/sphinx/sphinx-3.4.2-r1.ebuild new file mode 100644 index 000000000000..29a1dbbdbcf1 --- /dev/null +++ b/dev-python/sphinx/sphinx-3.4.2-r1.ebuild @@ -0,0 +1,128 @@ +# 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} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Python documentation generator" +HOMEPAGE="https://www.sphinx-doc.org/ + https://github.com/sphinx-doc/sphinx" +SRC_URI="mirror://pypi/S/${PN^}/${P^}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" +IUSE="doc latex test" +RESTRICT="!test? ( test )" + +RDEPEND=" + <dev-python/alabaster-0.8[${PYTHON_USEDEP}] + >=dev-python/Babel-1.3[${PYTHON_USEDEP}] + >=dev-python/docutils-0.12[${PYTHON_USEDEP}] + dev-python/imagesize[${PYTHON_USEDEP}] + >=dev-python/jinja-2.3[${PYTHON_USEDEP}] + >=dev-python/pygments-2.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.5.0[${PYTHON_USEDEP}] + >=dev-python/snowballstemmer-1.1[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-applehelp[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-devhelp[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-jsmath[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-htmlhelp[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-serializinghtml[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-qthelp[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/typed-ast[${PYTHON_USEDEP}] + ' python3_{6,7}) + latex? ( + dev-texlive/texlive-latexextra + dev-texlive/texlive-luatex + app-text/dvipng + )" +BDEPEND=" + doc? ( + dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}] + media-gfx/graphviz + ) + test? ( + ${RDEPEND} + dev-python/html5lib[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + virtual/imagemagick-tools[jpeg,png,svg] + dev-texlive/texlive-fontsextra + dev-texlive/texlive-latexextra + dev-texlive/texlive-luatex + app-text/dvipng + )" + +S="${WORKDIR}/${P^}" + +PATCHES=( + "${FILESDIR}/${PN}-3.2.1-doc-link.patch" +) + +python_prepare_all() { + # disable internet access + sed -i -e 's:^intersphinx_mapping:disabled_&:' \ + doc/conf.py || die + + distutils-r1_python_prepare_all +} + +python_compile() { + distutils-r1_python_compile + + # Generate the grammar. It will be caught by install somehow. + # Note that the tests usually do it for us. However, I don't want + # to trust USE=test really running all the tests, especially + # with FEATURES=test-fail-continue. + pushd "${BUILD_DIR}"/lib >/dev/null || die + "${EPYTHON}" -m sphinx.pycode.__init__ || die "Grammar generation failed." + popd >/dev/null || die +} + +python_compile_all() { + if use doc; then + esetup.py build_sphinx + HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. ) + fi +} + +python_test() { + mkdir -p "${BUILD_DIR}/sphinx_tempdir" || die + local -x SPHINX_TEST_TEMPDIR="${BUILD_DIR}/sphinx_tempdir" + + local deselect=( + # these tests require Internet access + tests/test_build_latex.py::test_latex_images + tests/test_build_linkcheck.py::test_defaults + tests/test_build_linkcheck.py::test_defaults_json + tests/test_build_linkcheck.py::test_anchors_ignored + ) + [[ ${EPYTHON} == pypy3 ]] && deselect+=( + tests/test_build_latex.py::test_latex_images + tests/test_ext_autodoc.py::test_autodoc_inherited_members_None + tests/test_ext_autodoc.py::test_automethod_for_builtin + tests/test_ext_autodoc.py::test_partialfunction + tests/test_ext_autodoc.py::test_autodoc_typed_instance_variables + tests/test_ext_autodoc.py::test_autodoc_typed_inherited_instance_variables + tests/test_ext_autodoc.py::test_cython + tests/test_ext_autodoc_autoclass.py::test_show_inheritance_for_subclass_of_generic_type + tests/test_ext_autodoc_autodata.py::test_autodata_type_comment + tests/test_ext_autodoc_autofunction.py::test_builtin_function + tests/test_ext_autodoc_autofunction.py::test_methoddescriptor + tests/test_ext_autodoc_configs.py::test_autodoc_typehints_signature + tests/test_ext_autodoc_configs.py::test_autodoc_type_aliases + tests/test_ext_autosummary.py::test_autosummary_generate_content_for_module + tests/test_ext_autosummary.py::test_autosummary_generate_content_for_module_skipped + tests/test_pycode_parser.py::test_annotated_assignment_py36 + ) + + pytest -vv ${deselect[@]/#/--deselect } || + die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/sudsds/metadata.xml b/dev-python/sudsds/metadata.xml index a56745df0223..c4e7a7e3d49d 100644 --- a/dev-python/sudsds/metadata.xml +++ b/dev-python/sudsds/metadata.xml @@ -8,5 +8,5 @@ <longdescription lang="en"> A lightweight SOAP python client for consuming Web Services. Czech NIC labs fork. </longdescription> - <origin>kit-fixups</origin> + <origin>calculatelinux-overlay</origin> </pkgmetadata> diff --git a/dev-python/sudsds/sudsds-1.0.1-r1.ebuild b/dev-python/sudsds/sudsds-1.0.1-r1.ebuild index 054a9f5306c4..ac0d6b9c7860 100644 --- a/dev-python/sudsds/sudsds-1.0.1-r1.ebuild +++ b/dev-python/sudsds/sudsds-1.0.1-r1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2020 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 PYTHON_COMPAT=( python2_7 python3_{6,7,8,9,10} ) @@ -17,4 +17,4 @@ KEYWORDS="amd64 x86" IUSE="doc" DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -RDEPEND="" +RDEPEND="${DEPEND}" diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest index 30e0c3bfd214..e204e2e97f6c 100644 --- a/dev-python/zeroconf/Manifest +++ b/dev-python/zeroconf/Manifest @@ -1,3 +1,4 @@ DIST python-zeroconf-0.28.7.gh.tar.gz 60821 BLAKE2B e8c99505d1b149319552c808ee17bd3cd37a016c094d5f273f5d3545670ecf6f9cff58178293816e9cd671cf9e342b0a99641d6b9b3d32626dac4e72d983380e SHA512 8cc5c9b2e964c170c2aa53a3c07f2cd634cb113737fdf2e7a924b0b1c5ffb7c2d1e97b589cce36a4216f427e0e64dfba373f9f96b6117e835a9aa68a911edea0 +DIST python-zeroconf-0.28.8.gh.tar.gz 62107 BLAKE2B 94b910be9f95f8b50bfcd5fca102663713234d40a0cf90c5b94b2ab4e85ffd7363747a0fee2f7a72a3bfb74faa1cab703dfb8bfe3cef80a0495efe2c81d0c2af SHA512 ba599fdd44ecdf3da71ee2a155a47e6cf91c8f4fe3efac428f6e99feda052019423a8a3e775d6cc4624697fbfcbe207829a41ad76105082fe62e81eead2f7a34 DIST zeroconf-0.24.4.tar.gz 51866 BLAKE2B dd71bda4b0759c61a3e5895e766dff6516ea81ca0c8c9f5a95a8093de8a3a9b15722b99a6af0092b02c1b292bcdb11c02c9f165003b56ca8a793f4a4ca8fd891 SHA512 71678521b05016a7404005a06c8109f861cc8bfe2b3375ac6f1da8f63771271a3d9a095a8db6ccea2e062c5cc28b750a50fbe69218de72646b13a5f03359ea17 DIST zeroconf-0.28.6.tar.gz 61487 BLAKE2B 2ded05d0e63d9f4918da925c179ee198dac68cf7a51d8f63beaaa697b04d297c7e892c97b1cedd51f9ab4af23e79e50bd3d85eb1af804c0fc0c67461501a508e SHA512 405786a25531efc42acf967838e74b67960b7ecdbee5db0633a56ba3e1774b9bd71fac58bcf29ab57ef6328560ee0f0f8cfa126ea42637ff53fb18c479a92f62 diff --git a/dev-python/zeroconf/zeroconf-0.28.8.ebuild b/dev-python/zeroconf/zeroconf-0.28.8.ebuild new file mode 100644 index 000000000000..73f10df096e5 --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.28.8.ebuild @@ -0,0 +1,33 @@ +# 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 + +MY_P=python-zeroconf-${PV} +DESCRIPTION="Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)" +HOMEPAGE=" + https://github.com/jstasiak/python-zeroconf/ + https://pypi.org/project/zeroconf/" +SRC_URI=" + https://github.com/jstasiak/python-zeroconf/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=">=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}]" + +distutils_enable_tests unittest + +src_prepare() { + # broken in network-sandbox + sed -e 's:test_launch_and_close:_&:' \ + -e 's:test_integration_with_listener_ipv6:_&:' \ + -i zeroconf/test.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/zope-testing/Manifest b/dev-python/zope-testing/Manifest index 682692fd1bba..f43107314bdd 100644 --- a/dev-python/zope-testing/Manifest +++ b/dev-python/zope-testing/Manifest @@ -1 +1,2 @@ DIST zope.testing-4.7.tar.gz 63474 BLAKE2B dc825849c288b9f8ab9e4edfe670e09aa49f28c64047da8e0fb36cbfa6cf24d70cf6a49ea8a51ca1831b152f3ffa4b0c62cde29750036f13c9f754df2bb80da2 SHA512 cdf87f95196880a0f55c740f6340286bb29e96e9273d0c645bbb50def54a0645cce22d971adba3f15ff57b1021a72749219af83abc4e8fa775fb982d8164791d +DIST zope.testing-4.8.tar.gz 63626 BLAKE2B 1e6910f3e6d0cbee8ea08f4af2c9ae8708183779749e02d9fe71b5726dfd6c0d94a2fca12a8b150044c29a75edf2cbd0783f83b735eecf061488b2e642ad4db9 SHA512 5f89a8babaa94d46d67c29f1f10b1b8dd4196093f6aea66668d93a5256539cc1bbf6ba689c592031df62e300db9cd1fedf9f38490c73355fb415a02e351bb92f diff --git a/dev-python/zope-testing/zope-testing-4.8.ebuild b/dev-python/zope-testing/zope-testing-4.8.ebuild new file mode 100644 index 000000000000..5dccb58d9d4c --- /dev/null +++ b/dev-python/zope-testing/zope-testing-4.8.ebuild @@ -0,0 +1,31 @@ +# 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} pypy3 ) +inherit distutils-r1 + +MY_PN=${PN/-/.} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Zope testing helpers" +HOMEPAGE="https://pypi.org/project/zope.testing/ https://github.com/zopefoundation/zope.testing" +SRC_URI="mirror://pypi/${MY_PN::1}/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND="dev-python/namespace-zope[${PYTHON_USEDEP}]" + +distutils_enable_tests setup.py + +python_install_all() { + distutils-r1_python_install_all + + # remove .pth files since dev-python/namespace-zope handles the ns + find "${D}" -name '*.pth' -delete || die +} |
