diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-06-21 17:32:00 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-06-21 17:32:00 +0100 |
commit | 61f10f985e19dfe20a4d9552902625edd5b6eabb (patch) | |
tree | 50db31971b38c4e0358253ef5005058a46fc773e /dev-python | |
parent | 34dea8e38f88007799629d0a56b12dec480b1d21 (diff) |
gentoo resync : 21.06.2021
Diffstat (limited to 'dev-python')
92 files changed, 1657 insertions, 142 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex e28347f20ada..15621a23aa4b 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/absl-py/Manifest b/dev-python/absl-py/Manifest index 244b5cfaf102..831f5fc724e8 100644 --- a/dev-python/absl-py/Manifest +++ b/dev-python/absl-py/Manifest @@ -1,3 +1,5 @@ DIST absl-py-0.10.0.tar.gz 234053 BLAKE2B c7d85d7b351ec5d67ac5e98d5103b91ee7b91d3e01b15fff86ead2e177ba596719af8668f2ec1dd81b278557d902a90705803f5bd6aa7576b302641129eed050 SHA512 92862cc7997f469d7121746d1a8f8fcf99a4983eb033dc936e2ef22bcab896950a5e2bd8ce7fe6660b761cc16a39145104a7e2ba3588f38cde1964505d0265c3 +DIST absl-py-0.12.0.tar.gz 229360 BLAKE2B f913f1eff2d8efc1f5bc06c83d09dbd5c57ba5fdc39953ccbe99750da49676a95112d4dcbcb13e20bd380c7c07f4a3d01e69ae940a19a91dc37e51b2189fb66c SHA512 566cae120779920f8529eb797f9b26a662df0fa2ac853d78424e35d906f487069a945b2ad5a9a292aa90663e8c31c363925aa3114331f0f5f9fb479c79d781ac EBUILD absl-py-0.10.0.ebuild 562 BLAKE2B bdd34c24e60cfa203213557a361feba3fb19aac2d1ea6fa701523cc782a4e3880e4a52948d9817b9fdd9cc68491cb9b19dae6e4323ac38b4acbba872eccf9418 SHA512 23525ffdfaadb697bfecbe944c363de72179eb2b08aefb43cacccab93023f05a16cffcf60d0c902fe188010f96f65dc4299198b75c276ce1335e0d737ec6dc65 +EBUILD absl-py-0.12.0.ebuild 566 BLAKE2B 0da353f306b8066d1e839ad9932907a704e90992cbd1c88f7f67771b1a0e2700b8e42725e3880755f145bb4cbbbd3d832b4fda41da48410dd4d426007502a472 SHA512 47ece7a55802c04e397f349f07a3f09513b23c84429221137a2085cb5b9d504f3d05106d92e28051b76eff3f40049267fa8445539f1c861f0c2bb2bcf4c97854 MISC metadata.xml 576 BLAKE2B faf52655a8b6fd30293fa05a9b333806db3b2069a30ca7720bdaf971cb0242ee04350460d63f411c9e501cd4c6f0ba91e82ba32e3e067a9954acd954677475aa SHA512 cfb5ab7671b8cc6ecb55e3074cd31c42a52a293cff27210c7b5b955e1804b8b3a22da599142469097daa85331008e50a48da67b594bb55ecf5f8f8935191e527 diff --git a/dev-python/absl-py/absl-py-0.12.0.ebuild b/dev-python/absl-py/absl-py-0.12.0.ebuild new file mode 100644 index 000000000000..ea6caeeaf535 --- /dev/null +++ b/dev-python/absl-py/absl-py-0.12.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) +inherit distutils-r1 + +DESCRIPTION="Abseil Python Common Libraries" +HOMEPAGE="https://github.com/abseil/abseil-py" +SRC_URI="https://github.com/abseil/abseil-py/archive/pypi-v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +RDEPEND="dev-python/six[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/abseil-py-pypi-v${PV}" diff --git a/dev-python/aesara/Manifest b/dev-python/aesara/Manifest index 1c8b202cf718..142ac78a67d7 100644 --- a/dev-python/aesara/Manifest +++ b/dev-python/aesara/Manifest @@ -1,5 +1,7 @@ DIST aesara-rel-2.0.10.tar.gz 8038338 BLAKE2B 411623fe6299c9f037a733ff44324c747a3ea1bd71f2d3ca8fad747ec4be0d0dd9a3991f0996ee2e723ec9bb44ba9b47606e3a2cf5f9e6beb27bfa39752b1f1f SHA512 c29a352f2fe85cf5f452fcf7b62d2ccefcac37cfec5336a5b14041cfae5a25aa03f3c95e372453d665995576b6c73765c0b0677628f2ed37e63a390f8bfa5121 +DIST aesara-rel-2.0.12.tar.gz 8154749 BLAKE2B 0e39102e985e9f9ed49f65c76389d76702b5d8fbe8c3e1130c61dce7c43eb70f5c73fd3557ff9aeaa1d186b33bb5803a04a4a5b0ce41076af7e923d05ce3353d SHA512 e68f5ce0c64a678219421a0bfc957d1594dc34c887af6f6373c00888387e5da83dec44b68b9309146ae2fd60c0677039980a87ee87ecc0ad3db2fbc80213cc34 DIST aesara-rel-2.0.8.tar.gz 8043104 BLAKE2B ceb4f34b2017516d8d75855eb17fbce8a28ef35d2dfa22c2221f95e910b69126f6d2070654377bebaa8c149bcb13ed1e37c0fd145cad96ddf6875642a6882b2f SHA512 1bcc149e3c55eeaa4522afd48df63602b32b1702402cd269b30c85ec6abf0d4b446a3593b8247c393c2ad9f74176ebe94e7c86a94ee58b91fbdbef69dbc9acd6 EBUILD aesara-2.0.10.ebuild 1884 BLAKE2B 7c686fdcf57e7a261037c52acf864b43f5fac125a508f338cd7a2f8fbc58023219951391259b347ae842b6f9091da8e5279975f1ee2008fc5004bbb7030fc687 SHA512 70ac7c0eb1daec9dcc02c679e33ab9bac92d7a65750f6996f4357a6553f853898ead2fc7b2e6923fccdf61c6e377e163f8c4fc808f909bf513666ee80dbfcb83 +EBUILD aesara-2.0.12.ebuild 2103 BLAKE2B 4ca1ff4315ed988653a3d84372bcc510a4028fd409598be93d47da36702e1662b9784dcc9c8c526aaba5838ea76f3d8e41a39052f031746f1c7b9f67a58ad7a4 SHA512 4eed528151518ab260d595fa386cda1f209a4d3b299d8c80ebadebe916b9575c3c26442e21bfc870003464f2237b1b9621aa684b84c7f306669af523393eb6aa EBUILD aesara-2.0.8.ebuild 1882 BLAKE2B 07942938c2bfcc6928cfea848b7c6cac65030068f2dc66003b16d832d8402e71c881f01aa3351f1f3dd648254d892a0a1088daa342f57aa5faf3012a651ea30a SHA512 88345779c53f58f8b5adeea79e8d49b865e9a7f374de940fb2785265aa7ce0e3625e369925791559030287052fe19b0d12272794ec1c381558824d7a6d57c3bb -MISC metadata.xml 402 BLAKE2B a82c76dff3cfcbf83936f2815e15d051d4ab26a739a970848573f5856610e763d9f346e2d265b2d38e53460df6bcba879ce50d6e60bffea77af6052d03d8dc5d SHA512 f3c86b74cbaaadb63bb98ffc2a3e6e1d121c141b33edd574cfdee3652a43e9f8b05e3276050bd407f00ddbec1d6fb6eda87983520075ad368ab8792e0ae17143 +MISC metadata.xml 404 BLAKE2B 5f15a3e7f8771f0d8b95097374c87fb6793089f1a0e000c433a8f644be3cb7d945128d0b164b608405070b976c932c77738ed930bf4734129ba37f4feda667b3 SHA512 f7afb5e2c8053cbf8ace61197d234869ed86a06bf066652eac3ad800c7251d18113dfd2e3115281c10f016c56e845d9d34915e2eddbeac4e3a2f414a8e858148 diff --git a/dev-python/aesara/aesara-2.0.12.ebuild b/dev-python/aesara/aesara-2.0.12.ebuild new file mode 100644 index 000000000000..de59ba7c70ea --- /dev/null +++ b/dev-python/aesara/aesara-2.0.12.ebuild @@ -0,0 +1,70 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..9} ) +inherit distutils-r1 optfeature + +MY_P=aesara-rel-${PV} +DESCRIPTION="Library for operating on mathematical expressions with multi-dimensional arrays" +HOMEPAGE="https://github.com/aesara-devs/aesara" +SRC_URI="https://github.com/aesara-devs/aesara/archive/rel-${PV}.tar.gz -> ${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + dev-python/filelock[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/pytest-xdist[${PYTHON_USEDEP}] + )" + +distutils_enable_sphinx doc 'dev-python/sphinx_rtd_theme' +distutils_enable_tests pytest + +python_prepare_all() { + sed -i -e "s/tests.\*/tests\*/" setup.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + local exclude=( + # speed tests are unreliable + tests/scan/test_basic.py::test_speed + tests/scan/test_basic.py::test_speed_rnn + tests/scan/test_basic.py::test_speed_batchrnn + tests/link/test_vm.py::test_speed + tests/link/test_vm.py::test_speed_lazy + tests/tensor/test_gc.py::test_merge_opt_runtime + + # rounding problem? + # https://github.com/aesara-devs/aesara/issues/477 + tests/tensor/test_math_scipy.py::TestGammaUBroadcast::test_good + tests/tensor/test_math_scipy.py::TestGammaUInplaceBroadcast::test_good + ) + + distutils_install_for_testing + # we do not package numba + epytest ${exclude[@]/#/--deselect } \ + --ignore tests/link/test_numba.py \ + -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" +} + +# https://dev.gentoo.org/~mgorny/python-guide/concept.html#packaging-pkgutil-style-namespaces-in-gentoo +python_install() { + rm "${BUILD_DIR}"/lib/bin/__init__.py || die + distutils-r1_python_install +} + +pkg_postinst() { + optfeature "GPU code generation/execution on NVIDIA gpus" dev-util/nvidia-cuda-toolkit dev-util/nvidia-cuda-sdk + optfeature "GPU/CPU code generation on CUDA and OpenCL devices" dev-libs/libgpuarray dev-python/pycuda +} diff --git a/dev-python/aesara/metadata.xml b/dev-python/aesara/metadata.xml index e510de7ea817..fe4f9e1f7cf5 100644 --- a/dev-python/aesara/metadata.xml +++ b/dev-python/aesara/metadata.xml @@ -8,6 +8,6 @@ <stabilize-allarches/> <upstream> <remote-id type="pypi">aesara</remote-id> - <remote-id type="github">pymc-devs/aesara</remote-id> + <remote-id type="github">aesara-devs/aesara</remote-id> </upstream> </pkgmetadata> diff --git a/dev-python/agate-dbf/Manifest b/dev-python/agate-dbf/Manifest new file mode 100644 index 000000000000..376ab3960726 --- /dev/null +++ b/dev-python/agate-dbf/Manifest @@ -0,0 +1,3 @@ +DIST agate-dbf-0.2.2.tar.gz 2863 BLAKE2B 112b03e1a02b70e63f77195a999a60a59b4e02af55da2b9d94e9d535f557c4193129dcb8ce3f91d93cbc6e19196705009574e3b9e5073f9934d00636bb4b2abd SHA512 3e99404dfcd521010bc3eb5899871dfc63581e03604f80b0a42d4db48f486137fd48685024decd380d346ac5c2089a0d19dd9229893e8d5337b9bd9d7b4eb3b6 +EBUILD agate-dbf-0.2.2.ebuild 555 BLAKE2B ac80cdb6f1b9970be9e22966f1b314ab0cfd02d77fad96c5be6ab04421c333e016365df4f12d2cc9b5d6ef1e7b4364ea57cd99b080dd1eb842c4f59d9bc006ed SHA512 cb39a873ff3ed0e1363e0b4e0913a00a08747a83ddca117b42439fefc717f51a429402ad75c83c3dad6e0fa63c8cbab233139f75990d7fabeba576cc8ee409cc +MISC metadata.xml 512 BLAKE2B ec17367c2f3f9e56074f83615fd39f5edb146abe932307a4c775456e711d784c0a4636bf6dc8859c62b37cc4132735a728296211c95ebcc3b8f55ae74d10d45a SHA512 e830ccb01745a1d493655184bf1a899bfbd4bccde225fc7fcefe6b3979d28a80adb93783cb0fbb5844de04f31895ecbbc8790e13ea6485f0eb388576f9ff7c33 diff --git a/dev-python/agate-dbf/agate-dbf-0.2.2.ebuild b/dev-python/agate-dbf/agate-dbf-0.2.2.ebuild new file mode 100644 index 000000000000..40f14f916124 --- /dev/null +++ b/dev-python/agate-dbf/agate-dbf-0.2.2.ebuild @@ -0,0 +1,22 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{8..9} ) +DISTUTILS_USE_SETUPTOOLS=bdepend + +inherit distutils-r1 + +DESCRIPTION="Adds read support for DBF files to agate." +HOMEPAGE="https://github.com/wireservice/agate-dbf https://pypi.org/project/agate-dbf/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" +RDEPEND="" + +RDEPEND=" + >=dev-python/agate-1.5.0[${PYTHON_USEDEP}] + >=dev-python/dbfread-2.0.5[${PYTHON_USEDEP}] +" diff --git a/dev-python/agate-dbf/metadata.xml b/dev-python/agate-dbf/metadata.xml new file mode 100644 index 000000000000..93b393c9134f --- /dev/null +++ b/dev-python/agate-dbf/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zmedico@gentoo.org</email> + </maintainer> + <upstream> + <bugs-to>https://github.com/wireservice/agate-dbf/issues</bugs-to> + <changelog>https://github.com/wireservice/agate-dbf/blob/master/CHANGELOG.rst</changelog> + <remote-id type="pypi">agate-dbf</remote-id> + <remote-id type="github">wireservice/agate-dbf</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/agate-excel/Manifest b/dev-python/agate-excel/Manifest new file mode 100644 index 000000000000..2f35e45e30f9 --- /dev/null +++ b/dev-python/agate-excel/Manifest @@ -0,0 +1,3 @@ +DIST agate-excel-0.2.3.tar.gz 153880 BLAKE2B f090c8bbb75341623545781cbf116b547ebc16249eb0c6814e9fbd51d2688fd2bd0354d187d2f803bde69e563b57836e3d214e287ae62455c59075020588d235 SHA512 3a50bab182391bdadb2e0a82dc28a3cfa1eebbe67744835ab20581a67f7f08f4edb96eebc9a286ac4a6a302996571563ca9e487ea7defdcf07265e9c42436ddf +EBUILD agate-excel-0.2.3.ebuild 636 BLAKE2B a89276069166a3695f10338c3479916460faea3d0272d66d21b4943ed219d038bec3e6b8e9a2ba6c2b44ec0c111d3d1e4cbaaec2a1f7e70749b713bfa9940e9e SHA512 d5b19348b871bceff28a17fb27601b168d1400be7072ff30280f9b737b952995bb2ce5d5c59488fc674e52883e208865b6abb55b43f7589c8c48b1ef7e2c4e5b +MISC metadata.xml 520 BLAKE2B 76548784a8782afa93d38311da98f13f33ac7291f88699dd6c9b2430081803e6a9fbd9d378f060dc641ff6ebc5cea664f60b09d7cc1e58bdb50a2a94bd277843 SHA512 de75458d4d3976f6c54ff41ff14d98b34cee9a2dc3e8830f76362c5c024f8849b8cd27a4999bb9e0cd8adb3e7bf89ace54d5f5eadaeb7975e4145389d635f1ad diff --git a/dev-python/agate-excel/agate-excel-0.2.3.ebuild b/dev-python/agate-excel/agate-excel-0.2.3.ebuild new file mode 100644 index 000000000000..224da100426a --- /dev/null +++ b/dev-python/agate-excel/agate-excel-0.2.3.ebuild @@ -0,0 +1,24 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{8..9} ) +DISTUTILS_USE_SETUPTOOLS=bdepend + +inherit distutils-r1 + +DESCRIPTION="Adds read support for Excel files (xls and xlsx) to agate." +HOMEPAGE="https://github.com/wireservice/agate-excel https://pypi.org/project/agate-excel/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" +RDEPEND="" +RESTRICT="test" + +RDEPEND=" + >=dev-python/agate-1.5.0[${PYTHON_USEDEP}] + >=dev-python/openpyxl-2.3.0[${PYTHON_USEDEP}] + >=dev-python/xlrd-0.9.4[${PYTHON_USEDEP}] +" diff --git a/dev-python/agate-excel/metadata.xml b/dev-python/agate-excel/metadata.xml new file mode 100644 index 000000000000..8799df8cb528 --- /dev/null +++ b/dev-python/agate-excel/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zmedico@gentoo.org</email> + </maintainer> + <upstream> + <bugs-to>https://github.com/wireservice/agate-excel/issues</bugs-to> + <changelog>https://github.com/wireservice/agate-excel/blob/master/CHANGELOG.rst</changelog> + <remote-id type="pypi">agate-excel</remote-id> + <remote-id type="github">wireservice/agate-excel</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/agate/Manifest b/dev-python/agate/Manifest new file mode 100644 index 000000000000..c16949769555 --- /dev/null +++ b/dev-python/agate/Manifest @@ -0,0 +1,3 @@ +DIST agate-1.6.1.tar.gz 137280 BLAKE2B cc022eb05865af0c3f2602d0e5da19a7cbc1516ffbac3900e8cf5c414ff9237151911036170632bfddc4ebe1d40192a3efc0fa73f5ec25a996345919165729ec SHA512 03cbd569a8cff8352ea7fc7469508f5aa5fd6e99381088b53711cc688f8fe9c19c50265852d2e1f9b92852509dbab9630359b72b504a46c9f0aaa37b14027ab9 +EBUILD agate-1.6.1.ebuild 804 BLAKE2B d7be04cb5ba8a9126fe82213506856451bacf602ce697f7e1a26908a042c51203674871665b8a894fe1346dcdb07d112caf21750573c5bb2b1475f56f69d84af SHA512 26fd92dab92931aa291a8009dd6b8c180f6c08b933e1b45a213c032b40c6b975f5e22caa1a6bf37be285b65516e94881bc5bad3f78019d00f16c21eaf17b564b +MISC metadata.xml 485 BLAKE2B 32cfa1d6bc9582bfe411d79e541837d48019eb8a3bcb956634f3a72f5c41ec30568cab69348e5c7419210b77263a93dd042bb88a1376706888a0e13b2553f456 SHA512 30edf8ea75b16bd491372ca7d72b953fb9d3d27c88b10829b7d90108e952fb3a8489541958621a34d288d9dfb5378063fe6973a15d71700bc1745d20093f7b87 diff --git a/dev-python/agate/agate-1.6.1.ebuild b/dev-python/agate/agate-1.6.1.ebuild new file mode 100644 index 000000000000..de2cbc49e122 --- /dev/null +++ b/dev-python/agate/agate-1.6.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{8..9} ) +DISTUTILS_USE_SETUPTOOLS=bdepend + +inherit distutils-r1 + +DESCRIPTION="A Python data analysis library that is optimized for humans instead of machines" +HOMEPAGE="https://github.com/wireservice/agate https://pypi.org/project/agate/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +RDEPEND=" + >=dev-python/six-1.9.0[${PYTHON_USEDEP}] + >=dev-python/pytimeparse-1.1.5[${PYTHON_USEDEP}] + >=dev-python/parsedatetime-2.1[${PYTHON_USEDEP}] + >=dev-python/Babel-2.0[${PYTHON_USEDEP}] + >=dev-python/isodate-0.5.4[${PYTHON_USEDEP}] + >=dev-python/python-slugify-1.2.1[${PYTHON_USEDEP}] + >=dev-python/leather-0.3.2[${PYTHON_USEDEP}] +" diff --git a/dev-python/agate/metadata.xml b/dev-python/agate/metadata.xml new file mode 100644 index 000000000000..59880222a94e --- /dev/null +++ b/dev-python/agate/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zmedico@gentoo.org</email> + </maintainer> + <upstream> + <bugs-to>https://github.com/wireservice/agate/issues</bugs-to> + <changelog>https://github.com/wireservice/agate/commits/master</changelog> + <remote-id type="pypi">agate</remote-id> + <remote-id type="github">wireservice/agate</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/astunparse/Manifest b/dev-python/astunparse/Manifest index 47481fc06376..86d43a53a944 100644 --- a/dev-python/astunparse/Manifest +++ b/dev-python/astunparse/Manifest @@ -1,4 +1,5 @@ AUX astunparse-1.6.2-tests.patch 707 BLAKE2B 00d45b4b6bfdc70828d173985533345798a5982fa4f345e83c07e39c58dafffbf2a50ae1657df02769351a402e66faec443f7e63604ef457517e570803c50b3b SHA512 d1a86860548e0b904cc70017e0b5fa3a4e8da6bd1c03571e196e01a660d31a3ae03dec77c36945d7b5e53920b2531f0a7a0a5e3edc15b5a61c53ddafe83156d4 +AUX astunparse-1.6.3-py39.patch 2466 BLAKE2B 8779b2a98e801f675f67e2f57b283401aa577f76bfc9633c0f17af9ee9c11f1508c3b23f4bba12040012e9796f887bb7253a40603f1777a1f8cb95c5cd080c4f SHA512 6bd1a46f48e96634f67ffbd49fce4a3e9251f030a1a4298455bbe92f09bdaf1d03ce807b9bd44b8e04218d80df72974570f2c4de00e617dc6557ce537fb2abcf DIST astunparse-1.6.3.tar.gz 18290 BLAKE2B d7e6fa3ba58c6e112eb84720832890f4515b1c4ed420587565cdff37da893c07eefd0b9eb00795a3eb08bf56834d65150298a6be65e524b0c267c38e6f9c20d1 SHA512 12e99b32524e551494d3053a57aeb646bca8a96a9aa17b0737e6dace6c11874e2e7633d82197cacc0b55622bea637030344ab45c8db57ef244bd63663799d2e9 -EBUILD astunparse-1.6.3.ebuild 616 BLAKE2B 6eadebea1bc9e84bd615e6d3bd1f44d0b2b5d27f71cc706158b81228fe6d09459ea2a8fbe7dedcc47fced99938693f02e0d341bc365dd68ce400536e4b6fb54d SHA512 55463b793bb6088c1c278dbf510963aa195a6de4e2908da5bf2eaba522a16a91bf01249868c334e03c5dcbdf699da2712922204f529ad8a0793937c9ebacf9c9 -MISC metadata.xml 321 BLAKE2B 722f1449c016ff8fa07f474fda10f9caa14137eadde3872e5fe0624a4a3c5f516826b1b98a345c286032d947e4b41e0d06aed4eeb80ae0734e4ecb657b51da09 SHA512 e29a82b0c307eea4f9b60464a2fe8b9cb6c5bab4b797ada3ddc3f8cbda00f892910c97908487c5f53986f762c7824d9af61e28baa62d5b9985893798e6b64cad +EBUILD astunparse-1.6.3.ebuild 669 BLAKE2B 5d2ecdc9def9fdb262e15164afca1238e0882fa547ede3e08d0316a5bb73188c87c57b48cc2d303a165c46024232a153dbe1728697f6cb895735fc3cd30b184e SHA512 b75273b091fb84171f3871ef621eb322bcde7ab7efcf34495394069699314b39781467918554811600df8c8bbd52473b04bb5b28cbb386cfb73ae81ac19769ac +MISC metadata.xml 422 BLAKE2B 763c15dd58eb4688772d6a7a2fa0ed133584ed20dc9c1582a8b17cf07c53a57dc235346d77467345347026f2ee472015eeb07d877f3c5270c80531a600a53a06 SHA512 1dc2b0a7712a848f3a611af5bde383b3a60bb5d03f220867b690cb921fecc6fa5e892a61a1b53c788e41e4242f0513a023d64eb2e3effefc32daf9c7a33b7686 diff --git a/dev-python/astunparse/astunparse-1.6.3.ebuild b/dev-python/astunparse/astunparse-1.6.3.ebuild index 4f9d5b0158f7..0339e4a52d90 100644 --- a/dev-python/astunparse/astunparse-1.6.3.ebuild +++ b/dev-python/astunparse/astunparse-1.6.3.ebuild @@ -1,9 +1,9 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7,8} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 DESCRIPTION="Astun parser for python" @@ -20,6 +20,8 @@ RDEPEND=" " PATCHES=( "${FILESDIR}/astunparse-1.6.2-tests.patch" + # from Fedora + "${FILESDIR}/${P}-py39.patch" ) distutils_enable_tests setup.py diff --git a/dev-python/astunparse/files/astunparse-1.6.3-py39.patch b/dev-python/astunparse/files/astunparse-1.6.3-py39.patch new file mode 100644 index 000000000000..ab8116a559ac --- /dev/null +++ b/dev-python/astunparse/files/astunparse-1.6.3-py39.patch @@ -0,0 +1,74 @@ +From 0388a0d2f42401dcedf7f89d3c291cfed3e4a3d5 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz> +Date: Wed, 8 Jul 2020 20:15:57 +0200 +Subject: [PATCH 1/2] Adapt dump() behavior to match ast.dump() on Python 3.9+ + +In Python 3.9+, ast.dump() omits optional fields/attributes from the output if +their value is None. Such defaults are defined as class attributes. + +See https://bugs.python.org/issue36287 +And https://github.com/python/cpython/pull/18843 + +This patch does not change the output on previous Python versions, +because the class attributes are missing there. + +Fixes https://github.com/simonpercivall/astunparse/issues/56 +--- + lib/astunparse/printer.py | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +diff --git a/lib/astunparse/printer.py b/lib/astunparse/printer.py +index 92d64f7..7a33deb 100644 +--- a/lib/astunparse/printer.py ++++ b/lib/astunparse/printer.py +@@ -4,6 +4,9 @@ + import six + + ++_NOPE = object() ++ ++ + class Printer(ast.NodeVisitor): + + def __init__(self, file=sys.stdout, indent=" "): +@@ -19,6 +22,7 @@ def write(self, text): + self.f.write(six.text_type(text)) + + def generic_visit(self, node): ++ cls = type(node) + + if isinstance(node, list): + nodestart = "[" +@@ -27,7 +31,8 @@ def generic_visit(self, node): + else: + nodestart = type(node).__name__ + "(" + nodeend = ")" +- children = [(name + "=", value) for name, value in ast.iter_fields(node)] ++ children = [(name + "=", value) for name, value in ast.iter_fields(node) ++ if not (value is None and getattr(cls, name, _NOPE) is None)] + + if len(children) > 1: + self.indentation += 1 + +From ea2b578a1b653e73696db2392b8e3d5bf75dadc7 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz> +Date: Wed, 8 Jul 2020 20:21:17 +0200 +Subject: [PATCH 2/2] Test and support Python 3.9 + +--- + setup.py | 1 + + tox.ini | 2 +- + 2 files changed, 2 insertions(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index e5a277a..29b384b 100755 +--- a/setup.py ++++ b/setup.py +@@ -52,6 +52,7 @@ def read_version(): + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', ++ 'Programming Language :: Python :: 3.9', + 'Topic :: Software Development :: Code Generators', + ], + test_suite='tests', diff --git a/dev-python/astunparse/metadata.xml b/dev-python/astunparse/metadata.xml index 3450c7499fed..21605f3bf354 100644 --- a/dev-python/astunparse/metadata.xml +++ b/dev-python/astunparse/metadata.xml @@ -5,6 +5,10 @@ <email>williamh@gentoo.org</email> <name>William Hubbs</name> </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> <upstream> <remote-id type="pypi">astunparse</remote-id> </upstream> diff --git a/dev-python/beniget/Manifest b/dev-python/beniget/Manifest new file mode 100644 index 000000000000..1e8d25a270a7 --- /dev/null +++ b/dev-python/beniget/Manifest @@ -0,0 +1,3 @@ +DIST beniget-0.3.0.gh.tar.gz 16001 BLAKE2B 2a14acf8affb6066bfbf337d547c0eb2215d9d38aa5ed14300f6bd0699409f27619d468cb8cc44f510e38a4abda0e3705be2445c0809c74125f17e860cb5e97c SHA512 c86421470c31a703c2f488826493737100d86c509c8e99d32d7244af8151962eeaebe0f3ff92cca90222bbbad6a045ddcda3d5efb449eb2e06783971a9c474ae +EBUILD beniget-0.3.0.ebuild 554 BLAKE2B 686c69e875f191a0aeae0914754a4d71938f93988c146609d2b0f41a3fe87a191a7319efbda7ee97b90ef5a248fdd5ccf7c69cd1694d55ef966e05b7dab067c0 SHA512 107e52d46a6cd8ab9c60f4748f24fedf55ca9d57665728d897330c68c1996056f6e70066c6680b70718a33ede00c8831da7e2f29b34ef8642e669c3bb29b6149 +MISC metadata.xml 353 BLAKE2B 045be9e1628640f0c33d984d45107f67bdc692ab5e9648a7a333e5d933f163c4738fe88c13887254ce6cb87f2cfed401477c9b8727c2264ddf6bbcf99eaf4939 SHA512 40571beac3e14d1455717533e9be0db570f24720ca733fd7b51e93dd3a0d12dc366e361a659167556ac4e447280b808c09ff021efa2f36d6deb15e3434b7c67f diff --git a/dev-python/beniget/beniget-0.3.0.ebuild b/dev-python/beniget/beniget-0.3.0.ebuild new file mode 100644 index 000000000000..a1ba9d3ed739 --- /dev/null +++ b/dev-python/beniget/beniget-0.3.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..9} ) +inherit distutils-r1 + +DESCRIPTION="Extract semantic information about static Python code" +HOMEPAGE=" + https://pypi.org/project/beniget/ + https://github.com/serge-sans-paille/beniget/" +SRC_URI=" + https://github.com/serge-sans-paille/beniget/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="=dev-python/gast-0.4*[${PYTHON_USEDEP}]" + +distutils_enable_tests setup.py diff --git a/dev-python/beniget/metadata.xml b/dev-python/beniget/metadata.xml new file mode 100644 index 000000000000..979b888f82e1 --- /dev/null +++ b/dev-python/beniget/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="github">serge-sans-paille/beniget</remote-id> + <remote-id type="pypi">beniget</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 7d96f1d02f8a..c21e13e8b020 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -41,4 +41,4 @@ EBUILD boto3-1.17.95.ebuild 1343 BLAKE2B b2887132265c9ba8dc7ee25f402103f3384553d EBUILD boto3-1.17.96.ebuild 1343 BLAKE2B b2887132265c9ba8dc7ee25f402103f3384553d7cf921f2f0280ad04c508adeb21a27baa344a0a7bdfbe38bc5c822e93b2d7a04ff2dfb57e988f234eaf0fe642 SHA512 766f1cdc7617ae2cc9cceccc7ff8dbfddc200d84fef7edc6c9b5a7b42fd599715ab221054854b3f5a4f050f4f4a27d7a8f5216e063b340ef75aa82b2d2d2da8d EBUILD boto3-1.17.97.ebuild 1343 BLAKE2B b2887132265c9ba8dc7ee25f402103f3384553d7cf921f2f0280ad04c508adeb21a27baa344a0a7bdfbe38bc5c822e93b2d7a04ff2dfb57e988f234eaf0fe642 SHA512 766f1cdc7617ae2cc9cceccc7ff8dbfddc200d84fef7edc6c9b5a7b42fd599715ab221054854b3f5a4f050f4f4a27d7a8f5216e063b340ef75aa82b2d2d2da8d EBUILD boto3-9999.ebuild 1343 BLAKE2B b2887132265c9ba8dc7ee25f402103f3384553d7cf921f2f0280ad04c508adeb21a27baa344a0a7bdfbe38bc5c822e93b2d7a04ff2dfb57e988f234eaf0fe642 SHA512 766f1cdc7617ae2cc9cceccc7ff8dbfddc200d84fef7edc6c9b5a7b42fd599715ab221054854b3f5a4f050f4f4a27d7a8f5216e063b340ef75aa82b2d2d2da8d -MISC metadata.xml 711 BLAKE2B da283ea39f4540ad2445b1b88a12509a384e2f2a2ce0ffbc3845a475015c108de69b9e9868a0e43c0fb8c8b71a6ce498ece9676b0f623ed41b89efd92790be80 SHA512 80202cdc324464906b9ae7eae889d7d00c7c773aa5c49d22d8faab7deb621bbfe31cd4e66b289eadc7065e091b8615b284760736d915aa16ee15cf1c7f9e6b5d +MISC metadata.xml 605 BLAKE2B cb7041ecfae68d44cc4c533600c9527f901b3b57b4ac6b7877b489f849e1257f3ea157c901bb67dd44ef06296f02564b6b9e341bfd1d102b68512f7a40b48ede SHA512 2f9630e0d4396ae6f3a7a0aa328440fba250d330d4cb5e4a9cc68caaf0ffc133960294ca4fdd0bae150a212555ebdff07208e909c6f7207857a3b7774178dfc8 diff --git a/dev-python/boto3/metadata.xml b/dev-python/boto3/metadata.xml index fc2e23c4ec36..1e278a783a0a 100644 --- a/dev-python/boto3/metadata.xml +++ b/dev-python/boto3/metadata.xml @@ -2,10 +2,6 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>dolsen@gentoo.org</email> - <name>Brian Dolbec</name> - </maintainer> - <maintainer type="person"> <email>chutzpah@gentoo.org</email> <name>Patrick McLean</name> </maintainer> diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 07604cab7c67..af97397e6a5b 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -44,4 +44,4 @@ EBUILD botocore-1.20.95.ebuild 1516 BLAKE2B f3230c2b788a1d153349f9143151277bf5fa EBUILD botocore-1.20.96.ebuild 1516 BLAKE2B f3230c2b788a1d153349f9143151277bf5faccc3db9334858f977417b69040a8d15daa24f3bc2ca49b2fd9189c52826dd08848092fe60e383b553b7c5c2773a3 SHA512 3abb78579283afbaf01e60b77812b4db1db05b6bd747691f91174c27cf381c9d0e6033dcdd9c43d7a83690632339033a5fa001cb14ce4925a77954c8135fa103 EBUILD botocore-1.20.97.ebuild 1516 BLAKE2B f3230c2b788a1d153349f9143151277bf5faccc3db9334858f977417b69040a8d15daa24f3bc2ca49b2fd9189c52826dd08848092fe60e383b553b7c5c2773a3 SHA512 3abb78579283afbaf01e60b77812b4db1db05b6bd747691f91174c27cf381c9d0e6033dcdd9c43d7a83690632339033a5fa001cb14ce4925a77954c8135fa103 EBUILD botocore-9999.ebuild 1516 BLAKE2B f3230c2b788a1d153349f9143151277bf5faccc3db9334858f977417b69040a8d15daa24f3bc2ca49b2fd9189c52826dd08848092fe60e383b553b7c5c2773a3 SHA512 3abb78579283afbaf01e60b77812b4db1db05b6bd747691f91174c27cf381c9d0e6033dcdd9c43d7a83690632339033a5fa001cb14ce4925a77954c8135fa103 -MISC metadata.xml 717 BLAKE2B 6b5923518aebfebb4ac5de56ccc51b6d665b81870d4cdd915265ddef063db42dc9b0a4814c8cec71b44cb1aec7050797f6e2ec8f2a499b6c2e16d9cf312f7fb2 SHA512 fef7663fe63c373d775e419b5b5cfc63a896adf32a177e856c42ebf1c7574b3956fa989c30428d9ce69b19ecf68e553f19885fef46cbcaf7b434e27b15022b54 +MISC metadata.xml 611 BLAKE2B 03764517dd63550373d7be154fef3a5e3a7e55abebc6ad58011b707d1e331c362dc6e13f6f1a6831827f8bf68dae027870abea885d8c5b3d8a64fcca4ae61fd0 SHA512 3532135859fe085e3fec2c04e0f5ab0eacb40345730178729736553f025037ffe77033d63407b4097f65cb31d1f300dd56b777d139630abe2f2f8f9991e0bd76 diff --git a/dev-python/botocore/metadata.xml b/dev-python/botocore/metadata.xml index e73c2fcf1186..c2d9172de8f5 100644 --- a/dev-python/botocore/metadata.xml +++ b/dev-python/botocore/metadata.xml @@ -2,10 +2,6 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>dolsen@gentoo.org</email> - <name>Brian Dolbec</name> - </maintainer> - <maintainer type="person"> <email>chutzpah@gentoo.org</email> <name>Patrick McLean</name> </maintainer> diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest index 81ed71b722d3..8b020ea9429b 100644 --- a/dev-python/clang-python/Manifest +++ b/dev-python/clang-python/Manifest @@ -5,7 +5,7 @@ DIST llvmorg-12.0.1-rc1.tar.gz 134261735 BLAKE2B d29510495641c06e6d7a5ac165e6d34 DIST llvmorg-12.0.1-rc2.tar.gz 134274147 BLAKE2B 2d3f6ce8d5239cf2e5ea52f4b9020d6a8fedb8d6a4df02ca0d8e4398237f4eb967865e1e65570d16cd191865281b9619a63905c1e1c47b31183b881e97e49867 SHA512 cdebb954016dc92251cd9c6281804f7a36e7bc8c6f101a6817d96cc121aba4d361fb99501c259409a29c90d7749b224be670c41177fe43fa64b730ff294831b8 EBUILD clang-python-10.0.1.ebuild 923 BLAKE2B 6a6b3667dc21ef2b35e45e4f57db9d854e40b0ea7e49c4cb92ff1979987afb31c33d5d8b57730683b6acb682702c4dca69aa200fc162c60586a9d880b3c290b2 SHA512 d6b0916aa0bd83c3529b9c106ac8ad75c4930aa620cdccd4b1e3e0d7a54fdec0f8d5cd430cddd64a0a7389b1ca6f3a5b142d433691eab4356f72d52c40010e44 EBUILD clang-python-11.1.0.ebuild 925 BLAKE2B db1ed6c8b6f6f156350e4b29ac9292b3a941abaec52a4a41b41f7e3a641cfa2ae9085f356000bfa361fab697299509193b3d20c1300f0514ee72b368daacb382 SHA512 ca8e1aff2ba826ee9c1e7d5cd9d851bf3fa935e429b078a379083be4ef21de0aac62d2efcee9487a4283dd8a81bcfed05ca55116c2b89e8febe45a4af9a30425 -EBUILD clang-python-12.0.0.ebuild 926 BLAKE2B 83dcb4cee0ad655c5b098c678dc52f5c239c899c231a482bae52b0d8f44da889b63527ecafa0289aa60f678a169d74a9831c2769e6848c4ab53d141c78736b81 SHA512 90fc2f56ec5c6a3cb2f0b1009fbb66ca9c360b5698404af67656a153ba95a00a918dff7b2357430a57e722534395adf39c4a4022f1d911e6e409dd2725b2faff +EBUILD clang-python-12.0.0.ebuild 925 BLAKE2B db1ed6c8b6f6f156350e4b29ac9292b3a941abaec52a4a41b41f7e3a641cfa2ae9085f356000bfa361fab697299509193b3d20c1300f0514ee72b368daacb382 SHA512 ca8e1aff2ba826ee9c1e7d5cd9d851bf3fa935e429b078a379083be4ef21de0aac62d2efcee9487a4283dd8a81bcfed05ca55116c2b89e8febe45a4af9a30425 EBUILD clang-python-12.0.1.9999.ebuild 904 BLAKE2B 22ef0cb9f276007d069b46abebbfbe6b31558f0588280ab48bf693a3d23cf233f6d2f562131f43eb77776445deb5dc25084980c775fa0185cd93d776773ffaf0 SHA512 7f09a06f1c45ac93506aa40ee060104d8df1acbbef4e0852f277d6687cb4c8f9541e6438c6e769c730062570dec51c179539e41a9cdc2d3b492cdd6147733ed3 EBUILD clang-python-12.0.1_rc1.ebuild 904 BLAKE2B 22ef0cb9f276007d069b46abebbfbe6b31558f0588280ab48bf693a3d23cf233f6d2f562131f43eb77776445deb5dc25084980c775fa0185cd93d776773ffaf0 SHA512 7f09a06f1c45ac93506aa40ee060104d8df1acbbef4e0852f277d6687cb4c8f9541e6438c6e769c730062570dec51c179539e41a9cdc2d3b492cdd6147733ed3 EBUILD clang-python-12.0.1_rc2.ebuild 904 BLAKE2B 22ef0cb9f276007d069b46abebbfbe6b31558f0588280ab48bf693a3d23cf233f6d2f562131f43eb77776445deb5dc25084980c775fa0185cd93d776773ffaf0 SHA512 7f09a06f1c45ac93506aa40ee060104d8df1acbbef4e0852f277d6687cb4c8f9541e6438c6e769c730062570dec51c179539e41a9cdc2d3b492cdd6147733ed3 diff --git a/dev-python/clang-python/clang-python-12.0.0.ebuild b/dev-python/clang-python/clang-python-12.0.0.ebuild index 2a31d118bb91..283e3ceee1f6 100644 --- a/dev-python/clang-python/clang-python-12.0.0.ebuild +++ b/dev-python/clang-python/clang-python-12.0.0.ebuild @@ -11,7 +11,7 @@ HOMEPAGE="https://llvm.org/" LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 ~arm arm64 ~x86" IUSE="test" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RESTRICT="!test? ( test )" diff --git a/dev-python/dbfread/Manifest b/dev-python/dbfread/Manifest new file mode 100644 index 000000000000..bf347a1a94d9 --- /dev/null +++ b/dev-python/dbfread/Manifest @@ -0,0 +1,3 @@ +DIST dbfread-2.0.7.tar.gz 33212 BLAKE2B 03c9a0d93b13c7573b5bcec6c5af1ac43bd00ead2b3e83638f45344b2344062e86d764b095e699afdaea2405176ee15122c975a2f72b25bd167f5faaaf33043b SHA512 86c3a29e351b985984be67401a6dfe3e39cd92451a122788ade83d65313dde37a3706ce36c4365bd36ba1df62ee057b625f1e0f077aa4a248c7456258189f548 +EBUILD dbfread-2.0.7.ebuild 428 BLAKE2B 96d522cdaf2d408830b51706aac73caff5c06c5f14ff8a79434043c2330dcbe561de0706f23ab033d35488c835ac83b0dac1dd2d6916466a124138abeafcd9d5 SHA512 75d114591ce70d3a61e3f0197d7cfc9b495ef99f4076adb0db0b88ed146e7f73e7dffe0db6c2a9f06fc67ee2a1c090177d9fa786fdeb1606839bf86203ec50f8 +MISC metadata.xml 475 BLAKE2B 834e270558a82002735ab817b6e6e83aecb475baae25f1fe8085544938bcfced988311d2e100a3b3784b732f3d468aaecd5818405780b2f081eca29ad40586d9 SHA512 f51775fbf3d7cc1e5c3038a5e485cea8b14eb26116d51bf88aa6e1d0c0fa1545a127c40a97cf569e5e3e5b812392e50e8ba69b69b3ea38af628717a8e9af13ec diff --git a/dev-python/dbfread/dbfread-2.0.7.ebuild b/dev-python/dbfread/dbfread-2.0.7.ebuild new file mode 100644 index 000000000000..f9a2f5858661 --- /dev/null +++ b/dev-python/dbfread/dbfread-2.0.7.ebuild @@ -0,0 +1,17 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_SETUPTOOLS=bdepend + +inherit distutils-r1 + +DESCRIPTION="Read DBF Files with Python" +HOMEPAGE="https://github.com/olemb/dbfread https://pypi.org/project/dbfread/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" +RDEPEND="" diff --git a/dev-python/dbfread/metadata.xml b/dev-python/dbfread/metadata.xml new file mode 100644 index 000000000000..756d2b8b2cfe --- /dev/null +++ b/dev-python/dbfread/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zmedico@gentoo.org</email> + </maintainer> + <upstream> + <bugs-to>https://github.com/olemb/dbfread/issues</bugs-to> + <changelog>https://github.com/olemb/dbfread/commits/master</changelog> + <remote-id type="pypi">dbfread</remote-id> + <remote-id type="github">olemb/dbfread</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/diskcache/Manifest b/dev-python/diskcache/Manifest index 0bc9225ac8a2..3bdbb8ab1de7 100644 --- a/dev-python/diskcache/Manifest +++ b/dev-python/diskcache/Manifest @@ -1,4 +1,4 @@ DIST diskcache-5.2.1.gh.tar.gz 652769 BLAKE2B 25fcdcf51c8be7a6e2a9de645258f776647789a7f06c70c8564ad28bd003a745167095b11a54d435e733d9f5181a1443be2510fe2d901cc208ea426d3359c0ba SHA512 6e55bada12145d931f4a465092decc3f2cfed2e618d1ea271ad6daa6caf7c3abfd6ae5de11072efdf898ebf272acd39136136b58d7b5e735092963bdd46af52e -EBUILD diskcache-5.2.1-r1.ebuild 1026 BLAKE2B 702d08a328b92617037ea631b3866c7f82296fbeb8f5c72ad15cf53b39ac3b05cdce5ead51d5976570ba1f98229d53577897f0448a65c79db0bab8012bbb5a6f SHA512 f5b62a7ff5f5bd2e50821fd50746faccbca8b9fb699d6fe34fce3c399180fa9690635274dd5368776d306dd158cca29ad051c14b72ed71c20fe43efb63d61bc9 +EBUILD diskcache-5.2.1-r1.ebuild 1031 BLAKE2B 6b9168e3c4f7cafbc4f078385a41e20a105070daa1019e2f577ab2477ef32de44f7d6e218dc4f91c557e3e2672738a313b288234afb4ea661fcd53728b3f709e SHA512 46581c60587d5f6265db433275a370160cee8977c0c233de65b9f79516ea63d0ab7013c2de07350c4ea41592af777dd65467a92d1d6565a6780885713d147f9a EBUILD diskcache-5.2.1.ebuild 845 BLAKE2B 9b435c3adf032acdc81a283d00102cb3f0b9dbe22f76438f02eb98b0234cbe0418af1526192f84409d6c4bb7a1b6baec07dcc0ac888002c808dbcc3913462fd8 SHA512 3525d0cefdfa839fd45bf337501a2a17c799eaada4edf79e9ce7a3d890282ba98036b5dbb3741e4a53d7afdb9f0d3e21ea17fb984bd1d084f9569180769c7b02 MISC metadata.xml 416 BLAKE2B abce0086d9e449bb58281c7856b518501d837b88473dcd611d3f7026a221bb320d866ba631f704a2cc9a5d24af88fdb171e5a0dc28a79f88852ce6931d4a37e7 SHA512 14c60bba29274523a81a24008d51d74ed2ff3c5ae84ed11110fd1e3b83c39c35eb0a95d56edf53db5bbccd08c6bea62cc3019405a077dc00a0869f01e6968c9e diff --git a/dev-python/diskcache/diskcache-5.2.1-r1.ebuild b/dev-python/diskcache/diskcache-5.2.1-r1.ebuild index 739a463995db..634ebf8df4dc 100644 --- a/dev-python/diskcache/diskcache-5.2.1-r1.ebuild +++ b/dev-python/diskcache/diskcache-5.2.1-r1.ebuild @@ -18,7 +18,7 @@ S=${WORKDIR}/python-diskcache-${PV} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" distutils_enable_sphinx docs distutils_enable_tests pytest diff --git a/dev-python/fasteners/Manifest b/dev-python/fasteners/Manifest index 0c5e622cbccd..9ab66d362c44 100644 --- a/dev-python/fasteners/Manifest +++ b/dev-python/fasteners/Manifest @@ -3,5 +3,5 @@ DIST fasteners-0.16.3.gh.tar.gz 29727 BLAKE2B 67b4bc260858abe7ee330c2c5a625ecfea DIST fasteners-0.16.tar.gz 24824 BLAKE2B 5072c1e0633bcf83ad71176dd7f9e2a2179ce4abdddee4bdcfa28f90d7f617759dc855e7fd91afb8b734d5b455d2597e748c169538780927e4d17c93e829453c SHA512 aac91be8f732bcda238c40317359c7faaad632b26473eff940fef0c6c2c227cd83942122c0ec26da236ca8c19d3024798590244ec761c2d2700ffdc7142533da EBUILD fasteners-0.16-r1.ebuild 654 BLAKE2B 1ad152a2d29ab8487b70412aa57889a2f7351449d221662a423fc696e4e16884af1917bd387251642cc57d3c3a21546221dd1449be577638f74f6734cf8f87e5 SHA512 28c3dac7d4620f6a6ce1a04361ce249cac21f68b7fd75ff1f83165be28050328ac9d994c78b589f17241afe52593dfac12b74a57c1f61c4675f14a454acad05c EBUILD fasteners-0.16.2.ebuild 707 BLAKE2B df46efc7b85996ee878b2e64764b4a32f27ae143916dde9a4fae6874b8896234a6f7e7964de826bf3c07ac23a9b6206edbb68e0ad079384f160a791151a94a2f SHA512 816ca129228a771284b482080712f98c89a1e148abf5aba95204da3735ce51fe16390dd23433b2339ce1bbb474bf8bcab429c3ee483804aa088c718bd019233c -EBUILD fasteners-0.16.3.ebuild 726 BLAKE2B 870ff11a4c9a7c4d5993b69ed82304ddcbbff9fff6da8e03b9dc820e1e3392b75d922249ab561f3aee1ef9aa2f0189fb7d68abc09b94dcee8634221c1a85a0fb SHA512 9a2cbe61ecf6ff259bedfa781c78ce862d470780b412fbaa68be2be50176b8e1dbe37dca14bfa685384c6698b8260b0dbb7af0adb0c6218f613c0f1b90461eee +EBUILD fasteners-0.16.3.ebuild 731 BLAKE2B 81fdecc1eb16510c0db1deaa4ed986036c727f55b68f77e02d75f2fc74efd5d8e84a25711864f485fb5b4dc6f02f9297ea020536f92da8d3e5315bf9dfe8bc07 SHA512 ccb5b709dcdf06c99c1a67b94ed9632441df24d8b7b63968434c7410251bbe53de3faf808840217812efd36c7ea60d6ae8f5e8c7a804c3d2a816c1311e064f62 MISC metadata.xml 509 BLAKE2B a2ecd43c854cb670cc29c9bb6e663a46d33334f3e2ff45963730712eac8eb7b9059445dc798a73f89eb2c9e66c5de1caf9b6f4193df5c0552e8176355a325e0e SHA512 f72b52a24f4693ba6d534aecf039a616be7bd5efc83dcc76c8eebaef95edd247192c784caa7b001224786071e5dd3dec59758be0717330a71c4afb7718bc68b1 diff --git a/dev-python/fasteners/fasteners-0.16.3.ebuild b/dev-python/fasteners/fasteners-0.16.3.ebuild index a0df50659ab5..fb0c3b3ada55 100644 --- a/dev-python/fasteners/fasteners-0.16.3.ebuild +++ b/dev-python/fasteners/fasteners-0.16.3.ebuild @@ -14,7 +14,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" RDEPEND=" dev-python/six[${PYTHON_USEDEP}]" diff --git a/dev-python/flatbuffers/Manifest b/dev-python/flatbuffers/Manifest index 41a9324ec84b..704d5189caf6 100644 --- a/dev-python/flatbuffers/Manifest +++ b/dev-python/flatbuffers/Manifest @@ -1,3 +1,5 @@ DIST flatbuffers-1.12.tar.gz 11286 BLAKE2B 9286d9d53bfca515ff01d329decc61201b8bc6231db8700d920530b21b8a213769f4c092ea4af901168ff31f57641f46853cd9d52a6a90398ec8b6ec67b7fb0b SHA512 d7059508908c6bc7f421d04c0f8dbc9884015009b3601822489119853d851f2bf3aab941a96d19b354edf3c9c377625d0faf7b92f7a63a6d597e6ceac4abcf2d +DIST flatbuffers-2.0.tar.gz 22462 BLAKE2B a07f1d27afd71aaa23ba26a061267f95bbb7e0ced8b2c110b3d60fdb9d922fd4b339d7abc63068a030e08e6d824871c61110a665edd6781ac54dd5ef8613975a SHA512 76636449c107f1b2d1a1f395dfbb04c89c25946d8a731a257475ff2517f9667095f3527280b87fdd4081fd5a9f7aa0a112d5daae742c1575d29abb69da595b6d EBUILD flatbuffers-1.12.ebuild 431 BLAKE2B 2893735c224064e02efdee6d3cdd99c5931f74993536f8b4a74435b42b4eb7697cf01e1944da0c5d60adc4a3d29d1f2d91d4fa5b5241b1cb69785449a405a38e SHA512 e87aa9561418333c6890069d54a368505687b4d0ce2af160c05e8db37bf1f2d9d934254dfc8d56e7e60de18647ee90b3772a9ef44a27bcc9003d9485275e1e3a +EBUILD flatbuffers-2.0.ebuild 435 BLAKE2B 6941b617ecd5b992d42d1b53dafece4688ba41ffe8991938ba0da89243037f1017d577b28f19c7ad2845954b26c0b2944a3d0b880a3ab8fb5ea6500ccbaaa8f0 SHA512 ee94e0f76c950f054cfe63537a169775248c58d1571939caffd2a549c740c845d386b86fcff3bdab93580fe6026b9dbbd1b0f990aaabb52a030b73d5a64c6119 MISC metadata.xml 377 BLAKE2B a3d580401afb572f52cca7ea6e3fc35f55c58cf59e07918c0faaa54f63e6948e873b3e852bcb682c0c0034b2d878cd1afcecdeb1dcc556d715c32b19536a0432 SHA512 c6aba7e15ba6ddecca26a56b4a7507a097cf2e45b26eb71069abb8d86a560fd1719292fe32ea9314a57aaa49f9c92f446c9abd27cb1b947b3a8104d193ef9d0b diff --git a/dev-python/flatbuffers/flatbuffers-2.0.ebuild b/dev-python/flatbuffers/flatbuffers-2.0.ebuild new file mode 100644 index 000000000000..b3cd727af5c3 --- /dev/null +++ b/dev-python/flatbuffers/flatbuffers-2.0.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{7,8,9} ) + +inherit distutils-r1 + +DESCRIPTION="RFC 7049 - Concise Binary Object Representation" +HOMEPAGE="https://github.com/google/flatbuffers https://pypi.org/project/flatbuffers/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" diff --git a/dev-python/gast/Manifest b/dev-python/gast/Manifest index 12fa5ee359df..ae5aacce1e19 100644 --- a/dev-python/gast/Manifest +++ b/dev-python/gast/Manifest @@ -1,3 +1,5 @@ DIST gast-0.3.3.tar.gz 13760 BLAKE2B 0298ea81d3d133f8305fc6a7cf020213a75c2dbcb09c9648e533b8c2c58cf3e3f363448f905c8295bd34db0023be6dea00de0d901bffb1d55650773f7acc0135 SHA512 36869a5e0976223a5a82be8bf25a01654896f4de70affe0fec5252104ea6d1fea3eb8c5153530fcac8addc47b51535b02e3920a0e82aad11ba1ca8350cd11341 -EBUILD gast-0.3.3-r1.ebuild 455 BLAKE2B 04f57a184ff6b4b40c453b05034d1285370c3e20b7555b9a26e022a3358f88aaddd14a695678a6546dee18465ffbe8b6247151548c16c6b00c5ddd757929c25a SHA512 9b128bf439d18978c2f9b5c578765f0b0d5bb74ca6966c5f27f8d1f97bdad25cdbaa56fad5fd8870c916ad1e41526a3963dbd2cedc9cfd6fe767e69117a9d41a -MISC metadata.xml 551 BLAKE2B 36c398a1c8b3d88eba124f488b45917ff80ee5a1063365a36784ada181c061f9f4af9126e8c6cd1094cffba0e0d7ec38bf3f903b854c374752f1e12437d48da5 SHA512 680218da3e3430f3dbd652e8f226b72705c3eb79755aebcc4e53c8b813b8fedbf8250035368a5c46dd677b5704721072cf4ab6e4e8872f645f75dc58db197527 +DIST gast-0.4.0.tar.gz 13804 BLAKE2B 9f614dbf5e7f635f2179481d933f9da53224e1d623548c14a0df4302e47d7c08237e46d13e73e62402bfd060ba002179c0592094f5c47612051973cafd0f3d2e SHA512 d132884c51f7172db9b807095619b2cf3ef92acea18aa1de65f6a338b381b7d3fb3f79ff0c1f9ef9388ef885700b7e58309bd95ccebce46bd3173cc484c9c4f5 +EBUILD gast-0.3.3-r1.ebuild 425 BLAKE2B b5bd50096c839ccd16d7422ee793eaf642b04b8904fd739fcbd75f102fc7420f9409044bb08316c1bb71bc3ef5360e76ec836dfab9c61f5f33961a4daa680721 SHA512 eac215e1527ba1d8028f17101da808d41084bf8883c72a53a54b60f72319e83815d88f9d1640ac99cf8ca6b20a85f83e2ca5d373dab12ab5814b2fc2d9509e86 +EBUILD gast-0.4.0.ebuild 495 BLAKE2B 5aec96c67a75f47c4035eb9507bc954a71eca2200f5e359bd6e503dc4f52c8269118087475de736a89a8f422652708219adfcc3b484c9f6fe44c0fb384b5e37a SHA512 894ef43d290b613c58868ab3a3eec36357154f5bc38380d8c007c2a22cb67873c742d83fe794b8ded58a6f7b9a9f587e111d6ab66bc86778c1275b2f064710ae +MISC metadata.xml 652 BLAKE2B 487de5ab8f3b93f2a1546f307429cf547162f59ac6f8d35da73b9a116517c53e3c365717746f4f0369a44a4863bb2e423119b775ef3c18e4ba61aa79966c099e SHA512 e9b2688651207c7a7384e099b2ddb7d083fb5419681446ed56a6cbe18ec302a689e71dd7e795f934b0cddab96a0d46b2f1c0aefe90132c22fa2ec4700ef1945a diff --git a/dev-python/gast/gast-0.3.3-r1.ebuild b/dev-python/gast/gast-0.3.3-r1.ebuild index 066348afa8c3..b4993552b2ae 100644 --- a/dev-python/gast/gast-0.3.3-r1.ebuild +++ b/dev-python/gast/gast-0.3.3-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7,8} ) +PYTHON_COMPAT=( python3_8 ) inherit distutils-r1 DESCRIPTION="A generic AST to represent Python2 and Python3's Abstract Syntax Tree (AST)" @@ -13,6 +13,5 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="amd64 x86" -IUSE="" -BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +distutils_enable_tests unittest diff --git a/dev-python/gast/gast-0.4.0.ebuild b/dev-python/gast/gast-0.4.0.ebuild new file mode 100644 index 000000000000..07d27aad9c9a --- /dev/null +++ b/dev-python/gast/gast-0.4.0.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..9} ) +inherit distutils-r1 + +DESCRIPTION="A generic AST to represent Python2 and Python3's Abstract Syntax Tree (AST)" +HOMEPAGE="https://pypi.org/project/gast/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + test? ( dev-python/astunparse[${PYTHON_USEDEP}] )" + +distutils_enable_tests unittest diff --git a/dev-python/gast/metadata.xml b/dev-python/gast/metadata.xml index 6ffee76e7ef4..bae3d6620812 100644 --- a/dev-python/gast/metadata.xml +++ b/dev-python/gast/metadata.xml @@ -4,6 +4,10 @@ <maintainer type="person"> <email>perfinion@gentoo.org</email> </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> <longdescription lang="en"> A generic AST to represent Python2 and Python3's Abstract Syntax Tree(AST). GAST provides a compatibility layer between the AST of various Python versions, as produced by ast.parse from the standard ast module. diff --git a/dev-python/google-pasta/Manifest b/dev-python/google-pasta/Manifest index bae257bbda35..e97894c0d82d 100644 --- a/dev-python/google-pasta/Manifest +++ b/dev-python/google-pasta/Manifest @@ -1,3 +1,4 @@ DIST google-pasta-0.2.0.tar.gz 40430 BLAKE2B b3f068c0530149d6e8057a2e7edeb76b1912516a8227a837913783060e30f418159b38c77480248dc7a1586b46c9b5914e93c77a9430d963b3538e2197661922 SHA512 1d75d994a5120109677a58472459a632b31568e6ce79b205688913dc2a94e132fad818c73510b2f7d7adca3c757077543abd8b7f15be035a63fa15d38874c753 +EBUILD google-pasta-0.2.0-r1.ebuild 516 BLAKE2B 90740cfcfeaea7c638d876cdf1da794f20cb51b7b49e7e8dd7890e6d822984c45ff793751caa82c7c7b48d0f825ca4244c33d03dd4ad15cf850e5d8e8b53e358 SHA512 0fd6165cbbbf80ec67e1bb00d237798cc0ce5cad17068c02cad851cee4697c5312d188621fa1b21329cb923fee17e307c34294b5ea1870404f69404604ba4078 EBUILD google-pasta-0.2.0.ebuild 483 BLAKE2B 441184ba38db59f401471acb789850f979c1e300092388f4e698c232fc05d7fef746de1f379933f9f563b5a2c344639211ba362faae77102612d75753b9173ff SHA512 f3d22898ff4c200d46692848f5749fc579ca464591ba19ed0cc6b7d00c0af2ee1e3939431599fb95f6c715bb7cc2974a2312e47bce3568d009a4150e684a7799 MISC metadata.xml 322 BLAKE2B 2c65b78f40b5805ffd54dd2c4d9e6b2c142888ce77b6885461f972b744c11a41466e26bdc2cb21fe24425bac32af8676315a42d69a7781e2031659f8693e552b SHA512 3bac4b24cefe900f5ca789cc1b3828002ec4a1041c7b6c9f4610ffa73ee98ce81dba823fc9b65af591c9b57c9b3e14be10bdeca77e952627dbd6f12977395e38 diff --git a/dev-python/google-pasta/google-pasta-0.2.0-r1.ebuild b/dev-python/google-pasta/google-pasta-0.2.0-r1.ebuild new file mode 100644 index 000000000000..36a3aa54a23a --- /dev/null +++ b/dev-python/google-pasta/google-pasta-0.2.0-r1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) +inherit distutils-r1 + +DESCRIPTION="AST-based Python refactoring library" +HOMEPAGE="https://pypi.org/project/google-pasta/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +BDEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +distutils_enable_tests setup.py diff --git a/dev-python/huawei-lte-api/Manifest b/dev-python/huawei-lte-api/Manifest index 8cdcf5e33a1a..8673e01c12e1 100644 --- a/dev-python/huawei-lte-api/Manifest +++ b/dev-python/huawei-lte-api/Manifest @@ -1,5 +1,3 @@ -DIST huawei-lte-api-1.4.17.tar.gz 29441 BLAKE2B 75615092a1d8ee598a99e9ae7a0567e11a72fad21a8304005364bd21e4ecb9bf9efa9a2d5c8de86c6d7442ec12f06079819c20ca9e2e4646255ede961b1a1275 SHA512 bf4a6a43d02b56f0aa799e2936d7fd0afa88da4dc18c152c635b0ccb87a7ca9afcf1fcdee3a37d7ab232d5cd4688e24499ad35a1969d97db405b818cf17d33c4 DIST huawei-lte-api-1.4.18.tar.gz 29701 BLAKE2B 0e242f2f2208646c9f3291dab8397a80934bce3757fb79b58fdcee389a087788962cfaea3350d7b95e53ff3e0f1fbefdf7ea6714266872fc1591848a4fb84462 SHA512 4750fcc84fff46c76f42715e6668d402b9057f8dd826276ad0682e9bac76742c86566794d4aaab7aa9ebf17d06246c4d4cc9385ee1fff9642ff5c995491fc646 -EBUILD huawei-lte-api-1.4.17.ebuild 727 BLAKE2B 56f9663430fabc5e1b3e4c93c978b4fc976f716e982680472e35bf85dfa7614deb5b7fe88d262b56dbd5b992ad8505847c4658ccc94e529c5f74c07a56301bbb SHA512 6755cc1e5accf3eb383ed4e1a47a26949a238dfb0c1f22382677fd0e7e59d68de6feee4ce0d9a3ae67e22b48b1a3c4ad9913780d874d5dc0d930eca1b98c2748 EBUILD huawei-lte-api-1.4.18.ebuild 726 BLAKE2B fff44a353aa68c40a9b3f9f71b4b91c58429e74fb2550bdf63022455c0a4e90c67f7a9fed1bf714866d0d64f19be3da7fa77e7fd944338f7ed9745fa53812975 SHA512 5530c1696dcdd7a67bd74366eabdb0fd05c060df2b07b745d146028b40e4ba3ffc940ccf2fe9e8ba3df58cebedad41eebff1b2833f8e86fc09f78ab8aa4a7664 MISC metadata.xml 486 BLAKE2B 1e0adba09107420b8ce5cd57a113b7fbf279569603e0dbcf5d46fa50a55bdf5e6b7542805a7da86325d12fd2b71fef1845f958e229617368c3f7d54d302b6d4b SHA512 f72435998aac307b623067acc4442df6d5f7f281e08997dc84bc2a9cfbb5a3761da14e7bf89af06c6adc49d2c4a3af487745d318dd301cbbae6a6a197bcbe149 diff --git a/dev-python/huawei-lte-api/huawei-lte-api-1.4.17.ebuild b/dev-python/huawei-lte-api/huawei-lte-api-1.4.17.ebuild deleted file mode 100644 index 126077b22948..000000000000 --- a/dev-python/huawei-lte-api/huawei-lte-api-1.4.17.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( pypy3 python3_{7,8,9} ) - -inherit distutils-r1 - -DESCRIPTION="API For huawei LAN/WAN LTE Modems" -HOMEPAGE="https://github.com/Salamek/huawei-lte-api" -SRC_URI="https://github.com/Salamek/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -RDEPEND="dev-python/dicttoxml[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}]" - -python_prepare_all() { - # https://github.com/Salamek/huawei-lte-api/issues/86 - sed "s:'pytest-runner'::" -i setup.py || die - - distutils-r1_python_prepare_all -} - -distutils_enable_tests pytest diff --git a/dev-python/ioflo/Manifest b/dev-python/ioflo/Manifest index 779a097fa864..3d4a4ada58bc 100644 --- a/dev-python/ioflo/Manifest +++ b/dev-python/ioflo/Manifest @@ -3,5 +3,5 @@ AUX ioflo-2.0.2-python39.patch 3813 BLAKE2B a21f5829b5a2fd4200350949d66d4fd77f5b DIST ioflo-2.0.0.tar.gz 838200 BLAKE2B 876a38df5e6fb953eef6e65bb793fa975a4fed8d4f698029e26747a4887a449bcf5cc5c9fcce081f9b93faeb34d0f783b2f81e17ec619d7ca95810762eae810d SHA512 b4b70aef65cffe067d7563682a2cbeac0a07cd4722aa2de8fb56fd127c99df771dc5d3d22be24aadd628a26fd1b7407db684ea7257b45eba8f8376f4ad226a87 DIST ioflo-2.0.2.tar.gz 837382 BLAKE2B 1fe878c8a9a47a9be5083e392e15256f1a566433b4341e2ee234e84332bb72af0c426d04c77ccace33cfb05664745caaa63e910913c3d63bbb2e5d8360a1ec90 SHA512 7485924ce329889afb1c3e0555b54fdbfb11eafce48fb0ac15bacd229fea512c44fcc118bbc4368ebc7c770d62129ee6b895b982f73a269de7131ea37daac02b EBUILD ioflo-2.0.0.ebuild 715 BLAKE2B b72173e3f103bf4511392924bbae46d594799e73454c4f997c74a6bbaf33d1fa86a254d7d4d5f512a92d4e8a521e761faabf1e07359920e1d692b3f7a29a09a4 SHA512 b50ab250cddf468e81f5dbd62d78a8a23c36e4fd863ad813a027084b7bbc4871fce17382f0b3cd0268d09e9fa918cbd59e84612aedf1efe8dd62f4ddc3103942 -EBUILD ioflo-2.0.2.ebuild 877 BLAKE2B a9eb489668767699134301eeac9741095cc5aa05acfb4fd5b4f777efaedb219c9e2d5cf96b0cc94f271d1b435465a1e630c30df2d066532d6bdb93bd2bd77834 SHA512 74b69db2ac20fec137accc14093585c5c420669bfcc12260250169eebb79b07350c385aab817c5ca67a473c7d3223b057b172412b81cac6905f19ca24d3cf540 +EBUILD ioflo-2.0.2.ebuild 876 BLAKE2B 037c9c8a54818b3325dc5d391187796f680dc11ab51605c48660f638a75863702de10f44187a6adae4a53631d023cbc0ad75f0823f21741a9747b9412d909d5a SHA512 c789368246b06892d92b69288b5881b94f80fd1ead3dc83e9dbe425a81064f066542cb5c12c6e8bdcd5325296d3673a908b49f72c9c01e0f894874a87a37a17f MISC metadata.xml 493 BLAKE2B f303d71fb596699fd8867406fe983144371e9da8143c3ee4dc4761f466503e2f6c38dbb81195d9f7c3c2a3eb40354d52401f66c231afc24eeba112966ee7a686 SHA512 2e787e4dd8f0d9f212da69c25f4a58e609d120dff641405708f08d206b07249acdbac2d6e151379c54f5c960e340f8f31c986f231fab74986d1db71539a87436 diff --git a/dev-python/ioflo/ioflo-2.0.2.ebuild b/dev-python/ioflo/ioflo-2.0.2.ebuild index 55d71a53548c..368df270f7b5 100644 --- a/dev-python/ioflo/ioflo-2.0.2.ebuild +++ b/dev-python/ioflo/ioflo-2.0.2.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm x86" +KEYWORDS="amd64 ~arm x86" IUSE="test" RDEPEND=" diff --git a/dev-python/leather/Manifest b/dev-python/leather/Manifest new file mode 100644 index 000000000000..3a24f3e4b504 --- /dev/null +++ b/dev-python/leather/Manifest @@ -0,0 +1,3 @@ +DIST leather-0.3.3.tar.gz 18391 BLAKE2B 0a81343251fcdea85873fea023e1d709a385b268c2900642764c1a0ae6abfa84d9dece0ef67ae152b716c93c1bdaf9671f8c5df8cf5605694af48e8f3552437a SHA512 3387353d4da129fa3601799efe8742aea08f94579caab7a5a05175ff7ad50a815fc7ca4aee5d1c390027bda3a9bf1ecd1ed5167575386a7a58f56625f5165350 +EBUILD leather-0.3.3.ebuild 481 BLAKE2B d62b2027f83da349d6d03e46b1f7e0e75f7b235559b02924157d9f9ad9785abb4ac1bbc89ab26f404a79c5947aa866dcb94857c8af2e9f6a9bc6febecfded409 SHA512 fd13d98cb43968aa2583770010ce86ae5c2938cb434cf6da27c9d033bc3b452650f91120828ef939ea2b1907842ea5549b3902c4a6b3de50047d5e22f982bf96 +MISC metadata.xml 493 BLAKE2B f8962c3c95f53a3b1f019a9f0b175700e2954f53cd79e8422a23bb7bd49bc93f402e1dc23a02466bda8a112e1e78e6a843379077e88937dd89efc47d433dd6f7 SHA512 62620c4b79244ca31054b496eff69208bf94aad7df682ed14436a254fb0f604442cd3242a29ab1e828ad902b8ee9348d7830c73a00985017d2a03acde4a757c5 diff --git a/dev-python/leather/leather-0.3.3.ebuild b/dev-python/leather/leather-0.3.3.ebuild new file mode 100644 index 000000000000..64dd2f6e2824 --- /dev/null +++ b/dev-python/leather/leather-0.3.3.ebuild @@ -0,0 +1,17 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{8..9} ) +DISTUTILS_USE_SETUPTOOLS=bdepend + +inherit distutils-r1 + +DESCRIPTION="Python charting for 80% of humans." +HOMEPAGE="https://github.com/wireservice/leather https://pypi.org/project/leather/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" +RDEPEND=">=dev-python/six-1.6.1[${PYTHON_USEDEP}]" diff --git a/dev-python/leather/metadata.xml b/dev-python/leather/metadata.xml new file mode 100644 index 000000000000..2b9e7e0da02b --- /dev/null +++ b/dev-python/leather/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zmedico@gentoo.org</email> + </maintainer> + <upstream> + <bugs-to>https://github.com/wireservice/leather/issues</bugs-to> + <changelog>https://github.com/wireservice/leather/commits/master</changelog> + <remote-id type="pypi">leather</remote-id> + <remote-id type="github">wireservice/leather</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest index a3baf6f296bc..7f108faa27c1 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -5,7 +5,7 @@ DIST llvmorg-12.0.1-rc1.tar.gz 134261735 BLAKE2B d29510495641c06e6d7a5ac165e6d34 DIST llvmorg-12.0.1-rc2.tar.gz 134274147 BLAKE2B 2d3f6ce8d5239cf2e5ea52f4b9020d6a8fedb8d6a4df02ca0d8e4398237f4eb967865e1e65570d16cd191865281b9619a63905c1e1c47b31183b881e97e49867 SHA512 cdebb954016dc92251cd9c6281804f7a36e7bc8c6f101a6817d96cc121aba4d361fb99501c259409a29c90d7749b224be670c41177fe43fa64b730ff294831b8 EBUILD lit-10.0.1.ebuild 893 BLAKE2B eb0a0a0dc7d159d03fc7f791feec613ab9fe2111e010c6ad2a9d805f69990d7d821770d28383cfd3efb740641b8db4b0359f0a9c41723859a419c45e1dd6435c SHA512 803a2e38ff1eb50983f030b5ec38e40b543e1cdc61cfde708f69494dcecd2dace4e00aac6be4342f3950c252769b6a1ef31178ed0337d581b33269d682b95fd5 EBUILD lit-11.1.0.ebuild 901 BLAKE2B 03656b1026178d703dc2274b8c8e64504d9f84f9946a34efc1e6a03d3b3038f2a6c23e3c16efc6666314f695315a1995d3cbb5a385a17811fb44a372d6caa6bc SHA512 7a09406d817d5110a489686aefb87d85bb0b8b0a958cb2c4a2065b02e2eb6152023a1f06391be934629c27032b73dbca971404bd848a93a9ab602baf7591b838 -EBUILD lit-12.0.0.ebuild 877 BLAKE2B 8e864aaa5978c033ac19bc98aba39714d84f274e38cc9c790c6f78cabac5b5c80b08378eadf7cbe28732b16296b5ad5084dfc7c7f942a7f095d8a8589f8a025b SHA512 50a96da6cbc7f4bab03f5817d6a22889d7c8e0997bc2e231b670c9bcf6e42afaf33804d8fbb20d9144c21c877765d1860893a5a0cce6c4852437e0fdd5097653 +EBUILD lit-12.0.0.ebuild 875 BLAKE2B c7eb151f6ea8accdfee67f26f9b65c41a65d61019295681572055c1771556a365f234bea7058491d2e739313b0d77063c3e9028a8f895fe5987604f0f45ab516 SHA512 772d7644cb8d84f53a5275992f2096dc3bb7ea298056da296572deb53cd3bda52c6f523d9484c48e07067dd79f6cd0ab752116b504f60ffc963431b02a4c7d98 EBUILD lit-12.0.1.9999.ebuild 837 BLAKE2B 95d45d796f67305e0794e105fc7d8a77328c9f3c87ca8ad1724683281cae3f811536cc9df4210ec4e4287d2ff3fa707719e450fcdf9fc760e568a1f3e025048e SHA512 8ff08b3781ce341131d81131fb735030ae00d35f156fe8711da23ae98ae2b34cc8bc7af807406dcc76feec0c9cefb50a8a8b9c7eb452fd48343f74fb6d02ca34 EBUILD lit-12.0.1_rc1.ebuild 837 BLAKE2B 95d45d796f67305e0794e105fc7d8a77328c9f3c87ca8ad1724683281cae3f811536cc9df4210ec4e4287d2ff3fa707719e450fcdf9fc760e568a1f3e025048e SHA512 8ff08b3781ce341131d81131fb735030ae00d35f156fe8711da23ae98ae2b34cc8bc7af807406dcc76feec0c9cefb50a8a8b9c7eb452fd48343f74fb6d02ca34 EBUILD lit-12.0.1_rc2.ebuild 837 BLAKE2B 95d45d796f67305e0794e105fc7d8a77328c9f3c87ca8ad1724683281cae3f811536cc9df4210ec4e4287d2ff3fa707719e450fcdf9fc760e568a1f3e025048e SHA512 8ff08b3781ce341131d81131fb735030ae00d35f156fe8711da23ae98ae2b34cc8bc7af807406dcc76feec0c9cefb50a8a8b9c7eb452fd48343f74fb6d02ca34 diff --git a/dev-python/lit/lit-12.0.0.ebuild b/dev-python/lit/lit-12.0.0.ebuild index a36692346a61..12edb878a52a 100644 --- a/dev-python/lit/lit-12.0.0.ebuild +++ b/dev-python/lit/lit-12.0.0.ebuild @@ -12,7 +12,7 @@ HOMEPAGE="https://llvm.org/" LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86" +KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/matplotlib/Manifest b/dev-python/matplotlib/Manifest index 7f8f5eef4a3b..e8284d43cd2f 100644 --- a/dev-python/matplotlib/Manifest +++ b/dev-python/matplotlib/Manifest @@ -3,11 +3,14 @@ AUX matplotlib-3.3.2-test-extra.patch 851 BLAKE2B 8fca758413834cf78707a42edbf878 AUX matplotlib-3.3.3-disable-lto.patch 828 BLAKE2B 2044ef633091f27080d20e3e1b2c74605e13e99c9d044e97accde3b0a7946ef656f10c9bf5c036745f8ec85380e48cfd5e3d6fe8a023fa60e408d270f45a1da5 SHA512 81562749756b0415c6ce333d3cbbc197306dc9c2c425ec761767271c974badd13fe9a497c74231cd1bf9347f03ef0593bceff9b597289a8328e7c0211c7047ed AUX matplotlib-3.3.4-test-extra.patch 481 BLAKE2B 1926876a15bd2d8b14c62404dddb0b119abde78baea3cee7dd751d0b0a21249ad1461fbba4d20823d7e754f074cbf48aaf2da317685dded99c792be9e17edb9d SHA512 7a7e0bdbd96a4f1f335eb3ee1840747045b09ba974d2614f234fa4fbc5c3e1e7c5fd154ec68a74640a916fed9e0b3d5ca01d1b22ba4f7bf3ba5f47039e67d00a AUX matplotlib-3.4.0-test.patch 10105 BLAKE2B 3a084180ec096a99d0b9a25458fd1b422d23599cb6fcbe0d7367df7e5c308675f92e95d008fb80e96125101f8f67c4b3a437209bc4bc032cb779130043827160 SHA512 f6196ded497e6c931f33a50cd82f4c7a5710dbc2dd1d74e3ba4467cf936176ef5a64fc2a9ff5281a0a114041c9751e352e522869ebb28e0e0bc50c4ebf1a8b5a +AUX matplotlib-3.4.1-xelatex-test.patch 3200 BLAKE2B 0203bf1a3996ecf639d2dfee733f9fb1c664f35d501ca5049e5940b459f707cd4024b665106b62ab769805c4b976566c518a237637b766d97d2cb65abba8a266 SHA512 58c65834645974e56e6484788ed07d5bedaee3f72ff2023a36df9be3be03639eb588f769b7a727a5dc25a125d9df4d351e7fedc15699dd0576afd10718398fef DIST freetype-2.6.1.tar.gz 2302080 BLAKE2B 6a5fb98e5fa6cf4b7d7533ad44e364227d8c2f7dded4c552d6e22e204c32b7858f20d41d1e809ecdad6e5353d6cec81bea0e0b06a4533363a41ecab83ce3f7ca SHA512 ff2daed64d712737085924c50e75862fafbcbb24eef6d72dac9eaae63bb656d7245397fd828f5d3e47ac847f7ff83d73dedfdd61fde1f7d6e0f0cdeb49bcf83b DIST matplotlib-3.3.4.tar.gz 37941665 BLAKE2B 77b86dc3ceec3695a0d749197bcec684893d237da1aaf8778d9dc2038da1ba56b757bbce94efcf215ac30f35420b77e0a0e75ebb75b6d2cde5146d8a35ee25e7 SHA512 aadfe3db4edde9940b9e15daf1b6c5f237d3a6f38610956ceee994f919d711fce818ea12be4db18aa2a8638c4e8f434d79541fecaa7233e233bf4c73792bc4c4 DIST matplotlib-3.4.0.tar.gz 37142983 BLAKE2B 64b23d5b9e93e6b319674cea06d0ad425def952e50e7cb163ae91ae0d4460872bb329144271472b7dc2d0ab0a742c9c93ea735dca60ee4b4aa569cb4350cca0b SHA512 880c1e1027c819a34f5528b96d1b730cdd6541aa23931aef4185406ecec971ec2f4c8ca374eced56e654e016652472f7abcd0aae977dd4f327b8c511983a2a1d DIST matplotlib-3.4.1.tar.gz 37253296 BLAKE2B e1dfd1b0d8bb0d3ed13ac03a5b3112a237c4b7ef3c82694ad6779c810bbd94c165bde88d00fad270d5da6e269d778b33f276620b51e1f134fa2c5b9dcb0a4f28 SHA512 076510ddd152a395fabb76aa47566e9b75f3c8ba3c5246b39229b20fbfc209d4bbdfd441271b22e364f0974963309c02bdd0519fc2a7e8a406afc462f69246b6 +DIST matplotlib-3.4.2.tar.gz 37308683 BLAKE2B b769244b3d7a7da9125f6b634e9340676d849322491390d1c9a0cec3dfce59a8b5b5c0b567575ae78212129f7303b6b1fbbf30ce7c8a23c43c1304e83c9c5f5e SHA512 d4798dd2d6c857db0fe6d4ec85ebabc028b78627311bab17f7b9b30f6aa61d5243114b1cfe9d83293ad66ae47df83add5272f032954990dfc04054a792049f2a EBUILD matplotlib-3.3.4.ebuild 6929 BLAKE2B 22ff822577ff6cf4f692809429681a52f0f48591eaacf2858d04a34f7008473c803ef87f95ddae705e36c17a09dcaf61281410824e96a947d56e28cdd81ec4cb SHA512 a7af125117cf69af4a40debcbf3476342004100f3499f1028e7087e61168514693f086a6dfd6ace1616d8f27c343346d421a199073fff8a0a78d17062db40ed2 EBUILD matplotlib-3.4.0.ebuild 6837 BLAKE2B 0ac7dc9aef75e2778102eeead917cff7e7627e1c158a9fcee0d1a247de2d0e5fc7b7b02cff543dbbeba236106f6915906391297bb34598c3ab6e349578caa960 SHA512 31f7cc26d605f3a3db310cf8b5d48a0bcb42e8aff0bf91ea6f94d072c049484be9bb3418aefeb6d02a14e241ff48fc95abf3dad7c87ae5a98d3842c3d0b548f4 -EBUILD matplotlib-3.4.1.ebuild 6793 BLAKE2B 98c0a818b789e1bdd72f533489ba4e4a807793212392dca7af9f025ccf5eeca1388baeee4d0071e6234bb43393e10d755399620a9cb29813414e191b660780d9 SHA512 e1bfcc70b94b31e4869a10bedd5847fc2d5c4096abe450d115c71b4f6c4ecd5f67a489dd53c044021f68d645a9ba367a1c21058b42cf160aa5c2be8db8c84aba +EBUILD matplotlib-3.4.1.ebuild 6845 BLAKE2B 91e4c9281b79eb1c0bba8142a8de315322198dec213755717d318b00ce90ee2746ea950d7bf3ddbcccb039d757801ad541922966574297d50843600c4bc28edd SHA512 19fc5c3e739c1d687c16339c361a36245fb48d84b31e274c15fde827458fb1723f7836a737d9750778bb1430e83ac328d9242868de817722143dba4cb7a49eaa +EBUILD matplotlib-3.4.2.ebuild 6919 BLAKE2B bbeb96dfe6ede78bfba56d83098ddbf23229d484543740c70c60fe9b0aabf7cb41154158df770f548ea5344efb3896133f73165e6ee47d66a1a135e4782f112a SHA512 c14941e651e63f4277971378a30e082c9b68b2a411e342de261d1eaa7e4e8a7829e2409078175482348f9e905a11053acbe86648b52fcd8ede414d92e950ee1b MISC metadata.xml 1013 BLAKE2B 7a02989dfd3230db1225c97927adcf0b6b3fd0dc6d81cca69db3472f4f9fbb185daede39e35ad3477b1592a5deba76fb970be8559bc8b30791484bbe0624d417 SHA512 e1b11cfb0dc4f534f0a0b25bce759554906d5656b7c3607f56ae3b3cc53f8d30a3f5be1e6c96c3942dcb1b7ee0936ddd02c9560507d2d1d2fb46c2f4dbeba608 diff --git a/dev-python/matplotlib/files/matplotlib-3.4.1-xelatex-test.patch b/dev-python/matplotlib/files/matplotlib-3.4.1-xelatex-test.patch new file mode 100644 index 000000000000..5f1bda49c71e --- /dev/null +++ b/dev-python/matplotlib/files/matplotlib-3.4.1-xelatex-test.patch @@ -0,0 +1,74 @@ +From d0f92f582800b6bd6b4bb2e59cd7e5b3cd6b5948 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> +Date: Sun, 20 Jun 2021 14:46:17 +0200 +Subject: [PATCH] _GSConverter: handle stray 'GS' in output gracefully + +Search the GS output stream for either "GS<" or "GS>" explicitly rather +than any "GS", in order to prevent the code from wrongly matching stray +"GS". This fixes a recent test regression on Gentoo where the following +output seems to have been wrongly matched: + + **** Error 'gs' ignored -- ExtGState missing from Resources. + ^^ + +Fixes #20472 +--- + lib/matplotlib/testing/compare.py | 20 +++++++++++--------- + 1 file changed, 11 insertions(+), 9 deletions(-) + +diff --git a/lib/matplotlib/testing/compare.py b/lib/matplotlib/testing/compare.py +index 3957188b3e2..27af3e186bd 100644 +--- a/lib/matplotlib/testing/compare.py ++++ b/lib/matplotlib/testing/compare.py +@@ -154,15 +154,17 @@ def encode_and_escape(name): + + b") run flush\n") + self._proc.stdin.flush() + # GS> if nothing left on the stack; GS<n> if n items left on the stack. +- err = self._read_until(b"GS") +- stack = self._read_until(b">") +- if stack or not os.path.exists(dest): +- stack_size = int(stack[1:]) if stack else 0 +- self._proc.stdin.write(b"pop\n" * stack_size) +- # Using the systemencoding should at least get the filenames right. +- raise ImageComparisonFailure( +- (err + b"GS" + stack + b">") +- .decode(sys.getfilesystemencoding(), "replace")) ++ err = self._read_until((b"GS<", b"GS>")) ++ if err.endswith(b"GS<"): ++ stack = self._read_until(b">") ++ if stack or not os.path.exists(dest): ++ stack_size = int(stack[1:]) if stack else 0 ++ self._proc.stdin.write(b"pop\n" * stack_size) ++ # Using the systemencoding should at least get the filenames ++ # right. ++ raise ImageComparisonFailure( ++ (err + b"GS" + stack + b">") ++ .decode(sys.getfilesystemencoding(), "replace")) + + + class _SVGConverter(_Converter): +From d73dd52edf7ec106cf2f6c0ffc79dcda31102ecd Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> +Date: Sun, 20 Jun 2021 15:07:56 +0200 +Subject: [PATCH] increase test_backend_pgf.py::test_xelatex[pdf] tol + +--- + lib/matplotlib/tests/test_backend_pgf.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/matplotlib/tests/test_backend_pgf.py b/lib/matplotlib/tests/test_backend_pgf.py +index 55e375311..684f38fb7 100644 +--- a/lib/matplotlib/tests/test_backend_pgf.py ++++ b/lib/matplotlib/tests/test_backend_pgf.py +@@ -80,7 +80,7 @@ def test_common_texification(plain_text, escaped_text): + # test compiling a figure to pdf with xelatex + @needs_xelatex + @pytest.mark.backend('pgf') +-@image_comparison(['pgf_xelatex.pdf'], style='default') ++@image_comparison(['pgf_xelatex.pdf'], style='default', tol=0.8) + def test_xelatex(): + rc_xelatex = {'font.family': 'serif', + 'pgf.rcfonts': False} +-- +2.32.0 + diff --git a/dev-python/matplotlib/matplotlib-3.4.1.ebuild b/dev-python/matplotlib/matplotlib-3.4.1.ebuild index 6ac9f568ad38..a145e84f8c2b 100644 --- a/dev-python/matplotlib/matplotlib-3.4.1.ebuild +++ b/dev-python/matplotlib/matplotlib-3.4.1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_COMPAT=( python3_{8..9} ) PYTHON_REQ_USE='tk?,threads(+)' inherit distutils-r1 flag-o-matic virtualx toolchain-funcs prefix @@ -147,6 +147,7 @@ python_prepare_all() { local PATCHES=( "${FILESDIR}"/matplotlib-3.4.0-test.patch "${FILESDIR}"/matplotlib-3.3.3-disable-lto.patch + "${FILESDIR}"/matplotlib-3.4.1-xelatex-test.patch ) # requires jupyter-nbconvert diff --git a/dev-python/matplotlib/matplotlib-3.4.2.ebuild b/dev-python/matplotlib/matplotlib-3.4.2.ebuild new file mode 100644 index 000000000000..2bc085e89cfb --- /dev/null +++ b/dev-python/matplotlib/matplotlib-3.4.2.ebuild @@ -0,0 +1,281 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_REQ_USE='tk?,threads(+)' + +inherit distutils-r1 flag-o-matic virtualx toolchain-funcs prefix + +FT_PV=2.6.1 +DESCRIPTION="Pure python plotting library with matlab like syntax" +HOMEPAGE="https://matplotlib.org/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz + test? ( + https://downloads.sourceforge.net/project/freetype/freetype2/${FT_PV}/freetype-${FT_PV}.tar.gz + )" + +# Main license: matplotlib +# Some modules: BSD +# matplotlib/backends/qt4_editor: MIT +# Fonts: BitstreamVera, OFL-1.1 +LICENSE="BitstreamVera BSD matplotlib MIT OFL-1.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="cairo doc excel examples gtk3 latex qt5 tk webagg wxwidgets" + +# internal copy of pycxx highly patched +# dev-python/pycxx +RDEPEND=" + dev-python/certifi[${PYTHON_USEDEP}] + >=dev-python/cycler-0.10.0-r1[${PYTHON_USEDEP}] + >=dev-python/kiwisolver-1.2.0[${PYTHON_USEDEP}] + >=dev-python/numpy-1.18.2[${PYTHON_USEDEP}] + >=dev-python/pillow-7.1.1[jpeg,${PYTHON_USEDEP}] + >=dev-python/pyparsing-2.2.1[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.7[${PYTHON_USEDEP}] + >=dev-python/pytz-2019.3[${PYTHON_USEDEP}] + >=dev-python/six-1.14.0[${PYTHON_USEDEP}] + dev-python/versioneer[${PYTHON_USEDEP}] + media-fonts/dejavu + media-fonts/stix-fonts + media-libs/freetype:2 + media-libs/libpng:0 + >=media-libs/qhull-2013:= + cairo? ( + dev-python/cairocffi[${PYTHON_USEDEP}] + ) + excel? ( + dev-python/xlwt[${PYTHON_USEDEP}] + ) + gtk3? ( + >=dev-python/pygobject-3.40.1-r1:3[cairo?,${PYTHON_USEDEP}] + x11-libs/gtk+:3[introspection] + ) + latex? ( + virtual/latex-base + app-text/dvipng + app-text/ghostscript-gpl + app-text/poppler[utils] + dev-texlive/texlive-fontsrecommended + dev-texlive/texlive-latexextra + dev-texlive/texlive-xetex + ) + qt5? ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + ) + webagg? ( + >=www-servers/tornado-6.0.4[${PYTHON_USEDEP}] + ) + wxwidgets? ( + $(python_gen_cond_dep ' + dev-python/wxpython:*[${PYTHON_USEDEP}] + ' python3_{8,9}) + ) +" + +BDEPEND=" + ${RDEPEND} + virtual/pkgconfig + doc? ( + >=app-text/dvipng-1.15-r1 + >=dev-python/colorspacious-1.1.2[${PYTHON_USEDEP}] + >=dev-python/ipython-1.18.2[${PYTHON_USEDEP}] + >=dev-python/numpydoc-0.9.2[${PYTHON_USEDEP}] + >=dev-python/scipy-1.4.1[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.3.1[${PYTHON_USEDEP}] + >=dev-python/sphinx-gallery-0.3.1-r1[${PYTHON_USEDEP}] + >=dev-python/xlwt-1.3.0-r1[${PYTHON_USEDEP}] + dev-texlive/texlive-latexextra + dev-texlive/texlive-fontsrecommended + dev-texlive/texlive-latexrecommended + >=media-gfx/graphviz-2.42.3[cairo] + ) + test? ( + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + >=dev-python/pygobject-3.40.1-r1:3[cairo?,${PYTHON_USEDEP}] + >=www-servers/tornado-6.0.4[${PYTHON_USEDEP}] + x11-libs/gtk+:3[introspection] + ) +" + +# A few C++ source files are written to srcdir. +# Other than that, the ebuild shall be fit for out-of-source build. +DISTUTILS_IN_SOURCE_BUILD=1 + +distutils_enable_tests pytest + +pkg_setup() { + unset DISPLAY # bug #278524 +} + +use_supported() { + case ${1} in + wxwidgets) + [[ ${EPYTHON} == python3.[678] ]] + ;; + esac + + return 0 +} + +use_setup() { + local uword="${2:-${1}}" + if use_supported "${1}" && use "${1}"; then + echo "${uword} = True" + echo "${uword}agg = True" + else + echo "${uword} = False" + echo "${uword}agg = False" + fi +} + +python_prepare_all() { +# Generates test failures, but fedora does it +# local PATCHES=( +# "${FILESDIR}"/${P}-unbundle-pycxx.patch +# "${FILESDIR}"/${P}-unbundle-agg.patch +# ) +# rm -r agg24 CXX || die +# rm -r agg24 || die + +# cat > lib/${PN}/externals/six.py <<-EOF +# from __future__ import absolute_import +# from six import * +# EOF + + local PATCHES=( + "${FILESDIR}"/matplotlib-3.4.0-test.patch + "${FILESDIR}"/matplotlib-3.3.3-disable-lto.patch + "${FILESDIR}"/matplotlib-3.4.1-xelatex-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/moto/Manifest b/dev-python/moto/Manifest index 6718ae585f54..6292e82a6f62 100644 --- a/dev-python/moto/Manifest +++ b/dev-python/moto/Manifest @@ -5,6 +5,7 @@ DIST moto-1.3.14.tar.gz 1829165 BLAKE2B 2ec30c4cc571492a9d2c08f66a39ad04cfc0baa7 DIST moto-1.3.16.tar.gz 1761006 BLAKE2B adb48ac770e0753403fd41309ebc2085e5d9cdfad5dc791d9cc1216af10e55038c37526a8549a034a3327d821c56b0f6cdd775a17336285bfc637c09191dd78d SHA512 80a1335fea8d6dd42b4062365da4719d26cd6c18e5c186c950bbb844dce44e91ffe5e5173742f3b60d6ba2cab93d45359b43c2cb0ccf74d16009986457c243a4 DIST moto-2.0.0.tar.gz 5054551 BLAKE2B be9b18909f90b22fe57d47e2eea50144b4ac8046dde0123249079f53c8f3c2ea70513b29cde1030ad923be7d50c6021351c8aa9c65bc0b95510a4f4de9d4d111 SHA512 285eff39004b291d112c455f44e30fe441d74c08aff614f5c97e7c52a68edb200d7077722f1e7bca38a63694aabf2ff56994cd1229e449b2f1afdf3945735fc7 DIST moto-2.0.1.tar.gz 1530088 BLAKE2B eb35bcbc8b22044ae86eaa6eb1f71eb24174a8686ef06d475c870ef629d0a525719c4f153cb0a55fa27f3c33568a5796a07ce903800468557dfe275de3da3623 SHA512 d650140c76a2090332fd9f4c8be84379d4e578a63125d473b821d59bff9f93ee8e696268e4784df13f2ee3b8b6967fd10cbd94750f37e63967ed679b4a301682 +DIST moto-2.0.10.tar.gz 1629239 BLAKE2B 3b1e2272f0a78b90dcf4263fa9e1e7cee17621215d742387bddb518da973fb4d0bf383b78bccec2e312aaa65b41428a78731e458e4f6a04bedf31306430a76a4 SHA512 77db3ec43d9777f469cae18f891ad277b2ae89fe0e69474dd904876ebb275503bb3beefe130d1ede05c7f1370107fcc6db76ef5c8e446a2132ad5dd85fea9ac5 DIST moto-2.0.2.tar.gz 1534459 BLAKE2B b4609f332e8f8eb8d61250919eca805f82a6dfc468cf0b9cfe81f462aae9f93373efec6165c818589abe60955abe061a273148a36e4b1f8534ce9fa7e59f5cd2 SHA512 b478f9938f8e7b92c3e718a1aea5907c2070bda42995050d39f8e62cbd7cfd30fe4c9cbd7e7475f5a50c71c3370a89f53480adcf83df1fe08968125f2a1427f6 DIST moto-2.0.5.tar.gz 1551415 BLAKE2B 452cb94443188e1715145bee574f04924d894a3d647673443a8a335bb907f8601098540b032d6c9a8ced3e1fc490c49ad70c877547d905cece05bbb742d05976 SHA512 70e64ab98873d480e776a2139a4d351665c6c2f98faf90e2871c6b9998571d1bd239757bc90bbc6ab6e1ed510598bfce77157ad522953efe40c884068885c57d DIST moto-2.0.6.tar.gz 1557871 BLAKE2B dd4c23758bc9c98fbd2b2a70af744daa245fc8b4b1154348486ae85d195e5e3fa2c513f61386504d05c0d646e81fbf8ec5bf41be317b9fd7581668cd23cc1db3 SHA512 9f287ff07f948dd3d2d6af1c6120d29e9625e420bb94f83c230d813e26689161f9a2e89e2b32947e82084cdcd865fef714ad14309ff41371bd37d251481f8dc9 @@ -15,6 +16,7 @@ EBUILD moto-1.3.14-r3.ebuild 2875 BLAKE2B de0b07e01a296d89ae22fe0a91c91fc76634f0 EBUILD moto-1.3.16-r1.ebuild 3189 BLAKE2B 6c4612eda3bb91d40b7e0ad451568d5c877ef4d3a6563fdf13513d11abbb477702d542109174e91b7c1e580c366d448248453170480b7a15a8b8e9918814624b SHA512 5df5495f98a4929a7e97e257a2bd7b8ee44c915fa008b6d45674d6172ea17fb103b2c579e76a7d14944995019a73217e510c60938b42ea5d2885f92f785d92ad EBUILD moto-2.0.0.ebuild 2359 BLAKE2B c9204998835e0f41bc23d820a9ce677f33d1f18f614905cf2d572ef194fc422a7be02f5d37ca6a25389feeebf4e1bd8f8439ba1e44466a45b12678d8e0cf69e7 SHA512 3689854904d3c9f5152dc2211d52e21dd475151c18fb9463b288634cd0754cffa744e4de129655277e5b1f4d5b1bb78f451a7282a31203483d75a7990aa3d693 EBUILD moto-2.0.1.ebuild 2366 BLAKE2B 25b780427da33dbdae8cb9ea6bb0c834a02ec745f40e7ad94c27cf79c9fc13bc4a91d6a3ac0e4627ebd77a36ed0ba1daadfaca963cadf32a860d4ba62b34df99 SHA512 38596bc35536b0a1598cdf2425a164605b5b7614c776592b1f76279334dc1ccf91440e88e74511ebfea239095a1180d91c740d05596645c82982f45e39e0c8f6 +EBUILD moto-2.0.10.ebuild 2251 BLAKE2B dfbd64deaf75259e39927cccaa72be0634304863cf413828e07c49e160a9c0c14a50b0d3e4b5d34232d0cb7c579cd1e49eee22c6ad4d31ee9b889a89fd7bf602 SHA512 f99521935ac7d9d64f9954166caf37a2df6b50e8ec862100e320470ccbe7372d3580eeb9c193b288d5ac28407b055f73f26b1ec895e446d20f341c3f49845c35 EBUILD moto-2.0.2.ebuild 2286 BLAKE2B f370137ce59587c9725f64911408efb2e8faa31e63ef3f719c30da646e7b075b2051b8bf0ca429621a98b98b651c659c739593d5d1f3667fd971fc1a291f36cf SHA512 cde2248be2511cf28fed1334134c85acd393cce1b9fe28e05b7f1c51324e42ee6555beddca8b3a95c18a0d2a0a7ebce111a377955c674b9c813c9e11ae28f28e EBUILD moto-2.0.5.ebuild 2250 BLAKE2B 3f553b6d7b6369b3cdda5d7ab67071fadefc66a919ef74a1338a90d74c64b1bd76413a84599ac0cee355267002528bf1d46b44368a1c777c9933ce61c26136f2 SHA512 e0d941a86b75f2099e6cbb9ab0e511333094fad874d1ac9502f34a3a0e371b98060f7d4b94ba7d86328fe6328f5334a15dffabd1f2e0b197e286480709c826ee EBUILD moto-2.0.6.ebuild 2251 BLAKE2B ef7a7f4c0972f75284f23c438b1ec1e26690e0a668a0ff0a928f2663b54a1608637fcf7d753ae24ae790a1f774aaaddd53f849bb473eaea2e733ee64affc64ca SHA512 03a92b48dad8a2afe4afdc94bded9476dea8b72f2eee8bc7519e4b0a10cc0bf30b4e6951153e9cf9cf08502c3d141ac0f8756d8d3f59dcab0b88dc84440b4dbe diff --git a/dev-python/moto/moto-2.0.10.ebuild b/dev-python/moto/moto-2.0.10.ebuild new file mode 100644 index 000000000000..eb634172a25a --- /dev/null +++ b/dev-python/moto/moto-2.0.10.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{8..9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend +inherit distutils-r1 + +DESCRIPTION="Mock library for boto" +HOMEPAGE="https://github.com/spulec/moto" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + >=dev-python/aws-xray-sdk-python-0.93[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/backports-tempfile[${PYTHON_USEDEP}]' python3_{6,7}) + dev-python/boto[${PYTHON_USEDEP}] + dev-python/cfn-python-lint[${PYTHON_USEDEP}] + >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] + dev-python/cookies[${PYTHON_USEDEP}] + dev-python/dicttoxml[${PYTHON_USEDEP}] + >=dev-python/docker-py-2.5.1[${PYTHON_USEDEP}] + >=dev-python/idna-2.5[${PYTHON_USEDEP}] + >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] + >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] + >=dev-python/boto3-1.9.201[${PYTHON_USEDEP}] + >=dev-python/botocore-1.12.201[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/flask-cors[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + dev-python/pretty-yaml[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/python-jose[${PYTHON_USEDEP}] + dev-python/python-sshpubkeys[${PYTHON_USEDEP}] + >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.5[${PYTHON_USEDEP}] + dev-python/xmltodict[${PYTHON_USEDEP}] + >=dev-python/six-1.9[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zipp[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # unping indirect dep on ecdsa that's supposed to workaround pip + # bugs + sed -i -e '/ecdsa/s:<0.15::' setup.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + # 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/patsy/Manifest b/dev-python/patsy/Manifest index 88541eaedf24..f9f877614710 100644 --- a/dev-python/patsy/Manifest +++ b/dev-python/patsy/Manifest @@ -1,3 +1,4 @@ +AUX patsy-0.5.1-py310.patch 1159 BLAKE2B 6b734bf60d74f071cae590658b613c36fef694d99362fa30f4e6651a14c4f8063c8a67f93e756447712146d89b8f3371a8d08604a40edfb29f31c60b1e7a24b8 SHA512 843cac6b873114de82f784d3bd1ab4d317c73d4ae125088d303a976d15ca38eb6a0e2598e4758eb06a984c3c3820814b0b66380b3f7138eceef0d4730ca2fb8c DIST patsy-0.5.1.tar.gz 397623 BLAKE2B b8861e8c8e223db5df616c378d5b1ce475a1b337d049723c1a4b01432d9e1569c4b6537dc467fbc1ba83dfc7cd999ad188008e387c446f2133f872393c9eb960 SHA512 aeb56411e68713ec75c0b5344890939f721c460d3c7643b9fd57d7c928421d21408b0f2963348edf27a025842989dbae6fd5cfccd3f9d9497d60a1dffe8d7bdc -EBUILD patsy-0.5.1.ebuild 941 BLAKE2B 5b8e42d85c9081708f13308870134dcae1bf63119f42e206e9c9f941788eb5cb785a317253b92fad723eef3babcff6676619299ef1ff9a28da57b4add70f73f7 SHA512 8e4a95e68d8c7dd5bd66ebe33cc11a4c36338ef1d5f971c0eacf998690afbd2e3d5fdda7d37e435dc976b35db86cb3afb4d9885460ef7e5f6d58bc1e3c8f3d69 +EBUILD patsy-0.5.1.ebuild 636 BLAKE2B 6a4494a742b9c9b257fd3b1c5f56b75e94a1bd320dbb4fa9417a3a71a66b514834088e3260e8f82dec117a537f9f289d8b5df264dabf18e4304ba8fc74eb3a3c SHA512 24cc4bc05a433866385b7d6e0cb6834b2c4b0d8ddde0a0046ee4ff18f2c0b6dca86e5adf31fdb4ee0ce40ecce1b5e84d0998b243a982b6910c4e84093bff7cc0 MISC metadata.xml 568 BLAKE2B 198b70af00599da8c516753e5ec88fb4353a966a279e4e40db5b57a7bab57f0ec360ac70ebe4dc14b194b147520b0a8d6d35d2e73003c9c70bbbcc3c830b91aa SHA512 57957dc18e93d9bc8d53d72bf8c9e601856ffb1511943034ff30aa7d93761f8b986e67daadf8dbcd57ef7714ebf3dda13ccd345df294809954c942cb9bdd1310 diff --git a/dev-python/patsy/files/patsy-0.5.1-py310.patch b/dev-python/patsy/files/patsy-0.5.1-py310.patch new file mode 100644 index 000000000000..04a712e7e426 --- /dev/null +++ b/dev-python/patsy/files/patsy-0.5.1-py310.patch @@ -0,0 +1,39 @@ +From 6328c7652e4d7fda9872a555d31658e54b7b0e6e Mon Sep 17 00:00:00 2001 +From: thequackdaddy <pquack@gmail.com> +Date: Sun, 28 Oct 2018 19:38:08 -0500 +Subject: [PATCH] MAINT: A few python 3.7 fixes + +--- + patsy/constraint.py | 5 ++++- + tools/check-API-refs.py | 2 +- + 3 files changed, 6 insertions(+), 2 deletions(-) + +diff --git a/patsy/constraint.py b/patsy/constraint.py +index ca9f6e2..d710a94 100644 +--- a/patsy/constraint.py ++++ b/patsy/constraint.py +@@ -10,7 +10,10 @@ + __all__ = ["LinearConstraint"] + + import re +-from collections import Mapping ++try: ++ from collections.abc import Mapping ++except ImportError: ++ from collections import Mapping + import six + import numpy as np + from patsy import PatsyError +diff --git a/tools/check-API-refs.py b/tools/check-API-refs.py +index 8e9e8a1..9349028 100644 +--- a/tools/check-API-refs.py ++++ b/tools/check-API-refs.py +@@ -9,7 +9,7 @@ + root = dirname(dirname(abspath(__file__))) + patsy_ref = root + "/doc/API-reference.rst" + +-doc_re = re.compile("^\.\. (.*):: ([^\(]*)") ++doc_re = re.compile("^\\.\\. (.*):: ([^\\(]*)") + def _documented(rst_path): + documented = set() + for line in open(rst_path): diff --git a/dev-python/patsy/patsy-0.5.1.ebuild b/dev-python/patsy/patsy-0.5.1.ebuild index a652931b88ad..78b6a5d4cd69 100644 --- a/dev-python/patsy/patsy-0.5.1.ebuild +++ b/dev-python/patsy/patsy-0.5.1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 @@ -13,28 +13,15 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux" -IUSE="doc" RDEPEND=" dev-python/numpy[${PYTHON_USEDEP}] dev-python/six[${PYTHON_USEDEP}] dev-python/scipy[${PYTHON_USEDEP}] - " -BDEPEND=" - doc? ( - dev-python/ipython[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - )" +" distutils_enable_tests nose -python_compile_all() { - use doc && emake -C doc html -} - -python_install_all() { - use doc && HTML_DOCS=( doc/_build/html/. ) - distutils-r1_python_install_all -} +PATCHES=( + "${FILESDIR}"/${P}-py310.patch +) diff --git a/dev-python/pygobject/Manifest b/dev-python/pygobject/Manifest index 35c26254cf66..7440c2cfdadc 100644 --- a/dev-python/pygobject/Manifest +++ b/dev-python/pygobject/Manifest @@ -1,7 +1,9 @@ +AUX pygobject-3.40.1-dynamicimporter-py310.patch 1785 BLAKE2B 5c1779972f3e44a711465bd7b0138f0945118e39d566a7721b71e890756f41d10ea5af1864af40d667b195c5d3658f9cd982b93e18a6784289a5ecb3df2f9678 SHA512 4794c6dd097cd708614ef1e34f0a324bc7b607d66cb05c4025492fd64b7f165c1da10650ff9067f0b9342955643ff6c9519082ec3ff5abc83025b10fe45d9e48 DIST pygobject-3.38.0.tar.xz 553892 BLAKE2B d6add416c3f87ee9d5a56f30dbcaa599682ec5932b204f7c743d50475503ea2705e7943e6a93610d6f1c9d322723d1df6ea0f19c1cf245b2ca7d49395ca36170 SHA512 d63313dea2c143cf8c08a4678f1aa8e5908d503ad29c596eeb9fa1070e1231de57cf934c33031f9c4920b85e391f3b4143b46491ffd16e04e8d48871cb05e5df DIST pygobject-3.40.0.tar.xz 555920 BLAKE2B e7b3fa926066ddc6992c3087a582e25207ffb34f5c847be705953d8498f307661822462ceaa6362d120e96556a50882ed78540fce5cd2e97f0a4fd11232fe01c SHA512 c0c617e5678f942db33bdff6e149e438bd7d5f4e0a4e0a112476515d1face1c6e992457f998a5077a08bdacc1bda24711b29a4312bd3ee825b526d54a7ca3db7 DIST pygobject-3.40.1.tar.xz 556104 BLAKE2B e6a092bee68121d9ef82f41f21c9811f384b8578c48de445f707f1b0de124cf38d899d34b8f4269a154ebd4e323afdfa7afef5c0c5cc5dc451b2cd68b30da04b SHA512 a8350f43ea99c93aa66a23102d4ee2ca3c7f8ec2c8bcf5cd142dd097b4fb38167f1713efff3584aa323c34656c911fb940e462c83c02b107e4aad93d005022f7 EBUILD pygobject-3.38.0.ebuild 1750 BLAKE2B 5e9fb1c304867db80e8abd422d6a2acc73cc04d04e5183d6aa6be9e5dea7a1026d9e5888d389eea628dce8fea026363dfea8325f2d971a33a0861ae3b490f6ef SHA512 aad5d9bbbc022fa21b3491eedd9237bb125387639031c2a9897cbc1d7afa6f6f26d435612a73486e157d56000a1011ea80b215ed5e68753ca432eaa07f1a4b68 EBUILD pygobject-3.40.0.ebuild 1758 BLAKE2B a85eceb3d69edb260372851136bdc829bb67f7d2808e738af42f5a7d2bdd859c6b793259ede2ddf7b0218d2ba5027ab778749f3d8482aacb845bc020639dfe86 SHA512 43a99bc52d4fd93c4225b6acbe998fd506ed7abaccdacb0b8f5628bc1aa9e5cba05dda44856279856f20db9ab67672a2b941a32be7b9ec1b2f4a76b6442a8345 +EBUILD pygobject-3.40.1-r1.ebuild 1825 BLAKE2B 874ebd24bf0d966afcb38a254db85f34d8b2a015d2c5e7defdfabe561af2d01cc36963171bf5f49e4f952987f15c52785086d417caaa139977ecf7f230823abf SHA512 95b9d27a7eeb6428aba7d20bdd4c4bf6d36b06492244a1d41539768ffd3e1a636c9de3817f4939bc2b02b64a6c470de00117a7074cf90f32434823cc5b8a14a7 EBUILD pygobject-3.40.1.ebuild 1759 BLAKE2B 66a6d8aca77da2fc35a9b0a988eaefac284ddde2377407d6edf04b7342d6b14709157b3dc432f9ed5b80a3e47cdccfd31a63cfea07df0e1c0423fcf2c056ab28 SHA512 d869ac8ca451dcc1355beae9c84147ef42ee56ee60683eb21d23a64d7992842c0880bf4462dcc99b9b2a2199d4201a058bbc112ac7b189cdfb568ab40fddd7e1 MISC metadata.xml 1292 BLAKE2B ba52782219669d3f01ff1befd8ddcd445c36ac0af2f9e4125ca4fedca7c01665282485b9457b189689c80d4db55de9316ee2dfc19d06340c23a6f00e08e92213 SHA512 7aaf7a98227e36a6d556f225161eecbc43140736f3e79583694d131e99218f887aa6cfdb9991d6fb041bba6e7df2318e65e8cdf181d97bc41301aac6f040df48 diff --git a/dev-python/pygobject/files/pygobject-3.40.1-dynamicimporter-py310.patch b/dev-python/pygobject/files/pygobject-3.40.1-dynamicimporter-py310.patch new file mode 100644 index 000000000000..341a096767b6 --- /dev/null +++ b/dev-python/pygobject/files/pygobject-3.40.1-dynamicimporter-py310.patch @@ -0,0 +1,63 @@ +From 1ae65be0f7e621002e2e29921e0252c1b57a170c Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> +Date: Sun, 20 Jun 2021 17:54:52 +0200 +Subject: [PATCH] Implement PEP451 semantics for DynamicImporter + +Make DynamicImporter PEP451-compliant in order to silence ImportWarnings +in Python 3.10. This is mostly based on six._SixMetaPathImporter. + +Fixes #476 +--- + gi/importer.py | 18 ++++++++++++++++++ + 1 file changed, 18 insertions(+) + +diff --git a/gi/importer.py b/gi/importer.py +index 32967974..006cf464 100644 +--- a/gi/importer.py ++++ b/gi/importer.py +@@ -24,6 +24,7 @@ + import sys + import warnings + import importlib ++import importlib.util + from contextlib import contextmanager + + import gi +@@ -103,6 +104,7 @@ def get_import_stacklevel(import_hook): + class DynamicImporter(object): + + # Note: see PEP302 for the Importer Protocol implemented below. ++ # PEP451 for A ModuleSpec Type for the Import System. + + def __init__(self, path): + self.path = path +@@ -117,6 +119,16 @@ class DynamicImporter(object): + + return self + ++ def find_spec(self, fullname, path, target=None): ++ if not fullname.startswith(self.path): ++ return None ++ ++ path, namespace = fullname.rsplit('.', 1) ++ if path != self.path: ++ return None ++ ++ return importlib.util.spec_from_loader(fullname, self) ++ + def load_module(self, fullname): + if fullname in sys.modules: + return sys.modules[fullname] +@@ -149,3 +161,9 @@ class DynamicImporter(object): + sys.modules[fullname] = dynamic_module + + return dynamic_module ++ ++ def create_module(self, spec): ++ return self.load_module(spec.name) ++ ++ def exec_module(self, module): ++ pass +-- +2.32.0 + diff --git a/dev-python/pygobject/pygobject-3.40.1-r1.ebuild b/dev-python/pygobject/pygobject-3.40.1-r1.ebuild new file mode 100644 index 000000000000..01f7b7055ebd --- /dev/null +++ b/dev-python/pygobject/pygobject-3.40.1-r1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..10} ) + +inherit gnome.org meson python-r1 virtualx xdg + +DESCRIPTION="Python bindings for GObject Introspection" +HOMEPAGE="https://pygobject.readthedocs.io/" + +LICENSE="LGPL-2.1+" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="+cairo examples test" +RESTRICT="!test? ( test )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + >=dev-libs/glib-2.56:2 + >=dev-libs/gobject-introspection-1.56:= + dev-libs/libffi:= + cairo? ( + >=dev-python/pycairo-1.16.0[${PYTHON_USEDEP}] + x11-libs/cairo[glib] ) +" +DEPEND="${RDEPEND} + test? ( + dev-libs/atk[introspection] + dev-python/pytest[${PYTHON_USEDEP}] + x11-libs/gdk-pixbuf:2[introspection,jpeg] + x11-libs/gtk+:3[introspection] + x11-libs/pango[introspection] + ) +" +BDEPEND=" + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${P}-dynamicimporter-py310.patch +) + +src_configure() { + configuring() { + meson_src_configure \ + $(meson_feature cairo pycairo) \ + $(meson_use test tests) \ + -Dpython="${EPYTHON}" + } + + python_foreach_impl configuring +} + +src_compile() { + python_foreach_impl meson_src_compile +} + +src_test() { + local -x GIO_USE_VFS="local" # prevents odd issues with deleting ${T}/.gvfs + local -x GIO_USE_VOLUME_MONITOR="unix" # prevent udisks-related failures in chroots, bug #449484 + + testing() { + local -x XDG_CACHE_HOME="${T}/${EPYTHON}" + meson_src_test || die "test failed for ${EPYTHON}" + } + virtx python_foreach_impl testing +} + +src_install() { + installing() { + meson_src_install + python_optimize + } + python_foreach_impl installing + use examples && dodoc -r examples +} diff --git a/dev-python/pyproject2setuppy/Manifest b/dev-python/pyproject2setuppy/Manifest index be5513d94fc3..04f11f7f1760 100644 --- a/dev-python/pyproject2setuppy/Manifest +++ b/dev-python/pyproject2setuppy/Manifest @@ -1,7 +1,5 @@ -DIST pyproject2setuppy-14.tar.gz 10669 BLAKE2B ee4fac31546455ac3144f4989dd4260d876a7b8bd749bb34b210e5fc0194fb6347f9b5e7ebc9aa1374b4e4e5e4f22d260923097a58b47b5b940c69ec77f3b5b1 SHA512 46bbe31460195ca7df2c7e707772a430ccdbabf264a26f54d98101d08031d302343a6299a8e20d7be3d7984c48ad095dae942bf4da085285f61e2900a501245a DIST pyproject2setuppy-15.tar.gz 11796 BLAKE2B 7fd7176fa611e293d35db0cb91a029c0896921947252ffba51ba25599fab5ebe7d4a5c2f65593ec83bfcc180983de6e2022053bcaa3583c3f6cce9640e57c5f6 SHA512 dee048eed352ebf178981fdf9fd69143a72658d9161e2d65257001b3ee6773bb7040d12145e79496cf141cdf86aa5e5eeaf4de7023c4e721a3d978f9eb267374 DIST pyproject2setuppy-16.tar.gz 11902 BLAKE2B 13b9188d46064644ec5c549bdfaceef1a3df2da0d333cec37e593231cdcbf9277c81b32a95a2d2355a995feaec605bb0bb4610e51b1c06c1c3b50b3c9a73e1ca SHA512 e8e13644e5c88cfcc9f06ee9ece5c715ac1917d1eac9ba0d7a68a71d78ce84f50229890442c5c41e766083c302ae59f67bd20736e502615006cf35c41c2d3a9c -EBUILD pyproject2setuppy-14.ebuild 781 BLAKE2B d403d6dd98399d391ef1ddb3201fb950f1cc99efb8e2f4761be7ad2b3b1b09254d86d19473b838b7c9e2a7fd0d359a6434174f0d123fb3bed848d0dbf4d62028 SHA512 2abbd4d0bed4683738b352b7f32629069bc29892077e72209dc591ada05e5276f36f2ee6f551a39ccb3158738e9270c59452e7c2ea46336158385c18334093f2 -EBUILD pyproject2setuppy-15.ebuild 789 BLAKE2B bffb9a8c0c37a2b63fa8b724b39ac94a1bb17f08ae971d4a102975b6b2a716d01869066a3a08a9c60180af1e6b14287bc94e5e302e3579eed63b228889f7ab3e SHA512 c99f58d08758bfc58a8528671314e199b0066901bfa454595d2b8612e8c16aa3844dd47019be6511416ef0c8adfa67928882a6905f6b9786b4ffb129517c3356 +EBUILD pyproject2setuppy-15.ebuild 781 BLAKE2B d403d6dd98399d391ef1ddb3201fb950f1cc99efb8e2f4761be7ad2b3b1b09254d86d19473b838b7c9e2a7fd0d359a6434174f0d123fb3bed848d0dbf4d62028 SHA512 2abbd4d0bed4683738b352b7f32629069bc29892077e72209dc591ada05e5276f36f2ee6f551a39ccb3158738e9270c59452e7c2ea46336158385c18334093f2 EBUILD pyproject2setuppy-16.ebuild 789 BLAKE2B fe0e00600f65bd19118748c645d47c6bdc820037a301c847ea5070e7d6d73e469130fd9fbabc01facf39bc93dfe3edc7ebcc5c2c9511bda969eed68d03d228e5 SHA512 2e839ed0a1bd1e69ef9d505c0e2ff0236e093d76bb1018908f08207cb9830bb018c2d1ed8f511e6ac78f9525b533c1a86708b74f2e69bb0dcf3f2277a41a9293 MISC metadata.xml 430 BLAKE2B 934e5a791bb16f3717ace5fa869aab4998938109ee14ca1ae0c9c378d67366060b705ff4430f3d267d33c04cf23ffa0b4c1b2654b2a95d586fc22ab4fb43f8f9 SHA512 f52d07edc973dc7665be77367cfdc37d92f27adc730a327c57374b54b60f77802b79ca5f2ebfce2c687090763224e5939274dcf4fa2555834c580cb06c32419d diff --git a/dev-python/pyproject2setuppy/pyproject2setuppy-14.ebuild b/dev-python/pyproject2setuppy/pyproject2setuppy-14.ebuild deleted file mode 100644 index c8e912120f47..000000000000 --- a/dev-python/pyproject2setuppy/pyproject2setuppy-14.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 2019-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=manual -PYTHON_COMPAT=( python3_{7..10} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Cheap setup.py hack to install flit & poetry-based projects" -HOMEPAGE="https://github.com/mgorny/pyproject2setuppy" -SRC_URI=" - https://github.com/mgorny/pyproject2setuppy/archive/v${PV}.tar.gz - -> ${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -RDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/toml[${PYTHON_USEDEP}]" -BDEPEND="${RDEPEND} - test? ( - dev-python/pytest-forked[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest diff --git a/dev-python/pyproject2setuppy/pyproject2setuppy-15.ebuild b/dev-python/pyproject2setuppy/pyproject2setuppy-15.ebuild index 2134ae093aac..c8e912120f47 100644 --- a/dev-python/pyproject2setuppy/pyproject2setuppy-15.ebuild +++ b/dev-python/pyproject2setuppy/pyproject2setuppy-15.ebuild @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" RDEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] diff --git a/dev-python/pytables/Manifest b/dev-python/pytables/Manifest index 0569c648710c..041cb176e785 100644 --- a/dev-python/pytables/Manifest +++ b/dev-python/pytables/Manifest @@ -1,3 +1,5 @@ +AUX pytables-3.6.1-numpy-float.patch 7336 BLAKE2B 7322dea9dcc5d115dd7fe8a92e5547359c2496326f7195d6b14f596ea8eaf69b8b3e583a7de68bb22c9346073de31e46e9bf36babc423eecd1e36772d6a6e094 SHA512 2807aa3ddcb9a9e0cd086e621d9a906c6de9c49ac1668f261ac284b7b28841c36645e42557fbe3b45b21dab9c8551fc022d5496658d8ed267516d54021791ef5 +AUX pytables-3.6.1-py310.patch 1960 BLAKE2B fd0dede7bf5b515e03d7f936b2e512b815053aed8a4e5fad6f68844a3cb99b3d51a44d8c665d6113c79bb44cafd4f85d12142d1a94e70bef454970498b1909b3 SHA512 06d28a86fad569373304167440d364341a32121c6f7fb6d777d7c320c97c6e3903f862f5372dc85b5c6f953b168aa26029d0559004003526730e9b5af3284dda DIST tables-3.6.1.tar.gz 4641089 BLAKE2B 4ef44b1263f40babe6719bac911ab191e9cb0c58c377705b755fa83f1fba5af1d0fab10b0b45bd6af619a9dce4842a80afad8d8fbab64c3be4f35a1b3f117ee3 SHA512 7f018b70251095049bce9075be4e19f72efba9d39121a35c4521f634b1dd5b81ab6de47df3bb44ad6b8b2dbdbff4e6d0985ad1a7b2f13b44f920c0935e5830ff -EBUILD pytables-3.6.1.ebuild 1683 BLAKE2B a2ae71e2caf405cde677f9f17b61fa388cf51cc5ffceec7d17bbfaecffaffed6832a7038ed09cbb17545e1d268bc6c06df58ec73c77a3b4c6c9e56e03994b2ac SHA512 02d1329941bf7d3accff065dc0f6512a2f8068817e94648b63fa6cece9ccea342c8b236b976bbddb7bbdf659c456981897680b9a1ba65efd94c2571e6cf823ba +EBUILD pytables-3.6.1.ebuild 1764 BLAKE2B 89b8f0309c49c54e4c2dc991cf21bd8271616c917f79b9f52ca21da9d755672cd00138741c664b41249b160467d73563cc7db1fb190baf9d56f0fb288d8a5f5b SHA512 bce9783d8f90e6543d6680c866be5fcd7c06d22d3c8011e1d1934926f87c0ba87d05767a09bbd2e0470b818efe431aec61f2986cb2d500bab6224f906fd6f23b MISC metadata.xml 894 BLAKE2B 279b64a5124a6471b3ea6ed8d2f82b8d62e5d8bc809168fb2ae1c3bfd8cfa07428c2ff7f07deb5042a6ccb5ba7af43bc45d0db82b9cfc79fa5d19c090d0500a3 SHA512 88dd752e6014f6f133b5df7db6c2aafce0b9da8cdbc057493916dbfbe1da4bf52e0ed43d570d68035fc8f12302794a381a54f5b07b9726b52601724163bc672c diff --git a/dev-python/pytables/files/pytables-3.6.1-numpy-float.patch b/dev-python/pytables/files/pytables-3.6.1-numpy-float.patch new file mode 100644 index 000000000000..71fa3b85dacf --- /dev/null +++ b/dev-python/pytables/files/pytables-3.6.1-numpy-float.patch @@ -0,0 +1,176 @@ +From d2a480d14f29fb1d2baee292bc6a2cca4817dcbd Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl> +Date: Sun, 24 Jan 2021 16:36:21 +0100 +Subject: [PATCH] Use lowercase float/int as numpy dtype + +Float64 is gone with numpy 1.20, which causes doctests to fail +(https://bugzilla.redhat.com/show_bug.cgi?id=1914335). + +Similarly all uses of Float32, Int32 should be replaced by float32 and int32. + +>>> numpy.__version__ +'1.19.4' +>>> [k for k in numpy.sctypeDict.keys() if str(k).lower().startswith('float')] +['float16', 'Float16', 'float32', 'Float32', 'float64', 'Float64', 'float128', 'Float128', 'float_', 'float'] + +>>> numpy.__version__ +'1.20.0rc2' +>>> [k for k in numpy.sctypeDict.keys() if str(k).lower().startswith('float')] +['float16', 'float32', 'float64', 'float128', 'float_', 'float'] +--- + bench/bsddb-table-bench.py | 10 +++++----- + bench/postgres-search-bench.py | 4 ++-- + bench/pytables-search-bench.py | 6 +++--- + bench/recarray2-test.py | 2 +- + bench/shelve-bench.py | 10 +++++----- + bench/sqlite-search-bench.py | 4 ++-- + tables/atom.py | 2 +- + 7 files changed, 19 insertions(+), 19 deletions(-) + +diff --git a/bench/bsddb-table-bench.py b/bench/bsddb-table-bench.py +index dd9f875b..a2e02361 100644 +--- a/bench/bsddb-table-bench.py ++++ b/bench/bsddb-table-bench.py +@@ -83,11 +83,11 @@ def createFile(filename, totalrows, recsize, verbose): + # Get the record object associated with the new table + if recsize == "big": + isrec = Big() +- arr = np.array(np.arange(32), type=np.Float64) +- arr2 = np.array(np.arange(32), type=np.Float64) ++ arr = np.array(np.arange(32), type=np.float64) ++ arr2 = np.array(np.arange(32), type=np.float64) + elif recsize == "medium": + isrec = Medium() +- arr = np.array(np.arange(2), type=np.Float64) ++ arr = np.array(np.arange(2), type=np.float64) + else: + isrec = Small() + # print d +@@ -107,8 +107,8 @@ def createFile(filename, totalrows, recsize, verbose): + #d['TDCcount'] = i % 256 + d['ADCcount'] = (i * 256) % (1 << 16) + if recsize == "big": +- #d.float1 = np.array([i]*32, np.Float64) +- #d.float2 = np.array([i**2]*32, np.Float64) ++ #d.float1 = np.array([i]*32, np.float64) ++ #d.float2 = np.array([i**2]*32, np.float64) + arr[0] = 1.1 + d['float1'] = arr + arr2[0] = 2.2 +diff --git a/bench/postgres-search-bench.py b/bench/postgres-search-bench.py +index d2c9f4f4..7fe83f6a 100644 +--- a/bench/postgres-search-bench.py ++++ b/bench/postgres-search-bench.py +@@ -15,11 +15,11 @@ def flatten(l): + + + def fill_arrays(start, stop): +- col_i = numpy.arange(start, stop, type=numpy.Int32) ++ col_i = numpy.arange(start, stop, type=numpy.int32) + if userandom: + col_j = numpy.random.uniform(0, nrows, size=[stop - start]) + else: +- col_j = numpy.array(col_i, type=numpy.Float64) ++ col_j = numpy.array(col_i, type=numpy.float64) + return col_i, col_j + + # Generator for ensure pytables benchmark compatibility +diff --git a/bench/pytables-search-bench.py b/bench/pytables-search-bench.py +index 726d30b1..6417186b 100644 +--- a/bench/pytables-search-bench.py ++++ b/bench/pytables-search-bench.py +@@ -37,11 +37,11 @@ def create_db(filename, nrows): + stop = (j + 1) * step + if stop > nrows: + stop = nrows +- arr_f8 = np.arange(i, stop, type=np.Float64) +- arr_i4 = np.arange(i, stop, type=np.Int32) ++ arr_f8 = np.arange(i, stop, type=np.float64) ++ arr_i4 = np.arange(i, stop, type=np.int32) + if userandom: + arr_f8 += np.random.normal(0, stop * scale, shape=[stop - i]) +- arr_i4 = np.array(arr_f8, type=np.Int32) ++ arr_i4 = np.array(arr_f8, type=np.int32) + recarr = np.rec.fromarrays([arr_i4, arr_i4, arr_f8, arr_f8]) + table.append(recarr) + j += 1 +diff --git a/bench/recarray2-test.py b/bench/recarray2-test.py +index a8602d80..bf55389d 100644 +--- a/bench/recarray2-test.py ++++ b/bench/recarray2-test.py +@@ -22,7 +22,7 @@ delta = 0.000001 + # Creation of recarrays objects for test + x1 = np.array(np.arange(reclen)) + x2 = chararray.array(None, itemsize=7, shape=reclen) +-x3 = np.array(np.arange(reclen, reclen * 3, 2), np.Float64) ++x3 = np.array(np.arange(reclen, reclen * 3, 2), np.float64) + r1 = recarray.fromarrays([x1, x2, x3], names='a,b,c') + r2 = recarray2.fromarrays([x1, x2, x3], names='a,b,c') + +diff --git a/bench/shelve-bench.py b/bench/shelve-bench.py +index d30739d8..a591ed1e 100644 +--- a/bench/shelve-bench.py ++++ b/bench/shelve-bench.py +@@ -65,8 +65,8 @@ def createFile(filename, totalrows, recsize): + # Get the record object associated with the new table + if recsize == "big": + d = Big() +- arr = NA.array(NA.arange(32), type=NA.Float64) +- arr2 = NA.array(NA.arange(32), type=NA.Float64) ++ arr = NA.array(NA.arange(32), type=NA.float64) ++ arr2 = NA.array(NA.arange(32), type=NA.float64) + elif recsize == "medium": + d = Medium() + else: +@@ -87,15 +87,15 @@ def createFile(filename, totalrows, recsize): + #d.TDCcount = i % 256 + d.ADCcount = (i * 256) % (1 << 16) + if recsize == "big": +- #d.float1 = NA.array([i]*32, NA.Float64) +- #d.float2 = NA.array([i**2]*32, NA.Float64) ++ #d.float1 = NA.array([i]*32, NA.float64) ++ #d.float2 = NA.array([i**2]*32, NA.float64) + arr[0] = 1.1 + d.float1 = arr + arr2[0] = 2.2 + d.float2 = arr2 + pass + else: +- d.float1 = NA.array([i ** 2] * 2, NA.Float64) ++ d.float1 = NA.array([i ** 2] * 2, NA.float64) + #d.float1 = float(i) + #d.float2 = float(i) + d.grid_i = i +diff --git a/bench/sqlite-search-bench.py b/bench/sqlite-search-bench.py +index 76dc7c57..dc611695 100644 +--- a/bench/sqlite-search-bench.py ++++ b/bench/sqlite-search-bench.py +@@ -136,10 +136,10 @@ CREATE INDEX ivar3 ON small(var3); + if randomvalues: + var3 = np.random.uniform(minimum, maximum, shape=[j - i]) + else: +- var3 = np.arange(i, j, type=np.Float64) ++ var3 = np.arange(i, j, type=np.float64) + if noise: + var3 += np.random.uniform(-3, 3, shape=[j - i]) +- var2 = np.array(var3, type=np.Int32) ++ var2 = np.array(var3, type=np.int32) + var1 = np.array(None, shape=[j - i], dtype='s4') + if not heavy: + for n in range(j - i): +diff --git a/tables/atom.py b/tables/atom.py +index f92e16ad..f93d915b 100644 +--- a/tables/atom.py ++++ b/tables/atom.py +@@ -338,7 +338,7 @@ class Atom(metaclass=MetaAtom): + Traceback (most recent call last): + ... + ValueError: unknown NumPy scalar type: 'S5' +- >>> Atom.from_sctype('Float64') ++ >>> Atom.from_sctype('float64') + Float64Atom(shape=(), dflt=0.0) + + """ +-- +2.32.0 + diff --git a/dev-python/pytables/files/pytables-3.6.1-py310.patch b/dev-python/pytables/files/pytables-3.6.1-py310.patch new file mode 100644 index 000000000000..600516d16396 --- /dev/null +++ b/dev-python/pytables/files/pytables-3.6.1-py310.patch @@ -0,0 +1,49 @@ +From 2431150d691f5ccdb3da204a46e346c156ea2523 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl> +Date: Mon, 16 Nov 2020 10:53:05 +0100 +Subject: [PATCH] doctest: adjust __init__ TypeError formatting + +Python3.10 includes the class name in the TypeError string for +__init__(), so the literal match does not work anymore. +--- + tables/atom.py | 4 ++-- + tables/filters.py | 4 ++-- + 2 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/tables/atom.py b/tables/atom.py +index 81d37c54..9cfd8609 100644 +--- a/tables/atom.py ++++ b/tables/atom.py +@@ -569,10 +569,10 @@ class Atom(metaclass=MetaAtom): + >>> atom3 = atom1.copy(shape=(2, 2)) + >>> print(atom3) + Int32Atom(shape=(2, 2), dflt=0) +- >>> atom1.copy(foobar=42) ++ >>> atom1.copy(foobar=42) #doctest: +ELLIPSIS + Traceback (most recent call last): + ... +- TypeError: __init__() got an unexpected keyword argument 'foobar' ++ TypeError: ...__init__() got an unexpected keyword argument 'foobar' + + """ + newargs = self._get_init_args() +diff --git a/tables/filters.py b/tables/filters.py +index f809ce77..7cb9b02d 100644 +--- a/tables/filters.py ++++ b/tables/filters.py +@@ -432,10 +432,10 @@ class Filters: + Filters(complevel=0, shuffle=False, bitshuffle=False, fletcher32=False, least_significant_digit=None) + >>> print(filters3) + Filters(complevel=1, complib='zlib', shuffle=False, bitshuffle=False, fletcher32=False, least_significant_digit=None) +- >>> filters1.copy(foobar=42) ++ >>> filters1.copy(foobar=42) #doctest: +ELLIPSIS + Traceback (most recent call last): + ... +- TypeError: __init__() got an unexpected keyword argument 'foobar' ++ TypeError: ...__init__() got an unexpected keyword argument 'foobar' + + """ + +-- +2.32.0 + diff --git a/dev-python/pytables/pytables-3.6.1.ebuild b/dev-python/pytables/pytables-3.6.1.ebuild index 0c4f1afc0ab4..67448098a5b3 100644 --- a/dev-python/pytables/pytables-3.6.1.ebuild +++ b/dev-python/pytables/pytables-3.6.1.ebuild @@ -1,10 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_COMPAT=( python3_{8..10} ) PYTHON_REQ_USE="threads(+)" MY_PN=tables @@ -15,6 +14,7 @@ inherit distutils-r1 flag-o-matic DESCRIPTION="Hierarchical datasets for Python" HOMEPAGE="https://www.pytables.org/" SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" SLOT="0" KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux" @@ -22,26 +22,33 @@ LICENSE="BSD" IUSE="doc examples test" RESTRICT="!test? ( test )" -RDEPEND=" +DEPEND=" app-arch/bzip2:0= app-arch/lz4:0= >=app-arch/zstd-1.0.0:= >=dev-libs/c-blosc-1.11.1:0= dev-libs/lzo:2= >=dev-python/numpy-1.8.1[${PYTHON_USEDEP}] - >=dev-python/numexpr-2.5.2[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] >=sci-libs/hdf5-1.8.15:0= " -DEPEND="${RDEPEND} +RDEPEND="${DEPEND} + >=dev-python/numexpr-2.5.2[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}]" +BDEPEND=" >=dev-python/cython-0.21[${PYTHON_USEDEP}] - test? ( dev-python/mock[${PYTHON_USEDEP}] ) + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ${RDEPEND} + ) " -S="${WORKDIR}/${MY_P}" - DOCS=( RELEASE_NOTES.txt THANKS ) +PATCHES=( + "${FILESDIR}"/${P}-numpy-float.patch + "${FILESDIR}"/${P}-py310.patch +) + python_prepare_all() { export HDF5_DIR="${EPREFIX}"/usr rm tables/*.c || die @@ -58,7 +65,7 @@ python_compile() { python_test() { cd "${BUILD_DIR}"/lib* || die - ${EPYTHON} tables/tests/test_all.py || die + "${EPYTHON}" tables/tests/test_all.py -v || die } python_install_all() { diff --git a/dev-python/pytest-salt-factories/Manifest b/dev-python/pytest-salt-factories/Manifest index 35c501da73b5..b02cef2e7f9c 100644 --- a/dev-python/pytest-salt-factories/Manifest +++ b/dev-python/pytest-salt-factories/Manifest @@ -1,4 +1,4 @@ AUX pytest-salt-factories-0.121.1-tests.patch 12284 BLAKE2B 4374c59c530d5e0171763b376ecf883354ada4255943017ac60361309dc5799ef563233474a5fa1756e7193285e46d7186973c8413b558dfcb3408cd42aecb6f SHA512 08ef49871ca4882dcd57a51c99e40fb87267ff07c666c54ba475061fb113f5e985c0c23f586366c33cb00b07bc190b98e6d7bb080004ee8b7c171bdb016f9ef8 DIST pytest-salt-factories-0.121.1.tar.gz 102121 BLAKE2B 92cd5953b11377f1646f01b86a677a50216d16bcb944235a3f04176aecbb005974c415adcbf23cc391aab41b1ee9596984516ab61ecdd8c944d4ce707c39ab00 SHA512 32252695c6e8b17ef17d3330c4b0b38bdce89201d5573b4efa3531a72e826ee1fb26fea3ad0408401dec867cee405f21031804c32eb8fe6ceaa00925b17725a1 -EBUILD pytest-salt-factories-0.121.1.ebuild 1733 BLAKE2B 65a52a6f374c9bb69357b364fdaa360a4783e052d9056ce1cf2551393607d58794b011b4894c4abe2673a1d85c19ec9e0823302cd6dd7e96062ee34fae42d42c SHA512 56745ae73fb618236042038cf82098502bd4619d74e35c7a7c39ed6fddbf2d70f8177726381722620b6ce36c58d20e1bc20cd9aceb0bf166e4d664d8a33cf969 +EBUILD pytest-salt-factories-0.121.1.ebuild 1732 BLAKE2B 40b25f2bfaaa83760dc91ffe291c49a6894f02216ba19f5d02d060c07a33f213e3b8dfbf3c64d752066df1eb40eec249433ad18410b407a8a8dd2b864d5f9c4d SHA512 0efe47206b8b0eaf74e56789a7fb3385c0c93ceb7d85271cbfa9d70d0ba813cbb0e71a50f9a5ba1b4a42757ff4d8d89131ee15457fb76bbc616da87999703211 MISC metadata.xml 357 BLAKE2B b94cb0c96e720905214dd706d61a7280f2209def7f2eaedf553d83204ee49fdb4c6f668531bbc39f9bc0ea32a728293d1c7892b6c1eb8f2babb185cd32b5d709 SHA512 ed4155a008f387aad4cbff6a314c5240484901f0bef50a3225b16ae1068ee4e01288b4c3692a9a075785c98140a20d51d17b44504eb77da3436ddefb3c0ce017 diff --git a/dev-python/pytest-salt-factories/pytest-salt-factories-0.121.1.ebuild b/dev-python/pytest-salt-factories/pytest-salt-factories-0.121.1.ebuild index d65999e3b7bb..9242c9775557 100644 --- a/dev-python/pytest-salt-factories/pytest-salt-factories-0.121.1.ebuild +++ b/dev-python/pytest-salt-factories/pytest-salt-factories-0.121.1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/saltstack/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm x86" +KEYWORDS="amd64 ~arm x86" IUSE="test" RDEPEND=" diff --git a/dev-python/python-dotenv/Manifest b/dev-python/python-dotenv/Manifest index 3f2f1a4f746b..d97664d3ef1f 100644 --- a/dev-python/python-dotenv/Manifest +++ b/dev-python/python-dotenv/Manifest @@ -1,3 +1,5 @@ DIST python-dotenv-0.17.1.tar.gz 31608 BLAKE2B fdddfa1c39282ceec03fc1569d9a7d038e91a046a1248dd27af011dc60361f06f5324504d623a6109d783bb3b5ccac7cae758d918b17f5b0c65a1085bda627ea SHA512 42cdca1356ac2ad80884a5bf3ed419d1202d6a54746f7a21dc9c1bc7579383ac5c72e8b708bc33dfea3904228125fe7b3b2190bfe53e8b4767f5223d59050417 +DIST python-dotenv-0.18.0.tar.gz 32242 BLAKE2B 6cbef7ea7278a3114b3eaea2ede0c68e2c6dcc3868f655dbcad9596ea6e1ec0b9f5d183a73fda32e53d348ae23c11ca3f9d2e8eadd974eea4dd13903b9f9c845 SHA512 4b120ee45602ce703ee360fb5af07a8854bcb1ecd9084057e00324b152cf230fa6f065b374b6eebbfb7069b32762624ea61dd5d2fa6ac62cb7e3a2bb6ddfc1ed EBUILD python-dotenv-0.17.1.ebuild 658 BLAKE2B 351ba0bda692ac281e924ed3a5c66e302b78a611b7a381c6dd7fc09d955ce5c386a8fa56bc4394430f69bf852abe47d7a8508067434246e9fb07311547400686 SHA512 261bb061544b4de0a3374e86ac272176f010d960ebf8661b990b3104173527fb0ec0fc69439abba10380c6bc2e4138e0ccdf98027e588bb1d076668a60a9344c +EBUILD python-dotenv-0.18.0.ebuild 626 BLAKE2B ffa78d2f5bb37c74df4cf620fe47fe8ca7658cc748e50de88d23820aadaf63055946f5bd26e88dbc11145e738f8a22a66fbd9313c70c6a7d8039a5cec7c0d4eb SHA512 8d5d3c31b77a3f457e4526ab176d4fc84b78387c000513623d3a6622ecc4884addb986c79f6ead9767d836045c9f17c287f7a898f2c985f9197e34e88d68eddd MISC metadata.xml 465 BLAKE2B 9b67c317b80cf8956d86e3482f9bd4b8824013c758e13c53865c4c8b428127a39188b23776176e038b4e58f8eb4e28b6ff7030df75a300bb647f969ef979a551 SHA512 f4bbf11566f50c90aeb7684755651f9112d3ce12dbfc425aa209eeff7c5a2636688a9236bd5227961cc334c07c82f49da0f4f27c3189bb7a0a8f76b517e9036f diff --git a/dev-python/python-dotenv/python-dotenv-0.18.0.ebuild b/dev-python/python-dotenv/python-dotenv-0.18.0.ebuild new file mode 100644 index 000000000000..3fd9aa665e52 --- /dev/null +++ b/dev-python/python-dotenv/python-dotenv-0.18.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..9} ) +inherit distutils-r1 + +DESCRIPTION="Manage .env files" +HOMEPAGE="https://github.com/theskumar/python-dotenv" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~sparc ~x86" + +DEPEND=" + test? ( + >=dev-python/click-5[${PYTHON_USEDEP}] + dev-python/ipython[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + >=dev-python/sh-1.09[${PYTHON_USEDEP}] + )" + +DOCS=( CHANGELOG.md README.md ) + +distutils_enable_tests --install pytest diff --git a/dev-python/pytimeparse/Manifest b/dev-python/pytimeparse/Manifest new file mode 100644 index 000000000000..e283df672927 --- /dev/null +++ b/dev-python/pytimeparse/Manifest @@ -0,0 +1,3 @@ +DIST pytimeparse-1.1.8.tar.gz 9403 BLAKE2B 671a96f0f7d517e6cd137b8ec7bda17976993a683ece5e06f857cb07063cd4d7fdd08a98f838dbf35251a8403b68f7dc538e5450db3abe644e8c7c4f6c76b645 SHA512 9eb4530d779b940d66412920eefa4f4d3c43719aa3e4104da4f337c05421bcbb6ad4cb2d6459ddfac770fc9f19960a9d8ce578e67f2513499a7bee8efe9541ec +EBUILD pytimeparse-1.1.8.ebuild 459 BLAKE2B bcad594fb743071bfef5014bb597086af7071d7c9132342fa832a872b133353305b8d7f66d540453591cde7545aee56c47e52f702e3e39fca6e9f1c961fe3a80 SHA512 f364c2355817b436b60ef24bf8d4178add4621bdc35348b19d0c75c9c3576e4d2d0d9c30c53dd3461c1f553b65c2721a9d4349548ecd5e220be341873ff97713 +MISC metadata.xml 500 BLAKE2B 7ea01342915d921baddc08f004c5974955bfb044a8aba601b53cf13ad8c8707aa07bff7b9cd4b5e66de8a65ff244402ca91ef88e45429035c5d190c2e488ae84 SHA512 28a1c7aba951445e096f528221d38286a5d2a97b309e13ef9d7d755c282fad6794af1ad85ecbc13beb1e546e6395b76c579aa72b1669d7af08394ff2b9cb1866 diff --git a/dev-python/pytimeparse/metadata.xml b/dev-python/pytimeparse/metadata.xml new file mode 100644 index 000000000000..fae36623a4f3 --- /dev/null +++ b/dev-python/pytimeparse/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zmedico@gentoo.org</email> + </maintainer> + <upstream> + <bugs-to>https://github.com/wroberts/pytimeparse/issues</bugs-to> + <changelog>https://github.com/wroberts/pytimeparse/commits/master</changelog> + <remote-id type="pypi">pytimeparse</remote-id> + <remote-id type="github">wroberts/pytimeparse</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pytimeparse/pytimeparse-1.1.8.ebuild b/dev-python/pytimeparse/pytimeparse-1.1.8.ebuild new file mode 100644 index 000000000000..b49692b4aa69 --- /dev/null +++ b/dev-python/pytimeparse/pytimeparse-1.1.8.ebuild @@ -0,0 +1,15 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_SETUPTOOLS=bdepend + +inherit distutils-r1 + +DESCRIPTION="A small Python module to parse various kinds of time expressions." +HOMEPAGE="https://github.com/wroberts/pytimeparse https://pypi.org/project/pytimeparse/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" diff --git a/dev-python/raet/Manifest b/dev-python/raet/Manifest index fe37a45702d4..77afa1269efa 100644 --- a/dev-python/raet/Manifest +++ b/dev-python/raet/Manifest @@ -1,5 +1,5 @@ AUX raet-0.6.8-msgpack-1.0.patch 8061 BLAKE2B 90607848542b8ba5a219a872f6f4f4e12546ebf12e1d38cfc3c3259282eda97a641fcfa587646e83ffa5e98d5cc3b0e77c032ebf2358a5cd603e2ac58ad9a114 SHA512 524e2c787386a885796a3666dff792d7e2808585658227acbab51c90c7ebfdfb0435ea67bcdc23e9be6b43364452e23a085d4843e4c1ee1dd576e140007c4293 DIST raet-0.6.8.tar.gz 807419 BLAKE2B 2370eb55b76a52cf89363f9891a411ea7fa2f27b84bd216c44010fd9afb5dcd9261570f916db00ff7bd922c485cd6123b3a6522154b6e05f7869d7e790177f7b SHA512 01279e7414ec3edc9f2bc0641cb9e0606ebf5700b5ce37a05fd5919f3274b3b43aad64110baf4c4b1fda3843cb1a87b6be4ab592a8f62e82b3a716a86ae61b20 EBUILD raet-0.6.8-r1.ebuild 1036 BLAKE2B 63271bc77a2b97af77519efc7a1ed4e57ddcf99b6709f00906b5601ead93f2e07183ea311b107d882973afe9e30744e43ff7ad90f605833859d69430ff6e7eab SHA512 016824daf78e077ad3cd4ac011e2b71e7c4bb58acc3ae8a50cc0049a2448919ed45b1f1c159ebae65473f5b17b39d1e6d48b21479c8731086c2c7843cfdd9f61 -EBUILD raet-0.6.8-r2.ebuild 984 BLAKE2B 8eb08bebbe40a459355ef13e450dbd5e26da4d10e1b14276d6cddea085cc46e2252a453b2f89b8f2c744b719b1369c134eeac016045b4972534f6f381a44b49f SHA512 6d1279db2ed6a2edf3e9d2c54ae6d2f3c31d59f89644132070ae3935599941c907c19e3e1ba01d574908904cd732cf3fa80f25e17b66c0d1f4dac566e6af065f +EBUILD raet-0.6.8-r2.ebuild 983 BLAKE2B 11d40206877bb71538cc2602687a25e9d761e50d8924dad64133affd4794d76de09fcfbd3fd9e56333f41bf65de23f8958242d2b4191fb9d1c3b3e4e6f3e7929 SHA512 f5538b3fefc01de2aed617bb192195bd0b53d08bd55dfd1dc2102783e05036cbd62714cdc4221103964cfcb69b49d955ef1219aeef68e1e4b63ac47ef02e33c0 MISC metadata.xml 474 BLAKE2B 8b186f4c18696c3df8e3d6b29f5d45d3c040156a473edb5066fa79f449642e4f1a3274974bbfc02733cf9ae3bc04b22c06cb8ef80b9962d14b4ee26dedc329d9 SHA512 33760bd0996fbe1d95e4f4ed658eb4a6c221b4c8911842db2e0f443d317c9c079ecb5a8e8f5cfea1c47531a944c6d79b4f4bd29775ddef6cb6c6008c4f359e15 diff --git a/dev-python/raet/raet-0.6.8-r2.ebuild b/dev-python/raet/raet-0.6.8-r2.ebuild index 67c9fc4dbd5c..bd9f9feb3a4e 100644 --- a/dev-python/raet/raet-0.6.8-r2.ebuild +++ b/dev-python/raet/raet-0.6.8-r2.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm x86" +KEYWORDS="amd64 ~arm x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/sphinx_ansible_theme/Manifest b/dev-python/sphinx_ansible_theme/Manifest index 2a186495cd71..aa543a9391c0 100644 --- a/dev-python/sphinx_ansible_theme/Manifest +++ b/dev-python/sphinx_ansible_theme/Manifest @@ -1,3 +1,5 @@ DIST sphinx_ansible_theme-0.6.0.tar.gz 37606 BLAKE2B 3b27d15133e167602ce9515fb630ed9ecb0b0d346450417900e616476fa80aa216c033741121f82289d9e5bf977e01395663e5f61c4682576e8b773c17af2723 SHA512 d134a9e6eab0cab8e60c251a69e7b3dfa2864e5e19d65ce2e8b565a601e4b5255536f6b69ac17952ebd14929471a487200fc97c9c5e1f3f8232daf8e4ed63cef +DIST sphinx_ansible_theme-0.7.0.tar.gz 34120 BLAKE2B ce116d0392fd5feaf389bfc3c1934aa72eef4fe55d8307df0035e6d73824e2ebe0da48175a29703c5643c297ce5628f680089624046f10612ca6995a3f2b46b5 SHA512 4cb395eb02c5ea1bfb743af9fb71732b65d155d87064128b134b0561c6eaaa3239ad65be12cd90d704b7f80c32f97c544493f67027ccd03865dfa4a3c88e816e EBUILD sphinx_ansible_theme-0.6.0.ebuild 546 BLAKE2B 2cf05a53b73353c25b9bbab9cf6224acf86fa75c7cdd31ca1ac8a2e0adc4fb04f266cbbe4220913628097ab95daac9bbe4b3599c58bc2d8f5d585495c57f0bbb SHA512 0d9c175f59ea2f22d7bc51cab60e9da2076571bed6074ef6ba152d0f9a52e6e595228d86977e38ce2ee6565b69c0210fc587823f283e4ce9b73593117de50773 +EBUILD sphinx_ansible_theme-0.7.0.ebuild 547 BLAKE2B a1a5a84d9c18f7448101cdda4ff3f43913fd218dfb450b6d38f53ae3dce21751f7d0857b7c7f781dc786e329eb9fd773c5b403b50315cfdbab4bb5cd4dec0067 SHA512 3e00e28cb7cbcb25cb29bcd73a460b0cc478a1286ecddf5c714c66fb5480dda1886ee92cea8f9ee9498655417a50636c0e9e9d43cb43cf9ec617e7ad6dff43e3 MISC metadata.xml 430 BLAKE2B d69493167713787e38b47e62dcf894646cc2df043c2010c543f7f1b608b5511a23cf558752244b6a6ae2521e00c4c1da2cfc33777e5ed71ed3d04844f06eec6b SHA512 518ca67d4193bbfc53851e64bac3be3769677ff987bd0edb3bb102b05e1cd1b3c818f194b5fcdf0471dc6a89bc9d45a393922a5767675818dcdd5303c07d1e56 diff --git a/dev-python/sphinx_ansible_theme/sphinx_ansible_theme-0.7.0.ebuild b/dev-python/sphinx_ansible_theme/sphinx_ansible_theme-0.7.0.ebuild new file mode 100644 index 000000000000..e0a219d71f37 --- /dev/null +++ b/dev-python/sphinx_ansible_theme/sphinx_ansible_theme-0.7.0.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="A reusable Ansible Sphinx theme" +HOMEPAGE="https://github.com/ansible-community/sphinx_ansible_theme" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]" +BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}] + dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]" diff --git a/dev-python/statsmodels/Manifest b/dev-python/statsmodels/Manifest index 0d4770bf79a3..156d49b9e01c 100644 --- a/dev-python/statsmodels/Manifest +++ b/dev-python/statsmodels/Manifest @@ -1,4 +1,5 @@ AUX statsmodels-0.11.1-tests.patch 1915 BLAKE2B 90c13595a80cf1e59e81c483746f4b7e25bbb47d03211c39fda4dc9f441b03a9e793398d88e235ab53895e3d08cf97f7080d961317c4ea3fab04e011f0e5b64b SHA512 ec7f858b1af512d0bf591d35681b8663041e08e64a6e223e56cf600316a203259cd6386d2004bf884224608945b9e4938e9d39f8370d11c8914f6b773cd2773d +AUX statsmodels-0.12.2-new-pandas-scipy.patch 2752 BLAKE2B 8608a86dd777b7e3fbcac43ddafa36535e36cdf8bfd30d362f4582c3d0b34223d9c59c8ad3a3f549225fab4b82f1eb841c998dd19befd7048d3c1ee6095d926a SHA512 edf5a93b56bda05cda7243c686af43689ed792480b938a8b618b099382612cfa5b89319e3b2d29fc7cd7335964d2404719ee1e0a1fb8098fc07e4060be152005 DIST statsmodels-0.12.2.tar.gz 17470078 BLAKE2B 7b2a17fe350489888fd05d2275b597ec7cb0f32dcea97daa5c06a973fa53a7b3af40d494c735e30cd65deec9b5dd314c0513454a7c2d2c40e22fd6de3aeb40c8 SHA512 ae4872bc7300ef564407daa8b4076fd70fc180965622ed2173871579e063e2143e000540089923fe171dbb191b7dd872077d8ba6794fe23390331375ec7ce810 -EBUILD statsmodels-0.12.2.ebuild 2015 BLAKE2B 5eaf681a369ac8ff514007caee37c4172e1861458f7cd6e26e8e99a72b433459c43f155e0b18662e4d6b24cfef699beb969e99a36a62256b58af687b66565c33 SHA512 e74f144154e59f885a4b88feda42683c7715b62e1c22607ed500d2471b51fdf2ba745a6d638c93c8859c723dce7cdf1f145d4a86f8e8e7b85dcefee7d96935db +EBUILD statsmodels-0.12.2.ebuild 2058 BLAKE2B 53540f3f3b1b29ee92098d7ba3c9b524e7150d81541ae5b44718b466d8f88c5bf37168d9616d06526c7a16802c4d30fbea2e190b19eda67029c947c6b9b67c06 SHA512 5cea9a0d3ee17f8f87e0aaf950f0555d38e4d225e9d1f66d6de836fef335ff2385aea2cf8df7f7eb35fb3384578b9c4394d15e2c3d4b5bc650dc7593139efe0e MISC metadata.xml 1343 BLAKE2B a08942814d2fd32d84c562d0d83b3e63dc2ff687808dc892a2871c0a07a100a5f379f61fd934aa3d1557d0dc899d08b57affb2e0ddb540726163166c6adddffa SHA512 6d76846584b1152e7e40e52a523157c0d99ee9addf92c2813dbe3e1886169f66cfb64b2532b24e76e4f128e12a19e147c3748716f1dbf28793118a73ad162200 diff --git a/dev-python/statsmodels/files/statsmodels-0.12.2-new-pandas-scipy.patch b/dev-python/statsmodels/files/statsmodels-0.12.2-new-pandas-scipy.patch new file mode 100644 index 000000000000..3015147fc2c5 --- /dev/null +++ b/dev-python/statsmodels/files/statsmodels-0.12.2-new-pandas-scipy.patch @@ -0,0 +1,73 @@ +From 4f32f3990fbba0ee440af47e23a9354fdb7a0285 Mon Sep 17 00:00:00 2001 +From: Kevin Sheppard <kevin.sheppard@gmail.com> +Date: Fri, 12 Mar 2021 10:52:38 +0000 +Subject: [PATCH] MAINT: Fix issues arising from future changes + +Fix issues due to changes in SciPy and pandas +--- + statsmodels/regression/tests/test_rolling.py | 6 ++++-- + statsmodels/stats/descriptivestats.py | 8 +++++++- + statsmodels/stats/stattools.py | 4 +++- + 3 files changed, 14 insertions(+), 4 deletions(-) + +diff --git a/statsmodels/regression/tests/test_rolling.py b/statsmodels/regression/tests/test_rolling.py +index 050de605f..f02e076d6 100644 +--- a/statsmodels/regression/tests/test_rolling.py ++++ b/statsmodels/regression/tests/test_rolling.py +@@ -1,5 +1,6 @@ + from io import BytesIO + from itertools import product ++import warnings + + import numpy as np + import pandas as pd +@@ -261,8 +262,9 @@ def test_plot(): + res.plot_recursive_coefficient(variables="x4") + + fig = plt.Figure() +- with pytest.warns(Warning): +- # Just silence the warning ++ # Just silence the warning ++ with warnings.catch_warnings(): ++ warnings.simplefilter("ignore") + out = res.plot_recursive_coefficient(fig=fig) + assert out is fig + res.plot_recursive_coefficient(alpha=None, figsize=(30, 7)) +diff --git a/statsmodels/stats/descriptivestats.py b/statsmodels/stats/descriptivestats.py +index 96d455ca1..d5ad2f2a5 100644 +--- a/statsmodels/stats/descriptivestats.py ++++ b/statsmodels/stats/descriptivestats.py +@@ -446,8 +446,14 @@ class Description: + else: + iqr = mean + ++ def _safe_jarque_bera(c): ++ a = np.asarray(c) ++ if a.shape[0] < 2: ++ return (np.nan,) * 4 ++ return jarque_bera(a) ++ + jb = df.apply( +- lambda x: list(jarque_bera(x.dropna())), result_type="expand" ++ lambda x: list(_safe_jarque_bera(x.dropna())), result_type="expand" + ).T + nan_mean = mean.copy() + nan_mean.loc[nan_mean == 0] = np.nan +diff --git a/statsmodels/stats/stattools.py b/statsmodels/stats/stattools.py +index d349c472d..2ee1a6e0b 100644 +--- a/statsmodels/stats/stattools.py ++++ b/statsmodels/stats/stattools.py +@@ -118,7 +118,9 @@ def jarque_bera(resids, axis=0): + where n is the number of data points, S is the sample skewness, and K is + the sample kurtosis of the data. + """ +- resids = np.asarray(resids) ++ resids = np.atleast_1d(np.asarray(resids, dtype=float)) ++ if resids.size < 2: ++ raise ValueError("resids must contain at least 2 elements") + # Calculate residual skewness and kurtosis + skew = stats.skew(resids, axis=axis) + kurtosis = 3 + stats.kurtosis(resids, axis=axis) +-- +2.32.0 + diff --git a/dev-python/statsmodels/statsmodels-0.12.2.ebuild b/dev-python/statsmodels/statsmodels-0.12.2.ebuild index d67ff026af47..9b7aafc2dc08 100644 --- a/dev-python/statsmodels/statsmodels-0.12.2.ebuild +++ b/dev-python/statsmodels/statsmodels-0.12.2.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_COMPAT=( python3_{8..9} ) inherit distutils-r1 optfeature @@ -33,6 +33,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}/statsmodels-0.11.1-tests.patch" + "${FILESDIR}/${P}-new-pandas-scipy.patch" ) distutils_enable_sphinx docs \ diff --git a/dev-python/tempora/Manifest b/dev-python/tempora/Manifest index e573b29f0fe0..fd4b3b307505 100644 --- a/dev-python/tempora/Manifest +++ b/dev-python/tempora/Manifest @@ -1,3 +1,5 @@ DIST tempora-4.0.2.tar.gz 21837 BLAKE2B 2d3a9e2fb09ce63e37beb8090eef0238a55c0daf8ddeec79da148af5a77ba0afbc1ae5cc9cbffe1fe04adee3fb0928005e30dfe69dd95ec746d5b003670926cb SHA512 6b4b4f78d1bd05518a1ac89900f927bff9164b57f9cf295045babb0a2b23216012226035d9a2e092e987ab9dc55e583975f9d2f8e62e526cd1a88e13858f9588 +DIST tempora-4.1.1.tar.gz 19208 BLAKE2B 77901d1f4b19f2c88d4492788f8b351c70ffdb474769597bc2eefc85b4dd503e57876b687b600b49a381dd24133ae30ac547961e7cf8d7005e4cce5dc5049012 SHA512 a272980be5d4448bbd97d9e48d8a992c07cd1e970924f301fd3444834fe112453d5714ff8f3e7af6a5775d931b825601d7f1abf3cd9319b08d148a2a07d40d07 EBUILD tempora-4.0.2.ebuild 923 BLAKE2B 0b677504ba3fc1eb2abc1c49a4f7a6743adebf3f483f16fa89df50fa7dbf3261f58108971f4827f14e9bca4ebfe842844a4f8a316c9d7b83a5ee3ecbd1cd7282 SHA512 048988e122120336e294fd3de48ab7f880d1db15bf909c4458fd67a28191ef1dc5a7c3e594d09d319f582ee1a69fd223d3aab0c61f334c0340f44687e73c2660 +EBUILD tempora-4.1.1.ebuild 931 BLAKE2B 173212870d76f832afc8e3c598ec3b314b3138306b1e3280912a946e96740bfeafbfd7a66ffd891c667a096143fb933ee674c0377c4b136a25fdf162ecbe1f48 SHA512 c4f139b317f52174cb970ef221513ff431d6ca8bfe1107b74a9d2b9e243c125b8c08cfa7ae3cd32ef122dcdaf4f8b3b7686a3105ad34dec902e3ddf8769a8106 MISC metadata.xml 639 BLAKE2B 0d9a50a66ac1bcad2bb56a48e3749b50f3b0ed4163d5d1ca75f097f0f67a1dd3104720075c2e2e484e8e9c119f18f62b9217c413dccf62ec19d7558c6b5c65c9 SHA512 a5faad13de686702dae7b796a6a2bf7f0195cd8d1a4154fe006435140cc4d789a9c42251c072c21dc099569b65b67d4bfe02f115c3d4c5a25d76f28532188e9b diff --git a/dev-python/tempora/tempora-4.1.1.ebuild b/dev-python/tempora/tempora-4.1.1.ebuild new file mode 100644 index 000000000000..2147a01b0971 --- /dev/null +++ b/dev-python/tempora/tempora-4.1.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy3 python3_{8..10} ) +inherit distutils-r1 + +MY_PN="${PN/-/.}" +DESCRIPTION="Objects and routines pertaining to date and time" +HOMEPAGE="https://github.com/jaraco/tempora" +SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + >=dev-python/jaraco-functools-1.20[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + dev-python/toml[${PYTHON_USEDEP}] + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pytest-freezegun[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + ">=dev-python/jaraco-packaging-3.2" \ + ">=dev-python/rst-linker-1.9" diff --git a/dev-python/toolz/Manifest b/dev-python/toolz/Manifest index 3898f6f52dce..49c94a2921fb 100644 --- a/dev-python/toolz/Manifest +++ b/dev-python/toolz/Manifest @@ -1,3 +1,4 @@ +AUX toolz-0.11.1-py310.patch 720 BLAKE2B e1612b5230fa0f11251957709d8841e423e7f3916506cf55416407689b5d23ae9ef8f9dafe81c68dff1d8bf1c287c7681416c6cfa59bc8062086de8a17e9f565 SHA512 26a4b641f74659c825dc89ed5b3390a09503d92f2e906f2eab167871e9b322d6db1f54c988633a79a36d2c0edb1a5de368031bafe786781a8e7d5b6de710a588 DIST toolz-0.11.1.tar.gz 64428 BLAKE2B 934f122bbf9e762e72f502f8b9ba8b5aa946b6e2b758e9501c2bc58fefa3443cda4b3e2c423be221643f51b2a12de0961be835ae3a23e97525fa203c969edff4 SHA512 8bea2b75b74d9da988c777577f3ad574192659dcc4bea54ac6d1400a81bef07818c49c8da40028a8c42905f9ab5b5111c50c239fb56f34c315865f90413af68b -EBUILD toolz-0.11.1.ebuild 489 BLAKE2B c83e1495b4abfa8f1a22680c2b3b5a14c5d303984d75812c56cf0d5874af018b0838b9c8e7b1f71ba563594cb75eec0bdb2243c824b3fcb3b4ba56119a5426c0 SHA512 ccec0ad523826f2f7e76bc95a11ab0d96968ea2799762ee668a95b7d9c3a2d4fc13fdd711ec61e67b2759ddadbf788d39860a4549dcf687fa9886036b5de384a +EBUILD toolz-0.11.1.ebuild 535 BLAKE2B 9db4f987213c9f8b835209a959baff6b4f492755463a7fa68a9bd84382825f95e27d7ae35c079adde011e200208fff6d6047b2334038949719a0b89b54abcac2 SHA512 49289239e2fb5bc9cf3d3c56fe8eaeddca6d4eb252361d2143976de331409c53a623e388138ecbf8d9b5731cd5303421138a0c76558a2e236c93729c307c8b80 MISC metadata.xml 332 BLAKE2B 36407eae22ccceadca8dd6127b7b6e1d04d65722e2ac88fd8f875807ec6f08f5a62d3570970c7cc85f6fd9bd6998c38b06100712569baa086dffcee98ef0aae2 SHA512 f32abff7501f0aec08df19ecc6f3b3aece597c396d73c7c025cb6e6f6127c9aa498719f02f55c51bfaf6e0d0dd51a150dab04baecdd9586245a2f8a0fbcb19b9 diff --git a/dev-python/toolz/files/toolz-0.11.1-py310.patch b/dev-python/toolz/files/toolz-0.11.1-py310.patch new file mode 100644 index 000000000000..d926f3457ab1 --- /dev/null +++ b/dev-python/toolz/files/toolz-0.11.1-py310.patch @@ -0,0 +1,25 @@ +From da81b1e8ab96b22ed81e6414099aba066633f3ff Mon Sep 17 00:00:00 2001 +From: Erik Welch <erik.n.welch@gmail.com> +Date: Thu, 22 Apr 2021 00:20:24 -0500 +Subject: [PATCH] Support Python 3.10 by adding `anext` signature. + +Fixes #512 +--- + .travis.yml | 3 ++- + toolz/_signatures.py | 3 +++ + 2 files changed, 5 insertions(+), 1 deletion(-) + +diff --git a/toolz/_signatures.py b/toolz/_signatures.py +index 328cea91..3ce1616a 100644 +--- a/toolz/_signatures.py ++++ b/toolz/_signatures.py +@@ -45,6 +45,9 @@ + lambda x: None], + all=[ + lambda iterable: None], ++ anext=[ ++ lambda aiterator: None, ++ lambda aiterator, default: None], + any=[ + lambda iterable: None], + apply=[ diff --git a/dev-python/toolz/toolz-0.11.1.ebuild b/dev-python/toolz/toolz-0.11.1.ebuild index 5e86ca531555..5ba2982613f8 100644 --- a/dev-python/toolz/toolz-0.11.1.ebuild +++ b/dev-python/toolz/toolz-0.11.1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 @@ -18,3 +18,7 @@ BDEPEND=" dev-python/versioneer[${PYTHON_USEDEP}]" distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}"/${P}-py310.patch +) diff --git a/dev-python/treq/Manifest b/dev-python/treq/Manifest index e5e5ce1a8be9..50797040b1e2 100644 --- a/dev-python/treq/Manifest +++ b/dev-python/treq/Manifest @@ -1,5 +1,7 @@ DIST treq-20.9.0.tar.gz 60142 BLAKE2B a495b73221ee86163a5fefd03c8019f4b671a1f32d2ab304b89566339a36aaec7245d33b738b646fa48c42f4db9744938637ece058e067ee3f747e53ce442ab8 SHA512 c595ad69d5a9c688ca966cc897db669a57d14027e0bdc345d550f791390099743749be4a41294e61428cdc7bc0fa197474be780323b00f17a712505e081e7073 DIST treq-21.1.0.tar.gz 71018 BLAKE2B 44223c0ad618f4a57283db60063ee2fd263f958ff18d90b055733fc3bb24c87483a7b833e2210197a4edd003cb3f86647bbb636a9692e5535908b19e0186dba8 SHA512 b68ded90021cb801b276d6310e729a985205bb0701b1d0576b00c6c4efd97400625efffa35763ceef8f0f8d94172cae6fc1abdd3de1c0a4871223d4f06758d89 +DIST treq-21.5.0.tar.gz 71323 BLAKE2B 1e1f0f4c885c1d197fdf9c1a88c9ee486c3fcc4d126498f4ce10e59d62e2445e4935e3f4cabed5de2f2663c3049ab6b49e47a0bad29380a4bb901e30d6723f49 SHA512 81ccfaa90513f0ef53c60f69ff7c60e066c6f0669ab82cf361e0720e5fd3098eb88e9b205f5bb590f1e0cde6083e5e2dfbacb6086986f0dd91fc2b3038da3093 EBUILD treq-20.9.0.ebuild 1552 BLAKE2B e96643e5db58330b4ae89681821d17d2907662d09f86d291157b36f7072172e162c0bf8387ed0be11e8edbd83ea43ee7ace004050f7179fbc7ebee731759d323 SHA512 2f08bdea0941edaa8359a7ba9e549c796461195179c9eef3c3e6f3df6890f46671f72fe6423416e480315660789b8437559faab798b7a0c3b2adfcbe2eed98c2 EBUILD treq-21.1.0.ebuild 1563 BLAKE2B f8c7f22fd8231617ffd1e00c84a9b84a60d834180a034674cc19d044667ec20f4329dada4f1bd5344137c7bf1286fd530b18064426739f4826b8e7ee9df529bd SHA512 3c32cea95537342362e8cbe56c810c373173bc83f96629bbebef31f409ec2a3f2c08afd0689c864072d4435ad8af52bd509dbe8b28b65147f0f3aef9f908f250 +EBUILD treq-21.5.0.ebuild 1563 BLAKE2B f8c7f22fd8231617ffd1e00c84a9b84a60d834180a034674cc19d044667ec20f4329dada4f1bd5344137c7bf1286fd530b18064426739f4826b8e7ee9df529bd SHA512 3c32cea95537342362e8cbe56c810c373173bc83f96629bbebef31f409ec2a3f2c08afd0689c864072d4435ad8af52bd509dbe8b28b65147f0f3aef9f908f250 MISC metadata.xml 679 BLAKE2B 1218e13a10ef3e4b63b892d3ba444116d8ae3bdc625c9b95ef73f9c4d59dc7bad527e919568306e7744b79a9bb00dea90ee0b83146bc4314d224e2dc7657cb7d SHA512 b3d2aadc2c43d03d80d50fd67830e62ba7543dc7ea7e0f834b32a7738031a49a8ab57069b8d5c7a9b0f88405bae8d59333e50ecab87286f8be5504141081914e diff --git a/dev-python/treq/treq-21.5.0.ebuild b/dev-python/treq/treq-21.5.0.ebuild new file mode 100644 index 000000000000..b5f62bffd38c --- /dev/null +++ b/dev-python/treq/treq-21.5.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{7,8,9} ) +DISTUTILS_USE_SETUPTOOLS="bdepend" + +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 )" + +COMMON_DEPEND=" + dev-python/incremental[${PYTHON_USEDEP}] + >=dev-python/hyperlink-21.0.0[${PYTHON_USEDEP}] +" + +RDEPEND="${COMMON_DEPEND} + dev-python/six[${PYTHON_USEDEP}] + >=dev-python/twisted-18.7.0[crypt,${PYTHON_USEDEP}] + >=dev-python/requests-2.1.0[${PYTHON_USEDEP}] + dev-python/attrs[${PYTHON_USEDEP}] +" + +DEPEND="${COMMON_DEPEND} + doc? ( dev-python/sphinx + ${RDEPEND} ) + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/httpbin[${PYTHON_USEDEP}] + )" + +python_compile_all() { + use doc && emake -C "${S}/docs" html +} + +python_install_all() { + use doc && HTML_DOCS=( docs/_build/html/ ) + + distutils-r1_python_install_all +} + +test_instructions() { + ewarn "The 'test' USE flag and FEATURE only ensures that the correct" + ewarn "dependenciess are installed for this package." + ewarn "Please run eg:" + ewarn "$ python3.7 /usr/bin/trial treq" + ewarn "as a user for each of the python versions it is installed to" + ewarn "to correctly test this package." +} + +python_test() { + # Tests fail when run via emerge + # they need proper network access + test_instructions +} |