From e55a128ae6ced7797822e24966e8f18f8218190c Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Thu, 10 Feb 2022 15:54:57 +0000 Subject: Adding metadata --- dev-python/Faker/Faker-12.2.0.ebuild | 30 +++ dev-python/Faker/Manifest | 1 + dev-python/boto3/Manifest | 2 + dev-python/boto3/boto3-1.20.51.ebuild | 60 +++++ dev-python/boto3/boto3-1.20.52.ebuild | 60 +++++ dev-python/botocore/Manifest | 2 + dev-python/botocore/botocore-1.23.51.ebuild | 65 +++++ dev-python/botocore/botocore-1.23.52.ebuild | 65 +++++ dev-python/clang-python/Manifest | 1 + .../clang-python/clang-python-14.0.0_rc1.ebuild | 41 +++ dev-python/deepmerge/deepmerge-1.0.0.ebuild | 2 +- dev-python/dissononce/dissononce-0.34.3-r1.ebuild | 35 --- dev-python/dissononce/dissononce-0.34.3-r2.ebuild | 35 +++ dev-python/django-timezone-field/Manifest | 1 + .../django-timezone-field-5.0.ebuild | 41 +++ dev-python/flexmock/Manifest | 1 + dev-python/flexmock/flexmock-0.11.3.ebuild | 33 +++ dev-python/flit_core/flit_core-3.6.0-r2.ebuild | 2 +- dev-python/genshi/Manifest | 1 + dev-python/genshi/genshi-0.7.6.ebuild | 36 +++ dev-python/genshi/metadata.xml | 1 - dev-python/google-api-python-client/Manifest | 1 + .../google-api-python-client-2.37.0.ebuild | 45 ++++ dev-python/identify/Manifest | 1 + dev-python/identify/identify-2.4.9.ebuild | 24 ++ .../installer/installer-0.4.0_p20220124.ebuild | 2 +- dev-python/isort/isort-5.10.1-r1.ebuild | 65 +++++ dev-python/jupyter-server-proxy/metadata.xml | 1 + dev-python/lit/Manifest | 1 + dev-python/lit/lit-14.0.0_rc1.ebuild | 41 +++ .../markdown-it-py/markdown-it-py-2.0.1.ebuild | 2 +- dev-python/matplotlib/Manifest | 1 - dev-python/matplotlib/matplotlib-3.5.0.ebuild | 289 --------------------- dev-python/matplotlib/matplotlib-3.5.1.ebuild | 4 +- .../mdit-py-plugins/mdit-py-plugins-0.3.0.ebuild | 2 +- dev-python/mdurl/mdurl-0.1.0.ebuild | 2 +- dev-python/moto/Manifest | 1 + dev-python/moto/moto-3.0.3.ebuild | 84 ++++++ dev-python/mpdlcd/mpdlcd-0.5.2-r1.ebuild | 33 +++ dev-python/mpdlcd/mpdlcd-0.5.2.ebuild | 33 --- .../myst_parser-0.16.1_p20220119.ebuild | 2 +- dev-python/nbconvert/Manifest | 1 + dev-python/nbconvert/nbconvert-6.4.2.ebuild | 74 ++++++ dev-python/nltk/Manifest | 1 + dev-python/nltk/nltk-3.7.ebuild | 62 +++++ dev-python/numpy/numpy-1.22.2.ebuild | 2 +- dev-python/pdm-pep517/Manifest | 1 + dev-python/pdm-pep517/pdm-pep517-0.11.0.ebuild | 56 ++++ dev-python/phonenumbers/Manifest | 1 + .../phonenumbers/phonenumbers-8.12.43.ebuild | 21 ++ dev-python/picobox/picobox-2.2.0.ebuild | 2 +- dev-python/platformdirs/Manifest | 1 + dev-python/platformdirs/platformdirs-2.5.0.ebuild | 32 +++ .../pydata-sphinx-theme-0.7.2.ebuild | 2 +- dev-python/pyghmi/Manifest | 1 + dev-python/pyghmi/pyghmi-1.5.34.ebuild | 33 +++ dev-python/pygraphviz/Manifest | 1 + dev-python/pygraphviz/pygraphviz-1.9.ebuild | 43 +++ dev-python/pyspectrum2/pyspectrum2-0.2.0-r1.ebuild | 26 ++ dev-python/pyspectrum2/pyspectrum2-0.2.0.ebuild | 26 -- .../pytest-console-scripts-1.2.2.ebuild | 2 +- .../pytest-param-files-0.3.4.ebuild | 2 +- .../pytest-tornasync-0.6.0_p2.ebuild | 2 +- .../python-axolotl-curve25519-0.4.1_p2-r1.ebuild | 20 -- .../python-axolotl-curve25519-0.4.1_p2-r2.ebuild | 20 ++ .../python-axolotl/python-axolotl-0.2.3-r1.ebuild | 26 -- .../python-axolotl/python-axolotl-0.2.3-r2.ebuild | 26 ++ dev-python/python-libevdev/Manifest | 1 + .../python-libevdev/python-libevdev-0.10.ebuild | 24 ++ .../python-sense-hat-2.2.0-r2.ebuild | 25 -- .../python-sense-hat-2.2.0-r3.ebuild | 25 ++ .../python-systemd/python-systemd-234-r1.ebuild | 2 +- dev-python/pyudev/pyudev-0.22.0-r1.ebuild | 2 +- dev-python/reportlab/reportlab-3.6.5.ebuild | 2 +- .../requests/files/requests-2.26.0-test.patch | 30 --- .../files/requests-2.26.0-trustme-dep.patch | 35 --- dev-python/rich/Manifest | 1 + dev-python/rich/files/rich-11.1.0-pypy3.patch | 37 --- dev-python/rich/rich-11.2.0.ebuild | 45 ++++ dev-python/setuptools_scm/Manifest | 2 - .../setuptools_scm/setuptools_scm-6.0.1-r1.ebuild | 38 --- .../setuptools_scm/setuptools_scm-6.4.0.ebuild | 43 --- .../sphinx-issues/sphinx-issues-3.0.1.ebuild | 2 +- .../sphinxcontrib-httpdomain-1.8.0.ebuild | 2 +- .../sphinxcontrib-openapi-0.7.0.ebuild | 2 +- dev-python/sphinxemoji/sphinxemoji-0.2.0.ebuild | 2 +- dev-python/statsmodels/statsmodels-0.13.2.ebuild | 1 + dev-python/tifffile/Manifest | 1 + dev-python/tifffile/tifffile-2022.2.9.ebuild | 52 ++++ dev-python/treq/Manifest | 1 + dev-python/treq/treq-22.2.0.ebuild | 43 +++ dev-python/twisted/twisted-22.1.0.ebuild | 2 +- dev-python/websockets/metadata.xml | 1 + 93 files changed, 1390 insertions(+), 664 deletions(-) create mode 100644 dev-python/Faker/Faker-12.2.0.ebuild create mode 100644 dev-python/boto3/boto3-1.20.51.ebuild create mode 100644 dev-python/boto3/boto3-1.20.52.ebuild create mode 100644 dev-python/botocore/botocore-1.23.51.ebuild create mode 100644 dev-python/botocore/botocore-1.23.52.ebuild create mode 100644 dev-python/clang-python/clang-python-14.0.0_rc1.ebuild delete mode 100644 dev-python/dissononce/dissononce-0.34.3-r1.ebuild create mode 100644 dev-python/dissononce/dissononce-0.34.3-r2.ebuild create mode 100644 dev-python/django-timezone-field/django-timezone-field-5.0.ebuild create mode 100644 dev-python/flexmock/flexmock-0.11.3.ebuild create mode 100644 dev-python/genshi/genshi-0.7.6.ebuild create mode 100644 dev-python/google-api-python-client/google-api-python-client-2.37.0.ebuild create mode 100644 dev-python/identify/identify-2.4.9.ebuild create mode 100644 dev-python/isort/isort-5.10.1-r1.ebuild create mode 100644 dev-python/lit/lit-14.0.0_rc1.ebuild delete mode 100644 dev-python/matplotlib/matplotlib-3.5.0.ebuild create mode 100644 dev-python/moto/moto-3.0.3.ebuild create mode 100644 dev-python/mpdlcd/mpdlcd-0.5.2-r1.ebuild delete mode 100644 dev-python/mpdlcd/mpdlcd-0.5.2.ebuild create mode 100644 dev-python/nbconvert/nbconvert-6.4.2.ebuild create mode 100644 dev-python/nltk/nltk-3.7.ebuild create mode 100644 dev-python/pdm-pep517/pdm-pep517-0.11.0.ebuild create mode 100644 dev-python/phonenumbers/phonenumbers-8.12.43.ebuild create mode 100644 dev-python/platformdirs/platformdirs-2.5.0.ebuild create mode 100644 dev-python/pyghmi/pyghmi-1.5.34.ebuild create mode 100644 dev-python/pygraphviz/pygraphviz-1.9.ebuild create mode 100644 dev-python/pyspectrum2/pyspectrum2-0.2.0-r1.ebuild delete mode 100644 dev-python/pyspectrum2/pyspectrum2-0.2.0.ebuild delete mode 100644 dev-python/python-axolotl-curve25519/python-axolotl-curve25519-0.4.1_p2-r1.ebuild create mode 100644 dev-python/python-axolotl-curve25519/python-axolotl-curve25519-0.4.1_p2-r2.ebuild delete mode 100644 dev-python/python-axolotl/python-axolotl-0.2.3-r1.ebuild create mode 100644 dev-python/python-axolotl/python-axolotl-0.2.3-r2.ebuild create mode 100644 dev-python/python-libevdev/python-libevdev-0.10.ebuild delete mode 100644 dev-python/python-sense-hat/python-sense-hat-2.2.0-r2.ebuild create mode 100644 dev-python/python-sense-hat/python-sense-hat-2.2.0-r3.ebuild delete mode 100644 dev-python/requests/files/requests-2.26.0-test.patch delete mode 100644 dev-python/requests/files/requests-2.26.0-trustme-dep.patch create mode 100644 dev-python/rich/rich-11.2.0.ebuild delete mode 100644 dev-python/setuptools_scm/setuptools_scm-6.0.1-r1.ebuild delete mode 100644 dev-python/setuptools_scm/setuptools_scm-6.4.0.ebuild create mode 100644 dev-python/tifffile/tifffile-2022.2.9.ebuild create mode 100644 dev-python/treq/treq-22.2.0.ebuild (limited to 'dev-python') diff --git a/dev-python/Faker/Faker-12.2.0.ebuild b/dev-python/Faker/Faker-12.2.0.ebuild new file mode 100644 index 000000000000..578ad9836d72 --- /dev/null +++ b/dev-python/Faker/Faker-12.2.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="A Python package that generates fake data for you" +HOMEPAGE="https://github.com/joke2k/faker" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}] + !dev-ruby/faker" +BDEPEND=" + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP},tiff] + dev-python/random2[${PYTHON_USEDEP}] + dev-python/validators[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest diff --git a/dev-python/Faker/Manifest b/dev-python/Faker/Manifest index b04b1b66c27c..36bd589062f4 100644 --- a/dev-python/Faker/Manifest +++ b/dev-python/Faker/Manifest @@ -6,3 +6,4 @@ DIST Faker-11.4.0.tar.gz 1347314 BLAKE2B 0399302df718a9283ecb59ab044f438891f2874 DIST Faker-12.0.0.tar.gz 1428698 BLAKE2B 3dbf231c0969d3f5d0826d69362f57a3bbb8e006c42453d7a6178663b3947b74f773aad8d22237f12c6e152d30a91a883b603d65f562b69a298f34501f6b65f6 SHA512 1998eafec97d16624c4d19f5abe3f083ca75d4a72f49e6fe2df657aae1ce41ddf7ec198ab601bd6a377f86ef8b4e027e031d6830149972b7775e4b656eb2c3b7 DIST Faker-12.0.1.tar.gz 1428846 BLAKE2B 25206e612983735504129118e13b4f8e50d604c4abc78146897f42bed1929f5c10b4dda86d40a90dda9162ac1cbd55bd9a30137208c579329040a7c6df7fb3ee SHA512 8dc26162d6f841e2e33385064eef3104ef58e018c59664b86f17efa83578b1ff871799ac7e5b335dab0249627569fcf6bf1b8462c9bbda2db025448a721f336e DIST Faker-12.1.0.tar.gz 1429360 BLAKE2B 7833be81a8bc465b4c147e1b4ab78b1385127f01bbaf718006fd03dd2a35492f249d0c33a0b9d5cf6a5313951b05f1035528f795f950914106446f57d1e5cd7b SHA512 56dfa966cb20adac1e9e45da2a9f38747fae918b675f2d410150403b273a921588c44a287be513e5b94889a02726c1def03c0d974ed4dd9d1193ca5a61673724 +DIST Faker-12.2.0.tar.gz 1430037 BLAKE2B 9bb075396c6320456ec5331b1e01edea3609074586287a82373ff5dbd8bd85112c8c5517c04539f1524c06062645f07d2dddfff760ad5620d9249557a7b2d3bc SHA512 67d16a6f27b996f62273686986aca270ffc7d8fab121bcec3a30eb52e54477505fcb1aef532920cf0412703557f65a212e24332b9d4afc3f5da84e2f1bac8ed0 diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 60678dd3b5c5..90454a7e18b0 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -5,3 +5,5 @@ DIST boto3-1.20.47.tar.gz 465774 BLAKE2B ab615d29d79b209671808770968c38c2ef26b83 DIST boto3-1.20.48.tar.gz 466063 BLAKE2B 7ba92d1cfbd576d4262e0f99a9e9aa118747fbbe60caa703c14f24559d4c2312b3e7695c40b6555bd58f7beb248e7ecfcedd64bc84badb44cb96812c9537cabe SHA512 e80f2e54909a3a54e5eba9c9a75c0ccbb2ba3f8907dfec9563f50bef1be56b82b593ae0bc0ee0bfab1a7c993d4bbf0c624486822ef3cd93ef425f39205b628f0 DIST boto3-1.20.49.tar.gz 466426 BLAKE2B 82f2ed7f14576afd5a4d2dab91b99986904fef97b98460dce152e0806cb20e39b14975e4c3362c9d208c4dce9de3e7a4fa9fa60559aa0007ff735ce9e43995e4 SHA512 6ea92236726b9200a8b06f773483b0d6803585480cfad1f68eab227598ca86c3aa93cbeccec5338febc52eb48691f003c5983d52be56dd91e97735ddbfac7053 DIST boto3-1.20.50.tar.gz 466795 BLAKE2B 662284de4654781391605fba93f401ec24300abab696c02146739598e9206598e92539ff9468f99b108d3ac00f72555945986e04e2b6625baace11b8f9b746ef SHA512 103a75edc907ea9a7ed5d08bb8a2f31b1360495a130d0492461956c0ec5c1e1b839187d9d9feaebf7eb06e2d367f9fcdc1c522c234be3314fceca7884651d54e +DIST boto3-1.20.51.tar.gz 467620 BLAKE2B 18cb273cd7af7184baa40b5ac98be270324e221f8fd408b3f4ecf1d1cfff387af84d72207281f6ac906c1f55048d603001d865acc509451b555fa57a3b1f848e SHA512 c4a3ab6460e58e3bad305dbd12b4719b07ee0c92bed30e1fff017d6df93883f50fca388389c1cf8b474c42c049f189106c3e71f087e7fe9c921b81c796acc70b +DIST boto3-1.20.52.tar.gz 467673 BLAKE2B ac411d7eb1359bc86cebbf5c2df132071c94e3ad2cf6706b33bc472fc92120b26c66aed118a0a476890796919669356708a694d11cc3c1b51ecf07efe5e3f54a SHA512 379529de15f5ba1a06c08309ef3d68047d1034f7b38e3722a77253ab4af2b27d707f46e4bdae16c507b54f1790fb38243f1106ef616137bfee108903724208f1 diff --git a/dev-python/boto3/boto3-1.20.51.ebuild b/dev-python/boto3/boto3-1.20.51.ebuild new file mode 100644 index 000000000000..ed44d35fedd6 --- /dev/null +++ b/dev-python/boto3/boto3-1.20.51.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE="https://github.com/boto/boto3" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/boto3" + inherit git-r3 + BOTOCORE_PV=${PV} +else + SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + + # botocore is x.(y+3).z + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" +fi + +RDEPEND=" + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + epytest tests/{functional,unit} +} diff --git a/dev-python/boto3/boto3-1.20.52.ebuild b/dev-python/boto3/boto3-1.20.52.ebuild new file mode 100644 index 000000000000..ed44d35fedd6 --- /dev/null +++ b/dev-python/boto3/boto3-1.20.52.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE="https://github.com/boto/boto3" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/boto3" + inherit git-r3 + BOTOCORE_PV=${PV} +else + SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + + # botocore is x.(y+3).z + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" +fi + +RDEPEND=" + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index dd2a0116f4f8..2a14f5c96b63 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -5,3 +5,5 @@ DIST botocore-1.23.47.tar.gz 8757185 BLAKE2B 7d80ec4a869ed9c86b47a1fe8a7e9913381 DIST botocore-1.23.48.tar.gz 8757876 BLAKE2B e70a1aa1fdbeab5246640d9e5fc26ac6853491e32cdd0a29ef98d4dda441f4b61ae16011298cf2da0434d5668260010cd2a70c2cc760fc2c282b236b278158f3 SHA512 ad2d8e632ff7da1a1b677876b9d4345a9ba60a407f77deb8fe9df7108495853ff9a915b8e5956f6cf226501d6fe34d8328fdb7446c4a8db5b3f219ca2fbe1cb6 DIST botocore-1.23.49.tar.gz 8758361 BLAKE2B 5e53366fdd705e81af6752665f3078e26d55460bc2e3644fa030f6b3a4485bd504c445ac15d6b6abcdb164d6c93f33fe8a596d5eb8e7f85c10363cd93a3d3e58 SHA512 2450752613a815a67f007a23371e0349a2ebaa991f3b48062bab5ed5736fa11255e206a20cc71a2477b65673f689c5447229a9e0c14358ffcd322e1f55971a86 DIST botocore-1.23.50.tar.gz 8758107 BLAKE2B ac43af21c46168bc0c14f3afe6afb06e1e33e09af9c0f62bc6331f6bb2240563e137dcf23381ec0e4ed97f79e3475a70ae73ded969b0c9f954f01361504134ee SHA512 64230e9d6d4b4916fcbe8d2fdbba2ee0575a85de56160518e8ad48f2f1566f7cec0667cd9bd53f2afa514f5f6e341cc681b2830a43ac82e3356c1e82a49e2c7a +DIST botocore-1.23.51.tar.gz 8763657 BLAKE2B f8abe69785f50c244073a791c124a51c8f92e67b0245465e878f13449b999585849e88f706392709caea26d69fb3850b9749cc9a57ea5c1df62f08008b8d56fc SHA512 e54cf59656bd5144b1f85d4ea57eaefd5ea4ac570b877771e06df62f442e61b2f239c1a4dd083c26cb75905d139cf681dcba67e3d89d2af0b99e416e65141917 +DIST botocore-1.23.52.tar.gz 8765120 BLAKE2B e45fc2269a527d4e056f97cb81bf13982bbcde887179ec00259cfd5f78b6bd50b10c4d9e2bc09739e2f58d1d1d602902d9e2355b42f83b7736fdf6b3bc269fab SHA512 ff18c7b8779c622cab26ccb74014c7779a3d117cdc0236df0f0048b9e2b2047d703ea3286554dfef25514b73bddcfbd6875ff6f4147c760e39293190fc2c51c0 diff --git a/dev-python/botocore/botocore-1.23.51.ebuild b/dev-python/botocore/botocore-1.23.51.ebuild new file mode 100644 index 000000000000..c44cf37adbf0 --- /dev/null +++ b/dev-python/botocore/botocore-1.23.51.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE="https://github.com/boto/botocore" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/botocore" + inherit git-r3 +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + dev-python/jmespath[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch" +) + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/botocore-1.23.52.ebuild b/dev-python/botocore/botocore-1.23.52.ebuild new file mode 100644 index 000000000000..c44cf37adbf0 --- /dev/null +++ b/dev-python/botocore/botocore-1.23.52.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE="https://github.com/boto/botocore" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/botocore" + inherit git-r3 +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + dev-python/jmespath[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch" +) + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + epytest tests/{functional,unit} +} diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest index 20315e2d7eee..796ca2103854 100644 --- a/dev-python/clang-python/Manifest +++ b/dev-python/clang-python/Manifest @@ -2,3 +2,4 @@ DIST llvmorg-11.1.0.tar.gz 122776532 BLAKE2B ca842ff4afff8f44c82b5e7383962a9c45c DIST llvmorg-12.0.1.tar.gz 134259748 BLAKE2B f41de787bc73ff2edfda1b22cc8602be6f65f37dd9e4c8888533cfa8c3ccdcf4f108aaab9de23ab0ab987966eb160f2a553a0bdff99461e71ddd5bfcd086090d SHA512 6eb0dc18e2c25935fabfdfc48b0114be0939158dfdef7b85b395fe2e71042672446af0e68750aae003c9847d10d1f63316fe95d3df738d18f249174292b1b9e1 DIST llvmorg-13.0.0.tar.gz 147270176 BLAKE2B 628f316b580e1edf3a58d4825b724df759e6ed2a4116802470c04562caefc392fa325c91f388036365a2e45a9595cca6d3557fab12984fc8bcfef29c9116d822 SHA512 8004c05d32b9720fb3391783621690c1df9bd1e97e72cbff9192ed88a84b0acd303b61432145fa917b5b5e548c8cee29b24ef8547dcc8677adf4816e7a8a0eb2 DIST llvmorg-13.0.1.tar.gz 147290251 BLAKE2B 2a44b012a672501761d0c27c6b3a315b69bfef0cd13b078a7e7d2fccc4a9c8c0f2bee0f164c4271c9106b0a99cb06e8b64986f66253b613336719fb86b82541b SHA512 9a8cb5d11964ba88b7624f19ec861fb28701f23956ea3c92f6ac644332d5f41fde97bd8933dd3ee70ed378058c252fa3a3887c8d1af90d219970c2b27691166f +DIST llvmorg-14.0.0-rc1.tar.gz 158019694 BLAKE2B c0494bfa5cc92be73d2a2736ce04a1ce11003aba477393639a6fc1b4114bb604ddd1929f288f831997693d2d3d7feb9eb7aa4bc1a2eb60d4b01777314ab90973 SHA512 62aac6a033ef0e321aef5060dcc61eb721b115a9cc1b7570497f72183d9e70a66b5910e90df14428bf56d33a44d4582c919e19f4477c0cfb3209e249b53fe534 diff --git a/dev-python/clang-python/clang-python-14.0.0_rc1.ebuild b/dev-python/clang-python/clang-python-14.0.0_rc1.ebuild new file mode 100644 index 000000000000..c9856c7e47f9 --- /dev/null +++ b/dev-python/clang-python/clang-python-14.0.0_rc1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit llvm.org python-r1 + +DESCRIPTION="Python bindings for sys-devel/clang" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +KEYWORDS="" +IUSE="test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +# The module is opening libclang.so directly, and doing some blasphemy +# on top of it. +RDEPEND=" + >=sys-devel/clang-${PV}:* + !sys-devel/llvm:0[clang(-),python(-)] + !sys-devel/clang:0[python(-)] + ${PYTHON_DEPS}" +DEPEND="${RDEPEND}" + +LLVM_COMPONENTS=( clang/bindings/python ) +llvm.org_set_globals + +python_test() { + "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" +} + +src_test() { + python_foreach_impl python_test +} + +src_install() { + python_foreach_impl python_domodule clang +} diff --git a/dev-python/deepmerge/deepmerge-1.0.0.ebuild b/dev-python/deepmerge/deepmerge-1.0.0.ebuild index 9a39deb0ffdc..72505b0475df 100644 --- a/dev-python/deepmerge/deepmerge-1.0.0.ebuild +++ b/dev-python/deepmerge/deepmerge-1.0.0.ebuild @@ -15,7 +15,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]" diff --git a/dev-python/dissononce/dissononce-0.34.3-r1.ebuild b/dev-python/dissononce/dissononce-0.34.3-r1.ebuild deleted file mode 100644 index 3bab5957be30..000000000000 --- a/dev-python/dissononce/dissononce-0.34.3-r1.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS="bdepend" -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="A python implementation for Noise Protocol Framework" -HOMEPAGE="https://github.com/tgalal/dissononce" -SRC_URI="https://github.com/tgalal/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="examples test" - -RDEPEND=" - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/transitions[${PYTHON_USEDEP}] -" - -DEPEND="${RDEPEND}" - -PATCHES=( "${FILESDIR}/${P}-fix-test-requirements.patch" ) - -distutils_enable_tests pytest - -src_install() { - distutils-r1_src_install - - use examples && dodoc examples/patterns/*.py -} diff --git a/dev-python/dissononce/dissononce-0.34.3-r2.ebuild b/dev-python/dissononce/dissononce-0.34.3-r2.ebuild new file mode 100644 index 000000000000..96b3ffac23c5 --- /dev/null +++ b/dev-python/dissononce/dissononce-0.34.3-r2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_SETUPTOOLS="bdepend" +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="A python implementation for Noise Protocol Framework" +HOMEPAGE="https://github.com/tgalal/dissononce" +SRC_URI="https://github.com/tgalal/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="examples test" + +RDEPEND=" + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/transitions[${PYTHON_USEDEP}] +" + +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}/${P}-fix-test-requirements.patch" ) + +distutils_enable_tests pytest + +src_install() { + distutils-r1_src_install + + use examples && dodoc examples/patterns/*.py +} diff --git a/dev-python/django-timezone-field/Manifest b/dev-python/django-timezone-field/Manifest index 9f4d4cd4679b..46086f68710a 100644 --- a/dev-python/django-timezone-field/Manifest +++ b/dev-python/django-timezone-field/Manifest @@ -1,2 +1,3 @@ DIST django-timezone-field-4.2.1.gh.tar.gz 23457 BLAKE2B 72452a21e6e086363da2ef40389d12b79860f66706e54fb9050ffe48f7fa6ad2908c75d4c7e17a79df339eac76492599dd4533ddca69a5b8757b46a36ed4b0fc SHA512 4c2da420c3aaffa23d8cdb66dbbe4b2ea8638de5a45d9e381bf9af980e52eba77fc03a2b8fee8497662199cdc9436d56543c0f6316e74ae5da68187a305c34a2 DIST django-timezone-field-4.2.3.gh.tar.gz 23605 BLAKE2B d183fb57254a6a1c86ca57558b88d5429d1d4d368c2cbf2f7a7f4d5414432fd80c5ae1df30793da185d5347afe8535dd821e7e605fb0693f26619b319894a6a3 SHA512 1a72ee557b5b527d2aeae9033c765272ebdd017d9e05708734e9bcdf6355e2747e1ce920a542dbead2d8fc6043024ece24adb3b27ccd6d0f2c8e5b3eb907e012 +DIST django-timezone-field-5.0.gh.tar.gz 33265 BLAKE2B 1d6c12ff6854463070dd6a5019cc2bfaf9514e5f6568057c684c7b061d28cc99416bac2796474fd2d884cd382e2c0e0a77883c35d4f7a7d2bb77a79255379268 SHA512 6fba9333463f1d68c0d5c6c85ad32b0106fa66be38c4e07e802222f25a0d0e024a77f36b17cb2644e89b76ea50ed667a324a9583b7b5dc0be7518ffa593335f8 diff --git a/dev-python/django-timezone-field/django-timezone-field-5.0.ebuild b/dev-python/django-timezone-field/django-timezone-field-5.0.ebuild new file mode 100644 index 000000000000..13f5ea728c42 --- /dev/null +++ b/dev-python/django-timezone-field/django-timezone-field-5.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="A Django app providing database and form fields for pytz timezone objects" +HOMEPAGE="https://github.com/mfogel/django-timezone-field" +SRC_URI=" + https://github.com/mfogel/django-timezone-field/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/django-2.2[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/backports-zoneinfo[${PYTHON_USEDEP}] + ' 3.8) +" +BDEPEND=" + test? ( + dev-python/djangorestframework[${PYTHON_USEDEP}] + dev-python/pytest-django[${PYTHON_USEDEP}] + dev-python/pytest-lazy-fixture[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x DB_ENGINE=sqlite + epytest +} diff --git a/dev-python/flexmock/Manifest b/dev-python/flexmock/Manifest index 4f416d984ee8..e4b78deb7818 100644 --- a/dev-python/flexmock/Manifest +++ b/dev-python/flexmock/Manifest @@ -1,2 +1,3 @@ DIST flexmock-0.11.1.tar.gz 48331 BLAKE2B b4a670530050098706133d531f162516163e8bed5fe867277d8d729c3afbd21747d53f17e8cd0f2f087550137c864aa8ac912cb404103426e3fdb17e98d79645 SHA512 6b5ce669e29dc24313e94b0c0c24d75e25c99343c33d787987c6707532598fb0d28df751148a4f7183d4bbdb54822c07d88ded394358545fe8d822564e1408e6 DIST flexmock-0.11.2.tar.gz 51330 BLAKE2B 3ebeea60c19a9234a362117009610802f10c68c55885ae9dd72c16b19af19fdfbf18634bbc56a80efb0c985f0c339bab234304088dc482b0ccf937c1d7c2fd0f SHA512 208876131155dd0febc9e6aad7a6e98082fccf52573758ac9280f9f767d81ece7af425c901a4a094b3eb56bd711219a55dcfc0d7747f9060b3ad6630c37e6618 +DIST flexmock-0.11.3.tar.gz 52509 BLAKE2B 5246cedb3cae7aeb4ddee9158bc365be13bf81443711456a84abd3dfb30c8ea7cbca8fbce618efe26d33bc8185a9d7a52f1532934f7aad5fa11296ef21731963 SHA512 38387529d8b7e359cf6e578c9be8ae028cd28929567267bce1bb7f44032c00480520335315bb1c510229728e1101aa379b809fb89aeddafd19590e38e7ebdcf2 diff --git a/dev-python/flexmock/flexmock-0.11.3.ebuild b/dev-python/flexmock/flexmock-0.11.3.ebuild new file mode 100644 index 000000000000..26e36d1bb4ce --- /dev/null +++ b/dev-python/flexmock/flexmock-0.11.3.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Testing library to create mocks, stubs and fakes" +HOMEPAGE="https://flexmock.readthedocs.io/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + tests/test_teamcity.py + tests/test_testtools.py + tests/test_unittest.py + ) + epytest -p no:flaky +} + +python_install_all() { + distutils-r1_python_install_all + dodoc -r docs +} diff --git a/dev-python/flit_core/flit_core-3.6.0-r2.ebuild b/dev-python/flit_core/flit_core-3.6.0-r2.ebuild index 54f37b45ca74..8c2efe520068 100644 --- a/dev-python/flit_core/flit_core-3.6.0-r2.ebuild +++ b/dev-python/flit_core/flit_core-3.6.0-r2.ebuild @@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND=" dev-python/tomli[${PYTHON_USEDEP}] diff --git a/dev-python/genshi/Manifest b/dev-python/genshi/Manifest index 7d00b0e3f3a3..c44760ccf218 100644 --- a/dev-python/genshi/Manifest +++ b/dev-python/genshi/Manifest @@ -1 +1,2 @@ DIST Genshi-0.7.5.tar.gz 266071 BLAKE2B 007a094f8ce9aa17209a2c1c7241eb5eb50c3be3439fa2066ac7ceab88fa4dccbcaa11809042445e23ad1ce106b2e9efa825ac11de03038f07b421e9b93c03f6 SHA512 b5be34094e2eea8f5fc373097414dc77ddfe0ab0a82901b6fd87af558cf62420f690fb39bff2d13bde3f7fef5ef000697372996877b48187ed068227dab59119 +DIST Genshi-0.7.6.tar.gz 268913 BLAKE2B c54930023c4cd45e24f44baa62f3cc3fe887c5bfd5feb9f7c694cea9bd500cd8c0cea0ed7a60035fb58de9b933199f54ada2a14edff9f5a1b1f63203d10ac7c8 SHA512 a05e82b2b1b9321153a202e5926a26795ebc7c56ee13b8c6da197007a00711efcc7f8ebfb759446c4c2cb99e7e92a6f689576f9ef1f766aa42e0dab86fd5e335 diff --git a/dev-python/genshi/genshi-0.7.6.ebuild b/dev-python/genshi/genshi-0.7.6.ebuild new file mode 100644 index 000000000000..b53a665e261a --- /dev/null +++ b/dev-python/genshi/genshi-0.7.6.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Python toolkit for stream-based generation of output for the web" +HOMEPAGE="https://genshi.edgewall.org/ https://pypi.org/project/Genshi/" +SRC_URI="mirror://pypi/G/${PN^}/${P^}.tar.gz" +S="${WORKDIR}/${P^}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="doc examples test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( dev-python/six[${PYTHON_USEDEP}] )" + +distutils_enable_tests setup.py + +python_install_all() { + if use doc; then + dodoc doc/*.txt + fi + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + distutils-r1_python_install_all +} diff --git a/dev-python/genshi/metadata.xml b/dev-python/genshi/metadata.xml index 3089df62724b..008ddd1a4e4b 100644 --- a/dev-python/genshi/metadata.xml +++ b/dev-python/genshi/metadata.xml @@ -9,5 +9,4 @@ Genshi gentoo-staging - \ No newline at end of file diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index 6925c3156afb..b3749af5430a 100644 --- a/dev-python/google-api-python-client/Manifest +++ b/dev-python/google-api-python-client/Manifest @@ -1,3 +1,4 @@ DIST google-api-python-client-2.34.0.tar.gz 28469433 BLAKE2B aa2c8849b629fe489cf39cddd410a40a0af0bddfa5f370a4a41c1446aeadf69cd4592eeb1d76e6c63da9737906801aea9c8a4d706328b63a7bf5b34a43b83e00 SHA512 321dfdd3ba821beabc6c3a96575afd06c75a0c8e3db61b1ff5fa9db472e62de81b037c435a1051d6294c2a37e471bcaa068cd27ad7434a3416231d31931dd74e DIST google-api-python-client-2.35.0.tar.gz 28553015 BLAKE2B 8ff92145f280e090b8f43c10e425dd4a8fe65b4cf565c5b5a0df2813cdb8ba1bcea50e37556efb9dd0b270a21fe11b7d6d1b445c8fdaa83326c7dc6230ee1fdb SHA512 4d0325b79250a26ae252568759e8345d31d692aa1d8f1d7aae623bb9a1a950efae654cd689d39f30450789c6d4fa9ca264111f8a9e798820cf6d0c3acba904f6 DIST google-api-python-client-2.36.0.tar.gz 28624616 BLAKE2B 738d89e740ded848683a4bc5c1d4b27f57acb817c54397ed563de376fa395d1202c47fd4b42046f313b31c826fb3d0fc2e3761c0779bf9c9718b3b2923fc63a3 SHA512 bdca303fa84f5cb510102265ebb7629b48b939c8d7a01420e61635ef4c461f62b6dfa6f29e96060a80d86baf0ea6587d88b0ec64a7b4c6b32563921c3a1a53ca +DIST google-api-python-client-2.37.0.tar.gz 28868090 BLAKE2B 971fa3a873c902a34c100066a026ab6698d142a4875282d8be890b403a2edf1f00ea5a3dc4bcf90a30ad9dfb8aa5e1d5eb1b60e64a6718a6e054d49b7ff94afc SHA512 72543f78779403a5d16cfae8f84718d7a6dc08e9fcaa4e97d7a1f6e5ba6594b3a87762e229b94ccfc3a3ca196bbe0cd17c5fde949d101d5975b61cdc57a32622 diff --git a/dev-python/google-api-python-client/google-api-python-client-2.37.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.37.0.ebuild new file mode 100644 index 000000000000..838a3e9d9626 --- /dev/null +++ b/dev-python/google-api-python-client/google-api-python-client-2.37.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Google API Client for Python" +HOMEPAGE="https://github.com/googleapis/google-api-python-client" +SRC_URI="https://github.com/googleapis/google-api-python-client/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] + =dev-python/google-auth-1.35.0[${PYTHON_USEDEP}] + >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}] + >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}] + =:' example*/pyproject.toml || die + + distutils-r1_src_prepare +} + +python_test() { + cp -a "${BUILD_DIR}"/{install,test} || die + local -x PATH=${BUILD_DIR}/test/usr/bin:${PATH} + + # Install necessary plugins + local p + for p in example*/; do + pushd "${p}" >/dev/null || die + distutils_pep517_install "${BUILD_DIR}"/test + popd >/dev/null || die + done + + local EPYTEST_IGNORE=( + # Excluded from upstream's test script + tests/unit/test_deprecated_finders.py + ) + epytest tests/unit +} diff --git a/dev-python/jupyter-server-proxy/metadata.xml b/dev-python/jupyter-server-proxy/metadata.xml index 287ac643f4e9..670a4c8d6be6 100644 --- a/dev-python/jupyter-server-proxy/metadata.xml +++ b/dev-python/jupyter-server-proxy/metadata.xml @@ -7,6 +7,7 @@ jupyter-server-proxy + cpe:/a:jupyter:jupyter_server_proxy gentoo-staging diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest index 20315e2d7eee..796ca2103854 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -2,3 +2,4 @@ DIST llvmorg-11.1.0.tar.gz 122776532 BLAKE2B ca842ff4afff8f44c82b5e7383962a9c45c DIST llvmorg-12.0.1.tar.gz 134259748 BLAKE2B f41de787bc73ff2edfda1b22cc8602be6f65f37dd9e4c8888533cfa8c3ccdcf4f108aaab9de23ab0ab987966eb160f2a553a0bdff99461e71ddd5bfcd086090d SHA512 6eb0dc18e2c25935fabfdfc48b0114be0939158dfdef7b85b395fe2e71042672446af0e68750aae003c9847d10d1f63316fe95d3df738d18f249174292b1b9e1 DIST llvmorg-13.0.0.tar.gz 147270176 BLAKE2B 628f316b580e1edf3a58d4825b724df759e6ed2a4116802470c04562caefc392fa325c91f388036365a2e45a9595cca6d3557fab12984fc8bcfef29c9116d822 SHA512 8004c05d32b9720fb3391783621690c1df9bd1e97e72cbff9192ed88a84b0acd303b61432145fa917b5b5e548c8cee29b24ef8547dcc8677adf4816e7a8a0eb2 DIST llvmorg-13.0.1.tar.gz 147290251 BLAKE2B 2a44b012a672501761d0c27c6b3a315b69bfef0cd13b078a7e7d2fccc4a9c8c0f2bee0f164c4271c9106b0a99cb06e8b64986f66253b613336719fb86b82541b SHA512 9a8cb5d11964ba88b7624f19ec861fb28701f23956ea3c92f6ac644332d5f41fde97bd8933dd3ee70ed378058c252fa3a3887c8d1af90d219970c2b27691166f +DIST llvmorg-14.0.0-rc1.tar.gz 158019694 BLAKE2B c0494bfa5cc92be73d2a2736ce04a1ce11003aba477393639a6fc1b4114bb604ddd1929f288f831997693d2d3d7feb9eb7aa4bc1a2eb60d4b01777314ab90973 SHA512 62aac6a033ef0e321aef5060dcc61eb721b115a9cc1b7570497f72183d9e70a66b5910e90df14428bf56d33a44d4582c919e19f4477c0cfb3209e249b53fe534 diff --git a/dev-python/lit/lit-14.0.0_rc1.ebuild b/dev-python/lit/lit-14.0.0_rc1.ebuild new file mode 100644 index 000000000000..82f7494d65ef --- /dev/null +++ b/dev-python/lit/lit-14.0.0_rc1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 llvm.org + +DESCRIPTION="A stand-alone install of the LLVM suite testing tool" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +KEYWORDS="" +IUSE="test" +RESTRICT="!test? ( test )" + +# Tests require 'FileCheck' and 'not' utilities (from llvm) +BDEPEND=" + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + sys-devel/llvm + )" + +LLVM_COMPONENTS=( llvm/utils/lit ) +llvm.org_set_globals + +# TODO: move the manpage generation here (from sys-devel/llvm) + +src_prepare() { + cd "${WORKDIR}" || die + distutils-r1_src_prepare +} + +python_test() { + local -x LIT_PRESERVES_TMP=1 + local litflags=$(get_lit_flags) + ./lit.py ${litflags//;/ } tests || die +} diff --git a/dev-python/markdown-it-py/markdown-it-py-2.0.1.ebuild b/dev-python/markdown-it-py/markdown-it-py-2.0.1.ebuild index 01d6896060ec..e9cd32433d86 100644 --- a/dev-python/markdown-it-py/markdown-it-py-2.0.1.ebuild +++ b/dev-python/markdown-it-py/markdown-it-py-2.0.1.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" lib/${PN}/externals/six.py <<-EOF -# from __future__ import absolute_import -# from six import * -# EOF - - local PATCHES=( - "${FILESDIR}"/matplotlib-3.3.3-disable-lto.patch - "${FILESDIR}"/matplotlib-3.5.0-test.patch - ) - - # requires jupyter-nbconvert - rm lib/matplotlib/tests/test_backend_nbagg.py || die - - sed \ - -e 's/matplotlib.pyparsing_py[23]/pyparsing/g' \ - -i lib/matplotlib/{mathtext,fontconfig_pattern}.py \ - || die "sed pyparsing failed" - - sed -e 's:\(@pytest.mark.flaky\)(reruns=3):\1:' \ - -i lib/matplotlib/tests/test_*.py || die - - hprefixify setupext.py - - rm -rf libqhull || die - - export XDG_RUNTIME_DIR="${T}/runtime-dir" - mkdir "${XDG_RUNTIME_DIR}" || die - chmod 0700 "${XDG_RUNTIME_DIR}" || die - - distutils-r1_python_prepare_all -} - -python_configure_all() { - append-flags -fno-strict-aliasing - append-cppflags -DNDEBUG # or get old trying to do triangulation - tc-export PKG_CONFIG -} - -python_configure() { - mkdir -p "${BUILD_DIR}" || die - - # create setup.cfg (see setup.cfg.template for any changes). - - # common switches. - cat > "${BUILD_DIR}"/setup.cfg <<- EOF || die - [directories] - basedirlist = ${EPREFIX}/usr - [provide_packages] - pytz = False - dateutil = False - [libs] - system_freetype = True - system_qhull = True - [packages] - tests = $(usex test True False) - [gui_support] - agg = True - gtk = False - gtkagg = False - macosx = False - pyside = False - pysideagg = False - qt4 = False - qt4agg = False - $(use_setup cairo) - $(use_setup gtk3) - $(use_setup qt5) - $(use_setup tk) - $(use_setup wxwidgets wx) - EOF - - if use gtk3 && use cairo; then - echo "gtk3cairo = True" >> "${BUILD_DIR}"/setup.cfg || die - else - echo "gtk3cairo = False" >> "${BUILD_DIR}"/setup.cfg || die - fi -} - -wrap_setup() { - local MAKEOPTS=-j1 - local -x MPLSETUPCFG="${BUILD_DIR}"/setup.cfg - "$@" -} - -python_compile() { - wrap_setup distutils-r1_python_compile --build-lib="${BUILD_DIR}"/lib -} - -python_compile_all() { - if use doc; then - cd doc || die - - # necessary for in-source build - local -x PYTHONPATH="${BUILD_DIR}"/build/lib:${PYTHONPATH} - - VARTEXFONTS="${T}"/fonts \ - emake SPHINXOPTS= O=-Dplot_formats=png:100 html - fi -} - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - # we need to rebuild mpl against bundled freetype, otherwise - # over 1000 tests will fail because of mismatched font rendering - grep -v system_freetype "${BUILD_DIR}"/setup.cfg \ - > "${BUILD_DIR}"/test-setup.cfg || die - local -x MPLSETUPCFG="${BUILD_DIR}"/test-setup.cfg - ln -s "${WORKDIR}/freetype-${FT_PV}" "${BUILD_DIR}" || die - distutils-r1_python_compile -j1 --build-lib="${BUILD_DIR}"/test-lib - local -x PYTHONPATH=${BUILD_DIR}/test-lib:${PYTHONPATH} - - "${EPYTHON}" -c "import sys, matplotlib as m; sys.exit(m.test(argv=['-m', 'not network'], verbosity=2))" || die -} - -python_install() { - wrap_setup distutils-r1_python_install - - # mpl_toolkits namespace - python_moduleinto mpl_toolkits - python_domodule lib/mpl_toolkits/__init__.py -} - -python_install_all() { - use doc && local HTML_DOCS=( doc/build/html/. ) - - distutils-r1_python_install_all - - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi - - find "${D}" -name '*.pth' -delete || die -} diff --git a/dev-python/matplotlib/matplotlib-3.5.1.ebuild b/dev-python/matplotlib/matplotlib-3.5.1.ebuild index 82fbdaed5a5f..a794f938d899 100644 --- a/dev-python/matplotlib/matplotlib-3.5.1.ebuild +++ b/dev-python/matplotlib/matplotlib-3.5.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -22,7 +22,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz # Fonts: BitstreamVera, OFL-1.1 LICENSE="BitstreamVera BSD matplotlib MIT OFL-1.1" SLOT="0" -KEYWORDS="~amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc ~x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" IUSE="cairo doc excel examples gtk3 latex qt5 tk webagg wxwidgets" # internal copy of pycxx highly patched diff --git a/dev-python/mdit-py-plugins/mdit-py-plugins-0.3.0.ebuild b/dev-python/mdit-py-plugins/mdit-py-plugins-0.3.0.ebuild index 3a8e4fb62c11..981ff8cd3830 100644 --- a/dev-python/mdit-py-plugins/mdit-py-plugins-0.3.0.ebuild +++ b/dev-python/mdit-py-plugins/mdit-py-plugins-0.3.0.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" dev-python/markdown-it-py[${PYTHON_USEDEP}] diff --git a/dev-python/mdurl/mdurl-0.1.0.ebuild b/dev-python/mdurl/mdurl-0.1.0.ebuild index f237a81b0d5d..d571a808c374 100644 --- a/dev-python/mdurl/mdurl-0.1.0.ebuild +++ b/dev-python/mdurl/mdurl-0.1.0.ebuild @@ -13,6 +13,6 @@ SRC_URI="https://github.com/hukkin/mdurl/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" distutils_enable_tests pytest diff --git a/dev-python/moto/Manifest b/dev-python/moto/Manifest index e087e5aee670..b5337f35dc3f 100644 --- a/dev-python/moto/Manifest +++ b/dev-python/moto/Manifest @@ -5,3 +5,4 @@ DIST moto-2.3.2.tar.gz 2095242 BLAKE2B 17b98e09c410e48cac60ca494d6d0a6264657e8df DIST moto-3.0.0.tar.gz 2012729 BLAKE2B a1f53301c08d4ca0df55e1b4233a63a2bfe011b47ac6be992714e3f57f7e4cc50aca72917ff4132001c10870bbe08c0ca32e2b48e5d676f670345478ca846aed SHA512 e5238fb5e720f91999d4f0473d9833a3e1de3632401ee647858afc4e33a46981e866a51b353d1c21b92926da7267a5ba74ef667364ae99b09efd4f12d334e03e DIST moto-3.0.1.tar.gz 2028942 BLAKE2B 28ca3d59fff02b0afc0efc85db0fedbf1284131d48efb839aecf80c075da0e61d5751eb80588344948129f6b59ea9794adeacdca95e06be2e51367a4deb41c19 SHA512 800eb64f77e4c7ae62b056bb8d82de70c4a1044820314269b5dc3133d6b62a3a87d54bbf672a0845709404bd6f3e8d85c5cabc05da4ee2aa96b29cafd18aa6bc DIST moto-3.0.2.tar.gz 2043877 BLAKE2B 5b7b8c50499723f9a658af3a261b8cfd1b9e2a2b2f3e4925f8a0a78d07402e75a715bc87d84f0af8cca69db950937edb193af3ed5798dadf21c9e25aa0e47e27 SHA512 41f350241bfe917d6511e19b53317d15e53bd09267aac21553fc52455fa15d2a9543086d82030e701a394b47039c853d0f89f2dde2002cb6e3993ebcb0ce587a +DIST moto-3.0.3.tar.gz 2071948 BLAKE2B 4b697e96c6e3db7b0582bda727b40cbaa9487b6205e559ec6a5d12b98e33221b9a4b5016701e116cdc886c785cc0ab5d5a5cb684ba30ec27b7987b3ce636bdc8 SHA512 1b14d8a5101103d31136fddfb12c4d6251aa75487347b049ea96baae662528f2f557fe31a9af1cce544fa97d02710ab66f5ee517540bcf137965bd2fe3ec24fa diff --git a/dev-python/moto/moto-3.0.3.ebuild b/dev-python/moto/moto-3.0.3.ebuild new file mode 100644 index 000000000000..f86288652a6e --- /dev/null +++ b/dev-python/moto/moto-3.0.3.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +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 ~arm64 ~ppc64 ~riscv ~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-lint[${PYTHON_USEDEP}] + >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] + dev-python/cookies[${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[${PYTHON_USEDEP}] + dev-python/botocore[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/flask-cors[${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/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_test() { + local EPYTEST_DESELECT=( + # TODO + tests/test_firehose/test_firehose_put.py::test_put_record_http_destination + tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination + tests/test_sqs/test_sqs_cloudformation.py::test_describe_stack_subresources + tests/test_swf/responses/test_decision_tasks.py::test_respond_decision_task_completed_with_schedule_activity_task_boto3 + tests/test_swf/responses/test_timeouts.py::test_activity_task_heartbeat_timeout_boto3 + tests/test_swf/responses/test_timeouts.py::test_decision_task_start_to_close_timeout_boto3 + tests/test_swf/responses/test_timeouts.py::test_workflow_execution_start_to_close_timeout_boto3 + # broken code (local variable used referenced before definition) + tests/test_appsync/test_appsync_schema.py + # Needs network (or docker?) but not marked as such, bug #807031 + # TODO: report upstream + tests/test_batch/test_batch_jobs.py::test_terminate_job + tests/test_batch/test_batch_jobs.py::test_cancel_running_job + tests/test_batch/test_batch_jobs.py::test_dependencies + tests/test_batch/test_batch_jobs.py::test_container_overrides + tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed + tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function + tests/test_sqs/test_integration.py::test_invoke_function_from_sqs_exception + tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_exception + ) + + # pytest-django causes freezegun try to mangle stuff inside django + # which fails when django is not really used + epytest -p no:django -m 'not network' +} diff --git a/dev-python/mpdlcd/mpdlcd-0.5.2-r1.ebuild b/dev-python/mpdlcd/mpdlcd-0.5.2-r1.ebuild new file mode 100644 index 000000000000..1d3d9438e790 --- /dev/null +++ b/dev-python/mpdlcd/mpdlcd-0.5.2-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="A small tool to display the MPD status on a LCDproc server" +HOMEPAGE="https://github.com/rbarrois/mpdlcd" +SRC_URI="https://github.com/rbarrois/${PN}/archive/${P}.tar.gz" +S="${WORKDIR}/${PN}-${P}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86" + +RDEPEND="dev-python/python-mpd" + +distutils_enable_tests pytest + +python_install_all() { + distutils-r1_python_install_all + + doman man/mpdlcd.1 + + insinto /etc + doins mpdlcd.conf + + newinitd "${FILESDIR}"/mpdlcd.initd mpdlcd + newconfd "${FILESDIR}"/mpdlcd.confd mpdlcd +} diff --git a/dev-python/mpdlcd/mpdlcd-0.5.2.ebuild b/dev-python/mpdlcd/mpdlcd-0.5.2.ebuild deleted file mode 100644 index db42c20bfe66..000000000000 --- a/dev-python/mpdlcd/mpdlcd-0.5.2.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="A small tool to display the MPD status on a LCDproc server" -HOMEPAGE="https://github.com/rbarrois/mpdlcd" -SRC_URI="https://github.com/rbarrois/${PN}/archive/${P}.tar.gz" -S="${WORKDIR}/${PN}-${P}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND="dev-python/python-mpd" - -distutils_enable_tests pytest - -python_install_all() { - distutils-r1_python_install_all - - doman man/mpdlcd.1 - - insinto /etc - doins mpdlcd.conf - - newinitd "${FILESDIR}"/mpdlcd.initd mpdlcd - newconfd "${FILESDIR}"/mpdlcd.confd mpdlcd -} diff --git a/dev-python/myst_parser/myst_parser-0.16.1_p20220119.ebuild b/dev-python/myst_parser/myst_parser-0.16.1_p20220119.ebuild index 8be0566fa4ee..2691b25f8394 100644 --- a/dev-python/myst_parser/myst_parser-0.16.1_p20220119.ebuild +++ b/dev-python/myst_parser/myst_parser-0.16.1_p20220119.ebuild @@ -21,7 +21,7 @@ S="${WORKDIR}/MyST-Parser-${COMMIT}" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" >>/s@$@ # doctest: +SKIP@' nltk/tag/crf.py || die + # replace fetching from network with duplicate file URL + sed -e 's@https://raw.githubusercontent.com/nltk/nltk/develop/nltk/test/toy.cfg@nltk:grammars/sample_grammars/toy.cfg@' \ + -i nltk/test/data.doctest || die + + distutils-r1_src_prepare +} + +src_test() { + cd nltk/test || die + distutils-r1_src_test +} diff --git a/dev-python/numpy/numpy-1.22.2.ebuild b/dev-python/numpy/numpy-1.22.2.ebuild index 8a6d95f49b91..a54da49fd824 100644 --- a/dev-python/numpy/numpy-1.22.2.ebuild +++ b/dev-python/numpy/numpy-1.22.2.ebuild @@ -24,7 +24,7 @@ SRC_URI=" )" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~m68k ~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/pdm-pep517/Manifest b/dev-python/pdm-pep517/Manifest index e7b8b7d79369..964e7d4e69c5 100644 --- a/dev-python/pdm-pep517/Manifest +++ b/dev-python/pdm-pep517/Manifest @@ -1,3 +1,4 @@ DIST pdm-pep517-0.10.0.gh.tar.gz 189457 BLAKE2B 5a51b62dbc828aec5bca6ada8c7ecb479dd7491f22251392198a3d8e183f2d3d86fd4264addd9a428c37a24041365f3eeecec0a33c3f1a39ea8a1a8e6827be91 SHA512 7eb76bdf3db99ec1cf76a467617ce15423eaa465800efa9ccb248efb3c3cb5644b8e6a9ce04d6181dc9f3b5287a167f62f25d5e3334929f3e947a62ca9633d01 DIST pdm-pep517-0.10.1.gh.tar.gz 189525 BLAKE2B 10d80fee2ac45fd68c61baf9a8ee7365da19a5daa085fdecd3164b3271cf0c0ee8ad110b1f96a33a4eecdceace72c2d4ee1ce789331c208eb4a67e3b4e3fe56a SHA512 acdf36eeb2baf90c1c80b676901ac06946fbb32f2a5c2bfbdfd85d0889ae22a0851dede4f5898d109d20583504b311cbec6903deadfb77e3f1dd7ff6a1098e04 DIST pdm-pep517-0.10.2.gh.tar.gz 189817 BLAKE2B 47e773ac38197d898c50821d272c155d6749952bcce1492416291c02fa370965ca438e68268a56b8366b18f8a786883c9101e4dc325c9d4741f6cc509862d823 SHA512 6cdbd2cd96a784317356f4c5c52697279b720de03e7059c287872725baa10333b2f352e9a1c5ace727907bd6179cd879fcb4f6770eae1dd23294bf1b60cc233b +DIST pdm-pep517-0.11.0.gh.tar.gz 211783 BLAKE2B 10a112a29ce8cef047d5dea79169fbc590a953e201da5fb3cde631dfc0b0a4ebdbe6e82e28971773db4b913d6b6ab468eb611564f59137beb3df4bd961decbc1 SHA512 71a12512660f85af2a50133f67cb0dc15a2d848d6500fe7dbc9e63ea0e7b916cb00a6c392abc8eb7383db81b1f46b53779a0befbeee4d6831d2586d65be1676c diff --git a/dev-python/pdm-pep517/pdm-pep517-0.11.0.ebuild b/dev-python/pdm-pep517/pdm-pep517-0.11.0.ebuild new file mode 100644 index 000000000000..444775a94ae3 --- /dev/null +++ b/dev-python/pdm-pep517/pdm-pep517-0.11.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="A PEP 517 backend for PDM that supports PEP 621 metadata" +HOMEPAGE=" + https://pypi.org/project/pdm-pep517/ + https://github.com/pdm-project/pdm-pep517/ +" +SRC_URI=" + https://github.com/pdm-project/pdm-pep517/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/cerberus-1.3.4[${PYTHON_USEDEP}] + >=dev-python/packaging-21.0[${PYTHON_USEDEP}] + >=dev-python/tomli-2[${PYTHON_USEDEP}] + dev-python/tomli-w[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-vcs/git + ) +" +# setuptools are used to build C extensions +RDEPEND+=" + dev-python/setuptools[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + rm -r pdm/pep517/_vendor || die + find -name '*.py' -exec sed \ + -e 's:from pdm\.pep517\._vendor\.:from :' \ + -e 's:from pdm\.pep517\._vendor ::' \ + -i {} + || die + distutils-r1_src_prepare +} + +src_test() { + git config --global user.email "test@example.com" || die + git config --global user.name "Test User" || die + distutils-r1_src_test +} diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest index 981fa01d2cf3..0bedf0ec7f1f 100644 --- a/dev-python/phonenumbers/Manifest +++ b/dev-python/phonenumbers/Manifest @@ -1,3 +1,4 @@ DIST phonenumbers-8.12.40.tar.gz 2269926 BLAKE2B 87163e927719441430ba9665085245a7664feed9bda66995d7d27203eda3d729e8b50409745efe2eaffb656b2998b952c6ee7a05576cd6144e7d52d23773089f SHA512 38fb914a23b0a683f0ef77da33360a594cf9c198e1b0143271d9615bd97089097bab5f4718f837bbbd89f8010ce2641a3b56b165b2c64845a8d2979af859fb7e DIST phonenumbers-8.12.41.tar.gz 2270004 BLAKE2B 469922ea194c08f76e9b6899f9fc6d50eb552fa6404330df4ffaa607e82457485b7fee775f236b64da6cd1af3638d46e1c76c4609d8e59f4735830b13f828937 SHA512 1b05a7d12c900de6f280c15cebcefa6463fd531629ee545461ded0c813c9fa1044773cb2844f09a71ebfa940e49b0a3f5847baeee67cdf16579421be291cf812 DIST phonenumbers-8.12.42.tar.gz 2270264 BLAKE2B 038147803aab3b6740f1930f42876f9c3eccab0975d516601d16374eaca1266e7a9c2358a1069432d67db3ab6477fd0347bee6a42e8f152f7e782f51a54293ce SHA512 5de3f24ffbb55d654cae351cb1270ea25192a1113bcb6dc40b3f014d876f85ed5aad4608081ab1c9e15414150a6b6e1a2eeead8c4e4d35e204ed038b87e0253a +DIST phonenumbers-8.12.43.tar.gz 2270278 BLAKE2B 7cae8ad1180231b7a3f6a852563fe8a4e3c515d72e3b969fe37412714cd4e36cb61b96d779b1ee2e8610e648342d6dd9f743b1a049ee7889bf592292641aead3 SHA512 bc0dbfb78f490b70215c33b284761cd0a88183fb51a602359913617f512579862d5b216d2899bc19a143e3a1d9fd16163e5c54bfaded1fe59ba1158b3e7e68a6 diff --git a/dev-python/phonenumbers/phonenumbers-8.12.43.ebuild b/dev-python/phonenumbers/phonenumbers-8.12.43.ebuild new file mode 100644 index 000000000000..617e7721f2b3 --- /dev/null +++ b/dev-python/phonenumbers/phonenumbers-8.12.43.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Python port of Google's libphonenumber" +HOMEPAGE="https://github.com/daviddrysdale/python-phonenumbers" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DOCS=( README.md ) + +distutils_enable_tests setup.py diff --git a/dev-python/picobox/picobox-2.2.0.ebuild b/dev-python/picobox/picobox-2.2.0.ebuild index f044263b62a4..695acf17bc23 100644 --- a/dev-python/picobox/picobox-2.2.0.ebuild +++ b/dev-python/picobox/picobox-2.2.0.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" BDEPEND=" dev-python/setuptools_scm[${PYTHON_USEDEP}] diff --git a/dev-python/platformdirs/Manifest b/dev-python/platformdirs/Manifest index 1a519d1a4d7b..b36ccc07a72c 100644 --- a/dev-python/platformdirs/Manifest +++ b/dev-python/platformdirs/Manifest @@ -1 +1,2 @@ DIST platformdirs-2.4.1.gh.tar.gz 20051 BLAKE2B 18fd11f7cae7c81c3615c89468d1deb3ceef3337b4a87a806b245b7bb5a4c14c0eb64fc7cfa06adc2da6150969da3a626da16c1f309f3011a9d4c5d1e4ca1d83 SHA512 d410056207506395c922ecc36c481bcc21f8dd97c69f33dc13580c74d0ea3d1aaa97284b79eed47b723f18c663038874edc5b9c4f4def06d92f1e25f7a8d76b4 +DIST platformdirs-2.5.0.gh.tar.gz 20101 BLAKE2B 420e70bfef15d17f69927809580440a4a9df618be7a93299a963bef236c5f966d0abe88f7bd9bf292109e5ddeb9b87b5615171ea1c70db9c7b2934d8b11fde5d SHA512 a50acf15bc776fdb43f6875055991aa85d5ebe7a931e27c9eada42500305cc1c7892e32687f2f882e850a97748e23dc6f2777f7f54558a32d6a413e35569f6f5 diff --git a/dev-python/platformdirs/platformdirs-2.5.0.ebuild b/dev-python/platformdirs/platformdirs-2.5.0.ebuild new file mode 100644 index 000000000000..873f076b0d04 --- /dev/null +++ b/dev-python/platformdirs/platformdirs-2.5.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A small Python module for determining appropriate platform-specific dirs" +HOMEPAGE=" + https://pypi.org/project/platformdirs/ + https://github.com/platformdirs/platformdirs/" +SRC_URI=" + https://github.com/platformdirs/platformdirs/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/appdirs[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/pydata-sphinx-theme/pydata-sphinx-theme-0.7.2.ebuild b/dev-python/pydata-sphinx-theme/pydata-sphinx-theme-0.7.2.ebuild index d7428e5b4021..f76be82fb1b9 100644 --- a/dev-python/pydata-sphinx-theme/pydata-sphinx-theme-0.7.2.ebuild +++ b/dev-python/pydata-sphinx-theme/pydata-sphinx-theme-0.7.2.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/pydata/pydata-sphinx-theme/archive/v${PV}.tar.gz -> LICENSE="BSD-with-disclosure" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc x86" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" BDEPEND=" test? ( diff --git a/dev-python/pyghmi/Manifest b/dev-python/pyghmi/Manifest index e2c981ab41b2..6dab38ab828b 100644 --- a/dev-python/pyghmi/Manifest +++ b/dev-python/pyghmi/Manifest @@ -2,3 +2,4 @@ DIST pyghmi-1.5.22.tar.gz 221963 BLAKE2B 6705e904c481ddbb241fc8f8089e6bc9bcc142b DIST pyghmi-1.5.31.tar.gz 236574 BLAKE2B 9ee7250bae2d87f552686845ae3056f0f646cd1a383587c195bfcc6dfa476b8582509c909f0008fc6751295e2e4e7d33bf822e8b529d67306fcc85412fc9af22 SHA512 d7c9c05b51780bef9d2b417c1a586f84ec87a9f1ff578ab019bfdc1a462decd907b2634fb1c830d0e369eb97122bfcba62ce79a4386c73c9854cde8f9fdeb65c DIST pyghmi-1.5.32.tar.gz 236662 BLAKE2B e2a58d1eb9c5000d1a7f6b795836fa617ac0847ff2e7c817a6bd65ffb9a1162546a25f890ba20400e4c8d5f72dda538f696c17a35542506cc171b80f99cb5a30 SHA512 b30ad1e200d23ed99280794e4e8e12c1a2412daa27e435183edbdcf57cb1d8ace8790845dd5ab0579f2a22b26eabc11e1d1f5845fb94fed019f461b9419d2763 DIST pyghmi-1.5.33.tar.gz 237980 BLAKE2B 3599c0f56b665129e0432faa9aaab8fdbc831ec8398a3eea2034e68cbf1f75638ecad7ce7ae4e7ac0d51a4a7ac502837da8d3c421e836c88214d82ed7d0bc901 SHA512 1e187f5824491e9d4f48c2f0a5578ced6916764b6bc4f442045e34f37bff85bf16e3ab88df29f8797b15293282112aa04e2f0a375498e96c8aa7b3c7005d22dc +DIST pyghmi-1.5.34.tar.gz 239758 BLAKE2B 3347498d7c1dc0eed102569cc7bc7c2084c694853a5e33c4145dadf623dc9a3db398fa32dc8fc87717a1df2db15c0477cbf59b1eba4c23cf558b45abbf47308e SHA512 fc61d5f8814366e51964b30e29f632d774ec8f202e4c05bd973fbe74e11f560a706e4abd6e01e4ae52d72dff2608c6abe72b5c46941884e472f159d2e4063047 diff --git a/dev-python/pyghmi/pyghmi-1.5.34.ebuild b/dev-python/pyghmi/pyghmi-1.5.34.ebuild new file mode 100644 index 000000000000..e0a15a0c62f0 --- /dev/null +++ b/dev-python/pyghmi/pyghmi-1.5.34.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="A pure python implementation of IPMI protocol" +HOMEPAGE="https://github.com/openstack-archive/pyghmi/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=">=dev-python/cryptography-2.1[${PYTHON_USEDEP}] + dev-python/pbr[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}] + >=dev-python/six-1.10.0[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.6.5[${PYTHON_USEDEP}] + >=dev-python/subunit-1.0.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + )" + +distutils_enable_tests unittest diff --git a/dev-python/pygraphviz/Manifest b/dev-python/pygraphviz/Manifest index 868e2686912e..27a35e94beb5 100644 --- a/dev-python/pygraphviz/Manifest +++ b/dev-python/pygraphviz/Manifest @@ -1,2 +1,3 @@ DIST pygraphviz-1.7.zip 118754 BLAKE2B 36507fc862bec45a33bee3f89e7593a15639e7d98067e1c4ddf917558b7bc037b9d7607f7f017ad5980ba0e6805e63f05464efe8fd416ef70cb95709151714e3 SHA512 09438931d1930a70f7da94b0a12b449c0836ad707c6c8abed49bae0db162c136002d170398ed02dc56a5029269490ce3156d2d4b0f30602a11165bc0038998ea DIST pygraphviz-1.8.zip 119640 BLAKE2B a5c035085c503a06b0496a7ea4db0861e703d2811ab415f2d528dbc6c342d0fab1e9294f818cc4e49bdebba1b98456d6f34eea5628735193a6dde2c37035afce SHA512 f59d9452867167ba406d0e352700ec6bc80364318413a982eadb324c7817f92b9d09922b5fd90b603e2cf6f408390f862e003ef3f1fd3230390944f7d6ee7228 +DIST pygraphviz-1.9.zip 119946 BLAKE2B a399742ae5e8323eec0b6890858cc9158c2942c4f0adb8c74fbfb9745321ae013b93227540e5c328f5dd22d8fba2cf9217a9079f99a14feb983d7188e07084c9 SHA512 0a963b2cfe526c5444379b037797504380898c300256ab3b4800687f46b6230d8bc0adb5f499004a8009544c6cc804221689921c08a4f4b71b86ae01dc39cb7e diff --git a/dev-python/pygraphviz/pygraphviz-1.9.ebuild b/dev-python/pygraphviz/pygraphviz-1.9.ebuild new file mode 100644 index 000000000000..647683ce8613 --- /dev/null +++ b/dev-python/pygraphviz/pygraphviz-1.9.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Python wrapper for the Graphviz Agraph data structure" +HOMEPAGE="https://pygraphviz.github.io/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~x86-linux ~ppc-macos ~x64-macos" + +# Note: only C API of graphviz is used, PYTHON_USEDEP unnecessary. +RDEPEND="media-gfx/graphviz" +DEPEND="${RDEPEND}" +BDEPEND=" + app-arch/unzip + dev-lang/swig:0 + test? ( dev-python/doctest-ignore-unicode[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +src_configure() { + swig -python pygraphviz/graphviz.i || die +} + +python_test() { + cd "${BUILD_DIR}"/install || die + epytest +} + +python_install_all() { + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + + distutils-r1_python_install_all +} diff --git a/dev-python/pyspectrum2/pyspectrum2-0.2.0-r1.ebuild b/dev-python/pyspectrum2/pyspectrum2-0.2.0-r1.ebuild new file mode 100644 index 000000000000..3e6b84b1b75a --- /dev/null +++ b/dev-python/pyspectrum2/pyspectrum2-0.2.0-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_SETUPTOOLS="bdepend" +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Implements a protobuf-based interface for Spectrum2 python-based backends" +HOMEPAGE="https://github.com/stv0g/pyspectrum2" +SRC_URI="https://github.com/stv0g/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="amd64 x86" + +RDEPEND="dev-python/protobuf-python[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" + +python_install_all() { + distutils-r1_python_install_all + + python_optimize +} diff --git a/dev-python/pyspectrum2/pyspectrum2-0.2.0.ebuild b/dev-python/pyspectrum2/pyspectrum2-0.2.0.ebuild deleted file mode 100644 index fd4ee52c2909..000000000000 --- a/dev-python/pyspectrum2/pyspectrum2-0.2.0.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS="bdepend" -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Implements a protobuf-based interface for Spectrum2 python-based backends" -HOMEPAGE="https://github.com/stv0g/pyspectrum2" -SRC_URI="https://github.com/stv0g/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND="dev-python/protobuf-python[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND}" - -python_install_all() { - distutils-r1_python_install_all - - python_optimize -} diff --git a/dev-python/pytest-console-scripts/pytest-console-scripts-1.2.2.ebuild b/dev-python/pytest-console-scripts/pytest-console-scripts-1.2.2.ebuild index 65b024c4a282..917fe30fca26 100644 --- a/dev-python/pytest-console-scripts/pytest-console-scripts-1.2.2.ebuild +++ b/dev-python/pytest-console-scripts/pytest-console-scripts-1.2.2.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" >=dev-python/pytest-4.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/pytest-param-files/pytest-param-files-0.3.4.ebuild b/dev-python/pytest-param-files/pytest-param-files-0.3.4.ebuild index dc48c4e3a1fa..08786952644d 100644 --- a/dev-python/pytest-param-files/pytest-param-files-0.3.4.ebuild +++ b/dev-python/pytest-param-files/pytest-param-files-0.3.4.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]" diff --git a/dev-python/pytest-tornasync/pytest-tornasync-0.6.0_p2.ebuild b/dev-python/pytest-tornasync/pytest-tornasync-0.6.0_p2.ebuild index 867773102b4c..b1ead50f16f9 100644 --- a/dev-python/pytest-tornasync/pytest-tornasync-0.6.0_p2.ebuild +++ b/dev-python/pytest-tornasync/pytest-tornasync-0.6.0_p2.ebuild @@ -14,7 +14,7 @@ S="${WORKDIR}/${P//_p/.post}" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" # TODO: fix this # E ImportError: cannot import name 'MESSAGE' from 'test' diff --git a/dev-python/python-axolotl-curve25519/python-axolotl-curve25519-0.4.1_p2-r1.ebuild b/dev-python/python-axolotl-curve25519/python-axolotl-curve25519-0.4.1_p2-r1.ebuild deleted file mode 100644 index 07484405f06b..000000000000 --- a/dev-python/python-axolotl-curve25519/python-axolotl-curve25519-0.4.1_p2-r1.ebuild +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS="bdepend" -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -MY_PV="${PV/_p/-}" - -DESCRIPTION="A python wrapper for the curve25519 library with ed25519 signatures" -HOMEPAGE="https://github.com/tgalal/python-axolotl-curve25519" -SRC_URI="https://github.com/tgalal/${PN}/archive/${MY_PV}.tar.gz -> ${PN}-${MY_PV}.tar.gz" -S="${WORKDIR}/${PN}-${MY_PV}" - -LICENSE="BSD GPL-3" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~riscv x86" diff --git a/dev-python/python-axolotl-curve25519/python-axolotl-curve25519-0.4.1_p2-r2.ebuild b/dev-python/python-axolotl-curve25519/python-axolotl-curve25519-0.4.1_p2-r2.ebuild new file mode 100644 index 000000000000..e9c8bd245122 --- /dev/null +++ b/dev-python/python-axolotl-curve25519/python-axolotl-curve25519-0.4.1_p2-r2.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_SETUPTOOLS="bdepend" +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +MY_PV="${PV/_p/-}" + +DESCRIPTION="A python wrapper for the curve25519 library with ed25519 signatures" +HOMEPAGE="https://github.com/tgalal/python-axolotl-curve25519" +SRC_URI="https://github.com/tgalal/${PN}/archive/${MY_PV}.tar.gz -> ${PN}-${MY_PV}.tar.gz" +S="${WORKDIR}/${PN}-${MY_PV}" + +LICENSE="BSD GPL-3" +SLOT="0" +KEYWORDS="amd64 ~arm64 ~riscv x86" diff --git a/dev-python/python-axolotl/python-axolotl-0.2.3-r1.ebuild b/dev-python/python-axolotl/python-axolotl-0.2.3-r1.ebuild deleted file mode 100644 index 858091b341db..000000000000 --- a/dev-python/python-axolotl/python-axolotl-0.2.3-r1.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS="bdepend" -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="A python module for the axolotl protocol" -HOMEPAGE="https://github.com/tgalal/python-axolotl" -SRC_URI="https://github.com/tgalal/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~riscv x86" - -RDEPEND=" - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/protobuf-python[${PYTHON_USEDEP}] - dev-python/python-axolotl-curve25519[${PYTHON_USEDEP}] -" -DEPEND="${RDEPEND}" - -distutils_enable_tests pytest diff --git a/dev-python/python-axolotl/python-axolotl-0.2.3-r2.ebuild b/dev-python/python-axolotl/python-axolotl-0.2.3-r2.ebuild new file mode 100644 index 000000000000..489ef1da8b53 --- /dev/null +++ b/dev-python/python-axolotl/python-axolotl-0.2.3-r2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_SETUPTOOLS="bdepend" +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="A python module for the axolotl protocol" +HOMEPAGE="https://github.com/tgalal/python-axolotl" +SRC_URI="https://github.com/tgalal/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 ~arm64 ~riscv x86" + +RDEPEND=" + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/protobuf-python[${PYTHON_USEDEP}] + dev-python/python-axolotl-curve25519[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" + +distutils_enable_tests pytest diff --git a/dev-python/python-libevdev/Manifest b/dev-python/python-libevdev/Manifest index 73d8f6a6d0b7..784dbab9bc0d 100644 --- a/dev-python/python-libevdev/Manifest +++ b/dev-python/python-libevdev/Manifest @@ -1 +1,2 @@ +DIST python-libevdev-0.10.tar.bz2 32385 BLAKE2B ae962d714168a3c035220dc9343ae5907e5de5a645b9d5857cfd884a847fb5b2b13cbdcc6204a66940ad406e92a3add332755c3adb5a10b7cc6a5ae62468c1ff SHA512 1ea54c5e335d348182fad71151ab37103a8c295c8efb73a60f40b41e399cc5fc48525006b15337e591147fc5385e8e56a12dcbcec2dd2e07652a7b60f85eaf1c DIST python-libevdev-0.9.tar.bz2 31496 BLAKE2B 4802f1528c104b0717f3f3a450e6e704232d5045ac285b96eb3eb690f120969ea0f23eae1da6013b260627f18b3e58e55a5017401928149e9cc581d9a84fad70 SHA512 77dcb18c393fd7962887d477292ec359c65404ae126624dc5ab201528e53b9fab565d5c6acfe2908f4a03a29e09fad862220246b91a92cc5f69768a31d1ca808 diff --git a/dev-python/python-libevdev/python-libevdev-0.10.ebuild b/dev-python/python-libevdev/python-libevdev-0.10.ebuild new file mode 100644 index 000000000000..f0ee3caf5331 --- /dev/null +++ b/dev-python/python-libevdev/python-libevdev-0.10.ebuild @@ -0,0 +1,24 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +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 ~riscv ~s390 ~sparc ~x86" + +BDEPEND="test? ( dev-libs/libevdev )" +PDEPEND="dev-libs/libevdev" + +distutils_enable_tests unittest +distutils_enable_sphinx doc/source \ + dev-python/sphinx_rtd_theme diff --git a/dev-python/python-sense-hat/python-sense-hat-2.2.0-r2.ebuild b/dev-python/python-sense-hat/python-sense-hat-2.2.0-r2.ebuild deleted file mode 100644 index cdbea99125b4..000000000000 --- a/dev-python/python-sense-hat/python-sense-hat-2.2.0-r2.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS="bdepend" -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Raspberry Pi Sense HAT python library" -HOMEPAGE="https://github.com/astro-pi/python-sense-hat" -SRC_URI="https://github.com/astro-pi/python-sense-hat/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="arm arm64" - -RDEPEND=" - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/rtimulib[${PYTHON_USEDEP}] -" - -DEPEND="${RDEPEND}" diff --git a/dev-python/python-sense-hat/python-sense-hat-2.2.0-r3.ebuild b/dev-python/python-sense-hat/python-sense-hat-2.2.0-r3.ebuild new file mode 100644 index 000000000000..f3ea66c47ade --- /dev/null +++ b/dev-python/python-sense-hat/python-sense-hat-2.2.0-r3.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_SETUPTOOLS="bdepend" +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Raspberry Pi Sense HAT python library" +HOMEPAGE="https://github.com/astro-pi/python-sense-hat" +SRC_URI="https://github.com/astro-pi/python-sense-hat/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="arm arm64" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/rtimulib[${PYTHON_USEDEP}] +" + +DEPEND="${RDEPEND}" diff --git a/dev-python/python-systemd/python-systemd-234-r1.ebuild b/dev-python/python-systemd/python-systemd-234-r1.ebuild index fbd309981d9c..d6d377135739 100644 --- a/dev-python/python-systemd/python-systemd-234-r1.ebuild +++ b/dev-python/python-systemd/python-systemd-234-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://github.com/systemd/python-systemd/archive/v${PV}.tar.gz -> ${P} LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ppc ~ppc64 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ppc ppc64 sparc x86" DEPEND="sys-apps/systemd:0=" RDEPEND="${DEPEND} diff --git a/dev-python/pyudev/pyudev-0.22.0-r1.ebuild b/dev-python/pyudev/pyudev-0.22.0-r1.ebuild index dce82e77f30c..d0199f633f4f 100644 --- a/dev-python/pyudev/pyudev-0.22.0-r1.ebuild +++ b/dev-python/pyudev/pyudev-0.22.0-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~mips ppc ~ppc64 sparc x86" +KEYWORDS="~alpha amd64 arm ~arm64 ~ia64 ~mips ppc ~ppc64 sparc x86" IUSE="qt5" # Known to fail on test system that aren't exactly the same devices as on CI diff --git a/dev-python/reportlab/reportlab-3.6.5.ebuild b/dev-python/reportlab/reportlab-3.6.5.ebuild index fdd4c8a3d42b..54833febae83 100644 --- a/dev-python/reportlab/reportlab-3.6.5.ebuild +++ b/dev-python/reportlab/reportlab-3.6.5.ebuild @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" DEPEND=" media-libs/freetype diff --git a/dev-python/requests/files/requests-2.26.0-test.patch b/dev-python/requests/files/requests-2.26.0-test.patch deleted file mode 100644 index 6bbf78871713..000000000000 --- a/dev-python/requests/files/requests-2.26.0-test.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 6552e5374c335d62ba960a74b5b978897c823376 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= -Date: Wed, 28 Jul 2021 10:33:22 +0200 -Subject: [PATCH] Fix creating non-listening sockets in tests on some platforms - -Fix the listen() invocation for the test server not to pass a backlog -value of zero. The value of zero means no backlog which effectively -means that the socket can not accept any connections. This does not -matter for the majority of platforms since the value is only advisory -and the platform tends to go with a bigger backlog anyway. However, -a few platforms (e.g. alpha or riscv Linux) do take the value literally, -and therefore the tests fail since they are unable to connect to -the server. Let Python use a 'default reasonable value' instead. ---- - tests/testserver/server.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/tests/testserver/server.py b/tests/testserver/server.py -index 132221f7c4..92dcb6cb1a 100644 ---- a/tests/testserver/server.py -+++ b/tests/testserver/server.py -@@ -78,7 +78,7 @@ def run(self): - def _create_socket_and_bind(self): - sock = socket.socket() - sock.bind((self.host, self.port)) -- sock.listen(0) -+ sock.listen() - return sock - - def _close_server_sock_ignore_errors(self): diff --git a/dev-python/requests/files/requests-2.26.0-trustme-dep.patch b/dev-python/requests/files/requests-2.26.0-trustme-dep.patch deleted file mode 100644 index 5542bb68da90..000000000000 --- a/dev-python/requests/files/requests-2.26.0-trustme-dep.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 55da533a87afe188282b7f8dfbadeb30c21743d8 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= -Date: Sat, 27 Nov 2021 10:33:35 +0100 -Subject: [PATCH] Defer the trustme import until inside the fixture - -Move the trustme import from global scope into the nosan_server fixture -in order to make it possible to deselect the test via command-line -when trustme is not available. ---- - tests/conftest.py | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/tests/conftest.py b/tests/conftest.py -index 099462cf52..4f9b2641b4 100644 ---- a/tests/conftest.py -+++ b/tests/conftest.py -@@ -13,7 +13,6 @@ - - import pytest - from requests.compat import urljoin --import trustme - - - def prepare_url(value): -@@ -38,6 +37,10 @@ def httpbin_secure(httpbin_secure): - - @pytest.fixture - def nosan_server(tmp_path_factory): -+ # delay importing until the fixture in order to make it possible -+ # to deselect the test via command-line when trustme is not available -+ import trustme -+ - tmpdir = tmp_path_factory.mktemp("certs") - ca = trustme.CA() - # only commonName, no subjectAltName diff --git a/dev-python/rich/Manifest b/dev-python/rich/Manifest index 440f6f1d5a12..145720093c8a 100644 --- a/dev-python/rich/Manifest +++ b/dev-python/rich/Manifest @@ -1,3 +1,4 @@ DIST rich-10.16.2.tar.gz 16282443 BLAKE2B ccc7292e265770880539d6a1a6b2e819b45e2e3d4d152f1a16c56f2da74c9a472ae49ea0a4a677ad71c4dd087fade2c415484073b4b2cd86869ad7c43c32b162 SHA512 9cb8b0c8105589db22d7efdc47cbfa20531cd184f07855db4bfafb667299c7d3e520b19e3b33e7818affb7a5674805849ee9f2e770927e285ccd7f4f838982c3 DIST rich-11.0.0.tar.gz 16293684 BLAKE2B bd38f84a7e0623dc9474bdc369b452fc668cd4756f00f6dd1b185f95dffb3d55f6b95a7f6dfaed5ee1ec5f2d9514af6080835b9ffd010f150005b15afb761d97 SHA512 bf8218ff43a101c4624baff1ecc316eb95912d0b634c41293b44de135ea4c6ead0fa2c6a96ab1403ce4dd80961915dbe7753415a74c7d41fc1f2d227113e9ff3 DIST rich-11.1.0.gh.tar.gz 16295117 BLAKE2B 1d326edea18b1eaad633665c2e50aa789f9eba19ee9b4cb50b94a160a69d12604fdf87d57ffbc903835b6e1e745fe17e0c521801b515ae73c8a44bf9ef17b6c2 SHA512 9da2015a66e0924bdd04deebd8fe8e963151d0a912f78320f8de8e61d656a693595c4feb0ce2436610602308d690ed96c8d10b5c81a9fc12a350b2e40907dbcb +DIST rich-11.2.0.gh.tar.gz 16300346 BLAKE2B 520f512a7e26613a4cc881834f8c150963b84a6dc3a43029dde6d64d1e405d82422b9c6f0098293b6f9bdb55749c7929426dad14840c9a287889c1a6a70f6bf2 SHA512 ec1178a6a320a48f589ead5163e974725f79ae63ddf9a2deb66400e43619ade8d366dbef6b524e66e603647a957b8e26266845a0bcb85912fd9ad2a81dd92f5e diff --git a/dev-python/rich/files/rich-11.1.0-pypy3.patch b/dev-python/rich/files/rich-11.1.0-pypy3.patch index 09a7f8022e26..e1ff1f3496d0 100644 --- a/dev-python/rich/files/rich-11.1.0-pypy3.patch +++ b/dev-python/rich/files/rich-11.1.0-pypy3.patch @@ -11,30 +11,6 @@ to fix test failure on PyPy3. tests/test_syntax.py | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) -diff --git a/CHANGELOG.md b/CHANGELOG.md -index 4997ae3..17f3028 100644 ---- a/CHANGELOG.md -+++ b/CHANGELOG.md -@@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - - - Add support for US spelling of "gray" in ANSI color names https://github.com/Textualize/rich/issues/1890 - -+### Fixed -+ -+- Fixed `test_syntax.py::test_from_path_lexer_override` test failure on PyPy3 https://github.com/Textualize/rich/pull/1904 -+ - ## [11.1.0] - 2022-01-28 - - ### Added -diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md -index c29cd79..06e0618 100644 ---- a/CONTRIBUTORS.md -+++ b/CONTRIBUTORS.md -@@ -27,3 +27,4 @@ The following people have contributed to the development of Rich: - - [Nicolas Simonds](https://github.com/0xDEC0DE) - - [Gabriele N. Tornetta](https://github.com/p403n1x87) - - [Patrick Arminio](https://github.com/patrick91) -+- [Michał Górny](https://github.com/mgorny) diff --git a/tests/test_syntax.py b/tests/test_syntax.py index 46d0126..e5d904f 100644 --- a/tests/test_syntax.py @@ -63,19 +39,6 @@ to be skipped appropriately. tests/test_inspect.py | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) -diff --git a/CHANGELOG.md b/CHANGELOG.md -index 17f3028..1a75bf3 100644 ---- a/CHANGELOG.md -+++ b/CHANGELOG.md -@@ -13,7 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - - ### Fixed - --- Fixed `test_syntax.py::test_from_path_lexer_override` test failure on PyPy3 https://github.com/Textualize/rich/pull/1904 -+- Fixed test failures on PyPy3 https://github.com/Textualize/rich/pull/1904 - - ## [11.1.0] - 2022-01-28 - diff --git a/tests/test_inspect.py b/tests/test_inspect.py index 63c5f06..b4c1d2a 100644 --- a/tests/test_inspect.py diff --git a/dev-python/rich/rich-11.2.0.ebuild b/dev-python/rich/rich-11.2.0.ebuild new file mode 100644 index 000000000000..fd6ebd391ae8 --- /dev/null +++ b/dev-python/rich/rich-11.2.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Python library for renrering rich text, tables, etc. to the terminal" +HOMEPAGE="https://github.com/Textualize/rich" +SRC_URI=" + https://github.com/Textualize/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/colorama[${PYTHON_USEDEP}] + dev-python/commonmark[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}"/rich-11.1.0-pypy3.patch +) + +python_test() { + local EPYTEST_DESELECT=( + # check for exact color render string, which changes across pygments bumps + tests/test_syntax.py::test_python_render + tests/test_syntax.py::test_python_render_simple + tests/test_syntax.py::test_python_render_indent_guides + ) + epytest -p no:pytest-qt +} + +pkg_postinst() { + optfeature "integration with HTML widgets for Jupyter" dev-python/ipywidgets +} diff --git a/dev-python/setuptools_scm/Manifest b/dev-python/setuptools_scm/Manifest index 18af30b61a9c..09ab5823ab27 100644 --- a/dev-python/setuptools_scm/Manifest +++ b/dev-python/setuptools_scm/Manifest @@ -1,4 +1,2 @@ -DIST setuptools_scm-6.0.1.tar.gz 51433 BLAKE2B 7045eec0c1a43d6c93c94e0b2799f0d000cda509fa0df9ee9a638b95383f07fe430b07c3bf72fdc4809563ac289521976956f728a4b2984921fa31532bb7ed8b SHA512 db27653c57f674ec62689247680adace3779216249f1b09a35e8a0233a1ec1acb9ae89b52acd439f7062da2ba1a45b8c0d6d81333ddda0764447c30698ddb314 DIST setuptools_scm-6.3.2.tar.gz 57207 BLAKE2B 4291f3810dc5ea111a6bad1bf37c8704a7eb6cdd112ea476d629d6175c43cc7d8f78d450181c0e588a5f3fc0fc092fedb41fcb6e198a42f730f9fc6b8d96e343 SHA512 9a16552803ef92367ad71007cf322737b5baa58b924083f04c860875bf6cb2e2bb4f43a7f89778b040c2eb55c5d32de479a918056519339820c6d0f1a6a386f0 -DIST setuptools_scm-6.4.0.tar.gz 61142 BLAKE2B 752f6c541b05e5d63c66c20a3458e615fc774a4781f92a02aae37a64d971af536586cec3fabac8d5efebe3cf95c18c3e323ad650b4bd8c96a2b4a7808987bd7e SHA512 1e11de29f73c48b93fe5c81b7d8ed5c75c0647dad39de53f2fdf334e6c731a8baa7744ea3c797d2aa95c4d456fff2c9a937cccf9eaa1af8a4c47e1f136328b54 DIST setuptools_scm-6.4.1.tar.gz 61255 BLAKE2B 984b60de24e3090bfa7284ef91f40cfb8481cd9008d57012564e6631727dc1e1bb6820265a4fd3576581ce836224599bdd8ddef73446ddc3040e51ddad4b6140 SHA512 b4d16fc9f352d7fccf18853aee2e80c2bd048fe46753fe5c099542253cf30e0d087be6dfec846aed0b8182238494ef333363482dcd75781e285312a9f7547c11 diff --git a/dev-python/setuptools_scm/setuptools_scm-6.0.1-r1.ebuild b/dev-python/setuptools_scm/setuptools_scm-6.0.1-r1.ebuild deleted file mode 100644 index 007797198925..000000000000 --- a/dev-python/setuptools_scm/setuptools_scm-6.0.1-r1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 7 -- sys-apps/portage dep -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Manage versions by scm tags via setuptools" -HOMEPAGE=" - https://github.com/pypa/setuptools_scm/ - https://pypi.org/project/setuptools-scm/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" - -RDEPEND="dev-python/toml[${PYTHON_USEDEP}]" -BDEPEND=" - !!/dev/null || die } diff --git a/dev-python/tifffile/Manifest b/dev-python/tifffile/Manifest index 073a0a379e59..1643bfd5a4aa 100644 --- a/dev-python/tifffile/Manifest +++ b/dev-python/tifffile/Manifest @@ -1,2 +1,3 @@ DIST tifffile-2021.11.2.gh.tar.gz 261953 BLAKE2B 039e25b173d2074b5a869394bb40cd62410b34c8a86bf047cd203aad6ab0e3217d0f4006bb092840acb314598c73619e48c66daa04c81f9965ca46b81f055d6e SHA512 5bd3340af027547bf07d78523c5c2abcecb428606d72daa446c7f3cd06f7c8da015e20cd0f4ebeb1e9a49ce0aaf6c2840170dad7a8a28e403716d4bdb1ba2238 DIST tifffile-2022.2.2.gh.tar.gz 263421 BLAKE2B d0360d0cbaaaa53425624c81e6cb52fa2fdff96582058a71649361ebc9151ea732652051ad9086710c20a79a88db9a4e8092167142052a3d0b0106b5bbe378fe SHA512 591b61eba84c421420e53e185f27d7f17bc6ae1cf379259e4d5ddfcfa52ed991560d907c5a63c5fea50773f3d497202433a9570a56aa2bc392fd4ba712d94988 +DIST tifffile-2022.2.9.gh.tar.gz 264011 BLAKE2B 529eee731cf6c7b9fe925dffb70117517d560bdb0fe991f86d5a32d6167aa3c7f265466f72e51531b45e86d466d749d1880c1b6beadd498a999e0e59e174a08f SHA512 642a93b2f809d70faaae7265b80aaaf7d7c3190b96aa0e3062f6c708e6484e3338ec319163dc9eb3156553377d4a4152cbf908c7c2df406d1b58b289ea95bdc0 diff --git a/dev-python/tifffile/tifffile-2022.2.9.ebuild b/dev-python/tifffile/tifffile-2022.2.9.ebuild new file mode 100644 index 000000000000..53001183b77a --- /dev/null +++ b/dev-python/tifffile/tifffile-2022.2.9.ebuild @@ -0,0 +1,52 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Read and write TIFF files" +HOMEPAGE=" + https://pypi.org/project/tifffile/ + https://github.com/cgohlke/tifffile/ + https://www.lfd.uci.edu/~gohlke/ +" +SRC_URI=" + https://github.com/cgohlke/tifffile/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/numpy-1.19.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/dask[${PYTHON_USEDEP}] + >=dev-python/fsspec-2021.5.0[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Internet + tests/test_tifffile.py::test_class_omexml + tests/test_tifffile.py::test_class_omexml_fail + tests/test_tifffile.py::test_class_omexml_modulo + tests/test_tifffile.py::test_class_omexml_attributes + tests/test_tifffile.py::test_class_omexml_multiimage + tests/test_tifffile.py::test_write_ome + tests/test_tifffile.py::test_write_ome_manual + # requires tons of free space + tests/test_tifffile.py::test_write_3gb + tests/test_tifffile.py::test_write_bigtiff + 'tests/test_tifffile.py::test_write_imagej_raw' +) diff --git a/dev-python/treq/Manifest b/dev-python/treq/Manifest index fb7fdf5fda1a..507bec574157 100644 --- a/dev-python/treq/Manifest +++ b/dev-python/treq/Manifest @@ -1 +1,2 @@ DIST treq-22.1.0.tar.gz 72634 BLAKE2B e59271bbd53124fa6c01cb9fba03d83ba8cdfc1b2be065c649e26dbcd0202473b59fc1762ce02d5d016d1ac5a6a848568b248c316d7ecde8e3f3521cb213d532 SHA512 6c9a49bc4c9e73365275bf841a5a31873c092e33c4978571caae3601d02e9b8d161dcf684c40ccd297d8a8c4dafe62eddb7872a86513598260fe38c98c7c44f5 +DIST treq-22.2.0.tar.gz 72922 BLAKE2B ab4637c801e5e777f81f6e6a6e12e36ef47e052a4103eb70bf4e10d3fb44b60f144f32734625b4babb375acc96e3cad1895634d3d2fc08ac3095769180e65328 SHA512 465a02481a51ac246ac85f561f2e7a59d97aeeda9f0953dd83678ff836802a187a6aedcce830a9e3095a9c72227bd06113610c3be0967f1362a645a31278bde0 diff --git a/dev-python/treq/treq-22.2.0.ebuild b/dev-python/treq/treq-22.2.0.ebuild new file mode 100644 index 000000000000..d2e3575930c2 --- /dev/null +++ b/dev-python/treq/treq-22.2.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="A requests-like API built on top of twisted.web's Agent" +HOMEPAGE="https://github.com/twisted/treq https://pypi.org/project/treq/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="doc test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/attrs[${PYTHON_USEDEP}] + >=dev-python/hyperlink-21.0.0[${PYTHON_USEDEP}] + dev-python/incremental[${PYTHON_USEDEP}] + >=dev-python/requests-2.1.0[${PYTHON_USEDEP}] + >=dev-python/twisted-18.7.0[crypt,${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/httpbin[${PYTHON_USEDEP}] + )" + +distutils_enable_sphinx docs + +src_prepare() { + # fix relative path for docs generation + sed -e "s@('..')@('../src')@" -i docs/conf.py || die + distutils-r1_src_prepare +} + +python_test() { + "${EPYTHON}" -m twisted.trial treq || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/twisted/twisted-22.1.0.ebuild b/dev-python/twisted/twisted-22.1.0.ebuild index d3be347e0a7a..41a34f262c7b 100644 --- a/dev-python/twisted/twisted-22.1.0.ebuild +++ b/dev-python/twisted/twisted-22.1.0.ebuild @@ -17,7 +17,7 @@ S=${WORKDIR}/${PN}-${P} LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 sparc ~x86" IUSE="conch crypt http2 serial test" RESTRICT="!test? ( test )" diff --git a/dev-python/websockets/metadata.xml b/dev-python/websockets/metadata.xml index 894cd57aec47..8fae1acf50a4 100644 --- a/dev-python/websockets/metadata.xml +++ b/dev-python/websockets/metadata.xml @@ -11,6 +11,7 @@ websockets + cpe:/a:websockets_project:websockets gentoo-staging \ No newline at end of file -- cgit v1.3.1