From d16b2b7459873c95f502ca39da151e3940242130 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [feature/flatten]" Date: Fri, 11 Sep 2020 12:54:27 +0000 Subject: Updating liguros repo --- dev-python/boto3/Manifest | 1 + dev-python/boto3/boto3-1.14.59.ebuild | 56 ++++++ dev-python/botocore/Manifest | 1 + dev-python/botocore/botocore-1.17.59.ebuild | 62 ++++++ dev-python/django-allauth/Manifest | 1 + .../django-allauth/django-allauth-0.42.0.ebuild | 25 +++ dev-python/django-allauth/metadata.xml | 11 ++ dev-python/django-gravatar2/Manifest | 1 + .../django-gravatar2/django-gravatar2-1.4.4.ebuild | 22 +++ dev-python/django-gravatar2/metadata.xml | 11 ++ dev-python/hypothesis/Manifest | 1 + dev-python/hypothesis/hypothesis-5.34.1.ebuild | 63 ++++++ dev-python/jupyterlab_pygments/Manifest | 1 + .../jupyterlab_pygments-0.1.1.ebuild | 18 ++ dev-python/jupyterlab_pygments/metadata.xml | 13 ++ dev-python/nbclient/Manifest | 1 + dev-python/nbclient/metadata.xml | 14 ++ dev-python/nbclient/nbclient-0.5.0.ebuild | 39 ++++ dev-python/nbconvert/Manifest | 1 + dev-python/nbconvert/nbconvert-6.0.1.ebuild | 72 +++++++ dev-python/nest_asyncio/Manifest | 1 + dev-python/nest_asyncio/metadata.xml | 14 ++ dev-python/nest_asyncio/nest_asyncio-1.4.0.ebuild | 18 ++ dev-python/pypy3-exe/Manifest | 1 + dev-python/pypy3-exe/pypy3-exe-7.3.2_rc1.ebuild | 151 +++++++++++++++ dev-python/pypy3/Manifest | 1 + dev-python/pypy3/pypy3-7.3.2_rc1.ebuild | 215 +++++++++++++++++++++ dev-python/python3-openid/Manifest | 1 + dev-python/python3-openid/metadata.xml | 11 ++ .../python3-openid/python3-openid-3.2.0.ebuild | 22 +++ dev-python/pyzmq/Manifest | 1 + dev-python/pyzmq/pyzmq-19.0.2.ebuild | 93 +++++++++ 32 files changed, 943 insertions(+) create mode 100644 dev-python/boto3/boto3-1.14.59.ebuild create mode 100644 dev-python/botocore/botocore-1.17.59.ebuild create mode 100644 dev-python/django-allauth/Manifest create mode 100644 dev-python/django-allauth/django-allauth-0.42.0.ebuild create mode 100644 dev-python/django-allauth/metadata.xml create mode 100644 dev-python/django-gravatar2/Manifest create mode 100644 dev-python/django-gravatar2/django-gravatar2-1.4.4.ebuild create mode 100644 dev-python/django-gravatar2/metadata.xml create mode 100644 dev-python/hypothesis/hypothesis-5.34.1.ebuild create mode 100644 dev-python/jupyterlab_pygments/Manifest create mode 100644 dev-python/jupyterlab_pygments/jupyterlab_pygments-0.1.1.ebuild create mode 100644 dev-python/jupyterlab_pygments/metadata.xml create mode 100644 dev-python/nbclient/Manifest create mode 100644 dev-python/nbclient/metadata.xml create mode 100644 dev-python/nbclient/nbclient-0.5.0.ebuild create mode 100644 dev-python/nbconvert/nbconvert-6.0.1.ebuild create mode 100644 dev-python/nest_asyncio/Manifest create mode 100644 dev-python/nest_asyncio/metadata.xml create mode 100644 dev-python/nest_asyncio/nest_asyncio-1.4.0.ebuild create mode 100644 dev-python/pypy3-exe/pypy3-exe-7.3.2_rc1.ebuild create mode 100644 dev-python/pypy3/pypy3-7.3.2_rc1.ebuild create mode 100644 dev-python/python3-openid/Manifest create mode 100644 dev-python/python3-openid/metadata.xml create mode 100644 dev-python/python3-openid/python3-openid-3.2.0.ebuild create mode 100644 dev-python/pyzmq/pyzmq-19.0.2.ebuild (limited to 'dev-python') diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index c69afb9e3a6a..8329eeb12007 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -5,3 +5,4 @@ DIST boto3-1.14.49.tar.gz 301978 BLAKE2B ab27aab54b7e1b531ae063e3a84691820208d5d DIST boto3-1.14.52.tar.gz 302219 BLAKE2B 97b93e7e203aba7e0dad8bdace83ac41fb85b5880473721543160dc19da52559db3e095edfea8e0946a8915e1a3c396de598b76a35221a64226d602199b8301e SHA512 f65473d91d45bfbd036413b63ee62688bdf9318a09fb81d7e83d5655b785a7b6b626ec7b61ddc1fef8f3fc46c7acb7becefb632d4ae931335a4568451596673d DIST boto3-1.14.55.tar.gz 302397 BLAKE2B 61785df9bfbe0668ff7b0537bb86b119ab3a98dc41cbe5118f550c81bb08cbec3c68249d9bffa1420088cd5b6a2aff2267dbeb16e52275e632ba88c8e709c8f3 SHA512 d51b0716f5148b5765e90d0a60146b5b06013e4a789eacfb798e5a4c114d4a8b9b07f5d74c0fa0b50b79e1704b7893d709bf87c9a2dd1d184bd477dbecd21a38 DIST boto3-1.14.57.tar.gz 334506 BLAKE2B ba422426f36c55eb78e057d886abdb9a435839b4a842bf917e3e02d2f3f80c8c94bbf524ed4f3cab53ae627a9f1aeac41a790bebb72c94f52c73486dbcd3f13b SHA512 b772ec8d1c167e37515643796a569ba4258de24b9e4aa1a5022e140fc9121fdc02472231f36b8336e75115aabafa8dbc8c5422ce2ac137f3ead1202043b1c6c0 +DIST boto3-1.14.59.tar.gz 334641 BLAKE2B 96cd0750521715f030c2668cf21b7d6e5f53ffb9bcb84bc9fc540b1bea911591880385a3bd31447f924aa24cbdce873d17241d921b87e57d109173062dd27678 SHA512 9dddad6c71bac90803402b35a316f7177c26629e7e1b3cdadc6222e890d89dce4c2941174501705da85209220fe741f788654f5db164b2d9eac26cbba7cfb0d5 diff --git a/dev-python/boto3/boto3-1.14.59.ebuild b/dev-python/boto3/boto3-1.14.59.ebuild new file mode 100644 index 000000000000..12584b2fba42 --- /dev/null +++ b/dev-python/boto3/boto3-1.14.59.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{5,6,7,8,9} ) +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 da2ffe67bf40..79fec3faddf1 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -5,3 +5,4 @@ DIST botocore-1.17.49.tar.gz 6765351 BLAKE2B c5c40c37d1f1f0f1d7e059a1b88025039be DIST botocore-1.17.52.tar.gz 6778122 BLAKE2B 4afb88a7990ca4cd04f113a75f00dcc26569102a3a3b8ad991073577178a86b56b607888ed8d70569affb03fc77d3f89060a1a34059dd33a457eff4f3c31eb5e SHA512 97de510725dcc2db9c57d7e9415f5c22fc30a2737c3785ffc32e53a56cb542dec06468b3a06bf03ae0ae2eb913628b68ca104b1e8f211e5c580606422e5f3267 DIST botocore-1.17.55.tar.gz 6781012 BLAKE2B d9dac6d32ae6226bf80c79651f0d56c1b916a9e4b696c99c2921aae9759ff2c86df1f4682902ff4313d018c6514e24718228cd13219cdbd784b828faf3a8fc10 SHA512 941e773932db1a9fddf8476485c9b979803596a02017fa44c88667e833acd0b84fe8a2f9211c7791a20f08e947d93354bb995f03d915543ab5d24ebad683cbaf DIST botocore-1.17.57.tar.gz 6815839 BLAKE2B e135e4d0b889add8417d8a6ce97c475865859e8805077bc404010cf1c0d7da0eae27f49fc14eaffa86b0a45e5a49799a59fa6b3a7117d103976b0c1628a531db SHA512 244021f4ab9a2778917f91bcf0f26d868025e77bee0c592f81e8266721952b5ffcc3ec4fc7f1dc2b7e2b20faac8f0d4e8b8b47d72a89ff66386fc008b0781da1 +DIST botocore-1.17.59.tar.gz 6829639 BLAKE2B efacd4c875e17f187abd5c4602a82229ed2a9fd78e1987f1b540eb882d1a3ce7c23768f7f4b9dc26a678ff4ce48264f3893c0aa2a68511823f79686c21ecf82f SHA512 609eb24774384b95dd9b5bcf5931d263341fbbba90b84159c6833296c22d95c6cf8d304d6908713d9ba826858d8d226e0b5c700bb1410c3a9f7b2d679f535c40 diff --git a/dev-python/botocore/botocore-1.17.59.ebuild b/dev-python/botocore/botocore-1.17.59.ebuild new file mode 100644 index 000000000000..b111030cd3da --- /dev/null +++ b/dev-python/botocore/botocore-1.17.59.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{5,6,7,8,9} ) + +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/docutils[${PYTHON_USEDEP}] + dev-python/jmespath[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/urllib3[${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" + "${FILESDIR}/botocore-1.16.7-unlock-deps.patch" +) + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests nose + +src_prepare() { + # py3.9 + find -name '*.py' -exec \ + sed -i -e 's:cElementTree:ElementTree:' {} + || 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/django-allauth/Manifest b/dev-python/django-allauth/Manifest new file mode 100644 index 000000000000..37b6c4f6d332 --- /dev/null +++ b/dev-python/django-allauth/Manifest @@ -0,0 +1 @@ +DIST django-allauth-0.42.0.tar.gz 549566 BLAKE2B aa346bcc47b9419776a68c023ab560e5cba0fd97eeaf4cb2f43da4b2c53619c65a3ec9e1313ff3ffa0ed051718d41ccea2d362f56d6bd8dcf4c5a0569ccbb7c9 SHA512 2c31a70dfd3becf0f921b0566204b8b3221b0c85e82cb8a8ad37ab557fc6f302b9c24bfdd6885978157f4ccb9044d1eed9973d066ee59877aee727c60d2a5b46 diff --git a/dev-python/django-allauth/django-allauth-0.42.0.ebuild b/dev-python/django-allauth/django-allauth-0.42.0.ebuild new file mode 100644 index 000000000000..2dcce1d89513 --- /dev/null +++ b/dev-python/django-allauth/django-allauth-0.42.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7,8,9} ) + +inherit distutils-r1 + +DESCRIPTION="Django 3rd party (social) account authentication" +HOMEPAGE="https://www.intenct.nl/projects/django-allauth/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="dev-python/django[${PYTHON_USEDEP}] + dev-python/python3-openid[${PYTHON_USEDEP}] + dev-python/requests-oauthlib[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}]" + +DOCS=( README.rst AUTHORS ChangeLog.rst ) diff --git a/dev-python/django-allauth/metadata.xml b/dev-python/django-allauth/metadata.xml new file mode 100644 index 000000000000..74f7893ed510 --- /dev/null +++ b/dev-python/django-allauth/metadata.xml @@ -0,0 +1,11 @@ + + + + + hanno@gentoo.org + + + django-allauth + + gentoo-staging + diff --git a/dev-python/django-gravatar2/Manifest b/dev-python/django-gravatar2/Manifest new file mode 100644 index 000000000000..14c2adae326e --- /dev/null +++ b/dev-python/django-gravatar2/Manifest @@ -0,0 +1 @@ +DIST django-gravatar2-1.4.4.tar.gz 8396 BLAKE2B 181aee58f6be4f8833a26674f020412e050387855a84d4c3b8b8f1c028eeb56caee7c95d4a09f301d7e974051b1519b90e1cff1e9789c860f74497da1ab88fe1 SHA512 999fe2a036b23f73ee8111cccde459aa72a5f90995d322e772776f85ba206281e791cdf7d4888b45c7f2ecf8baf6509ed44652396f5db158c484a2fb53439c99 diff --git a/dev-python/django-gravatar2/django-gravatar2-1.4.4.ebuild b/dev-python/django-gravatar2/django-gravatar2-1.4.4.ebuild new file mode 100644 index 000000000000..b9d8a9cff7cd --- /dev/null +++ b/dev-python/django-gravatar2/django-gravatar2-1.4.4.ebuild @@ -0,0 +1,22 @@ +# 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} ) + +inherit distutils-r1 + +DESCRIPTION="Essential Gravatar support for Django" +HOMEPAGE="https://github.com/twaddington/django-gravatar" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="dev-python/django[${PYTHON_USEDEP}]" + +DOCS="README.rst" diff --git a/dev-python/django-gravatar2/metadata.xml b/dev-python/django-gravatar2/metadata.xml new file mode 100644 index 000000000000..f5d9c036da07 --- /dev/null +++ b/dev-python/django-gravatar2/metadata.xml @@ -0,0 +1,11 @@ + + + + + hanno@gentoo.org + + + django-gravatar2 + + gentoo-staging + diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 5171c370cfb5..02aab653f550 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -13,3 +13,4 @@ DIST hypothesis-python-5.32.0.tar.gz 9075649 BLAKE2B c2b375ff45e1e5ad03dc4e94d49 DIST hypothesis-python-5.33.0.tar.gz 9075651 BLAKE2B 41833eff5463c596a5eba184d23a705a7c009221f821846a46462f4d79a6b117b97f71354b44afe14b51c655658628519384b6cbec3a11b5188b6f7942199f09 SHA512 0b7a1cc3b0676205c2292585513ab6ac339b08cf10138bb10340ad69af26005c194580713baeb8f704a8fe2f39709c9b643a23026b64a6300fe972b9c847d044 DIST hypothesis-python-5.33.1.tar.gz 9075721 BLAKE2B a880640e1c54bb2cf4206519409f36f7af7cb21ba5d76a0245b2735bc37ac2b7772fabf3dea50b48b7c1221704dae8a4390dc441435fc569bfae92e4230ee820 SHA512 207e8affe5bf8e4d719d000ef67f0e0945d01a9785624abcf04528b602c66c9512a2f621f827962b214a17b6d1e001045059a0c75b8f8cdd1abd5db3e75b5a7e DIST hypothesis-python-5.33.2.tar.gz 9084086 BLAKE2B 058288af5a799a1fa9ca0f0526ff966bedd495c86f9066cd940610836e64281fd76bf342c898fff0189dc336eec4c741f52d6f7bf161703bcf7c9b8a757d6429 SHA512 495a8985dff9f34bd0f88076a0b8777d368162a7297cf35f2402cbacac8f1601ee31567f0f75ac7513f91f8aeca648e9de821b88661933226278287ae03eeca6 +DIST hypothesis-python-5.34.1.tar.gz 9081222 BLAKE2B 5af302a9861b92e0270ca21125a930c4c496d853dca1474a899d565fd339e488fc7affc1f25fe24cc3d63f8d1d4e7043349a04179caf9ccdaaefdb68fcc094d1 SHA512 68a9f736474f2fa51810f18db87beaaf3cfd1803ab5842a4c5e48aa9118ead92b0ff02261063c52c2ef8e9649d05bfed3cf37a6d95c4f0b6109773eb1efff8b1 diff --git a/dev-python/hypothesis/hypothesis-5.34.1.ebuild b/dev-python/hypothesis/hypothesis-5.34.1.ebuild new file mode 100644 index 000000000000..d016eb0fc6a4 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-5.34.1.ebuild @@ -0,0 +1,63 @@ +# 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_{5,6,7,8,9} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 eutils multiprocessing + +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="~amd64 ~arm ~arm64 ~ia64 ~riscv ~x86" +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-5.3.5[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !! + + + + python@gentoo.org + Python + + + + jupyterlab/jupyterlab_pygments + + gentoo-staging + diff --git a/dev-python/nbclient/Manifest b/dev-python/nbclient/Manifest new file mode 100644 index 000000000000..1862efb51754 --- /dev/null +++ b/dev-python/nbclient/Manifest @@ -0,0 +1 @@ +DIST nbclient-0.5.0.gh.tar.gz 68957 BLAKE2B bb041b98ffa38fbafc3e8dd1b21b56b3cdf4eec0ee435e118baa063d13a4a2c13d49e17591bb1365a31ed4dbf6b19732f225402de6fc15fcbbd73b73db2016df SHA512 0633b1237d545be422626758993309e252c34ca16370203476244e2c98c518deaa5cb99987a8282aecc18e6ef1fdb4a4b9b76bc4fd62affa5e3d2fd31175e95a diff --git a/dev-python/nbclient/metadata.xml b/dev-python/nbclient/metadata.xml new file mode 100644 index 000000000000..223753c0abc3 --- /dev/null +++ b/dev-python/nbclient/metadata.xml @@ -0,0 +1,14 @@ + + + + + python@gentoo.org + Python + + + + nbclient + jupyter/nbclient + + gentoo-staging + diff --git a/dev-python/nbclient/nbclient-0.5.0.ebuild b/dev-python/nbclient/nbclient-0.5.0.ebuild new file mode 100644 index 000000000000..1eceb72aa315 --- /dev/null +++ b/dev-python/nbclient/nbclient-0.5.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7,8,9} ) + +inherit distutils-r1 + +DESCRIPTION="A client library for executing Jupyter notebooks" +HOMEPAGE=" + https://nbclient.readthedocs.io/en/latest/ + https://github.com/jupyter/nbclient/ + https://pypi.org/project/nbclient/" +SRC_URI=" + https://github.com/jupyter/nbclient/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/async_generator[${PYTHON_USEDEP}] + >=dev-python/jupyter_client-6.1.5[${PYTHON_USEDEP}] + >=dev-python/nbformat-5.0[${PYTHON_USEDEP}] + dev-python/nest_asyncio[${PYTHON_USEDEP}] + >=dev-python/traitlets-4.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/ipython[${PYTHON_USEDEP}] + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/ipywidgets[${PYTHON_USEDEP}] + dev-python/xmltodict[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/nbconvert/Manifest b/dev-python/nbconvert/Manifest index 1625f921f2d9..5c9bd41466f9 100644 --- a/dev-python/nbconvert/Manifest +++ b/dev-python/nbconvert/Manifest @@ -1 +1,2 @@ DIST nbconvert-5.6.1.tar.gz 703233 BLAKE2B e75d558aee6c66fe8e7455ecf22dbbcd2a0698380ffec80eff15aea6c70bc853daa9ab2fd1d114453bd5dfe7e75617afb9f5c1075704bfadbb59fef34bca88a9 SHA512 0c68adcb9f28ead9ec058fc2e02a9a1e6f65818709c99f7a006a59a7562b5f5ee74afe5287e41568c35542898dc1b43c4543d2386cc05a721b3f99d5cc789435 +DIST nbconvert-6.0.1.tar.gz 838950 BLAKE2B 7ccb821bd7affab3faed0c1fb139b0641f295c71109c783e9ce40c5a4c15c2d87a327ce7c802ed3cfde2fcde4c360375dd751f9592eeda102d520aee4e94f2d5 SHA512 7c782a068fc004a42cbc2e09d8d4fbce5385a8f6fb8491fa39d14df123a00bf81e6e7f11885fe39300156ecf560b92f5631537a5956e5541ea3dcf9ec5f9f365 diff --git a/dev-python/nbconvert/nbconvert-6.0.1.ebuild b/dev-python/nbconvert/nbconvert-6.0.1.ebuild new file mode 100644 index 000000000000..5a5b2e03dc37 --- /dev/null +++ b/dev-python/nbconvert/nbconvert-6.0.1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7,8,9} ) + +inherit distutils-r1 + +DESCRIPTION="Converting Jupyter Notebooks" +HOMEPAGE="https://nbconvert.readthedocs.io/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/bleach[${PYTHON_USEDEP}] + dev-python/defusedxml[${PYTHON_USEDEP}] + >=dev-python/entrypoints-0.2.2[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/jupyter_core[${PYTHON_USEDEP}] + dev-python/jupyterlab_pygments[${PYTHON_USEDEP}] + >=dev-python/mistune-0.7.4[${PYTHON_USEDEP}] + dev-python/nbclient[${PYTHON_USEDEP}] + dev-python/nbformat[${PYTHON_USEDEP}] + >=dev-python/pandocfilters-1.4.1[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + >=dev-python/traitlets-4.2.1[${PYTHON_USEDEP}] + dev-python/testpath[${PYTHON_USEDEP}] + www-servers/tornado[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pebble[${PYTHON_USEDEP}] + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/ipywidgets[${PYTHON_USEDEP}] + >=dev-python/jupyter_client-4.2[${PYTHON_USEDEP}] + media-gfx/inkscape + ) +" + +distutils_enable_tests pytest + +src_test() { + mkdir -p "${HOME}/.local" || die + cp -r share "${HOME}/.local/" || die + distutils-r1_src_test +} + +python_test() { + local deselect=( + # Missing pyppeteer for now + # TODO: Doesn't skip? + --deselect exporters/tests/test_webpdf.py + # Needs pyppeteer too + --deselect 'tests/test_nbconvertapp.py::TestNbConvertApp::test_webpdf_with_chromium' + ) + + distutils_install_for_testing bdist_egg + cd "${TEST_DIR}"/lib || die + pytest -vv "${deselect[@]}" --pyargs nbconvert || die "Tests failed with ${EPYTHON}" +} + +pkg_postinst() { + if ! has_version app-text/pandoc ; then + einfo "Pandoc is required for converting to formats other than Python," + einfo "HTML, and Markdown. If you need this functionality, install" + einfo "app-text/pandoc." + fi +} diff --git a/dev-python/nest_asyncio/Manifest b/dev-python/nest_asyncio/Manifest new file mode 100644 index 000000000000..78d038457a4b --- /dev/null +++ b/dev-python/nest_asyncio/Manifest @@ -0,0 +1 @@ +DIST nest_asyncio-1.4.0.tar.gz 7053 BLAKE2B e9bdfa53f8a94ddbfd87b638962b5281aa3e8830c75a019d66d8275eb107aa7268d7f5aa24782d648a5fcfbfc4e1040abf2f2f0ca5678a513a95111d293eb055 SHA512 6a5130938baabafba30c4d5435276d33aa5df5e52a84e5646de55ab64bc01d3b69340b725b74dbe3dd158d5fba8db1470a322bdcdc3b75aa1a121076e3553a06 diff --git a/dev-python/nest_asyncio/metadata.xml b/dev-python/nest_asyncio/metadata.xml new file mode 100644 index 000000000000..ccf10a28deca --- /dev/null +++ b/dev-python/nest_asyncio/metadata.xml @@ -0,0 +1,14 @@ + + + + + python@gentoo.org + Python + + + + nest_asyncio + erdewit/nest_asyncio + + gentoo-staging + diff --git a/dev-python/nest_asyncio/nest_asyncio-1.4.0.ebuild b/dev-python/nest_asyncio/nest_asyncio-1.4.0.ebuild new file mode 100644 index 000000000000..a30adaf51e05 --- /dev/null +++ b/dev-python/nest_asyncio/nest_asyncio-1.4.0.ebuild @@ -0,0 +1,18 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7,8,9} ) + +inherit distutils-r1 + +DESCRIPTION="Patch asyncio to allow nested event loops" +HOMEPAGE="https://github.com/erdewit/nest_asyncio" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +distutils_enable_tests setup.py diff --git a/dev-python/pypy3-exe/Manifest b/dev-python/pypy3-exe/Manifest index c119fbd7162b..0b16f02d6f27 100644 --- a/dev-python/pypy3-exe/Manifest +++ b/dev-python/pypy3-exe/Manifest @@ -1,2 +1,3 @@ DIST pypy3.6-v7.3.0-src.tar.bz2 21937786 BLAKE2B c53ac32a9cca1c4624160eae9f11b5705a59613f1e5100fbb0ee86118de5a7845b8fa5087165d7f5a077d20337dfca14a1c7eadbe768995e20e249ec271ac10d SHA512 313a4254262dd8d8b995a50bddbc360cfb67add0818e51a3e9ce25bda6a9b639e9fea8efe7da6adda76dff0a86a364544a13faa516e51b9ea6c25ec99223b435 DIST pypy3.6-v7.3.1-src.tar.bz2 22712809 BLAKE2B 4250b3fe98c611b9635319c106b80e88ab469eab5f883babb738e175e7b7adc22c85f8ef3fdce1cdc127b521beef8d6c7862e188d8c8889c39f90136d6bbe374 SHA512 f8e32aae7f01225e0e4d6763eaac40fc02dffc3d0b6a30f22d422147f9be4f3290ea78160a912ffae311dea3d503eb31a7a4f3999d3b541fbccd93d1cef4ca56 +DIST pypy3.6-v7.3.2rc1-src.tar.bz2 22730858 BLAKE2B 41a0702d0077c0f546998b858bc8b76226fe8903f4819497aa284231edcb32bc8b047b0a2a35bacfb18ea11fb85de98b95998276c22a3f0dc716b16871b35a3a SHA512 1a6f93f7e767b0db5c40c1e06cadd781c6ddfb02ec86aa61a37f649fe1aa5cd71f7857052e5b48092e3bf8b5cbef6d6401097bf4c4e80c62f7dbdffcd20b70c0 diff --git a/dev-python/pypy3-exe/pypy3-exe-7.3.2_rc1.ebuild b/dev-python/pypy3-exe/pypy3-exe-7.3.2_rc1.ebuild new file mode 100644 index 000000000000..24b904343e13 --- /dev/null +++ b/dev-python/pypy3-exe/pypy3-exe-7.3.2_rc1.ebuild @@ -0,0 +1,151 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# pypy3 needs to be built using python 2 +PYTHON_COMPAT=( python2_7 ) +inherit check-reqs pax-utils python-any-r1 toolchain-funcs + +MY_P=pypy3.6-v${PV/_/} +DESCRIPTION="PyPy3 executable (build from source)" +HOMEPAGE="https://pypy.org/" +SRC_URI="https://downloads.python.org/pypy/${MY_P}-src.tar.bz2" +S="${WORKDIR}/${MY_P}-src" + +LICENSE="MIT" +SLOT="${PV}" +KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="bzip2 +jit low-memory ncurses cpu_flags_x86_sse2" + +RDEPEND=">=sys-libs/zlib-1.1.3:0= + dev-libs/libffi:0= + virtual/libintl:0= + dev-libs/expat:0= + bzip2? ( app-arch/bzip2:0= ) + ncurses? ( sys-libs/ncurses:0= ) + !dev-python/pypy3-exe-bin:${PV}" +DEPEND="${RDEPEND}" +BDEPEND=" + low-memory? ( dev-python/pypy ) + !low-memory? ( + || ( + dev-python/pypy + ( + dev-lang/python:2.7 + dev-python/pycparser[python_targets_python2_7(-),python_single_target_python2_7(+)] + ) + ) + )" + +check_env() { + if use low-memory; then + CHECKREQS_MEMORY="1750M" + use amd64 && CHECKREQS_MEMORY="3500M" + else + CHECKREQS_MEMORY="3G" + use amd64 && CHECKREQS_MEMORY="6G" + fi + + check-reqs_pkg_pretend +} + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && check_env +} + +pkg_setup() { + if [[ ${MERGE_TYPE} != binary ]]; then + check_env + + # unset to allow forcing pypy below :) + use low-memory && EPYTHON= + if [[ ! ${EPYTHON} || ${EPYTHON} == pypy ]] && + { has_version -b dev-python/pypy || + has_version -b dev-python/pypy-bin; } + then + einfo "Using PyPy to perform the translation." + EPYTHON=pypy + else + einfo "Using ${EPYTHON:-python2} to perform the translation. Please note that upstream" + einfo "recommends using PyPy for that. If you wish to do so, please install" + einfo "dev-python/pypy and ensure that EPYTHON variable is unset." + python-any-r1_pkg_setup + fi + fi +} + +src_configure() { + tc-export CC + + local jit_backend + if use jit; then + jit_backend='--jit-backend=' + + # We only need the explicit sse2 switch for x86. + # On other arches we can rely on autodetection which uses + # compiler macros. Plus, --jit-backend= doesn't accept all + # the modern values... + + if use x86; then + if use cpu_flags_x86_sse2; then + jit_backend+=x86 + else + jit_backend+=x86-without-sse2 + fi + else + jit_backend+=auto + fi + fi + + local args=( + --no-shared + $(usex jit -Ojit -O2) + + ${jit_backend} + + pypy/goal/targetpypystandalone + ) + + # Avoid linking against libraries disabled by use flags + local opts=( + bzip2:bz2 + ncurses:_minimal_curses + ) + + local opt + for opt in "${opts[@]}"; do + local flag=${opt%:*} + local mod=${opt#*:} + + args+=( + $(usex ${flag} --withmod --withoutmod)-${mod} + ) + done + + local interp=( "${EPYTHON}" ) + if use low-memory; then + interp=( env PYPY_GC_MAX_DELTA=200MB + "${EPYTHON}" --jit loop_longevity=300 ) + fi + + # translate into the C sources + # we're going to make them ourselves since otherwise pypy does not + # free up the unneeded memory before spawning the compiler + set -- "${interp[@]}" rpython/bin/rpython --batch --source "${args[@]}" + echo -e "\033[1m${@}\033[0m" + "${@}" || die "translation failed" +} + +src_compile() { + emake -C "${T}"/usession*-0/testing_1 +} + +src_install() { + local dest=/usr/lib/pypy3.6 + exeinto "${dest}" + newexe "${T}"/usession*-0/testing_1/pypy3-c pypy3-c-${PV} + insinto "${dest}"/include/${PV} + doins include/pypy_* + pax-mark m "${ED}${dest}/pypy3-c-${PV}" +} diff --git a/dev-python/pypy3/Manifest b/dev-python/pypy3/Manifest index c119fbd7162b..0b16f02d6f27 100644 --- a/dev-python/pypy3/Manifest +++ b/dev-python/pypy3/Manifest @@ -1,2 +1,3 @@ DIST pypy3.6-v7.3.0-src.tar.bz2 21937786 BLAKE2B c53ac32a9cca1c4624160eae9f11b5705a59613f1e5100fbb0ee86118de5a7845b8fa5087165d7f5a077d20337dfca14a1c7eadbe768995e20e249ec271ac10d SHA512 313a4254262dd8d8b995a50bddbc360cfb67add0818e51a3e9ce25bda6a9b639e9fea8efe7da6adda76dff0a86a364544a13faa516e51b9ea6c25ec99223b435 DIST pypy3.6-v7.3.1-src.tar.bz2 22712809 BLAKE2B 4250b3fe98c611b9635319c106b80e88ab469eab5f883babb738e175e7b7adc22c85f8ef3fdce1cdc127b521beef8d6c7862e188d8c8889c39f90136d6bbe374 SHA512 f8e32aae7f01225e0e4d6763eaac40fc02dffc3d0b6a30f22d422147f9be4f3290ea78160a912ffae311dea3d503eb31a7a4f3999d3b541fbccd93d1cef4ca56 +DIST pypy3.6-v7.3.2rc1-src.tar.bz2 22730858 BLAKE2B 41a0702d0077c0f546998b858bc8b76226fe8903f4819497aa284231edcb32bc8b047b0a2a35bacfb18ea11fb85de98b95998276c22a3f0dc716b16871b35a3a SHA512 1a6f93f7e767b0db5c40c1e06cadd781c6ddfb02ec86aa61a37f649fe1aa5cd71f7857052e5b48092e3bf8b5cbef6d6401097bf4c4e80c62f7dbdffcd20b70c0 diff --git a/dev-python/pypy3/pypy3-7.3.2_rc1.ebuild b/dev-python/pypy3/pypy3-7.3.2_rc1.ebuild new file mode 100644 index 000000000000..4c01d5519d41 --- /dev/null +++ b/dev-python/pypy3/pypy3-7.3.2_rc1.ebuild @@ -0,0 +1,215 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 ) +inherit pax-utils python-any-r1 toolchain-funcs + +MY_P=pypy3.6-v${PV/_/} + +DESCRIPTION="A fast, compliant alternative implementation of the Python (3.6) language" +HOMEPAGE="https://pypy.org/" +SRC_URI="https://downloads.python.org/pypy/${MY_P}-src.tar.bz2" +S="${WORKDIR}/${MY_P}-src" + +LICENSE="MIT" +# pypy3 -c 'import sysconfig; print(sysconfig.get_config_var("SOABI"))' +SLOT="0/pypy36-pp73" +KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="bzip2 gdbm +jit libressl ncurses sqlite test tk" +RESTRICT="!test? ( test )" + +RDEPEND=" + || ( + dev-python/pypy3-exe:${PV}[bzip2?,ncurses?] + dev-python/pypy3-exe-bin:${PV} + ) + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + gdbm? ( sys-libs/gdbm:0= ) + sqlite? ( dev-db/sqlite:3= ) + tk? ( + dev-lang/tk:0= + dev-tcltk/tix:0= + ) + ! /dev/null || die + eapply "${FILESDIR}"/python-3.5-distutils-OO-build.patch + popd > /dev/null || die + + # see http://buildbot.pypy.org/summary?branch=py3.6&builder=pypy-c-jit-linux-x86-64 + sed -i -e 's:test_runeval_step:_&:' \ + lib-python/3/test/test_bdb.py || die + sed -i -e 's:test_crashing_decode_handler:_&:' \ + lib-python/3/test/test_codeccallbacks.py || die + sed -i -e 's:test_jumpy:_&:' \ + lib-python/3/test/test_dis.py || die + sed -i -e 's:test_ast_line_numbers:_&:' \ + -e 's:test_backslashes_in_string_part:_&:' \ + lib-python/3/test/test_fstring.py || die + sed -i -e 's:test_listdir_bytes_like:_&:' \ + lib-python/3/test/test_posix.py || die + sed -i -e 's:test_auto_history:_&:' \ + -e 's:test_history_size:_&:' \ + lib-python/3/test/test_readline.py || die + sed -i -e 's:test_pha_optional:_&:' \ + -e 's:test_pha_required:_&:' \ + lib-python/3/test/test_ssl.py || die + sed -i -e 's:test_eval_bytes_invalid_escape:_&:' \ + -e 's:test_eval_str_invalid_escape:_&:' \ + lib-python/3/test/test_string_literals.py || die + sed -i -e 's:test_jump_out_of_async_for_block:_&:' \ + -e 's:test_jump_over_async_for_block_before_else:_&:' \ + -e 's:test_no_jump_.*wards_into_async_for_block:_&:' \ + -e 's:test_no_jump_into_async_for_block_before_else:_&:' \ + -e 's:test_no_jump_from_yield:_&:' \ + lib-python/3/test/test_sys_settrace.py || die + sed -i -e 's:test_circular_imports:_&:' \ + lib-python/3/test/test_threaded_import.py || die + + # fixed in git + sed -i -e 's:test_SOCK_CLOEXEC:_&:' \ + lib-python/3/test/test_socket.py || die + + # the first one's broken by sandbox, the second by our env + sed -i -e 's:test_empty_env:_&:' \ + -e 's:test_executable:_&:' \ + lib-python/3/test/test_subprocess.py || die + + # XXX + sed -i -e 's:test_locale:_&:' \ + lib-python/3/test/test_format.py || die + sed -i -e 's:test_decompressor_bug_28275:_&:' \ + lib-python/3/test/test_lzma.py || die + + eapply_user +} + +src_configure() { + tc-export CC +} + +src_compile() { + # copy over to make sys.prefix happy + cp -p "${BROOT}"/usr/lib/pypy3.6/pypy3-c-${PV} pypy3-c || die + cp -p "${BROOT}"/usr/lib/pypy3.6/include/${PV}/* include/ || die + # (not installed by pypy) + rm pypy/module/cpyext/include/_numpypy/numpy/README || die + mv pypy/module/cpyext/include/* include/ || die + mv pypy/module/cpyext/parse/*.h include/ || die + pax-mark m pypy3-c + + einfo "Generating caches and CFFI modules ..." + + # Generate Grammar and PatternGrammar pickles. + ./pypy3-c -c "import lib2to3.pygram, lib2to3.patcomp; lib2to3.patcomp.PatternCompiler()" \ + || die "Generation of Grammar and PatternGrammar pickles failed" + + # Generate cffi modules + # Please keep in sync with pypy/tool/build_cffi_imports.py! +#cffi_build_scripts = { +# "_blake2": "_blake2/_blake2_build.py", +# "_ssl": "_ssl_build.py", +# "sqlite3": "_sqlite3_build.py", +# "audioop": "_audioop_build.py", +# "tk": "_tkinter/tklib_build.py", +# "curses": "_curses_build.py" if sys.platform != "win32" else None, +# "syslog": "_syslog_build.py" if sys.platform != "win32" else None, +# "gdbm": "_gdbm_build.py" if sys.platform != "win32" else None, +# "pwdgrp": "_pwdgrp_build.py" if sys.platform != "win32" else None, +# "resource": "_resource_build.py" if sys.platform != "win32" else None, +# "lzma": "_lzma_build.py", +# "_decimal": "_decimal_build.py", +# "_sha3": "_sha3/_sha3_build.py", + cffi_targets=( blake2/_blake2 sha3/_sha3 ssl + audioop syslog pwdgrp resource lzma decimal ) + use gdbm && cffi_targets+=( gdbm ) + use ncurses && cffi_targets+=( curses ) + use sqlite && cffi_targets+=( sqlite3 ) + use tk && cffi_targets+=( tkinter/tklib ) + + local t + # all modules except tkinter output to . + # tkinter outputs to the correct dir ... + cd lib_pypy || die + for t in "${cffi_targets[@]}"; do + # tkinter doesn't work via -m + ../pypy3-c "_${t}_build.py" || die "Failed to build CFFI bindings for ${t}" + done + + # Cleanup temporary objects + find -name "_cffi_*.[co]" -delete || die + find -type d -empty -delete || die +} + +src_test() { + # (unset) + local -x PYTHONDONTWRITEBYTECODE= + local -x COLUMNS=80 + + # Test runner requires Python 2 too. However, it spawns PyPy3 + # internally so that we end up testing the correct interpreter. + "${EPYTHON}" ./pypy/test_all.py --pypy=./pypy3-c -vv lib-python || die +} + +src_install() { + local dest=/usr/lib/pypy3.6 + einfo "Installing PyPy ..." + dosym pypy3-c-${PV} "${dest}/pypy3-c" + insinto "${dest}" + # preserve mtimes to avoid obsoleting caches + insopts -p + doins -r include lib_pypy lib-python + + # replace copied headers with symlinks + for x in "${BROOT}"/usr/lib/pypy3.6/include/${PV}/*; do + dosym "${PV}/${x##*/}" "${dest}/include/${x##*/}" + done + + dosym ../lib/pypy3.6/pypy3-c /usr/bin/pypy3 + dodoc README.rst + + if ! use gdbm; then + rm -r "${ED}${dest}"/lib_pypy/_gdbm* || die + fi + if ! use sqlite; then + rm -r "${ED}${dest}"/lib-python/*3/sqlite3 \ + "${ED}${dest}"/lib_pypy/_sqlite3* \ + "${ED}${dest}"/lib-python/*3/test/test_sqlite.py || die + fi + if ! use tk; then + rm -r "${ED}${dest}"/lib-python/*3/{idlelib,tkinter} \ + "${ED}${dest}"/lib_pypy/_tkinter \ + "${ED}${dest}"/lib-python/*3/test/test_{tcl,tk,ttk*}.py || die + fi + + local -x EPYTHON=pypy3 + local -x PYTHON=${ED}${dest}/pypy3-c + + echo "EPYTHON='${EPYTHON}'" > epython.py || die + python_moduleinto /usr/lib/pypy3.6/site-packages + python_domodule epython.py + + einfo "Byte-compiling Python standard library..." + python_optimize "${ED}${dest}" +} diff --git a/dev-python/python3-openid/Manifest b/dev-python/python3-openid/Manifest new file mode 100644 index 000000000000..62c1b143f240 --- /dev/null +++ b/dev-python/python3-openid/Manifest @@ -0,0 +1 @@ +DIST python3-openid-3.2.0.tar.gz 305600 BLAKE2B d793eb61335d7240d5c25324b8377d19781df15012c8da6d5d0d7445c8a7fcb31711156b48d32efae8b6de27509e8f9112535ece7820779ca9b7f2e7be04fb0f SHA512 54412820fef21928e1bf30d16c9bc73d454e9ff41df028a12047c08abdb4c2c9e1d9053daebab8b0327cb0fe0f67e364c2506a47509fef6db5bff42f8399b799 diff --git a/dev-python/python3-openid/metadata.xml b/dev-python/python3-openid/metadata.xml new file mode 100644 index 000000000000..e8a91133b316 --- /dev/null +++ b/dev-python/python3-openid/metadata.xml @@ -0,0 +1,11 @@ + + + + + hanno@gentoo.org + + + python3-openid + + gentoo-staging + diff --git a/dev-python/python3-openid/python3-openid-3.2.0.ebuild b/dev-python/python3-openid/python3-openid-3.2.0.ebuild new file mode 100644 index 000000000000..dbb072652b9a --- /dev/null +++ b/dev-python/python3-openid/python3-openid-3.2.0.ebuild @@ -0,0 +1,22 @@ +# 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} ) + +inherit distutils-r1 + +DESCRIPTION="OpenID support for modern servers and consumers" +HOMEPAGE="https://github.com/necaris/python3-openid" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="dev-python/defusedxml[${PYTHON_USEDEP}]" + +DOCS=( NEWS.md README.md ) diff --git a/dev-python/pyzmq/Manifest b/dev-python/pyzmq/Manifest index fc8bb6519626..3bb9af9b1a1b 100644 --- a/dev-python/pyzmq/Manifest +++ b/dev-python/pyzmq/Manifest @@ -1 +1,2 @@ DIST pyzmq-19.0.1_p20200608.tar.gz 390927 BLAKE2B d70a2f615782cc5a53ed2ffab4d5549bc5d15cc1e0e63f640a357fe8575ca327a5976a3e8b11d97c236a31ca17025f37fe423d166b684b5c4aafc139a0941492 SHA512 7f077ed3858c226eb1e3f5e51dfb5d4b517ec94357b37cc66d17cfe2543786b86627ce7eb4c12785a2709a499af998d02642d972c119a637df3cec5201e909d1 +DIST pyzmq-19.0.2.tar.gz 390927 BLAKE2B d70a2f615782cc5a53ed2ffab4d5549bc5d15cc1e0e63f640a357fe8575ca327a5976a3e8b11d97c236a31ca17025f37fe423d166b684b5c4aafc139a0941492 SHA512 7f077ed3858c226eb1e3f5e51dfb5d4b517ec94357b37cc66d17cfe2543786b86627ce7eb4c12785a2709a499af998d02642d972c119a637df3cec5201e909d1 diff --git a/dev-python/pyzmq/pyzmq-19.0.2.ebuild b/dev-python/pyzmq/pyzmq-19.0.2.ebuild new file mode 100644 index 000000000000..a2e95db573ec --- /dev/null +++ b/dev-python/pyzmq/pyzmq-19.0.2.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7,8,9} ) +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 ~x86-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}" +} -- cgit v1.3