diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-03-04 13:52:05 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-03-04 13:52:05 +0000 |
| commit | 7d29d72ec5ac52324275ce5d5f69c64ea402ac7a (patch) | |
| tree | 5813b5475ae743d801fe124335837651402802e5 /dev-python | |
| parent | 07cc77a471a0cca7e926b493d4bfd976bc2f0a8d (diff) | |
| download | baldeagleos-repo-7d29d72ec5ac52324275ce5d5f69c64ea402ac7a.tar.gz baldeagleos-repo-7d29d72ec5ac52324275ce5d5f69c64ea402ac7a.tar.xz baldeagleos-repo-7d29d72ec5ac52324275ce5d5f69c64ea402ac7a.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
81 files changed, 707 insertions, 326 deletions
diff --git a/dev-python/BitVector/BitVector-3.4.9-r1.ebuild b/dev-python/BitVector/BitVector-3.4.9-r1.ebuild new file mode 100644 index 000000000000..479bef3df0fe --- /dev/null +++ b/dev-python/BitVector/BitVector-3.4.9-r1.ebuild @@ -0,0 +1,21 @@ +# 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="A pure-Python memory-efficient packed representation for bit arrays" +HOMEPAGE="https://engineering.purdue.edu/kak/dist/ https://pypi.org/project/BitVector/" +SRC_URI="https://engineering.purdue.edu/kak/dist/${P}.tar.gz" +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="" + +python_test() { + "${PYTHON}" TestBitVector/Test.py || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/aiosmtpd/Manifest b/dev-python/aiosmtpd/Manifest index 5eb2ce1d6b7c..cacaee26aec2 100644 --- a/dev-python/aiosmtpd/Manifest +++ b/dev-python/aiosmtpd/Manifest @@ -3,3 +3,4 @@ DIST aiosmtpd-1.2.4.tar.gz 83329 BLAKE2B accecbc3fe66efc748d0bc3c85504d731005b90 DIST aiosmtpd-1.2.tar.gz 51457 BLAKE2B c2dba38c5d5a243a65c332cb3b6bf85a124eb6ab9c3526d0ef57788eb7e24e64ec86c56eeaa57e5171631c8a965447f125366741b1d1c54fb48473da5123ed40 SHA512 520b0fae80423d3963d4f17ef393cc0ce9e342fd1237c909159706bfe1e13f27df849fbc14aa1c94ad02e7c9108308984b6f9e21c7dbddb09093ef00884983d8 DIST aiosmtpd-1.3.2.tar.gz 110769 BLAKE2B 985684d8183c89670c362e39b81cbff187fa820bc3197a0c0c18cd61eb4c00912bf489d935303be0fedfee3dabfafaf81c7d4be3e428374624ed9a1fab6ce2c8 SHA512 b5d183671b8a985dcf774fb1b35ffbdf5c058e24e7cb81d77b2b0ce00b2b4dff27ff8bb167e985d5bf84cb6816c014d7cd601aab59243136ae409975ef3da30d DIST aiosmtpd-1.4.0.tar.gz 136307 BLAKE2B 5ae007be6953de8fd804bef25e290153ead6730bf44dbf71448946c1380a972a59b0fcf6f669035dd23acc582d697dc746efe0b03612e6c3ee51b31d58aee309 SHA512 cefbc819a51cbdacc8f24d0f5ff4f2a92ad6e4c5809a9b97635226767f1dd20c63565522ab66fd6c7ede5efdafa89c42e3c3bae4e94ea5c57b49531b02e1bad6 +DIST aiosmtpd-1.4.1.tar.gz 137171 BLAKE2B 601cbcc1eb409277dfada35bd8bf39c7282651b479a4db4a7716ef74dd66fce37bdeb7b0fd8fceb9889ec247e1ec32d9b2305de74868feceba208c23835e08de SHA512 f018e0a75adaa269c1f003a6f7fbbe92257c518ea9b62ffd807bb75a169362ff1159b69562b0d6cfa211ff5cd19f0756ed78c92a7be533a0c1929608d6eacc82 diff --git a/dev-python/aiosmtpd/aiosmtpd-1.4.1.ebuild b/dev-python/aiosmtpd/aiosmtpd-1.4.1.ebuild new file mode 100644 index 000000000000..138caaa673e9 --- /dev/null +++ b/dev-python/aiosmtpd/aiosmtpd-1.4.1.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="asyncio based SMTP server" +HOMEPAGE="https://aiosmtpd.readthedocs.io/en/latest/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/atpublic[${PYTHON_USEDEP}] + dev-python/attrs[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' python3_7)" +BDEPEND=" + test? ( + >=dev-python/pytest-6[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + )" + +# TODO: run doctests using sphinx? +distutils_enable_tests pytest diff --git a/dev-python/audioread/Manifest b/dev-python/audioread/Manifest index 8f5f4d9ac4d0..14ca29568adb 100644 --- a/dev-python/audioread/Manifest +++ b/dev-python/audioread/Manifest @@ -1 +1,2 @@ DIST audioread-2.1.8.tar.gz 21222 BLAKE2B 78cc55d45dd987fbe0171cd3da9f8441e38b60fa6f1b0ef8b0781abc91e6b447b8cf839437b59bfafdf13ca90bb50a032788e0470250f303122a46ddc24ebd19 SHA512 9db5ad1f8b2047256b5f6b4bbee2366043ed19d35ffd2766ae3ab66bdc5b9f63910bcf449fd42aab074fd8132642bf730c432aa0c8f3c5368cd6ef36d7f4f5a5 +DIST audioread-2.1.9.tar.gz 377500 BLAKE2B a90d1d7531c265a8c2b7933ac0bfc00fbdf298546620fef3ccae0204fc1eedcc584bf2fdb79b1bbda81b29d03346abc236cd0234684ba3cc70642f837033ab99 SHA512 ad2260b6931cfeebb815d48221366a2a5d8095965ff18e94c5eb0809d9a1b02e650a62ad5e895b7f1e003771fa3babf56f59ce4538aca78b678566fd28327290 diff --git a/dev-python/audioread/audioread-2.1.8-r2.ebuild b/dev-python/audioread/audioread-2.1.8-r2.ebuild index d969460b749c..02b03b685748 100644 --- a/dev-python/audioread/audioread-2.1.8-r2.ebuild +++ b/dev-python/audioread/audioread-2.1.8-r2.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 @@ -13,11 +13,8 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="ffmpeg gstreamer mad test" +IUSE="ffmpeg gstreamer mad" -BDEPEND=" - test? ( dev-python/pytest[${PYTHON_USEDEP}] ) -" RDEPEND=" ffmpeg? ( media-video/ffmpeg ) gstreamer? ( @@ -28,8 +25,6 @@ RDEPEND=" mad? ( dev-python/pymad ) " -RESTRICT="!test? ( test )" - PATCHES=( "${FILESDIR}/${P}-test-deps.patch" ) # git master python_prepare_all() { diff --git a/dev-python/audioread/audioread-2.1.9.ebuild b/dev-python/audioread/audioread-2.1.9.ebuild new file mode 100644 index 000000000000..4174bbcdb7d0 --- /dev/null +++ b/dev-python/audioread/audioread-2.1.9.ebuild @@ -0,0 +1,38 @@ +# 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="Wrapper for audio file decoding using FFmpeg or GStreamer" +HOMEPAGE="https://pypi.org/project/audioread/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="ffmpeg gstreamer +mad" +# Enabled mad by default as it's the lighest dep to ease testing +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + test? ( || ( ffmpeg gstreamer mad ) ) +" + +RDEPEND=" + ffmpeg? ( media-video/ffmpeg ) + gstreamer? ( + dev-python/pygobject:3[${PYTHON_USEDEP}] + media-libs/gstreamer:1.0 + media-plugins/gst-plugins-meta:1.0 + ) + mad? ( dev-python/pymad ) +" + +python_prepare_all() { + distutils-r1_python_prepare_all + sed -e "/'pytest-runner'/d" -i setup.py || die +} + +distutils_enable_tests pytest diff --git a/dev-python/audioread/metadata.xml b/dev-python/audioread/metadata.xml index 79c9fd57684f..b463f58f411f 100644 --- a/dev-python/audioread/metadata.xml +++ b/dev-python/audioread/metadata.xml @@ -9,7 +9,9 @@ * The standard library wave and aifc modules (for WAV and AIFF files). </longdescription> <upstream> + <remote-id type="github">sampsyo/audioread</remote-id> <remote-id type="pypi">audioread</remote-id> </upstream> <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/blockdiag/blockdiag-2.0.1.ebuild b/dev-python/blockdiag/blockdiag-2.0.1.ebuild index daf229a33d9e..bab78a751dd3 100644 --- a/dev-python/blockdiag/blockdiag-2.0.1.ebuild +++ b/dev-python/blockdiag/blockdiag-2.0.1.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2020 Gentoo Authors +# 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_COMPAT=( python3_{6,7,8,9,10} ) DISTUTILS_USE_SETUPTOOLS="rdepend" -inherit distutils-r1 +inherit distutils-r1 optfeature DESCRIPTION="Generate block-diagram image from text" HOMEPAGE="http://blockdiag.com/ https://pypi.org/project/blockdiag/ https://github.com/blockdiag/blockdiag/" @@ -25,7 +25,6 @@ RDEPEND=" " DEPEND=" test? ( - ${RDEPEND} dev-python/mock[${PYTHON_USEDEP}] dev-python/nose[${PYTHON_USEDEP}] dev-python/reportlab[${PYTHON_USEDEP}] @@ -34,6 +33,8 @@ DEPEND=" ) " +distutils_enable_tests setup.py + python_prepare_all() { sed -i -e /build-base/d setup.cfg || die # unnecessary dep @@ -48,14 +49,10 @@ python_prepare_all() { distutils-r1_python_prepare_all } -python_test() { - esetup.py test -} - pkg_postinst() { + # TODO: Better descriptions! einfo "For additional functionality, install the following optional packages:" - einfo " dev-python/reportlab for pdf format" - einfo " media-gfx/imagemagick" - einfo " wand: https://pypi.org/project/Wand" - einfo " Ctypes-based simple MagickWand API binding for Python" + optfeature "for PDF format" dev-python/reportlab + optfeature "misc extra support" media-gfx/imagemagick + optfeature "Ctypes-based simple MagickWand API binding for Python" dev-python/wand } diff --git a/dev-python/carbon/Manifest b/dev-python/carbon/Manifest index 02d3976e9e4e..92a1ce5dd238 100644 --- a/dev-python/carbon/Manifest +++ b/dev-python/carbon/Manifest @@ -1 +1,2 @@ DIST carbon-1.1.5.tar.gz 72365 BLAKE2B 304e515fd3cae806e141d0a76983d13967885a7e57c310d86c0c83560aa306a573676fb0135fceccf14cc7ed42d8a9dcb7869ab0d6ac3b2fc00c2fb088011873 SHA512 1b3a0a0d4005e2ec8d5bca062b41f0e18329c1bc4d3a4b3eca5e8f7c94c20387281392eefceaca90294e51860eabecca242c487068433119f1f249f8659ed560 +DIST carbon-1.1.7.tar.gz 73380 BLAKE2B 8f9c807bc5e1c6fc020ae31179b6c0c11724b1110def323f92e158c5cf7c88291686bdc7f9078fb9234e5f2877fd745f7ec581533fa9a77e0307bf56f8ba60e0 SHA512 f0c5c64fa02cfd5940a7b23dbb3f2af27f67595e301ae719f4e2e9cdb48d4a5673d36a60adc8d338a55202f8e89873a7539c960cc16649903305191c6b0fc875 diff --git a/dev-python/carbon/carbon-1.1.5.ebuild b/dev-python/carbon/carbon-1.1.5.ebuild index 207ca99f41f4..3f0b4211c9d0 100644 --- a/dev-python/carbon/carbon-1.1.5.ebuild +++ b/dev-python/carbon/carbon-1.1.5.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=6 @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" SLOT="0" LICENSE="Apache-2.0" -KEYWORDS="~amd64 ~x86 ~x64-solaris" +KEYWORDS="~amd64 ~x86" # whisper appears to have been missed from listing in install_requires in setup.py RDEPEND=" diff --git a/dev-python/carbon/carbon-1.1.7.ebuild b/dev-python/carbon/carbon-1.1.7.ebuild new file mode 100644 index 000000000000..7c66db957ae3 --- /dev/null +++ b/dev-python/carbon/carbon-1.1.7.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +DISTUTILS_USE_SETUPTOOLS=no + +inherit distutils-r1 + +DESCRIPTION="Backend data caching and persistence daemon for Graphite" +HOMEPAGE="https://graphiteapp.org/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="Apache-2.0" +KEYWORDS="~amd64 ~x86" + +# whisper appears to have been missed from listing in install_requires in setup.py +RDEPEND=" + dev-python/twisted[${PYTHON_USEDEP}] + dev-python/cachetools[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}] + =dev-python/whisper-${PV}*[${PYTHON_USEDEP}]" + +python_prepare_all() { + # Do not install the configuration and data files. We install them + # somewhere sensible by hand. + sed -i -e '/data_files=install_files,/d' setup.py || die + # We want FHS-style paths instead of /opt/graphite + export GRAPHITE_NO_PREFIX=yes + distutils-r1_python_prepare_all +} + +python_install_all() { + distutils-r1_python_install_all + + insinto /etc/carbon + doins conf/* + + keepdir /var/log/carbon /var/lib/carbon/{whisper,lists,rrd} + + newinitd "${FILESDIR}"/carbon.initd2 carbon-cache + newinitd "${FILESDIR}"/carbon.initd2 carbon-relay + newinitd "${FILESDIR}"/carbon.initd2 carbon-aggregator + + newconfd "${FILESDIR}"/carbon.confd carbon-cache + newconfd "${FILESDIR}"/carbon.confd carbon-relay + newconfd "${FILESDIR}"/carbon.confd carbon-aggregator +} + +pkg_postinst() { + einfo 'This ebuild installs carbon into FHS-style paths.' + einfo 'You will probably have to set GRAPHITE_CONF_DIR to /etc/carbon' + einfo 'and GRAPHITE_STORAGE_DIR to /var/lib/carbon to make use of this' + einfo '(see /etc/carbon/carbon.conf.example).' + einfo ' ' + einfo 'OpenRC init script supports multiple instances !' + einfo 'Example to run an instance b of carbon-cache :' + einfo ' ln -s /etc/init.d/carbon-cache /etc/init.d/carbon-cache.b' + einfo ' cp /etc/conf.d/carbon-cache /etc/conf.d/carbon-cache.b' +} diff --git a/dev-python/cython-test-exception-raiser/cython-test-exception-raiser-1.0.0.ebuild b/dev-python/cython-test-exception-raiser/cython-test-exception-raiser-1.0.0.ebuild index 6e6f1381036c..95de80db4000 100644 --- a/dev-python/cython-test-exception-raiser/cython-test-exception-raiser-1.0.0.ebuild +++ b/dev-python/cython-test-exception-raiser/cython-test-exception-raiser-1.0.0.ebuild @@ -16,6 +16,6 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm ~x86" BDEPEND="dev-python/cython[${PYTHON_USEDEP}]" diff --git a/dev-python/dulwich/Manifest b/dev-python/dulwich/Manifest index 84df7f9c58e8..e180a3b968f8 100644 --- a/dev-python/dulwich/Manifest +++ b/dev-python/dulwich/Manifest @@ -1,4 +1,5 @@ DIST dulwich-0.20.15.tar.gz 391841 BLAKE2B 8db19f84154dff0851fd16bc534d92b506c93a93d7180079bc9829a2c81bbb25b04b234770e62ddab82440973d0702b8523896a9db90d771d8cc915b6321cdaa SHA512 a4e746099a90ea2d7eb5f0309508a4f625d41732bdda78997fab07b38ea2ecbd2c2aed08c8ef05b1b73fe3e2ba9b8c8cbf02270f8edbc6235d66cdee0317365c DIST dulwich-0.20.18.tar.gz 392023 BLAKE2B 891a02380eae06f2a6331825f6380917c0fd43b418149c30f640566f76b49996f79c7295215d3cf006af86d8ed5bd1465696bcbe402dcfd6b68748043eb4e376 SHA512 ae4311c5d460d7859728c9e9fa9e1888f228488a5cc427a637a7e3d1ae0de3effb1136500b13e0706da38158a245147b0996392b157e67d928caa339416bdf7c DIST dulwich-0.20.19.tar.gz 393004 BLAKE2B 89a63943a150ccd15549898689af68769b7f0cf25065e6cf9c9c5addb0fb3635fbc5c0fd23c79d2facdaf3086fd5e853e7ac3f9690f7fe40e0b561f0709651e9 SHA512 07a6b127fc1170a929b22cb04e34a0653131d175d3813fccc9e47e6d250bfa217bb0a2557d5e7fda6edcc5376809e6593dbd0fa52eb73360ba9c3dcdac69c81a +DIST dulwich-0.20.20.tar.gz 397197 BLAKE2B 941cb09c0537ec9ab96fc65cac12f94cc74b549eb2a8a516def96f66a8d31ad602ae4253910a24efe7254411dd4723832481b0df3189a9cb8708e3bbd512eb6f SHA512 ca83bfe3566981830bdc91d2e4ed039625fa6780dcabf74e0e91c9d89001e06dd04c8a10e8dfaf5c5ad67081d77fc9e996e2e3e1a0589954faae09162c545b02 DIST dulwich-0.20.6.tar.gz 388660 BLAKE2B 1a193d03e0f21a9fdd125617823742b87e9bea74c73734da10eb79f1ecbec0263cb90224f78413c724db8998f4d06ff6c448e7a6d50ce760ba1545f3321b95d8 SHA512 2f11ce9a1c716fb4242f1f93fce92f756bd93ed8f0951fc2e6b3fb18b0a495b0f372966149fca587efcafc0eaf00e9fbfcfd957442a96cc2004eb66cb7f0773e diff --git a/dev-python/dulwich/dulwich-0.20.20.ebuild b/dev-python/dulwich/dulwich-0.20.20.ebuild new file mode 100644 index 000000000000..5df0eba1b963 --- /dev/null +++ b/dev-python/dulwich/dulwich-0.20.20.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=rdepend # tests use setuptools, setup uses if found + +inherit distutils-r1 + +DESCRIPTION="Pure-Python implementation of the Git file formats and protocols" +HOMEPAGE=" + https://github.com/dulwich/dulwich/ + https://pypi.org/project/dulwich/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-2+ Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc examples test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/certifi[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + !hppa? ( !ia64? ( + dev-python/gevent[${PYTHON_USEDEP}] + dev-python/geventhttpclient[${PYTHON_USEDEP}] + ) ) + dev-python/mock[${PYTHON_USEDEP}] + dev-python/python-fastimport[${PYTHON_USEDEP}] + )" + +distutils_enable_sphinx docs + +python_test() { + # remove interference from the tests that do stuff like user.name + unset GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL GIT_AUTHOR_DATE \ + GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL GIT_COMMITTER_DATE EMAIL + # Do not use make check which rebuilds the extension and uses -Werror, + # causing unexpected failures. + "${EPYTHON}" -m unittest -v dulwich.tests.test_suite \ + || die "tests failed with ${EPYTHON}" +} + +python_install_all() { + if use examples; then + docompress -x "/usr/share/doc/${PF}/examples" + dodoc -r examples + fi + distutils-r1_python_install_all +} diff --git a/dev-python/flask-restful/flask-restful-0.3.8.ebuild b/dev-python/flask-restful/flask-restful-0.3.8.ebuild index a3390ba5c33d..0bff36fa55e2 100644 --- a/dev-python/flask-restful/flask-restful-0.3.8.ebuild +++ b/dev-python/flask-restful/flask-restful-0.3.8.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2020 Gentoo Authors +# 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 @@ -23,19 +24,19 @@ RDEPEND=" >=dev-python/six-1.3.0[${PYTHON_USEDEP}] dev-python/pytz[${PYTHON_USEDEP}] " -DEPEND=" +BDEPEND=" test? ( dev-python/mock[${PYTHON_USEDEP}] ) " -distutils_enable_sphinx docs -distutils_enable_tests nose - PATCHES=( "${FILESDIR}"/flask-restful-0.3.8-werkzeug.patch ) +distutils_enable_sphinx docs +distutils_enable_tests nose + python_install_all() { use examples && dodoc -r examples local DOCS=( AUTHORS.md CHANGES.md CONTRIBUTING.md README.md ) diff --git a/dev-python/flask-sphinx-themes/flask-sphinx-themes-1.0.2.ebuild b/dev-python/flask-sphinx-themes/flask-sphinx-themes-1.0.2.ebuild index 173c67d83c83..92b965217c71 100644 --- a/dev-python/flask-sphinx-themes/flask-sphinx-themes-1.0.2.ebuild +++ b/dev-python/flask-sphinx-themes/flask-sphinx-themes-1.0.2.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 @@ -12,9 +12,8 @@ inherit distutils-r1 DESCRIPTION="Sphinx Themes for Flask related projects and Flask itself" HOMEPAGE="https://github.com/pallets/flask-sphinx-themes https://pypi.org/project/Flask-Sphinx-Themes/" SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" LICENSE="BSD" SLOT="0" KEYWORDS="amd64 ~arm arm64 x86" - -S="${WORKDIR}/${MY_P}" diff --git a/dev-python/flexmock/flexmock-0.10.4.ebuild b/dev-python/flexmock/flexmock-0.10.4.ebuild index c48d74943bb1..275b6d140f8e 100644 --- a/dev-python/flexmock/flexmock-0.10.4.ebuild +++ b/dev-python/flexmock/flexmock-0.10.4.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 @@ -14,21 +14,10 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="amd64" -IUSE="test" -RESTRICT="!test? ( test )" -DEPEND=" - test? ( - dev-python/pytest[${PYTHON_USEDEP}] - ) - " -RDEPEND="" +distutils_enable_tests pytest python_install_all() { distutils-r1_python_install_all dodoc -r docs } - -python_test() { - pytest -vv tests || die "pytest failed" -} diff --git a/dev-python/flexmock/metadata.xml b/dev-python/flexmock/metadata.xml index 49fe2e98ff00..4eaa963bbb9a 100644 --- a/dev-python/flexmock/metadata.xml +++ b/dev-python/flexmock/metadata.xml @@ -18,4 +18,5 @@ <remote-id type="pypi">flexmock</remote-id> </upstream> <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/frozen-flask/frozen-flask-0.15.ebuild b/dev-python/frozen-flask/frozen-flask-0.15.ebuild index 7e68700374cb..f37b787f1989 100644 --- a/dev-python/frozen-flask/frozen-flask-0.15.ebuild +++ b/dev-python/frozen-flask/frozen-flask-0.15.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2020 Gentoo Authors +# 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 @@ -12,20 +13,17 @@ MY_P="${MY_PN}-${PV}" DESCRIPTION="Freezes a Flask application into a set of static files" HOMEPAGE="https://github.com/Frozen-Flask/Frozen-Flask https://pypi.org/project/Frozen-Flask/" SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" LICENSE="BSD" SLOT="0" KEYWORDS="amd64 x86" IUSE="doc test" -RESTRICT="!test? ( test )" RDEPEND=">=dev-python/flask-0.7[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - test? ( dev-python/nose[${PYTHON_USEDEP}] )" +DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" -S="${WORKDIR}/${MY_P}" +distutils_enable_tests nose python_compile_all() { if use doc; then @@ -34,7 +32,3 @@ python_compile_all() { HTML_DOCS=( docs/_build/. ) fi } - -python_test() { - nosetests -v || die Tests failed under "${EPYTHON}" -} diff --git a/dev-python/frozen-flask/metadata.xml b/dev-python/frozen-flask/metadata.xml index 26d90eeffab5..59873c0e1169 100644 --- a/dev-python/frozen-flask/metadata.xml +++ b/dev-python/frozen-flask/metadata.xml @@ -10,4 +10,5 @@ <remote-id type="github">Frozen-Flask/Frozen-Flask</remote-id> </upstream> <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/fusepy/fusepy-3.0.1.ebuild b/dev-python/fusepy/fusepy-3.0.1.ebuild index b4416d384dbf..5272c2363d4d 100644 --- a/dev-python/fusepy/fusepy-3.0.1.ebuild +++ b/dev-python/fusepy/fusepy-3.0.1.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2020 Gentoo Authors +# 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 @@ -14,7 +15,6 @@ LICENSE="ISC" KEYWORDS="~amd64 ~x86" SLOT="0" -BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" RDEPEND=" >=sys-fs/fuse-2.9.7:0 !dev-python/fuse-python diff --git a/dev-python/geoip-python/geoip-python-1.3.2-r1.ebuild b/dev-python/geoip-python/geoip-python-1.3.2-r1.ebuild index cb3c41df42d9..921147eee26d 100644 --- a/dev-python/geoip-python/geoip-python-1.3.2-r1.ebuild +++ b/dev-python/geoip-python/geoip-python-1.3.2-r1.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 + PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) inherit distutils-r1 @@ -12,6 +13,7 @@ MY_P="${MY_PN}-${PV}" DESCRIPTION="Python bindings for GeoIP" HOMEPAGE="https://github.com/maxmind/geoip-api-python" SRC_URI="https://github.com/maxmind/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" LICENSE="GPL-2+" SLOT="0" @@ -20,19 +22,11 @@ IUSE="examples test" RESTRICT="!test? ( test )" RDEPEND=">=dev-libs/geoip-1.4.8" -DEPEND=" - ${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/nose[${PYTHON_USEDEP}] ) -" - -S="${WORKDIR}/${MY_P}" +DEPEND="${RDEPEND}" DOCS=( README.rst ChangeLog.md ) -python_test() { - esetup.py test -} +distutils_enable_tests nose python_install_all() { if use examples; then diff --git a/dev-python/gevent-websocket/gevent-websocket-0.10.1.ebuild b/dev-python/gevent-websocket/gevent-websocket-0.10.1.ebuild index 991e2475c9ae..703b75be08fb 100644 --- a/dev-python/gevent-websocket/gevent-websocket-0.10.1.ebuild +++ b/dev-python/gevent-websocket/gevent-websocket-0.10.1.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2020 Gentoo Authors +# 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 @@ -13,7 +14,5 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux" -IUSE="" RDEPEND="dev-python/gevent[${PYTHON_USEDEP}]" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" diff --git a/dev-python/gst-python/gst-python-1.16.3.ebuild b/dev-python/gst-python/gst-python-1.16.3.ebuild index d0aaf3312895..594ddd6a8ff4 100644 --- a/dev-python/gst-python/gst-python-1.16.3.ebuild +++ b/dev-python/gst-python/gst-python-1.16.3.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://gstreamer.freedesktop.org/src/${PN}/${P}.tar.xz" LICENSE="LGPL-2+" SLOT="1.0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~x86-solaris" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND="${PYTHON_DEPS} diff --git a/dev-python/guzzle_sphinx_theme/guzzle_sphinx_theme-0.7.11-r1.ebuild b/dev-python/guzzle_sphinx_theme/guzzle_sphinx_theme-0.7.11-r1.ebuild index 9738b512eff7..de426b704b00 100644 --- a/dev-python/guzzle_sphinx_theme/guzzle_sphinx_theme-0.7.11-r1.ebuild +++ b/dev-python/guzzle_sphinx_theme/guzzle_sphinx_theme-0.7.11-r1.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2020 Gentoo Authors +# 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 @@ -13,7 +14,5 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux" -IUSE="" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" RDEPEND=">=dev-python/sphinx-1.2[${PYTHON_USEDEP}]" diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index f5cc62663b6c..736b9da09c97 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -2,3 +2,4 @@ DIST hypothesis-python-6.1.1.tar.gz 9107792 BLAKE2B 50d3b284f0ab1b7c1a25fbf1488b DIST hypothesis-python-6.2.0.tar.gz 9108590 BLAKE2B 73a6b71c68aec1ec51f791187bbe5be679d5e3b4da9e66745767dafb109d298b0c61bd461ed838a0c75884d155fb408bddebc75d1cf887629da5cf5d6b053e03 SHA512 b249124f90d1d68aa6e106965b0ae78e37f095be0adc1833895f0895357d46c907074e2abe458be566708ba006b6c4375908b40ef89d52300fd41ad63abc2e52 DIST hypothesis-python-6.3.4.tar.gz 9112374 BLAKE2B 78867f0ff142d6059a20c437c3fab333de06eff5247d93c1e70f75d801e54984c20da01322b7d4d4999cb30f2c59c6e7cf955fe60ecc0e90b452b8ddf6b6f2ff SHA512 7baee8758d86afbb0a8a16e18b2f14d3870ee2f5623857fc691ca1afc7f0c6555b367fbe758ff02c08af492b4569ef2aeb8d61bf3bd91ac458312a43b02d02f6 DIST hypothesis-python-6.4.0.tar.gz 9112974 BLAKE2B bb2312e1ae838e9a58741709f5d55d9593991c2600330f4917c8e8f86eb8219a0826e87aa810ccfa731e5a14f1d0985cb3342c73ba5b8ad5d8e01419689e180f SHA512 2899557ff872b45347f8865ff9bf07da97e2bfc3f4827ead2d4b0648c664bd9ef7ae3d48e5f5158b4dbb2d5063831ae8a1a7ef0ac97f2ae21318c6198850865d +DIST hypothesis-python-6.4.2.tar.gz 9113516 BLAKE2B 115f16b4e9a4fdc4b39942cb593dc397066c556862cb79baf3c9d9c0c9d1fa46e1e855b91c73d8f93135e9582f6293d896245fbfa31bca667cb522f1d4955adf SHA512 bcaf876c197f196f27936fd6b5294cfed5d0db2f528ee95b9ebf6ae429a41dccddfd6fd66eebf8e5ad7ac512d8ec20f1878a6ded9d4c10013b732262c9454799 diff --git a/dev-python/hypothesis/hypothesis-6.4.2.ebuild b/dev-python/hypothesis/hypothesis-6.4.2.ebuild new file mode 100644 index 000000000000..380ab8117add --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.4.2.ebuild @@ -0,0 +1,63 @@ +# 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" + +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}] + ' 'python*') + ) +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !!<dev-python/typing-3.7.4.1 + ) +" + +distutils_enable_tests --install pytest + +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/jsonref/jsonref-0.1.ebuild b/dev-python/jsonref/jsonref-0.1.ebuild index 9ca2b377e8e9..408bd0349b15 100644 --- a/dev-python/jsonref/jsonref-0.1.ebuild +++ b/dev-python/jsonref/jsonref-0.1.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 @@ -15,10 +15,8 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -IUSE="test" -RESTRICT="!test? ( test )" -DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )" +distutils_enable_tests pytest python_test() { pytest -vv tests.py || die diff --git a/dev-python/jsonref/metadata.xml b/dev-python/jsonref/metadata.xml index 9649126d1033..46e084fcad3c 100644 --- a/dev-python/jsonref/metadata.xml +++ b/dev-python/jsonref/metadata.xml @@ -15,4 +15,5 @@ references had been replaced with the referent data. <remote-id type="github">gazpachoking/jsonref</remote-id> </upstream> <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/jsonxs/jsonxs-0.6.ebuild b/dev-python/jsonxs/jsonxs-0.6.ebuild index baa3fc8a6c97..338382ae0ed1 100644 --- a/dev-python/jsonxs/jsonxs-0.6.ebuild +++ b/dev-python/jsonxs/jsonxs-0.6.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=6 +EAPI=7 PYTHON_COMPAT=( python3_{6,7,8,9,10} ) @@ -15,4 +15,6 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +python_test() { + "${EPYTHON}" jsonxs/jsonxs.py -v || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/jsonxs/metadata.xml b/dev-python/jsonxs/metadata.xml index c869188925f1..d6a064f075e8 100644 --- a/dev-python/jsonxs/metadata.xml +++ b/dev-python/jsonxs/metadata.xml @@ -10,4 +10,5 @@ <remote-id type="pypi">jsonxs</remote-id> </upstream> <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/matterhook/matterhook-0.2-r1.ebuild b/dev-python/matterhook/matterhook-0.2-r1.ebuild new file mode 100644 index 000000000000..0cd45696540c --- /dev/null +++ b/dev-python/matterhook/matterhook-0.2-r1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Interact with Mattermost incoming webhooks easily" +HOMEPAGE="https://github.com/numberly/matterhook" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/requests[${PYTHON_USEDEP}]" + +DEPEND=" + ${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" diff --git a/dev-python/minimock/Manifest b/dev-python/minimock/Manifest index ffaeae0e64b4..5cf22c444ed4 100644 --- a/dev-python/minimock/Manifest +++ b/dev-python/minimock/Manifest @@ -1 +1,2 @@ DIST MiniMock-1.2.8.tar.gz 13217 BLAKE2B 333957307ed6c596bfc20ed18d4e40039208d589c1a9190e388c7dc3be53489994b2f45e8140f54850e4129a5a69c0fc361e3c4cb1d63a3bac579a7b86004856 SHA512 91133251a6e6b1acc11e6ac4f24404807134f8a7fca49d5f7365d7fdfc6bdd1527e7382da8d866669408b1ad30331a176026dd31bcb0c3b7367b7f778fc61ca7 +DIST minimock-1.3.0.tar.gz 13828 BLAKE2B ed60d9725ada7173f88cdd64d76e3674fbeff352f4ead919f2a3a94ec871189051da29da5ee285b4d663eee143da847c95e35286cf33a587abb7fe95e02a4824 SHA512 de7feef7fee044ba45a52d7c83905d082ad2ed2c3d12b294a6995086b377a22317730326946d048b19063758f158a9bee7bbb6a79c9ae0b4ba7a93e4a21ea196 diff --git a/dev-python/minimock/metadata.xml b/dev-python/minimock/metadata.xml index 6bfd1345473d..0b55b6913fff 100644 --- a/dev-python/minimock/metadata.xml +++ b/dev-python/minimock/metadata.xml @@ -6,7 +6,9 @@ <name>Python</name> </maintainer> <upstream> + <remote-id type="github">lowks/minimock</remote-id> <remote-id type="pypi">MiniMock</remote-id> </upstream> <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/minimock/minimock-1.2.8-r1.ebuild b/dev-python/minimock/minimock-1.2.8-r1.ebuild index 34a6b6bc7fcc..b35eb35cff2c 100644 --- a/dev-python/minimock/minimock-1.2.8-r1.ebuild +++ b/dev-python/minimock/minimock-1.2.8-r1.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2020 Gentoo Authors +# 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 diff --git a/dev-python/minimock/minimock-1.3.0.ebuild b/dev-python/minimock/minimock-1.3.0.ebuild new file mode 100644 index 000000000000..21a43f12e175 --- /dev/null +++ b/dev-python/minimock/minimock-1.3.0.ebuild @@ -0,0 +1,23 @@ +# 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_PN="MiniMock" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="The simplest possible mock library" +HOMEPAGE="https://pypi.org/project/MiniMock/" +SRC_URI="https://github.com/lowks/minimock/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" + +DOCS=( CHANGELOG.txt README.rst ) + +distutils_enable_tests nose diff --git a/dev-python/moto/Manifest b/dev-python/moto/Manifest index 899b2bf63f6b..95699ecf1446 100644 --- a/dev-python/moto/Manifest +++ b/dev-python/moto/Manifest @@ -1,3 +1,4 @@ DIST moto-1.3.14.tar.gz 1829165 BLAKE2B 2ec30c4cc571492a9d2c08f66a39ad04cfc0baa7864db8a5be4ea9af24ecb59bad3e85c44fa8a7babc16bf66188cb6bef89484f1f302a11e6eec1f8dbf516492 SHA512 1fe7e9d49dadada82f24d6bef1c21419c414e027c21ed1099bd1eab7c269ac5638ed44a29d1557b37562a44b22a7c7251fc1ca8ba88cde6b82d39dbc620aa6a6 DIST moto-1.3.16.tar.gz 1761006 BLAKE2B adb48ac770e0753403fd41309ebc2085e5d9cdfad5dc791d9cc1216af10e55038c37526a8549a034a3327d821c56b0f6cdd775a17336285bfc637c09191dd78d SHA512 80a1335fea8d6dd42b4062365da4719d26cd6c18e5c186c950bbb844dce44e91ffe5e5173742f3b60d6ba2cab93d45359b43c2cb0ccf74d16009986457c243a4 DIST moto-2.0.0.tar.gz 5054551 BLAKE2B be9b18909f90b22fe57d47e2eea50144b4ac8046dde0123249079f53c8f3c2ea70513b29cde1030ad923be7d50c6021351c8aa9c65bc0b95510a4f4de9d4d111 SHA512 285eff39004b291d112c455f44e30fe441d74c08aff614f5c97e7c52a68edb200d7077722f1e7bca38a63694aabf2ff56994cd1229e449b2f1afdf3945735fc7 +DIST moto-2.0.1.tar.gz 1530088 BLAKE2B eb35bcbc8b22044ae86eaa6eb1f71eb24174a8686ef06d475c870ef629d0a525719c4f153cb0a55fa27f3c33568a5796a07ce903800468557dfe275de3da3623 SHA512 d650140c76a2090332fd9f4c8be84379d4e578a63125d473b821d59bff9f93ee8e696268e4784df13f2ee3b8b6967fd10cbd94750f37e63967ed679b4a301682 diff --git a/dev-python/moto/moto-2.0.1.ebuild b/dev-python/moto/moto-2.0.1.ebuild new file mode 100644 index 000000000000..c2aa50bdaec1 --- /dev/null +++ b/dev-python/moto/moto-2.0.1.ebuild @@ -0,0 +1,75 @@ +# 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="Mock library for boto" +HOMEPAGE="https://github.com/spulec/moto" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" + +RDEPEND=" + >=dev-python/aws-xray-sdk-python-0.93[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/backports-tempfile[${PYTHON_USEDEP}]' python3_{6,7}) + dev-python/boto[${PYTHON_USEDEP}] + dev-python/cfn-python-lint[${PYTHON_USEDEP}] + >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] + dev-python/cookies[${PYTHON_USEDEP}] + dev-python/dicttoxml[${PYTHON_USEDEP}] + >=dev-python/docker-py-2.5.1[${PYTHON_USEDEP}] + >=dev-python/idna-2.5[${PYTHON_USEDEP}] + >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] + >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] + >=dev-python/boto3-1.9.201[${PYTHON_USEDEP}] + >=dev-python/botocore-1.12.201[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/flask-cors[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + dev-python/pretty-yaml[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/python-jose[${PYTHON_USEDEP}] + dev-python/python-sshpubkeys[${PYTHON_USEDEP}] + >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.5[${PYTHON_USEDEP}] + dev-python/xmltodict[${PYTHON_USEDEP}] + >=dev-python/six-1.9[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zipp[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # unping indirect dep on ecdsa that's supposed to workaround pip + # bugs + sed -i -e '/ecdsa/s:<0.15::' setup.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + local deselect=( + # network + tests/test_stepfunctions/test_stepfunctions.py::test_state_machine_creation_fails_with_invalid_names + ) + + pytest -vv -m 'not network' ${deselect[@]/#/--deselect } || + die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/nbval/nbval-0.9.6.ebuild b/dev-python/nbval/nbval-0.9.6.ebuild index 7c92dfc833e2..48dca31918ef 100644 --- a/dev-python/nbval/nbval-0.9.6.ebuild +++ b/dev-python/nbval/nbval-0.9.6.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" RDEPEND=" dev-python/coverage[${PYTHON_USEDEP}] diff --git a/dev-python/nose-exclude/nose-exclude-0.5.0-r1.ebuild b/dev-python/nose-exclude/nose-exclude-0.5.0-r1.ebuild index 8fb949dd3483..223ad252d50a 100644 --- a/dev-python/nose-exclude/nose-exclude-0.5.0-r1.ebuild +++ b/dev-python/nose-exclude/nose-exclude-0.5.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 @@ -15,9 +15,6 @@ LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 s390 sparc x86" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" RDEPEND="dev-python/nose[${PYTHON_USEDEP}]" -python_test() { - esetup.py test -} +distutils_enable_tests setup.py diff --git a/dev-python/nose2/Manifest b/dev-python/nose2/Manifest index 118816b8fdd7..7f0159da1f25 100644 --- a/dev-python/nose2/Manifest +++ b/dev-python/nose2/Manifest @@ -1 +1,2 @@ +DIST nose2-0.10.0.tar.gz 156614 BLAKE2B 8e785cd36a781952b4401842288edf7b2551c69a894cee0d56b56c3e74de36b89bf09f849dc7264733d0c906660a5d01f2b74252507ae322073640d8ca0abfaa SHA512 e9522fddb45ab303819a38f6e4de16a2676b824e7027e8137d5e44917c21de91aec8661b28946e0bb1c7c72de907ba5eaa0e8bf76b2b76ae1edfcfe68fdb01dd DIST nose2-0.9.2.tar.gz 153381 BLAKE2B 9339a31b664561bd86817a969a64a3d80dacdda3ed25bc0a0b6531812e56c7e2bfaadcad3712d8af1a7ce585e27ff6de54428667e44e7c6b0003db5d52703971 SHA512 9af69f0cc9db2e8ef37d2c4ea4fd2d661a38df73fc984d261a1c7c39fba07e44afdf494f0939362b84a03e80c3d93ee75c9352ef333616bf8ce6e6f019b811fe diff --git a/dev-python/nose2/nose2-0.10.0.ebuild b/dev-python/nose2/nose2-0.10.0.ebuild new file mode 100644 index 000000000000..41af28121d8c --- /dev/null +++ b/dev-python/nose2/nose2-0.10.0.ebuild @@ -0,0 +1,41 @@ +# 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="Next generation unittest with plugins" +HOMEPAGE="https://github.com/nose-devs/nose2" +SRC_URI="https://github.com/nose-devs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" +# Failures need investigating +RESTRICT="test" + +BDEPEND=" + doc? ( >=dev-python/sphinx-1.0.5 ) +" +DEPEND=" + >=dev-python/coverage-4.4.1[${PYTHON_USEDEP}] + >=dev-python/six-1.1[${PYTHON_USEDEP}] +" +RDEPEND="${DEPEND}" + +python_compile_all() { + use doc && emake -C docs html +} + +python_test() { + "${PYTHON}" -m nose2.__main__ || die "tests failed under ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + + distutils-r1_python_install_all +} diff --git a/dev-python/nose_fixes/metadata.xml b/dev-python/nose_fixes/metadata.xml index 8fecb81835aa..5261f00cf65f 100644 --- a/dev-python/nose_fixes/metadata.xml +++ b/dev-python/nose_fixes/metadata.xml @@ -9,4 +9,5 @@ <remote-id type="pypi">nose_fixes</remote-id> </upstream> <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/nose_fixes/nose_fixes-1.3.ebuild b/dev-python/nose_fixes/nose_fixes-1.3.ebuild index e9238bb31c05..deeeae4a8975 100644 --- a/dev-python/nose_fixes/nose_fixes-1.3.ebuild +++ b/dev-python/nose_fixes/nose_fixes-1.3.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 @@ -16,15 +16,7 @@ LICENSE="MIT" SLOT="0" KEYWORDS="amd64 x86" -RDEPEND=" - dev-python/nose[${PYTHON_USEDEP}]" -DEPEND=" - ${RDEPEND} - doc? ( - dev-python/sphinx[${PYTHON_USEDEP}] - dev-python/pkginfo[${PYTHON_USEDEP}] - )" +RDEPEND="dev-python/nose[${PYTHON_USEDEP}]" -distutils_enable_sphinx docs \ - dev-python/pkginfo +distutils_enable_sphinx docs dev-python/pkginfo distutils_enable_tests nose diff --git a/dev-python/numpy/numpy-1.19.5.ebuild b/dev-python/numpy/numpy-1.19.5.ebuild index 8c186015b25e..04a199f75f75 100644 --- a/dev-python/numpy/numpy-1.19.5.ebuild +++ b/dev-python/numpy/numpy-1.19.5.ebuild @@ -24,7 +24,7 @@ SRC_URI=" )" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="doc lapack" RDEPEND=" diff --git a/dev-python/oauth2/metadata.xml b/dev-python/oauth2/metadata.xml index a7f20ce80920..41ec3cf4dedc 100644 --- a/dev-python/oauth2/metadata.xml +++ b/dev-python/oauth2/metadata.xml @@ -10,4 +10,5 @@ <remote-id type="github">joestump/python-oauth2</remote-id> </upstream> <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild b/dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild index d383293cd47e..dbae3b8b9cc8 100644 --- a/dev-python/oauth2/oauth2-1.9.0_p1-r1.ebuild +++ b/dev-python/oauth2/oauth2-1.9.0_p1-r1.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=6 +EAPI=7 PYTHON_COMPAT=( python3_{6,7,8,9,10} ) @@ -12,24 +12,24 @@ MY_P="${P/_p/.post}" DESCRIPTION="Library for OAuth version 1.0" HOMEPAGE="https://pypi.org/project/oauth2/" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" LICENSE="MIT" SLOT="0" KEYWORDS="amd64 x86 ~x64-macos" -IUSE="test" -RESTRICT="!test? ( test )" RDEPEND="dev-python/httplib2[${PYTHON_USEDEP}]" DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] test? ( ${RDEPEND} dev-python/mock[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] )" # https://github.com/joestump/python-oauth2/pull/212 -PATCHES=( "${FILESDIR}/${PV}-exclude-tests.patch" ) -S="${WORKDIR}/${MY_P}" +PATCHES=( + "${FILESDIR}/${PV}-exclude-tests.patch" +) + +distutils_enable_tests pytest python_test() { # Skip tests which require network access diff --git a/dev-python/pudb/Manifest b/dev-python/pudb/Manifest index dd96471dc72a..563bd9e2b9a4 100644 --- a/dev-python/pudb/Manifest +++ b/dev-python/pudb/Manifest @@ -1 +1,2 @@ DIST pudb-2019.2.tar.gz 59548 BLAKE2B 2df98688948ea79b8bbe125735aef04b3ea5d6db4adba503610c3fc88201cd0ae6da3249371f9ef78d1f4650901a02cc25738201e4891695f7726c919dcdd702 SHA512 231663b404e0e7d35f32235c02d4878b41a043054821c3d39d4a05d45c1e45aff0eaffb0a6d96669676b52538ca99a69de64014f922e3c80405d34198c6d4812 +DIST pudb-2020.1.tar.gz 70838 BLAKE2B c0f9ebf88851ebd859876e3e9b29239c72e308d7a544aee26baeb44a47ec3de75aed031ca10ef67c32d0262ffa690bfc063122524e64afa7d5763afb9a5baccf SHA512 4878c3f375d96130ca9a1afe668227b6f08e876e618bcffb47b1507be6bf7a393d88ab5f65f33c6497c98e645a188d5f3eaabb4f6a1e49d8d09b0f8b6b17ba14 diff --git a/dev-python/pudb/pudb-2020.1.ebuild b/dev-python/pudb/pudb-2020.1.ebuild new file mode 100644 index 000000000000..774dc21737b4 --- /dev/null +++ b/dev-python/pudb/pudb-2020.1.ebuild @@ -0,0 +1,25 @@ +# 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="A full-screen, console-based Python debugger" +HOMEPAGE="https://pypi.org/project/pudb/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-python/urwid[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}]" + +DEPEND=" + ${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" diff --git a/dev-python/pyatspi/pyatspi-2.36.0.ebuild b/dev-python/pyatspi/pyatspi-2.36.0.ebuild index 07350d4a8119..0ac68cb48195 100644 --- a/dev-python/pyatspi/pyatspi-2.36.0.ebuild +++ b/dev-python/pyatspi/pyatspi-2.36.0.ebuild @@ -12,7 +12,7 @@ HOMEPAGE="https://wiki.gnome.org/Accessibility" # Note: only some of the tests are GPL-licensed, everything else is LGPL LICENSE="LGPL-2 GPL-2+" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc x86" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc x86" IUSE="test" REQUIRED_USE="${PYTHON_REQUIRED_USE}" diff --git a/dev-python/pyclipper/Manifest b/dev-python/pyclipper/Manifest index 2b0c4ea3a1b0..1e643e5e02ea 100644 --- a/dev-python/pyclipper/Manifest +++ b/dev-python/pyclipper/Manifest @@ -1,2 +1 @@ -DIST pyclipper-1.2.0.tar.gz 53504 BLAKE2B 611a86b4173838dc0c77ad765f1ab9d08e73b147936ec60fae63308d5bb0019b40479222b80565f3d3ba5337c1a436fa63306105bb3a698592160eb8b66f3014 SHA512 2b8966a695fd7916786ab7549f8c867aad1d4879f3d20b87d7a4b6e1fff8a36871a440795548e91256ff89e574c04be4390ffbd05bab6b0bb51441c7f8acf674 DIST pyclipper-1.2.1.tar.gz 51862 BLAKE2B be59011d44ba4364e3e0d1d789c10f76635a5bc690dad8030104fa7965cc118e3529bf6505e5c4e743a8ff21e0d24129be716cd91e09b7521baa64359de364ab SHA512 0fc411bd8fa33fc3e5a71ec149b720b5c2f2e9a5e704d5e175b5930e0e073bacfd26b68e19c00802ab68e7a8946bdfcacae858e2d6d81b87d85b3747fa4a316b diff --git a/dev-python/pyclipper/pyclipper-1.2.0.ebuild b/dev-python/pyclipper/pyclipper-1.2.0.ebuild deleted file mode 100644 index 5ea2ef450811..000000000000 --- a/dev-python/pyclipper/pyclipper-1.2.0.ebuild +++ /dev/null @@ -1,32 +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="Cython wrapper for the C++ translation of the Angus Johnson's Clipper library" -HOMEPAGE="https://github.com/fonttools/pyclipper" -SRC_URI="https://github.com/fonttools/pyclipper/archive/${PV/_p/.post}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${P/_p/.post}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" -IUSE="" - -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - dev-python/setuptools_scm[${PYTHON_USEDEP}] - test? ( - dev-python/unittest2[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - export SETUPTOOLS_SCM_PRETEND_VERSION="${PV/_p/.post}" -} diff --git a/dev-python/pyclipper/pyclipper-1.2.1.ebuild b/dev-python/pyclipper/pyclipper-1.2.1.ebuild index d474f6af1f53..0ea1daf8c44b 100644 --- a/dev-python/pyclipper/pyclipper-1.2.1.ebuild +++ b/dev-python/pyclipper/pyclipper-1.2.1.ebuild @@ -13,7 +13,7 @@ S="${WORKDIR}/${P/_p/.post}" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" +KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" IUSE="" BDEPEND=" diff --git a/dev-python/pycson/pycson-0.8-r1.ebuild b/dev-python/pycson/pycson-0.8-r1.ebuild new file mode 100644 index 000000000000..5dd63a622f88 --- /dev/null +++ b/dev-python/pycson/pycson-0.8-r1.ebuild @@ -0,0 +1,14 @@ +# 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="A python parser for the Coffeescript Object Notation (CSON)" +HOMEPAGE="https://github.com/avakar/pycson/" +SRC_URI="https://github.com/avakar/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +SLOT="0" +LICENSE="MIT" +KEYWORDS="~amd64 ~ppc ~x86" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="dev-python/speg" diff --git a/dev-python/pyfeyn/pyfeyn-1.0.0-r2.ebuild b/dev-python/pyfeyn/pyfeyn-1.0.0-r2.ebuild index 8f013b4d4435..42ba7db272ac 100644 --- a/dev-python/pyfeyn/pyfeyn-1.0.0-r2.ebuild +++ b/dev-python/pyfeyn/pyfeyn-1.0.0-r2.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 diff --git a/dev-python/pykerberos/Manifest b/dev-python/pykerberos/Manifest index 4269f7c5c3a8..cf0fb2ef6e73 100644 --- a/dev-python/pykerberos/Manifest +++ b/dev-python/pykerberos/Manifest @@ -1,2 +1 @@ -DIST PyKerberos-1.3.0.tar.gz 41033 BLAKE2B 5805df2c258a75321dab5fe84fcbf1de706cb7c14a710c914ae4918dd39f79036a4f4033a068982778f73d9f00a4ca45b80e9cfc59c6a246a236f3c6931bacc5 SHA512 ed2644a236993d9737af43be951d57207fc787a74e82f343b265461b456923763610f1ce1b46d7d56f22d6452be1418b98707b8529b22fd8abf299143e52cf69 DIST PyKerberos-1.3.1.tar.gz 41954 BLAKE2B b95a3473c5803ebcb461db7f2589caa03e92f4cb3ba3a4890a31db99b687aa4c77ae4e58f09ae2339a1fd8acf6fe9ab5797e3b7178dfeb2ee7a95bb851fff402 SHA512 dcadc5c3b095d8bba947a745ac84cc558d7eebad139a0e86260891966786506a7a62600fde93fa14683971e436da8cc5cd3795817b20ba45ce7e39f8c05deb53 diff --git a/dev-python/pykerberos/pykerberos-1.3.0-r1.ebuild b/dev-python/pykerberos/pykerberos-1.3.0-r1.ebuild deleted file mode 100644 index 01fe644e84a5..000000000000 --- a/dev-python/pykerberos/pykerberos-1.3.0-r1.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2020 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 - -MY_P=PyKerberos-${PV} -DESCRIPTION="A high-level Python wrapper for Kerberos/GSSAPI operations" -HOMEPAGE=" - https://www.calendarserver.org/PyKerberos.html - https://github.com/apple/ccs-pykerberos/ - https://pypi.org/project/kerberos/" -SRC_URI=" - https://github.com/apple/ccs-pykerberos/archive/${MY_P}.tar.gz" -S=${WORKDIR}/ccs-pykerberos-${MY_P} - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc64 x86" -# test environment is non-trivial to set up, so just use docker -# (see python_test below) -# also for alpha/beta Python releases support: -# https://github.com/apple/ccs-pykerberos/pull/83/commits/5f1130a1305b5f6e7d7d8b41067c4713f0c8950f -RESTRICT="test" - -RDEPEND="app-crypt/mit-krb5" -DEPEND="${RDEPEND}" - -python_test() { - set -- docker run \ - -v "${PWD}:/app" \ - -w /app \ - -e PYENV=$("${EPYTHON}" -c 'import sys; print(sys.version.split()[0])') \ - -e KERBEROS_USERNAME=administrator \ - -e KERBEROS_PASSWORD=Password01 \ - -e KERBEROS_REALM=example.com \ - -e KERBEROS_PORT=80 \ - ubuntu:16.04 \ - /bin/bash .travis.sh - echo "${@}" >&2 - "${@}" || die "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/pykerberos/pykerberos-1.3.1.ebuild b/dev-python/pykerberos/pykerberos-1.3.1.ebuild index e61235480757..290ff45b1f8a 100644 --- a/dev-python/pykerberos/pykerberos-1.3.1.ebuild +++ b/dev-python/pykerberos/pykerberos-1.3.1.ebuild @@ -18,7 +18,7 @@ S=${WORKDIR}/ccs-pykerberos-${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc64 x86" +KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc64 x86" # test environment is non-trivial to set up, so just use docker # (see python_test below) # also for alpha/beta Python releases support: diff --git a/dev-python/pypy/Manifest b/dev-python/pypy/Manifest index 415b4d85c23d..534dbbbfe87c 100644 --- a/dev-python/pypy/Manifest +++ b/dev-python/pypy/Manifest @@ -1,3 +1,3 @@ -DIST pypy2.7-gentoo-patches-7.3.3_p1.tar.xz 11112 BLAKE2B b9215828bd405e1a49ed7c82ad242ae9b5438fa56b4afc1eceba3c448412b369509d08a25cf72571da1caca5d2123cf395cacf0a159e915789383531cd3d2a78 SHA512 e3b6815282ee52eb8d5517def3fe706ddd30efdabe9b9ccd671871905c4fffb0995b194e175011309845b7d79b9bfcb90871838e659980722ba2e8319451907d +DIST pypy2.7-gentoo-patches-7.3.3_p2.tar.xz 11184 BLAKE2B b2b9b94478609372d616c65a87cbb12a07e217928beef9fac26c428f81c662ef390db3fd85bf368ffcc8c6fa3802e506412b7bebd14bdc453009008bc3459d25 SHA512 9ab8ed99b42b36e9c212683ef93f7f1fb99caecf056293ab9a5734f8b52eedec192860702baa121630558530cb5c4652f8542300ecaaaa282377ea6456618b95 DIST pypy2.7-v7.3.3-src.tar.bz2 20881821 BLAKE2B ce1ecdd1fffe40574c7662da6038b84d2bca47ab168939ef0c12be2c6348317f17a94a3026e7fa53c71601edc153aefd98f770bd148e7af07ca751c0a5fc1252 SHA512 c2b6c44fdcac5f9445fab01572f859228fc286891fd09a4ddb95d283683d805276c853ec8e61fcd04cb9ee811d0e959d19bb03fdd7442c044f28a773633122e7 DIST python-gentoo-patches-2.7.18-r1.tar.xz 15500 BLAKE2B 7008b29827dbbd80d4ab8f010ccf9efced99c6b4b9109e4430c0ba269ce53529cb6fedd832502c8d2d3aa21938749cc3591c2545b21c0a59a6e60f8598e84ccc SHA512 e656ab07281fd932b92165674619bbf55ecf410d2937ae4ae771d490b4532540498cc731d30d19c1e8aafd1f64df8a406bbfbb46ea985b3dcd8edb89a0b7f20f diff --git a/dev-python/pypy/pypy-7.3.3_p1.ebuild b/dev-python/pypy/pypy-7.3.3_p2.ebuild index 3d448e63cde3..3d448e63cde3 100644 --- a/dev-python/pypy/pypy-7.3.3_p1.ebuild +++ b/dev-python/pypy/pypy-7.3.3_p2.ebuild diff --git a/dev-python/python-libevdev/Manifest b/dev-python/python-libevdev/Manifest index ea7597caa32c..73d8f6a6d0b7 100644 --- a/dev-python/python-libevdev/Manifest +++ b/dev-python/python-libevdev/Manifest @@ -1,2 +1 @@ -DIST python-libevdev-0.8.tar.bz2 30375 BLAKE2B b59a705d49a54d5f98bca3bdf97038128df35294d4e62ffe058021c4da846e75a372660a4beef7e83dbf5b16a4d7d9195547f713bd290b14ca28ecd9291ac641 SHA512 c3c35e82b78f8968c930883a99def348a012a05ea122ac24e757441e81079f7c12bd50d96e8cec7b799a2d775d834859f924e8d1dc5841c718c050287fd1beb0 DIST python-libevdev-0.9.tar.bz2 31496 BLAKE2B 4802f1528c104b0717f3f3a450e6e704232d5045ac285b96eb3eb690f120969ea0f23eae1da6013b260627f18b3e58e55a5017401928149e9cc581d9a84fad70 SHA512 77dcb18c393fd7962887d477292ec359c65404ae126624dc5ab201528e53b9fab565d5c6acfe2908f4a03a29e09fad862220246b91a92cc5f69768a31d1ca808 diff --git a/dev-python/python-libevdev/python-libevdev-0.8.ebuild b/dev-python/python-libevdev/python-libevdev-0.8.ebuild deleted file mode 100644 index 70f65dab3f81..000000000000 --- a/dev-python/python-libevdev/python-libevdev-0.8.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 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="Python wrappers for the libevdev library" -HOMEPAGE="https://gitlab.freedesktop.org/libevdev/python-libevdev" -SRC_URI="https://gitlab.freedesktop.org/libevdev/${PN}/-/archive/${PV}/${P}.tar.bz2" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 s390 sparc x86" -IUSE="test" -RESTRICT="!test? ( test )" - -DEPEND=" - test? ( dev-libs/libevdev ) -" - -python_test() { - esetup.py test -} diff --git a/dev-python/python-libevdev/python-libevdev-0.9.ebuild b/dev-python/python-libevdev/python-libevdev-0.9.ebuild index 3bb23a5769ab..dd59f5679ad3 100644 --- a/dev-python/python-libevdev/python-libevdev-0.9.ebuild +++ b/dev-python/python-libevdev/python-libevdev-0.9.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://gitlab.freedesktop.org/libevdev/${PN}/-/archive/${PV}/${P}.tar. LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv s390 sparc x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/pyx/pyx-0.15.ebuild b/dev-python/pyx/pyx-0.15.ebuild index dbe137e72950..a049e74745f4 100644 --- a/dev-python/pyx/pyx-0.15.ebuild +++ b/dev-python/pyx/pyx-0.15.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 diff --git a/dev-python/pyxattr/pyxattr-0.7.2.ebuild b/dev-python/pyxattr/pyxattr-0.7.2.ebuild index 52962a5def37..7f067fb21bed 100644 --- a/dev-python/pyxattr/pyxattr-0.7.2.ebuild +++ b/dev-python/pyxattr/pyxattr-0.7.2.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 s390 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 s390 sparc x86 ~amd64-linux ~x86-linux" RDEPEND="sys-apps/attr:=" DEPEND="${RDEPEND}" diff --git a/dev-python/pyzmq/Manifest b/dev-python/pyzmq/Manifest index efb9b0bf0edb..4257e611c47a 100644 --- a/dev-python/pyzmq/Manifest +++ b/dev-python/pyzmq/Manifest @@ -1,2 +1 @@ -DIST pyzmq-19.0.2.tar.gz 390927 BLAKE2B d70a2f615782cc5a53ed2ffab4d5549bc5d15cc1e0e63f640a357fe8575ca327a5976a3e8b11d97c236a31ca17025f37fe423d166b684b5c4aafc139a0941492 SHA512 7f077ed3858c226eb1e3f5e51dfb5d4b517ec94357b37cc66d17cfe2543786b86627ce7eb4c12785a2709a499af998d02642d972c119a637df3cec5201e909d1 DIST pyzmq-20.0.0.gh.tar.gz 393041 BLAKE2B 1f22f556f5d0f2755c2e56411fdb9f583bbdfad6315e4e72fbaa1fb18d0ad5436ee0ee8d17497641421cea3f4e1b53b8ff85bf7ced96c8f1c80db0be901ca3d5 SHA512 30359e501e76d6ec14175622d6c970d9ec0f227b372d2b1c6e6650be812dd47017b797a016f5a2da83f72d00536e64d2f005a38003c9a1b4fbb7266f2640782d diff --git a/dev-python/pyzmq/pyzmq-19.0.2.ebuild b/dev-python/pyzmq/pyzmq-19.0.2.ebuild deleted file mode 100644 index a6dcabac65de..000000000000 --- a/dev-python/pyzmq/pyzmq-19.0.2.ebuild +++ /dev/null @@ -1,93 +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} ) -PYTHON_REQ_USE="threads(+)" - -inherit flag-o-matic distutils-r1 toolchain-funcs - -EGIT_COMMIT="dd4dac055152d47c829034224cdecf594c7b3f12" -DESCRIPTION="Lightweight and super-fast messaging library built on top of the ZeroMQ library" -HOMEPAGE=" - https://www.zeromq.org/bindings:python - https://pypi.org/project/pyzmq/ - https://github.com/zeromq/pyzmq/" -SRC_URI=" - https://github.com/zeromq/pyzmq/archive/${EGIT_COMMIT}.tar.gz - -> ${P}.tar.gz" -S=${WORKDIR}/${PN}-${EGIT_COMMIT} - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~mips ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="+draft" - -DEPEND=" - >=net-libs/zeromq-4.2.2-r2:=[drafts] -" -RDEPEND="${DEPEND} - dev-python/py[${PYTHON_USEDEP}] - dev-python/cffi:=[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - test? ( - >=www-servers/tornado-5.0.2[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest -distutils_enable_sphinx docs \ - "dev-python/numpydoc" - -python_configure_all() { - tc-export CC - append-cppflags -DZMQ_BUILD_DRAFT_API=$(usex draft '1' '0') -} - -python_compile() { - esetup.py cython --force - distutils-r1_python_compile -} - -python_test() { - local deselect=( - # lore says it sometimes hangs - zmq/tests/test_auth.py::TestThreadAuthentication::test_curve - - # broken tests - zmq/tests/test_auth.py::TestThreadAuthentication::test_curve_user_id - zmq/tests/test_constants.py::TestConstants::test_draft - zmq/tests/test_context.py::TestContext::test_mockable - zmq/tests/test_draft.py::TestDraftSockets::test_client_server - zmq/tests/test_draft.py::TestDraftSockets::test_radio_dish - zmq/tests/test_message.py::TestFrame::test_buffer_numpy - zmq/tests/test_message.py::TestFrame::test_bytes - zmq/tests/test_message.py::TestFrame::test_frame_more - zmq/tests/test_message.py::TestFrame::test_lifecycle1 - zmq/tests/test_message.py::TestFrame::test_lifecycle2 - zmq/tests/test_message.py::TestFrame::test_memoryview_shape - zmq/tests/test_message.py::TestFrame::test_multi_tracker - zmq/tests/test_message.py::TestFrame::test_tracker - zmq/tests/test_security.py::TestSecurity::test_curve - zmq/tests/test_security.py::TestSecurity::test_plain - zmq/tests/test_socket.py::TestSocket::test_large_send - zmq/tests/test_socket.py::TestSocket::test_tracker - zmq/tests/test_socket.py::TestSocketGreen::test_large_send - - # hanging tests - zmq/tests/test_socket.py::TestSocketGreen::test_tracker - zmq/tests/asyncio/test_asyncio.py::TestAsyncioAuthentication::test_blacklist - zmq/tests/asyncio/test_asyncio.py::TestAsyncioAuthentication::test_curve - zmq/tests/asyncio/test_asyncio.py::TestAsyncioAuthentication::test_plain - ) - [[ ${EPYTHON} == python3.9 ]] && deselect+=( - # crashes python - zmq/tests/test_socket.py::TestSocketGreen - ) - - pytest -vv ${deselect[@]/#/--deselect } || - die "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/pyzmq/pyzmq-20.0.0.ebuild b/dev-python/pyzmq/pyzmq-20.0.0.ebuild index 204f20e7f361..a982ad3f94f4 100644 --- a/dev-python/pyzmq/pyzmq-20.0.0.ebuild +++ b/dev-python/pyzmq/pyzmq-20.0.0.ebuild @@ -19,7 +19,7 @@ SRC_URI=" LICENSE="LGPL-3" SLOT="0" -KEYWORDS="amd64 arm ~arm64 ~mips ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="amd64 arm arm64 ~mips ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" IUSE="+draft" DEPEND=" diff --git a/dev-python/roman/roman-3.3.ebuild b/dev-python/roman/roman-3.3.ebuild index ba1fd6b13b45..cc455b457b06 100644 --- a/dev-python/roman/roman-3.3.ebuild +++ b/dev-python/roman/roman-3.3.ebuild @@ -4,9 +4,8 @@ EAPI=7 PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 DISTUTILS_USE_SETUPTOOLS=rdepend +inherit distutils-r1 DESCRIPTION="An Integer to Roman numerals converter" HOMEPAGE="https://pypi.org/project/roman/" diff --git a/dev-python/snakeoil/snakeoil-0.9.2-r1.ebuild b/dev-python/snakeoil/snakeoil-0.9.2-r1.ebuild index 19873300a998..6cc55caab564 100644 --- a/dev-python/snakeoil/snakeoil-0.9.2-r1.ebuild +++ b/dev-python/snakeoil/snakeoil-0.9.2-r1.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == *9999 ]] ; then EGIT_REPO_URI="https://github.com/pkgcore/snakeoil.git" inherit git-r3 else - KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-macos" + KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc x86 ~x64-macos" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" fi diff --git a/dev-python/speg/speg-0.3-r2.ebuild b/dev-python/speg/speg-0.3-r2.ebuild new file mode 100644 index 000000000000..bf79adbf01ba --- /dev/null +++ b/dev-python/speg/speg-0.3-r2.ebuild @@ -0,0 +1,14 @@ +# 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="A PEG-based parser interpreter with memoization" +HOMEPAGE="https://github.com/avakar/speg/" +SRC_URI="https://github.com/avakar/speg/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SLOT="0" +LICENSE="MIT" +KEYWORDS="~amd64 ~ppc ~x86" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="" diff --git a/dev-python/sphinx_selective_exclude/sphinx_selective_exclude-1.0.3.ebuild b/dev-python/sphinx_selective_exclude/sphinx_selective_exclude-1.0.3.ebuild index 11e259fb516f..6e7165fafde8 100644 --- a/dev-python/sphinx_selective_exclude/sphinx_selective_exclude-1.0.3.ebuild +++ b/dev-python/sphinx_selective_exclude/sphinx_selective_exclude-1.0.3.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 diff --git a/dev-python/tenacity/Manifest b/dev-python/tenacity/Manifest index d85afce35267..14a5960e2b73 100644 --- a/dev-python/tenacity/Manifest +++ b/dev-python/tenacity/Manifest @@ -1 +1,2 @@ DIST tenacity-6.2.0.tar.gz 35213 BLAKE2B 830953463ef9d7ee9e99fc0c9d3f55910754f4c2c777110ad8af65b0af186b2aada25ec3d9ae80f266ad9200080db1af70b80bb77f1edc51148001ca49e0bd08 SHA512 3753ab44390810458c559d243bdc5e3c0092a0c2af7eb4e6fa43d5e6e215a58d4bf3ff6e81800db2f517796b501fff038964b424e364ac417ddd3e70b57bc6c8 +DIST tenacity-7.0.0.tar.gz 33874 BLAKE2B 485b35058e246ac7c68a2d92a4bd30ae182d382d4258854afb1e61d0b31cd1674bfd92599b83425f4e9a92ca4c38e4a91b72a17d0de6f918474ebe59e6bd2d66 SHA512 a627112df19b9f6d1c53294daad7fe1b0aeaed15e6ec07054228575fbc76ca5c22f560ddd6fc176c5c22141669423547ba17f1e33c7d0e7e92d0188acad065c4 diff --git a/dev-python/tenacity/metadata.xml b/dev-python/tenacity/metadata.xml index 3e96488ac694..f0664c112d60 100644 --- a/dev-python/tenacity/metadata.xml +++ b/dev-python/tenacity/metadata.xml @@ -9,6 +9,10 @@ <email>openstack@gentoo.org</email> <name>Openstack</name> </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> <longdescription lang="en"> Tenacity is an Apache 2.0 licensed general-purpose retrying library, written in Python, to simplify the task of adding retry behavior to just about anything. It originates from a fork of Retrying. </longdescription> diff --git a/dev-python/tenacity/tenacity-7.0.0.ebuild b/dev-python/tenacity/tenacity-7.0.0.ebuild new file mode 100644 index 000000000000..cad45b68d97e --- /dev/null +++ b/dev-python/tenacity/tenacity-7.0.0.ebuild @@ -0,0 +1,38 @@ +# 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="General-purpose retrying library" +HOMEPAGE="https://github.com/jd/tenacity" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/six-1.9.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + www-servers/tornado[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local deselect=( + # TODO: package typeguard + tenacity/tests/test_tenacity.py::TestRetryTyping::test_retry_type_annotations + ) + + pytest -vv ${deselect[@]/#/--deselect } || + die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest index 790c6058df29..0549a62ffee1 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -1,3 +1,4 @@ DIST tox-3.21.2.tar.gz 301587 BLAKE2B 81d19e45a1d53000a2e9f956ed7b934f0f1926b4270ddced997ddc8b77a1f05388e0907d379dbabaafd5e6fdcd7031d5e87f206fff385759318a89a5f3eebf58 SHA512 beb551f49af1f8661931f241cf73fa77a37a8061ade7d41b415a2fcecd4d5dd1ba7d3e3add248d3bc14627468fa896f3f4f532305bbc36d112d226b1961fd191 DIST tox-3.21.4.tar.gz 301889 BLAKE2B 166864fe9f44fe01d3b36481ba63738d4290bb609c6ea7e3dde3494ab7ba009c31b12c0801f5be9dfca6f56059f94438cfa31bc45dec862afda5bea763e37be0 SHA512 de12e8ba0f3287be2fced61573b3e2dfdf8513a947724982d0e17ff215489994985067692c94c499047a8b0e2dd843e214e958367199bfa6e0adcde4e09b8106 DIST tox-3.22.0.tar.gz 302088 BLAKE2B f9ef6feb9fa438b668f6a1b6f8846845f1cfcb0826ffacc04c52dfe0a968a7df2542acc8f4a1e69c634a7866672dbb78ab8f04ba7d6e94f88b40f6c3dd042571 SHA512 d96c31c9faa4d76a6181ce332e70ec9ccfb0a6b96feff45793393f3fd2d08668fc6f14da9164947c4b93f371fab3b9d23c87b38dac89ece18e87494ac3a7caac +DIST tox-3.23.0.tar.gz 303091 BLAKE2B 609e74ea354ca5daf45c848000961782fcef59da07f815292355d72f3e5dd078e3b5909a65521a4a1032fa2bb9481fdab0e620f4882b33aa377de9764296761c SHA512 fb96cbbdbd36399036d348716f1181285184985922e0dc61b610b36e53ea79e2d8a77190aad893650bcba86ef4c57ff0f2de2813becb2a12fe0d1aa36bb27ad3 diff --git a/dev-python/tox/tox-3.23.0.ebuild b/dev-python/tox/tox-3.23.0.ebuild new file mode 100644 index 000000000000..1ed45c6fdaaf --- /dev/null +++ b/dev-python/tox/tox-3.23.0.ebuild @@ -0,0 +1,76 @@ +# 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 + +DESCRIPTION="virtualenv-based automation of test activities" +HOMEPAGE="https://tox.readthedocs.io https://github.com/tox-dev/tox https://pypi.org/project/tox/" +SRC_URI="https://github.com/tox-dev/tox/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +# doc disabled because of missing deps in tree +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/filelock[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/importlib_metadata-1.1[${PYTHON_USEDEP}] + ' python3_{5,6,7} pypy3) + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/pluggy-0.12[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/py[${PYTHON_USEDEP}] + >=dev-python/six-1.14[${PYTHON_USEDEP}] + dev-python/toml[${PYTHON_USEDEP}] + >=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]" +# TODO: figure out how to make tests work without the package being +# installed first. +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + >=dev-python/flaky-3.4.0[${PYTHON_USEDEP}] + >=dev-python/freezegun-0.3.11[${PYTHON_USEDEP}] + >=dev-python/pytest-4.0.0[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + )" + +src_configure() { + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} +} + +python_test() { + local deselect=( + # broken without Internet + tests/unit/session/test_provision.py::test_provision_non_canonical_dep + tests/integration/test_provision_int.py::test_provision_interrupt_child + + # expects python2 to exist + tests/unit/interpreters/test_interpreters.py::test_tox_get_python_executable + + # broken without tox installed first + # TODO: figure out how to make importlib_metadata work + tests/unit/test_z_cmdline.py::test_tox_console_script + tests/unit/test_z_cmdline.py::test_tox_quickstart_script + ) + + [[ ${EPYTHON} != pypy3 ]] && deselect+=( + # TODO? + tests/unit/interpreters/test_interpreters.py::test_find_alias_on_path + + # broken without tox installed first + # TODO: why it can't import itself? + tests/integration/test_parallel_interrupt.py::test_parallel_interrupt + ) + + distutils_install_for_testing --via-root + pytest -vv --no-network ${deselect[@]/#/--deselect } || die "Testsuite failed under ${EPYTHON}" +} diff --git a/dev-python/tree-sitter/tree-sitter-0.2.1.ebuild b/dev-python/tree-sitter/tree-sitter-0.2.1.ebuild index 6af8cbd5ac02..d11d224b10bd 100644 --- a/dev-python/tree-sitter/tree-sitter-0.2.1.ebuild +++ b/dev-python/tree-sitter/tree-sitter-0.2.1.ebuild @@ -15,6 +15,6 @@ SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~x64-macos" S="${WORKDIR}/${MY_P}" diff --git a/dev-python/twisted/twisted-21.2.0.ebuild b/dev-python/twisted/twisted-21.2.0.ebuild index b98bf39a1fc5..949a148970b5 100644 --- a/dev-python/twisted/twisted-21.2.0.ebuild +++ b/dev-python/twisted/twisted-21.2.0.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm ~x86" IUSE="conch crypt http2 serial test" RESTRICT="!test? ( test )" diff --git a/dev-python/whisper/whisper-1.1.5.ebuild b/dev-python/whisper/whisper-1.1.5.ebuild index 405f0839824e..d569fff7dfed 100644 --- a/dev-python/whisper/whisper-1.1.5.ebuild +++ b/dev-python/whisper/whisper-1.1.5.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 @@ -14,7 +14,7 @@ HOMEPAGE="https://github.com/graphite-project/whisper" SRC_URI="https://github.com/graphite-project/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" -KEYWORDS="~amd64 ~x86 ~x64-solaris" +KEYWORDS="~amd64 ~x86" SLOT="0" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/whisper/whisper-1.1.7.ebuild b/dev-python/whisper/whisper-1.1.7.ebuild index 705545574a6a..807062114f84 100644 --- a/dev-python/whisper/whisper-1.1.7.ebuild +++ b/dev-python/whisper/whisper-1.1.7.ebuild @@ -13,7 +13,7 @@ HOMEPAGE="https://github.com/graphite-project/whisper" SRC_URI="https://github.com/graphite-project/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" -KEYWORDS="~amd64 ~x86 ~x64-solaris" +KEYWORDS="~amd64 ~x86" SLOT="0" IUSE="test" RESTRICT="!test? ( test )" |
