diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-04-06 13:49:21 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-04-06 13:49:21 +0000 |
| commit | 1b9c706bdbbcaa877c2d7ba7d7a984beda2c5163 (patch) | |
| tree | e29a103d6b6500fe715aa05018963fd8b868538f /dev-python | |
| parent | cb457d87dab622c0fc6c4046fa9a8a91f2afef3d (diff) | |
| download | baldeagleos-repo-1b9c706bdbbcaa877c2d7ba7d7a984beda2c5163.tar.gz baldeagleos-repo-1b9c706bdbbcaa877c2d7ba7d7a984beda2c5163.tar.xz baldeagleos-repo-1b9c706bdbbcaa877c2d7ba7d7a984beda2c5163.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
51 files changed, 676 insertions, 1046 deletions
diff --git a/dev-python/Faker/Faker-5.6.5.ebuild b/dev-python/Faker/Faker-5.6.5.ebuild deleted file mode 100644 index 022d53082456..000000000000 --- a/dev-python/Faker/Faker-5.6.5.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="a Python package that generates fake data for you" -HOMEPAGE="https://github.com/joke2k/faker" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=">=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}] - >=dev-python/text-unidecode-1.3[${PYTHON_USEDEP}] - !dev-ruby/faker" -DEPEND="" -BDEPEND="test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/random2[${PYTHON_USEDEP}] - dev-python/validators[${PYTHON_USEDEP}] - )" - -# Specific test dependency for one country post code tests -PATCHES=( "${FILESDIR}"/${PN}-5.6.5-ukposttest.patch ) - -distutils_enable_tests pytest diff --git a/dev-python/Faker/Faker-6.4.1.ebuild b/dev-python/Faker/Faker-6.4.1.ebuild deleted file mode 100644 index 1560bfac96da..000000000000 --- a/dev-python/Faker/Faker-6.4.1.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="a Python package that generates fake data for you" -HOMEPAGE="https://github.com/joke2k/faker" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=">=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}] - >=dev-python/text-unidecode-1.3[${PYTHON_USEDEP}] - !dev-ruby/faker" -DEPEND="" -BDEPEND="test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/random2[${PYTHON_USEDEP}] - dev-python/validators[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest diff --git a/dev-python/Faker/Faker-6.6.0.ebuild b/dev-python/Faker/Faker-6.6.0.ebuild deleted file mode 100644 index f88b1f2d978a..000000000000 --- a/dev-python/Faker/Faker-6.6.0.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -DISTUTILS_USE_SETUPTOOLS=rdepend -inherit distutils-r1 - -DESCRIPTION="A Python package that generates fake data for you" -HOMEPAGE="https://github.com/joke2k/faker" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=">=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}] - >=dev-python/text-unidecode-1.3[${PYTHON_USEDEP}] - !dev-ruby/faker" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/random2[${PYTHON_USEDEP}] - dev-python/validators[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest diff --git a/dev-python/Faker/Faker-6.6.1.ebuild b/dev-python/Faker/Faker-6.6.1.ebuild deleted file mode 100644 index f88b1f2d978a..000000000000 --- a/dev-python/Faker/Faker-6.6.1.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -DISTUTILS_USE_SETUPTOOLS=rdepend -inherit distutils-r1 - -DESCRIPTION="A Python package that generates fake data for you" -HOMEPAGE="https://github.com/joke2k/faker" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=">=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}] - >=dev-python/text-unidecode-1.3[${PYTHON_USEDEP}] - !dev-ruby/faker" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/random2[${PYTHON_USEDEP}] - dev-python/validators[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest diff --git a/dev-python/Faker/Faker-6.6.2.ebuild b/dev-python/Faker/Faker-6.6.2.ebuild deleted file mode 100644 index f88b1f2d978a..000000000000 --- a/dev-python/Faker/Faker-6.6.2.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -DISTUTILS_USE_SETUPTOOLS=rdepend -inherit distutils-r1 - -DESCRIPTION="A Python package that generates fake data for you" -HOMEPAGE="https://github.com/joke2k/faker" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=">=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}] - >=dev-python/text-unidecode-1.3[${PYTHON_USEDEP}] - !dev-ruby/faker" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/random2[${PYTHON_USEDEP}] - dev-python/validators[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest diff --git a/dev-python/Faker/Faker-6.6.3.ebuild b/dev-python/Faker/Faker-6.6.3.ebuild deleted file mode 100644 index f88b1f2d978a..000000000000 --- a/dev-python/Faker/Faker-6.6.3.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -DISTUTILS_USE_SETUPTOOLS=rdepend -inherit distutils-r1 - -DESCRIPTION="A Python package that generates fake data for you" -HOMEPAGE="https://github.com/joke2k/faker" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=">=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}] - >=dev-python/text-unidecode-1.3[${PYTHON_USEDEP}] - !dev-ruby/faker" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/random2[${PYTHON_USEDEP}] - dev-python/validators[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest diff --git a/dev-python/Faker/Faker-6.5.1.ebuild b/dev-python/Faker/Faker-8.0.0.ebuild index f88b1f2d978a..f88b1f2d978a 100644 --- a/dev-python/Faker/Faker-6.5.1.ebuild +++ b/dev-python/Faker/Faker-8.0.0.ebuild diff --git a/dev-python/Faker/Manifest b/dev-python/Faker/Manifest index 1b5b20192592..b24777d4a23a 100644 --- a/dev-python/Faker/Manifest +++ b/dev-python/Faker/Manifest @@ -1,8 +1,2 @@ -DIST Faker-5.6.5.tar.gz 1058615 BLAKE2B 2a730b79ca11a80b33f5249541e2de68e5c53832fcd06891ce2e074dbca8aa21c657147e55725d37954cb997a2b1854b5c853449e7d58a71358b69fd2a36584f SHA512 1806eded3534602eb5c463ad030564edfe7c663952e62e943b809dd5d7c4e485b26c612e45f481b6125f6462d48215df065f2d3f30df67ab19699b6386a65b7b -DIST Faker-6.4.1.tar.gz 1073921 BLAKE2B 1434375b8341ad3143e5977b26fd22af69aee2e30da92072937308341f22151764c8a72361c93112b5818dc9858e8e565ab2b45bd0fabc9e59613c1015e6ea63 SHA512 8ae2014b27f07b41afc67dc9a3d65e39f1073987c0c4bac6da5d625145e1d43783e4134bafdfe4e94035be9ff4367e5a19ab63635bf8ce7ff353a8745cf96269 -DIST Faker-6.5.1.tar.gz 1074618 BLAKE2B dfcd80c170ae1f68c4eb541804b4f91c5c2821669e51d3231daa92c6b2818b30e6ff6a6328e5836f534a7d1ddd24d4b089adffc461e785642d7663088ba47251 SHA512 7681e9afa48f39c3a7dd41ef48e70025a4a225de3cbb6b8272279f353df7d4b956a2398ae0d84926fc1e72530accda4b2407e1b0cee116494bccfbaaf21bc38d -DIST Faker-6.6.0.tar.gz 1114719 BLAKE2B 2e3639eba6ad74784ef30e2e7e6aa8b9fdc61c1d64babb256994068e1f54133841225b6549b4edde3539c3888acdcacf3029fe7daa414fd1142e2c1df8ac201d SHA512 1e72fa5672e310ff846f0945481d60db3749d916b37cd4e267c8ca4ffc5a2eab067622f618e9b4c8bc704155be413424f197b5796a86975b86219556116e0d47 -DIST Faker-6.6.1.tar.gz 1115484 BLAKE2B b5c99a61cf0937c10bf2eab0e34c51f38eb1aa7e87f47bbd8618874a24278bc7c2230acaffbea69f51cca760e3f3de73d32ccc487201c3bae7a544511aadac94 SHA512 a15c42291656d32f962ee50217e67cfd4038e39a6c4ba4cca6708d4ad9b4698a2b946d899e53968f4a9c2fee02c494ba756cbcc4014b16a8adeb73c83b9b428a -DIST Faker-6.6.2.tar.gz 1115505 BLAKE2B 40bc09cafa1dfdda05bbf6c78380c5c3c0de85157dae856251063b0f099e32a08009a223dff70e3b3c037d572e4249cfee942b8749f78bd52506191dc180a13c SHA512 b6b75fd1891644e49d47acacfab9e705540003f18a8df413683e7ff0a3fb1283ede9f6020b19aee1a242a4a002ac1a34713701f283aae2089ee52d84c00764f4 -DIST Faker-6.6.3.tar.gz 1142318 BLAKE2B 7708b5fe576adee33bdd86076bd3bbf6ec785822183ac070ac8dad045e238291cb42367342b2d8ccb9bec4e36fda77680cfd08adedc7caf165e682d96ad833cf SHA512 d846e2a51f5b40d067abf4baa36aca3a8dfbaad585ca61c7146a33fb42e255a1a8ce173f74a379c5701b5aee02987bb89e0670287347ca866cacba93d0936dbf DIST Faker-7.0.1.tar.gz 1143226 BLAKE2B 0c5db5c718cb9d32e3c87d44e7fa66c8cf89a99f69988935f94a64460852d6c1f1ccb6c069795a6ea807c8de067cc3808121da7e07d8fdb326e27cb345141c42 SHA512 9a1aefaacd727bbf2e94239620948900e8bd33d5c3fa9cc30814850433cc5bbd4392d1f1d9f2c51d10e77cd1645d2d6919254663b438a45a7e1694988c58ac92 +DIST Faker-8.0.0.tar.gz 1143250 BLAKE2B 594b21ab72016cda550e27d53b032b4e7fffa2554ae81da7291f0d1ad1c63c54a5f849a5c528af1d8357d60bfc92235020c459cd025e0f5cda4b6fd4eab50320 SHA512 612ac59d2c88584243f9b7ff69c92d0dfb69394d419eedc18829641d53ebceca2ab5598a60500428453043a53c53d7716a1ac265ecc5e3a423fcbaa6d69f375e diff --git a/dev-python/Faker/files/Faker-5.6.5-ukposttest.patch b/dev-python/Faker/files/Faker-5.6.5-ukposttest.patch deleted file mode 100644 index 3cd84c171cf4..000000000000 --- a/dev-python/Faker/files/Faker-5.6.5-ukposttest.patch +++ /dev/null @@ -1,33 +0,0 @@ -diff -Naur Faker-5.6.5.orig/tests/providers/test_address.py Faker-5.6.5/tests/providers/test_address.py ---- Faker-5.6.5.orig/tests/providers/test_address.py 2021-01-20 16:16:43.000000000 +0100 -+++ Faker-5.6.5/tests/providers/test_address.py 2021-01-23 10:12:35.826357768 +0100 -@@ -4,8 +4,6 @@ - - import pytest - --from ukpostcodeparser.parser import parse_uk_postcode -- - from faker.providers.address.cs_CZ import Provider as CsCzAddressProvider - from faker.providers.address.da_DK import Provider as DaDkAddressProvider - from faker.providers.address.de_AT import Provider as DeAtAddressProvider -@@ -377,20 +375,6 @@ - assert re.fullmatch(r'(?:Apt\.|Suite) \d{3}', secondary_address) - - --class TestEnGb: -- """Test en_GB address provider methods""" -- -- def test_postcode(self, faker, num_samples): -- for _ in range(num_samples): -- assert isinstance(parse_uk_postcode(faker.postcode()), tuple) -- -- def test_county(self, faker, num_samples): -- for _ in range(num_samples): -- county = faker.county() -- assert isinstance(county, str) -- assert county in EnGbAddressProvider.counties -- -- - class TestEnIe: - """Test en_IE address provider methods""" - diff --git a/dev-python/asgiref/Manifest b/dev-python/asgiref/Manifest index b4d6dbca0146..d1df77f47c8b 100644 --- a/dev-python/asgiref/Manifest +++ b/dev-python/asgiref/Manifest @@ -1 +1,2 @@ DIST asgiref-3.3.1.tar.gz 27197 BLAKE2B 1a883ed8b87dd1214ffb7672796159684f04a9a38d75562df38455ea039667f877020263b4577a3f6f7cfdfa0aae2a2074781db669f10c5b639a5009ee4c94b3 SHA512 2d709e8b0ea8b9f11f485ee438cfbbfe8a832de1aa37094a6339cfff23c2605ec79f691320c42bebf46f3bddb005ebb6857d17a8ad641c87a149536cc65984e6 +DIST asgiref-3.3.2.tar.gz 30088 BLAKE2B 7c2b6083a0e0bd19162d4e1e12ad8e3b7267e8e004494eeca0e22ce13acd3bdc7b4ab056f72bb19209b7f933cee817e50930e31be798a89d0952d9de38fc6d67 SHA512 e2259add28554968936e09bf6a53cf71cef4e2e01d58d8e9651543657ba8517be5f2dd7d76334394cac579f7d560e3ab1c498434bbd67276b336ddd78644ba1f diff --git a/dev-python/asgiref/asgiref-3.3.2.ebuild b/dev-python/asgiref/asgiref-3.3.2.ebuild new file mode 100644 index 000000000000..61e1320d8226 --- /dev/null +++ b/dev-python/asgiref/asgiref-3.3.2.ebuild @@ -0,0 +1,27 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="ASGI utilities (successor to WSGI)" +HOMEPAGE=" + https://asgi.readthedocs.io/en/latest/ + https://github.com/django/asgiref/ + https://pypi.org/project/asgiref/" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' python3_7)" +BDEPEND=" + test? ( dev-python/pytest-asyncio[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest diff --git a/dev-python/autoprop/Manifest b/dev-python/autoprop/Manifest index ae49e5bef90b..69e9407074ff 100644 --- a/dev-python/autoprop/Manifest +++ b/dev-python/autoprop/Manifest @@ -2,3 +2,4 @@ DIST autoprop-1.0.2.tar.gz 11040 BLAKE2B b53bdbf79947002a0c319fa84c6033908948365 DIST autoprop-2.0.0.tar.gz 11705 BLAKE2B 0dd6401671250f9445aaaf20345035bec683eb7e7e3889ee6c89bbefd76bff9112c848ab4b95c47f09f2487af92c3c6a3404be17bc57f47c9be33f36ec369175 SHA512 7e2f9d2d950ac8f2b0e73b483940590dbb6eb342a36204cc36fff219375eb223c62d5c0dc864b0d1212593919f1625cd282f0467a5bf84d5c1e5c158cfcf6cc1 DIST autoprop-2.1.0.tar.gz 13258 BLAKE2B a08431a87067463278276974326ca81a8c0150193fd3a03fdc2ab422b836655a11f759154fdeeaf834bc379163e167d4815358aaefdc83a76ab4dfa87b6efee5 SHA512 c30ee4bf85d139abf1be2e7b0217bc6f394ba289ccdad423c97f1d27f472ce00eaef2be0f3cdf1c9022c6edc56006d5834d1afd6ef2c5ee2ec124eb5bf679652 DIST autoprop-2.1.1.tar.gz 13794 BLAKE2B 63645d0d8f9d49f5df730dca18c468e3dea7108e01cf12f6de6d80ad6cf8b5d396957d4a0cd82c737c0b12274a8534e6f48120ef1118c0fb34dba529dc74f081 SHA512 39db6c1130d0b958713f15efcd75ecbbb41659f5f7182be37f1dca22a46c18832d0f7893fadfbf4e8ad9f446417a2476e7dc7890124c9caabd6b5dde37eb7c6f +DIST autoprop-2.2.0.tar.gz 13939 BLAKE2B b30565618cab67c5a3b9f94958a8f4734d60c048067f73a007fdb9d34555337f92776cac221c89e0067851d59b21f157b4bc1d24fdcaf3e3ae677c31c8a32cc9 SHA512 d8ef758b0d097ddb73cb384075d3d2b0d59191cd12d59a54cc449483da94ab116c75b39cf48d3d262b147e855af1806a0c617ba220f435118d636cd6f283c51e diff --git a/dev-python/autoprop/autoprop-2.2.0.ebuild b/dev-python/autoprop/autoprop-2.2.0.ebuild new file mode 100644 index 000000000000..59992b19b15b --- /dev/null +++ b/dev-python/autoprop/autoprop-2.2.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=no +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Infer properties from accessor methods" +HOMEPAGE=" + https://github.com/kalekundert/autoprop/ + https://pypi.org/project/autoprop/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +KEYWORDS="~amd64" +SLOT="0" + +RDEPEND=" + dev-python/signature_dispatch[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 6ac2d7f52818..eb92d34dc2ae 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -8,3 +8,4 @@ DIST boto3-1.17.41.tar.gz 355972 BLAKE2B f58dc93b53850781d89db65dcdb17b60141b3db DIST boto3-1.17.42.tar.gz 357288 BLAKE2B 9a92b8dcee054e408954ea1cf31c776777fcf275ed3ccbccb2dca68acc5e6e6215576dc33bf401b5786a3c6f9995eed16f4be093f7d2bad13f781bf10fc2d13f SHA512 b7a9b06a69eefdc3b25b0bedcf7a4e775cb2099b8106541acf9cea5a95cf6a747f30497bbaacbe66931bb6280047f191cd6129815141ef3bd9a75f5691c04075 DIST boto3-1.17.43.tar.gz 358179 BLAKE2B 7d0a9344642b8c2a4241296327e055abe700c82776e83f12f30ff510ac9364ca6e7fd49f254ce8a3e1ac7123cbb747665dcba774e9befdfd053b3db1f72615bb SHA512 d6271b4563c92097f9c670f4e9c73c01c2a6764d344bed84a4bb08fb7989cd38147890e2c9526cfcbc2e1ae1de9d1e596385c5dc662db7b75c35a69d5ff79831 DIST boto3-1.17.44.tar.gz 358816 BLAKE2B 1739762cf4723d6fde30080d468732dd6fb9bc9e2d66b37621a545262a60cc2783505f39dabad28af34d4f2d69720053a256cb823937a99b699d76513fb9294d SHA512 69e3357f363e08b3135ffdf6aaac6049b0619fafd82049679b238f35013864cdf599452bd94ccd7c27a4da441bc81be79ebebd05b20460c45f5808c3b70cb9ca +DIST boto3-1.17.45.tar.gz 359297 BLAKE2B 2e0f2b3b13db473f2067d2d662dbe867189f4e82bd9730d1acda8448fe30d85d59a4a5a618e4ac9c3bd29ed3167eb05aee06138027b83497349cef8e1ece8565 SHA512 a686f19e788248a61deeff1c58fa18d3d000b32f3303c177f28db954d1bdec841a042f8310a545dc2214536ba4bcdf59d50173a7ca54e90bef68d61c6276b7f4 diff --git a/dev-python/boto3/boto3-1.17.45.ebuild b/dev-python/boto3/boto3-1.17.45.ebuild new file mode 100644 index 000000000000..2df16964cdb0 --- /dev/null +++ b/dev-python/boto3/boto3-1.17.45.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +DISTUTILS_USE_SETUPTOOLS=bdepend +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE="https://github.com/boto/boto3" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/boto3" + inherit git-r3 + BOTOCORE_PV=${PV} +else + SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" + + # botocore is x.(y+3).z + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" +fi + +RDEPEND=" + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests nose + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # prevent an infinite loop + rm tests/functional/docs/test_smoke.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + nosetests -v tests/unit/ tests/functional/ || die "test failed under ${EPYTHON}" +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 140705fd37a5..6dca42cf6bc4 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -8,3 +8,4 @@ DIST botocore-1.20.41.tar.gz 7572739 BLAKE2B 2fde8a64fd04acd698b91e222934ba5338c DIST botocore-1.20.42.tar.gz 7579571 BLAKE2B 26d4a2c9e2df7df92888e9f49dba3799ccf5c0d9745cb46fd6d3ff0f4b1ea7cd5faa3bd6e173d67ec052989fbc92e4d7d6cb298c9d7807b3eea6b4c5d9e1abc1 SHA512 447c0fd5aa9864dacbb132f451f260f9d3f83fe70444993283ae0845150c383e2ef9df20e8977705d86d2698b8d12189071a2c27cb0ee1e6358eb0619ee2173b DIST botocore-1.20.43.tar.gz 7595391 BLAKE2B 78c7e146e2a5b204c5a4c0b6c0d8ea6ee8bdc36339698a671c90f529f74ce4e9314a901021fc7eeb93a8ad81d8442093478a365076175129a9924891dbfe34bd SHA512 2b575aed2748d5f4c8be593eb119f9453237c81a5fe53a5852a14f355626fa56111a5932ccf2825e28100414ea2ce5fd57b923e819296cf7eebe88a786bbf14a DIST botocore-1.20.44.tar.gz 7596878 BLAKE2B 935d4ea1c5212d29566c3344761b00d2eb03e7588bd7805072926ecd41f0fa03cd91e25802dc63078190c49f1b8503545bd0b2a88d702c04a961d57a0022080f SHA512 eb7ae15bac4ae8ad516ebcd8166f65a809d7d02c11dde25b714f7bf673ecfeef9ea414ab4b53ac428ac948ee8b054666ba2f6c0a96e6d148ff46d94e6100350d +DIST botocore-1.20.45.tar.gz 7597127 BLAKE2B 64023be1da8b10ab29110fe626ba641e9da48a47db663c2e17ed8f590b448d4fab07d66cbb68485cacaed556f27c48e12a8b2d7aa6053fcff921e4776f8a9db8 SHA512 2a3f97e4f1046aa4df3a5da9d3722579dcea0937807d9115ec5480e243788a31c58d10e1b4e002cb43668adb75174d9351cbf6b52edc0a5970c7d4b10691b02c diff --git a/dev-python/botocore/botocore-1.20.45.ebuild b/dev-python/botocore/botocore-1.20.45.ebuild new file mode 100644 index 000000000000..9d681f87244c --- /dev/null +++ b/dev-python/botocore/botocore-1.20.45.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE="https://github.com/boto/botocore" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/botocore" + inherit git-r3 +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + dev-python/jmespath[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch" +) + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests nose + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + # very unstable + sed -i -e 's:test_stress_test_token_bucket:_&:' \ + tests/functional/retries/test_bucket.py || die + distutils-r1_src_prepare +} + +python_test() { + # note: suites need to be run separately as one of the unit tests + # seems to be leaking mocks and breaking a few functional tests + nosetests -v tests/unit || + die "unit tests failed under ${EPYTHON}" + nosetests -v tests/functional || + die "functional tests failed under ${EPYTHON}" +} diff --git a/dev-python/cffi/Manifest b/dev-python/cffi/Manifest index 69632830f0b0..d8dd88ec871c 100644 --- a/dev-python/cffi/Manifest +++ b/dev-python/cffi/Manifest @@ -1,2 +1 @@ -DIST cffi-1.14.4.tar.gz 471302 BLAKE2B 9722e517c99b6df239f59235baea76957900dc8566ff04c8d1fd367d20ad5f5437212bdb5e4e98aca303121e79411634fcb5e4e72179ecb3007d4f0eee68c9f2 SHA512 b2c54a805ead93c5dd8531d7f0f7e4b44be8f07bfcb1af2f19eb6d325b4e846cae23f16a5bcc777ba019d1213f013611614ade798e195f5b4f6b7904c9cb6e3a DIST cffi-1.14.5.tar.gz 475055 BLAKE2B d8a1f83aace8329216f5d36b2e8a27f62803fe9ad12c2d29aa1b3f730d1beb8bad0f50e17102c8673471a7bef57b0755157c4e1bf1a50779ed20b1cfcbb2043a SHA512 7428b3f6e4ee9f3b91011e43304dd63e5cc48479120ae58298c646c1ec1f5c24525d5f08655a7fed70c5fad7ae0c2e0539e512b5fa49d2bc57669c4ab703cc2a diff --git a/dev-python/cffi/cffi-1.14.4.ebuild b/dev-python/cffi/cffi-1.14.4.ebuild deleted file mode 100644 index f15a678ec7b1..000000000000 --- a/dev-python/cffi/cffi-1.14.4.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -# DO NOT ADD pypy to PYTHON_COMPAT -# pypy bundles a modified version of cffi. Use python_gen_cond_dep instead. -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 toolchain-funcs - -DESCRIPTION="Foreign Function Interface for Python calling C code" -HOMEPAGE="https://cffi.readthedocs.io/ https://pypi.org/project/cffi/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0/${PV}" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="test" -RESTRICT="!test? ( test )" - -DEPEND="dev-libs/libffi:=" -RDEPEND="${DEPEND} - dev-python/pycparser[${PYTHON_USEDEP}]" -BDEPEND="${RDEPEND} - virtual/pkgconfig - test? ( dev-python/pytest[${PYTHON_USEDEP}] )" - -distutils_enable_sphinx doc/source - -PATCHES=( - "${FILESDIR}"/cffi-1.14.0-darwin-no-brew.patch -) - -src_prepare() { - if [[ ${CHOST} == *darwin* ]] ; then - # Don't obsessively try to find libffi - sed -i -e "s/.*\-iwithsysroot\/usr\/include\/ffi.*/\tpass/" setup.py || die - fi - distutils-r1_src_prepare -} - -src_configure() { - tc-export PKG_CONFIG -} - -python_test() { - "${EPYTHON}" -c "import _cffi_backend as backend" || die - pytest -x -vv \ - --ignore testing/test_zintegration.py \ - --ignore testing/embedding \ - c/ testing/ \ - || die "Testing failed with ${EPYTHON}" -} diff --git a/dev-python/cryptography/Manifest b/dev-python/cryptography/Manifest index 9e56a14d833a..46e9995bac7e 100644 --- a/dev-python/cryptography/Manifest +++ b/dev-python/cryptography/Manifest @@ -1,8 +1,4 @@ -DIST cryptography-3.2.1.tar.gz 540994 BLAKE2B 667f09ac81423ecdc84c8646f0d02ee3a2955f55d35623e59c07696810a93c47332f7f8d877918eeeb6581d8e02bde3b70aae8e9d32be7ffbc8011e5e7e382a9 SHA512 e3f1806693c24aadc3ef0df374ce1845760e87ad7c243226b75e80820b50bdc0760e4bb5f6ce26d62a6d23736b3109f72cd30b52ae2a36b26ec5656ec96c6175 -DIST cryptography-3.3.1.tar.gz 539756 BLAKE2B a3eb52d756565ae83d9f2e06045be1d3439a2464b633a9a168101796a448d7c7531e8247862f7996d04500347d32dcebf6b1352e9c9f2e4f0d8008d4bbd000dc SHA512 62192fe0fd3bb8844ccc0056ab72a42b038db2a4ecb0928543c520b85e1de93066dab0d604acf23d37395d68172b9618f81c6022a59ec49725bc1862096d15d1 DIST cryptography-3.3.2.tar.gz 539883 BLAKE2B e35de90362b24170c4025f67914e60c16fbf37fce6bcd5d6f3fe32e5a9bb60de8edbebcb1ff0450fabc9c244d4b1a4618c720b630f28c747fea17e9bf008f01f SHA512 55f6ee13342b3209b1fcb310f4c4d33d22856ee785cb2347e6ad36c34e9b42f6e0d5bece8e458b09663a5b78e34c4567fe7a211b51ca71f55ccc93e3f62dc5e4 DIST cryptography-3.4.7.tar.gz 546893 BLAKE2B 49bc1e098ed1ba0181059b645f6668cda6332d196eaca55270ebce6e07e5bb6ab6724c5050fde20e89b7025773960d74ec782bb875badbbd5dc9a04db0a536f1 SHA512 3c4cf64bc0b067ccdbb71efe04c32ac9d673faea6cc4ccd13d6b1b61920be4785806d19359b7657d032a2ff1c011a8b4f16ec4924d9df8a59d1a875a7f844473 -DIST cryptography_vectors-3.2.1.tar.gz 35168164 BLAKE2B 77af3be0dbd7393da7cd59600086041b78fe20339018a637fc1cf3600c7cd08cf2e565c79ccb47f4719a4b0f01cf2ab2db00c025805443b333dd7fdf3aa835a7 SHA512 44ff756a6ece9700f7657f8ba92417e95bf273cf500f1dab2141de5b2af6e61840d65c37b766abd752c76025ead1550bfc7b7340ce5774c75fd0bb8ac768cdd8 -DIST cryptography_vectors-3.3.1.tar.gz 35168171 BLAKE2B 72cf5d79773a728c16847e3e62f8ce444526c051d7562467446d3e59c66064568fdfcbfb1fd35419fd79079ff9a02a2f3a97f870f7adef6cc9a0fd23b4edf514 SHA512 a102535bd3cf72118106ca7268d5a9921738d41f81247940c550961d61cb0d1869095b7891c39e8dc15816f7d38230622846747b4b7a3f226f09306cf86220bd DIST cryptography_vectors-3.3.2.tar.gz 35168168 BLAKE2B 3991a16556ae5be0d153cfe302dd9a860918a80bd0bdef7104f3c170ba63941c4b1ff74750bc12329422a6061161cb6452bea60e191d85c0d79e0852566c6c0b SHA512 18590adb96a6f04b8a41d4346b126b8adfc854cbcec85f8c1c0a23b1b363f215b37da60ea94a481b8fd7752f07fba515b08fc18faf2e29fb858e133129971f7c DIST cryptography_vectors-3.4.7.tar.gz 35168102 BLAKE2B fbefd3ff96548dde012fd290aba1c99d57db376023d486910e486cc9c143461ef1ae9b77824cc03307723d35142f0360bc961b548a4edc02357d3f1a0e7e4e9f SHA512 269b50fa4c5300da6758006d12be42f998630d23053ef9af0eb588fc9e6994b044d8822cff105e338f4d0d746ed0e204a4a9c42f54667e355e1ce86e6754bbe9 diff --git a/dev-python/cryptography/cryptography-3.2.1.ebuild b/dev-python/cryptography/cryptography-3.2.1.ebuild deleted file mode 100644 index bcd75768525f..000000000000 --- a/dev-python/cryptography/cryptography-3.2.1.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 multiprocessing - -VEC_P=cryptography_vectors-${PV} -DESCRIPTION="Library providing cryptographic recipes and primitives" -HOMEPAGE="https://github.com/pyca/cryptography/ https://pypi.org/project/cryptography/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz - test? ( mirror://pypi/c/cryptography_vectors/${VEC_P}.tar.gz )" - -LICENSE="|| ( Apache-2.0 BSD )" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="libressl idna" - -RDEPEND=" - >=dev-python/six-1.4.1[${PYTHON_USEDEP}] - idna? ( >=dev-python/idna-2.1[${PYTHON_USEDEP}] ) - $(python_gen_cond_dep ' - >=dev-python/cffi-1.8:=[${PYTHON_USEDEP}] - ' 'python*') - " -BDEPEND=" - test? ( - >=dev-python/hypothesis-1.11.4[${PYTHON_USEDEP}] - dev-python/iso8601[${PYTHON_USEDEP}] - dev-python/pretend[${PYTHON_USEDEP}] - dev-python/pyasn1-modules[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -DEPEND=" - !libressl? ( >=dev-libs/openssl-1.0.2o-r6:0= ) - libressl? ( >=dev-libs/libressl-2.9.1:0= ) - " -RDEPEND+=${DEPEND} - -DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst ) - -src_prepare() { - default - - # work around availability macros not supported in GCC (yet) - if [[ ${CHOST} == *-darwin* ]] ; then - local darwinok=0 - if [[ ${CHOST##*-darwin} -ge 16 ]] ; then - darwinok=1 - fi - sed -i -e 's/__builtin_available(macOS 10\.12, \*)/'"${darwinok}"'/' \ - src/_cffi_src/openssl/src/osrandom_engine.c || die - fi -} - -python_test() { - local -x PYTHONPATH=${PYTHONPATH}:${WORKDIR}/${VEC_P} - pytest -vv -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" || - die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/cryptography/cryptography-3.3.1.ebuild b/dev-python/cryptography/cryptography-3.3.1.ebuild deleted file mode 100644 index 6c4fad1b11f7..000000000000 --- a/dev-python/cryptography/cryptography-3.3.1.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 multiprocessing - -VEC_P=cryptography_vectors-${PV} -DESCRIPTION="Library providing cryptographic recipes and primitives" -HOMEPAGE="https://github.com/pyca/cryptography/ https://pypi.org/project/cryptography/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz - test? ( mirror://pypi/c/cryptography_vectors/${VEC_P}.tar.gz )" - -LICENSE="|| ( Apache-2.0 BSD )" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="libressl idna" - -RDEPEND=" - >=dev-python/six-1.4.1[${PYTHON_USEDEP}] - idna? ( >=dev-python/idna-2.1[${PYTHON_USEDEP}] ) - $(python_gen_cond_dep ' - >=dev-python/cffi-1.8:=[${PYTHON_USEDEP}] - ' 'python*') - " -BDEPEND=" - test? ( - >=dev-python/hypothesis-1.11.4[${PYTHON_USEDEP}] - dev-python/iso8601[${PYTHON_USEDEP}] - dev-python/pretend[${PYTHON_USEDEP}] - dev-python/pyasn1-modules[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -DEPEND=" - !libressl? ( >=dev-libs/openssl-1.0.2o-r6:0= ) - libressl? ( >=dev-libs/libressl-2.9.1:0= ) - " -RDEPEND+=${DEPEND} - -DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst ) - -src_prepare() { - default - - # work around availability macros not supported in GCC (yet) - if [[ ${CHOST} == *-darwin* ]] ; then - local darwinok=0 - if [[ ${CHOST##*-darwin} -ge 16 ]] ; then - darwinok=1 - fi - sed -i -e 's/__builtin_available(macOS 10\.12, \*)/'"${darwinok}"'/' \ - src/_cffi_src/openssl/src/osrandom_engine.c || die - fi -} - -python_test() { - local -x PYTHONPATH=${PYTHONPATH}:${WORKDIR}/${VEC_P} - pytest -vv -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" || - die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/fsspec/Manifest b/dev-python/fsspec/Manifest index 756acefdbcb2..300c1f5d450c 100644 --- a/dev-python/fsspec/Manifest +++ b/dev-python/fsspec/Manifest @@ -1,2 +1,3 @@ DIST filesystem_spec-0.8.5.tar.gz 255904 BLAKE2B df400276dbc53a453e9e9a00acb2e93a86a5f239237533bab036a16bd48d6d709f68241febe75f6f72281162ba4a563a087405a1064e18805ce2501095d778fb SHA512 20001fd02348f15e764a9e20eab98267f6746bd7e86187914d3db3098061aa62cb296595c3519696ae1e99ef896d49df0fcec846aaf6e5c281dd1a344ef6c393 DIST filesystem_spec-0.8.7.tar.gz 277744 BLAKE2B 4957b716d622ecd2a1bb381b291253970682dde2c90a0e8dd76dfcc3ce3c9ba55846d97df8c1fcedd4e0d5af1c10eccc6c94418f2e78e9fffde846d12c11e170 SHA512 6eb89bf1e19ac1313aad2217aaaf4686f2e2e831a2cd339f9e12b8319fb080b82f0b90b10af53c2e6febd98a34ae8520444fee3c6394e7ab5fd5ca68d56e5454 +DIST filesystem_spec-0.9.0.tar.gz 286641 BLAKE2B 70603c14d955640251f0922afaf7fa7cd3739c827218cb708fac27883b671e059ef17eb02b4d482904278855d06958e2159b49e232c558f78befd925472bca6f SHA512 68235dc592a7c7e85e5aab1b4409825f9c0a15c6841f96f54cef66c1b6ef166e930b910bd140bbaeb818f2f1f3dfc9a5752f3c479a97b6c5ce8e7d7ea98721af diff --git a/dev-python/fsspec/fsspec-0.9.0.ebuild b/dev-python/fsspec/fsspec-0.9.0.ebuild new file mode 100644 index 000000000000..0d583cf6fd29 --- /dev/null +++ b/dev-python/fsspec/fsspec-0.9.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +MY_P=filesystem_spec-${PV} + +DESCRIPTION="A specification that python filesystems should adhere to" +HOMEPAGE="https://github.com/intake/filesystem_spec/ + https://pypi.org/project/fsspec/" +SRC_URI=" + https://github.com/intake/filesystem_spec/archive/${PV}.tar.gz + -> ${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +BDEPEND=" + dev-python/versioneer[${PYTHON_USEDEP}] + test? ( + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-vcs/git + )" + +distutils_enable_tests pytest + +src_test() { + git config --global user.email "you@example.com" || die + git config --global user.name "Your Name" || die + distutils-r1_src_test +} + +python_test() { + # sftp and smb require server started via docker + pytest -vv \ + --deselect fsspec/tests/test_spec.py::test_find \ + --ignore fsspec/implementations/tests/test_dbfs.py \ + --ignore fsspec/implementations/tests/test_sftp.py \ + --ignore fsspec/implementations/tests/test_smb.py || + die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/greenlet/greenlet-1.0.0.ebuild b/dev-python/greenlet/greenlet-1.0.0.ebuild index 075c8e0076f2..59329b69c798 100644 --- a/dev-python/greenlet/greenlet-1.0.0.ebuild +++ b/dev-python/greenlet/greenlet-1.0.0.ebuild @@ -17,6 +17,7 @@ SLOT="0" KEYWORDS="~alpha amd64 arm arm64 -hppa -ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" distutils_enable_sphinx docs +distutils_enable_tests unittest python_test() { eunittest greenlet.tests diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 6e6905e38ceb..348c411865e4 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -3,3 +3,4 @@ DIST hypothesis-python-6.6.0.tar.gz 9117847 BLAKE2B bb88ebee9db53f1c5753730d04e5 DIST hypothesis-python-6.8.1.tar.gz 9119495 BLAKE2B 4d98e30a04f652af79dd49e921b856124a312b63f087a6fd200282e9b0a0cd6fcad1a42a6008406bc347f21bf9cd6c5ff2db79d013987281f59365bd9d91550d SHA512 2f25e994438479b5faa15b2038146ab385445bf2722b0951ff55f324b074248d7322c4c6f3e9c659c18d0aa94150eea4c6567a7ac24debf2de4b32bab37a4dcc DIST hypothesis-python-6.8.3.tar.gz 9120421 BLAKE2B 9511f63aafe499316750ec8a993726d4e8db87b42fb772cf79cde1be18b23e99f55c1a2638f3ee7afadae5f323792322cf87b747ac428146fea2abc92793f8f5 SHA512 83660978dc4ff49a04d7167994821a18c769039c49dcbc515b28591651bb9ab2121e3a7267cb20281efade85003a5808e0898fda5dfe1e4be563a03d4688085c DIST hypothesis-python-6.8.4.tar.gz 9120762 BLAKE2B 00c6348c924252207cfca30babb2b281b70067478892ec154ef6fa40f87d5a1a4d7d4047eb2cb9f3e6b8cadee240f3475c2dc912f393553b35b0a6c71cf0ae4b SHA512 bb1c14aedf51bee4394c6b27d9c92d5c13b1d1e690608efff0cb68ae3ae7e8a078c99c10d0f1c4a6977430c8ebefea083af1be28f1535f93e320579614c9f46c +DIST hypothesis-python-6.8.5.tar.gz 9120852 BLAKE2B af15d2eaf0dbbd5d031c88af911bc9c490ba0cef0fa8a903747dbac93e8be72defbb65e7d41b354e713d56d956a7f09e6652390a771c4fedad3b0caf5830468f SHA512 ed1c67e7ffdd9cdf7864c1b21394419151936ee23bf2c3bbb9e5502f3184b092eeada97cf1ae5dfae857e268461662f2cf264cdfa76b146cddb824e01eb06e17 diff --git a/dev-python/hypothesis/hypothesis-6.8.5.ebuild b/dev-python/hypothesis/hypothesis-6.8.5.ebuild new file mode 100644 index 000000000000..f20e753a168b --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.8.5.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 eutils multiprocessing optfeature + +DESCRIPTION="A library for property based testing" +HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/" +SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz" +S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' 'python*') + ) +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !!<dev-python/typing-3.7.4.1 + ) +" + +distutils_enable_tests --install pytest + +python_prepare() { + if ! use cli || [[ ${EPYTHON} != python* ]]; then + sed -i -e '/console_scripts/d' setup.py || die + fi +} + +python_test() { + distutils_install_for_testing + epytest tests/cover tests/pytest tests/quality \ + -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/pydot/Manifest b/dev-python/pydot/Manifest index a7b463d35d0d..c1159712b377 100644 --- a/dev-python/pydot/Manifest +++ b/dev-python/pydot/Manifest @@ -1,2 +1 @@ -DIST pydot-1.4.1.tar.gz 264987 BLAKE2B 61db2b6dbeab582981bf96054686c927d8d4548ac19a6c197ab1725f92c87e973c2dcd84d4c6c04cb2ca76b8f40814cfee1d5a53e4952065a538fc271e75d2a0 SHA512 b5f16b59908586df61cd415cb1a3e242fb69c39674a82b171862beff1f3727f47cba39bdd806901cb56bc8a6888783a53d112b1b70044e124ea992789d77f938 DIST pydot-1.4.2.tar.gz 272678 BLAKE2B 966f2c4ef3e26a63cc50ab89b5b6b5b413aabdfeddf994f2d5ba9dedaa1ed3152dd8060186e7380c3e768b783f7bfe1971cd600c18d1b73f7ac63db08ee3ace9 SHA512 caa8051561710129b5164fd1392da941829fd977092a6ec8b00efe7a199d2d60bc7ef13cb0e51615f384550f0fb80190d0f56b83d8d80d1fe372efb5dbbd3632 diff --git a/dev-python/pydot/files/pydot-1.4.1-unittest.patch b/dev-python/pydot/files/pydot-1.4.1-unittest.patch deleted file mode 100644 index b3c0d0e426b5..000000000000 --- a/dev-python/pydot/files/pydot-1.4.1-unittest.patch +++ /dev/null @@ -1,74 +0,0 @@ -From a10ced4d132361027a545a471af4541dea8c5cf5 Mon Sep 17 00:00:00 2001 -From: Peter Nowee <peter@peternowee.com> -Date: Wed, 26 Jun 2019 15:43:38 +0800 -Subject: [PATCH] Fix multi.dot Graphviz regression test - -Commit d6602ad of 2018-12-01 fixed the regression test broken by commit -2d55978 of 2016-07-01. This revealed that `test/graphs/multi.dot` was -failing. - -`multi.dot` was introduced in commit 2b3f088 of 2010-11-07 together -with many of the other tests still here today. It has not been touched -since. It is a DOT-file containing two digraphs. The regression test -compares the JPEG images rendered from the DOT-file by pydot with those -rendered by Graphviz's dot directly. - -Commit 66734d2 of 2016-07-01 is the actual cause of the failure. It -changed one of the render methods of the regression test, -`_render_with_pydot`, from calculating a single hash for all the JPEG -images to calculating separate hashes for each JPEG image and then -concatenating those hashes in one long string. The other render method, -`_render_with_graphviz`, still calculates a single hash over all data. -For DOT-files that generate only one image the end result is the same, -but because `multi.dot` has two graphs, it produces two images and this -leads to comparing a string of two hashes with one single hash. - -I do not think the change in generating the hash was intentional, for -the following reasons: -- Commit 66734d2 states that its purpose was to adapt the test to an - API change in pydot. It does not mention a deliberate choice to - change the testing method. -- There was no effort to change `_render_with_graphviz` to also produce - multiple hashes. -- Except for easier debugging in case of a failing test with multiple - images (AFAICT, only `multi.dot`), I do not see much added benefit in - checking a concatenation of the hashes of all images vs. checking one - hash of all images together: In both cases the test will fail if one - or more images is rendered differently. -- Given that there were many commits authored that same hour, including - commit 2d55978 which broke the regression tests, I suspect the author - did not run the tests for each individual commit, but only at the end - of that batch, and was therefore also not alerted of this change by - the test suite. - -Assuming that the change was not intended, this commit will now revert -`_render_with_pydot` to the old behavior of calculating a single hash -from all JPEG image data. - -Tested with Debian 9.9, Graphviz 2.38.0-17, Python 2.7.13-2 and 3.5.3-1. - -Fixes https://github.com/pydot/pydot/issues/204. ---- - test/pydot_unittest.py | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/test/pydot_unittest.py b/test/pydot_unittest.py -index 881ee16..64aa856 100644 ---- a/test/pydot_unittest.py -+++ b/test/pydot_unittest.py -@@ -194,11 +194,11 @@ def _render_with_graphviz(self, filename, encoding): - - def _render_with_pydot(self, filename, encoding): - c = pydot.graph_from_dot_file(filename, encoding=encoding) -- sha = '' -+ jpe_data = bytearray() - for g in c: -- jpe_data = g.create(prog=TEST_PROGRAM, format='jpe', encoding=encoding) -- sha += sha256(jpe_data).hexdigest() -- return sha -+ jpe_data.extend(g.create(prog=TEST_PROGRAM, format='jpe', -+ encoding=encoding)) -+ return sha256(jpe_data).hexdigest() - - def test_my_regression_tests(self): - path = os.path.join(test_dir, TESTS_DIR_1) diff --git a/dev-python/pydot/pydot-1.4.1.ebuild b/dev-python/pydot/pydot-1.4.1.ebuild deleted file mode 100644 index 7e058198d290..000000000000 --- a/dev-python/pydot/pydot-1.4.1.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="Python interface to Graphviz's Dot language" -HOMEPAGE="https://github.com/erocarrera/pydot https://pypi.org/project/pydot/" -# pypi releases don't include tests -SRC_URI="https://github.com/erocarrera/pydot/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/pyparsing-2.1.4[${PYTHON_USEDEP}] - media-gfx/graphviz" -BDEPEND=" - test? ( - ${RDEPEND} - dev-python/chardet[${PYTHON_USEDEP}] - )" - -PATCHES=( - "${FILESDIR}"/${P}-unittest.patch -) - -python_test() { - cd test || die - "${PYTHON}" pydot_unittest.py || die "Test failed with ${EPYTHON}" -} diff --git a/dev-python/pytools/Manifest b/dev-python/pytools/Manifest index bb6ec0e62d0c..b2f11c6c85c8 100644 --- a/dev-python/pytools/Manifest +++ b/dev-python/pytools/Manifest @@ -2,4 +2,5 @@ DIST pytools-2021.1.2.tar.gz 62893 BLAKE2B 9aa637f2cfeef93a8353f6df700d8566918aa DIST pytools-2021.1.tar.gz 62003 BLAKE2B 2938359365082d9475cfb51586c78d3dce264cf0e8b1cf3fea0c7c688570c6e25c9a558b78977c35331ee89afd23ab7eb44a8702b3908eea160b07747646cc53 SHA512 c365cbb65b756869407f7f053112cb9732aeb138493172f2b90563a4f45e6d993557e54de2165a463931b8e2bd29c3ccd32c059702f21fb59e3dee74c19efd8f DIST pytools-2021.2.1.tar.gz 65336 BLAKE2B 2b44d738b84efb2d301f2cd1e346dd4ddde003f78e276025dd225814984565ad7e76682d4fdbc578da86e215296e1fbf354fe9afc75f4f4a59e474de09f440c3 SHA512 3ba0540cb8fc153b915183e424abac32d181173488d0f29b612cbad5d51bdbddc9e19c54432937abb6556c4bb6db09fee46e6a4172a62edb4c9f89dfcf00f8c5 DIST pytools-2021.2.2.tar.gz 62518 BLAKE2B 07e12005b3f0372c7fd52c10b549f9c7bda888b90ccdf0aa3efaef5af9b4b26b5deeaf6050d69d5b2419a1af77f4a870c6a849c3744cf9f614eb4212066cc3bd SHA512 553c70b9220b31b9123e1795198c17e562696e1a74481ca47cc6420a64697445e96d59ca8e5a2e52225b5da7db9034cfcce1c79e6cffef9b748fe8291499aa0b +DIST pytools-2021.2.3.tar.gz 63283 BLAKE2B e5f9e69a0055db8b81e7f525894f5170afbe3a28ca33684a4afb414fc5413bdb986d51a711faa3326c27f9eb2da5c7812eb730c6d372944e0b5a23f09e9c9d6b SHA512 9d9f7a2d6888f4ffa9c53059fa67d80bc835d42a34311e264518323d91bcaef918c2c78c7687fa8c2d9310f1a6804e2ae74c50834323d1adc29638033e1f8ee0 DIST pytools-2021.2.tar.gz 65140 BLAKE2B 8f419b5776c99b3179b2f4d44a2461ee5e3b55d663e8982f1e34f9fab3cb397ee5a0ee13a2eaf9de1f3330c951b6972cac6d9d0c3994f461ffeca8abf110f11d SHA512 3a91be32c5e1c70a3f2d8accb29888cd7f4b9e304fc68a3d2ca2d9ff674a885836236f6dbf11711555444a8eee63cbe86d85834fc73676420b331f94915a1018 diff --git a/dev-python/pytools/pytools-2021.2.3.ebuild b/dev-python/pytools/pytools-2021.2.3.ebuild new file mode 100644 index 000000000000..c73c8d5facb9 --- /dev/null +++ b/dev-python/pytools/pytools-2021.2.3.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +PYTHON_REQ_USE='sqlite' + +inherit distutils-r1 + +DESCRIPTION="Collection of tools missing from the Python standard library" +HOMEPAGE="https://mathema.tician.de/software/pytools/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}] + >=dev-python/numpy-1.6.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/regex/regex-2021.4.4.ebuild b/dev-python/regex/regex-2021.4.4.ebuild index 72ecf32fa0e6..8de9bf76670d 100644 --- a/dev-python/regex/regex-2021.4.4.ebuild +++ b/dev-python/regex/regex-2021.4.4.ebuild @@ -16,6 +16,8 @@ SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" IUSE="doc" +distutils_enable_tests unittest + python_test() { eunittest -s "${BUILD_DIR}"/lib } diff --git a/dev-python/rope/files/rope-0.18.0-add-python-3.9-support.patch b/dev-python/rope/files/rope-0.18.0-add-python-3.9-support.patch new file mode 100644 index 000000000000..edb5304841db --- /dev/null +++ b/dev-python/rope/files/rope-0.18.0-add-python-3.9-support.patch @@ -0,0 +1,155 @@ +https://github.com/python-rope/rope/pull/333 + +From a63ae26035c5493dc8b7c3bf6a70fc05dba2be98 Mon Sep 17 00:00:00 2001 +From: Matt Turner <mattst88@gmail.com> +Date: Sun, 14 Mar 2021 10:17:47 -0400 +Subject: [PATCH 1/3] Fix test expectations for Python 3.9 AST changes + +Fixes the following two tests under Python 3.9: + +FAILED ropetest/refactor/patchedasttest.py::PatchedASTTest::test_ext_slice_node - AssertionError: Node <ExtSlice> cannot be found +FAILED ropetest/refactor/patchedasttest.py::PatchedASTTest::test_simple_subscript - AssertionError: False is not true : Expected <Index> but was <Constant> + +The ast module in Python 3.9 has some API changes. Quoting [1]: + + Simplified AST for subscription. Simple indices will be represented + by their value, extended slices will be represented as tuples. + Index(value) will return a value itself, ExtSlice(slices) will + return Tuple(slices, Load()). (Contributed by Serhiy Storchaka in + bpo-34822.) + +[1] https://docs.python.org/3/whatsnew/3.9.html#changes-in-the-python-api +--- + ropetest/refactor/patchedasttest.py | 18 +++++++++++++----- + 1 file changed, 13 insertions(+), 5 deletions(-) + +diff --git a/ropetest/refactor/patchedasttest.py b/ropetest/refactor/patchedasttest.py +index 04df3752..74a9d9a6 100644 +--- a/ropetest/refactor/patchedasttest.py ++++ b/ropetest/refactor/patchedasttest.py +@@ -838,8 +838,12 @@ class PatchedASTTest(unittest.TestCase): + source = 'x = xs[0,:]\n' + ast_frag = patchedast.get_patched_ast(source, True) + checker = _ResultChecker(self, ast_frag) +- checker.check_region('ExtSlice', 7, len(source) - 2) +- checker.check_children('ExtSlice', ['Index', '', ',', '', 'Slice']) ++ if sys.version_info >= (3, 9): ++ checker.check_region('Tuple', 7, len(source) - 2) ++ checker.check_children('Tuple', ['Num', '', ',', '', 'Slice']) ++ else: ++ checker.check_region('ExtSlice', 7, len(source) - 2) ++ checker.check_children('ExtSlice', ['Index', '', ',', '', 'Slice']) + + def test_simple_module_node(self): + source = 'pass\n' +@@ -933,9 +937,13 @@ class PatchedASTTest(unittest.TestCase): + source = 'a[1]\n' + ast_frag = patchedast.get_patched_ast(source, True) + checker = _ResultChecker(self, ast_frag) +- checker.check_children( +- 'Subscript', ['Name', '', '[', '', 'Index', '', ']']) +- checker.check_children('Index', ['Num']) ++ if sys.version_info >= (3, 9): ++ checker.check_children( ++ 'Subscript', ['Name', '', '[', '', 'Num', '', ']']) ++ else: ++ checker.check_children( ++ 'Subscript', ['Name', '', '[', '', 'Index', '', ']']) ++ checker.check_children('Index', ['Num']) + + def test_tuple_node(self): + source = '(1, 2)\n' +-- +2.26.2 + +From 02284e4151c2b1d549a64175ef0e3212b7737c56 Mon Sep 17 00:00:00 2001 +From: Matt Turner <mattst88@gmail.com> +Date: Sun, 14 Mar 2021 10:54:48 -0400 +Subject: [PATCH 2/3] Handle AST.expr in _Subscript() + +The ast module in Python 3.9 has some API changes. Quoting [1]: + + Simplified AST for subscription. Simple indices will be represented + by their value, extended slices will be represented as tuples. + Index(value) will return a value itself, ExtSlice(slices) will + return Tuple(slices, Load()). (Contributed by Serhiy Storchaka in + bpo-34822.) + +[1] https://docs.python.org/3/whatsnew/3.9.html#changes-in-the-python-api + +isinstance(thing, ast.Index) always return false in Python >= 3.9, so we +need to handle... whatever the value is now. ast.expr catches 20 of the +remaining 24 failures. The remaining 4 are resolved in the next patch. + +Fixes: #299 +--- + rope/base/evaluate.py | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/rope/base/evaluate.py b/rope/base/evaluate.py +index 610d34e0..4634981a 100644 +--- a/rope/base/evaluate.py ++++ b/rope/base/evaluate.py +@@ -307,6 +307,9 @@ class StatementEvaluator(object): + elif isinstance(node.slice, ast.Slice): + self._call_function(node.value, '__getitem__', + [node.slice]) ++ elif isinstance(node.slice, ast.expr): ++ self._call_function(node.value, '__getitem__', ++ [node.value]) + + def _Slice(self, node): + self.result = self._get_builtin_name('slice') +-- +2.26.2 + +From 46a3403a06aaadf9d17f87b38300c4e3febe47c5 Mon Sep 17 00:00:00 2001 +From: Matt Turner <mattst88@gmail.com> +Date: Fri, 19 Mar 2021 18:41:53 -0400 +Subject: [PATCH 3/3] Handle AST.expr in static object analysis + +The ast module in Python 3.9 has some API changes. Quoting [1]: + + Simplified AST for subscription. Simple indices will be represented + by their value, extended slices will be represented as tuples. + Index(value) will return a value itself, ExtSlice(slices) will + return Tuple(slices, Load()). (Contributed by Serhiy Storchaka in + bpo-34822.) + +[1] https://docs.python.org/3/whatsnew/3.9.html#changes-in-the-python-api + +This fixes the remaining 4 failures under Python 3.9. + +FAILED ropetest/advanced_oi_test.py::NewStaticOITest::test_static_oi_for_dicts_depending_on_append_function +FAILED ropetest/advanced_oi_test.py::NewStaticOITest::test_static_oi_for_dicts_depending_on_for_loops +FAILED ropetest/advanced_oi_test.py::NewStaticOITest::test_static_oi_for_dicts_depending_on_update +FAILED ropetest/advanced_oi_test.py::NewStaticOITest::test_static_oi_for_lists_per_object_for_set_item + +Fixes: #299 +--- + rope/base/oi/soa.py | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/rope/base/oi/soa.py b/rope/base/oi/soa.py +index 8ef17aee..20ab567e 100644 +--- a/rope/base/oi/soa.py ++++ b/rope/base/oi/soa.py +@@ -126,7 +126,7 @@ class SOAVisitor(object): + for subscript, levels in nodes: + instance = evaluate.eval_node(self.scope, subscript.value) + args_pynames = [evaluate.eval_node(self.scope, +- subscript.slice.value)] ++ subscript.slice)] + value = rope.base.oi.soi._infer_assignment( + rope.base.pynames.AssignmentValue(node.value, levels, + type_hint=type_hint), +@@ -149,5 +149,5 @@ class _SOAAssignVisitor(astutils._NodeNameCollector): + + def _added(self, node, levels): + if isinstance(node, rope.base.ast.Subscript) and \ +- isinstance(node.slice, rope.base.ast.Index): ++ isinstance(node.slice, (rope.base.ast.Index, rope.base.ast.expr)): + self.nodes.append((node, levels)) +-- +2.26.2 + diff --git a/dev-python/rope/rope-0.18.0-r1.ebuild b/dev-python/rope/rope-0.18.0-r1.ebuild new file mode 100644 index 000000000000..8bbd568208c6 --- /dev/null +++ b/dev-python/rope/rope-0.18.0-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +DESCRIPTION="Python refactoring library" +HOMEPAGE="https://github.com/python-rope/rope" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" + +IUSE="doc" + +# Dependency for docbuild documentation which is not noted in +# setup.py, using standard docutils builds docs successfully. +DEPEND="doc? ( dev-python/docutils[${PYTHON_USEDEP}] )" + +PATCHES=( + "${FILESDIR}"/${P}-add-python-3.9-support.patch +) + +distutils_enable_tests pytest + +python_compile_all() { + if use doc; then + pushd docs > /dev/null || die + mkdir build || die + local i + for i in ./*.rst; do + rst2html.py $i > ./build/${i/rst/html} || die + done + popd > /dev/null || die + fi +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/build/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/sphinx_rtd_theme/Manifest b/dev-python/sphinx_rtd_theme/Manifest index e151455e7040..774ac096f560 100644 --- a/dev-python/sphinx_rtd_theme/Manifest +++ b/dev-python/sphinx_rtd_theme/Manifest @@ -1 +1,2 @@ DIST sphinx_rtd_theme-0.5.1.tar.gz 2774928 BLAKE2B 1ff9c2e1b7ef7740de4969b6b4862d9ac499d515163a32ca2b5438c84910d610c80f5e8c3d03e3016ffa8c58003abecb67bd036ded065dfb65318e2f1d7e69d9 SHA512 20a04408fdf3f5698fecb2a0a430eba6f484770c8e01026c0d444d25ffcbd798edb82aa4b489df10b63d9fcc5eac204e9e3ccdaaf7eac7eb0baee2a5d7960c30 +DIST sphinx_rtd_theme-0.5.2.tar.gz 7606638 BLAKE2B c104121b36c89f4d2b7c2fc12433ffd1a7cba9b9d532358dafd53061b2ca9ead4bb93b7b596394c244a9da51c0b9299f2fe0ec8d4ca102015b6c7dfb92081813 SHA512 dd46bfeb05b433970d8130c06cad6dfa9dbc4e9db2d9a8190b80232d75b4d0a86590c17d64b9b1dcd2cb1d042033f4d2c2ce2e5cac0239c6b86899628b94b274 diff --git a/dev-python/sphinx_rtd_theme/sphinx_rtd_theme-0.5.2.ebuild b/dev-python/sphinx_rtd_theme/sphinx_rtd_theme-0.5.2.ebuild new file mode 100644 index 000000000000..486ecf442137 --- /dev/null +++ b/dev-python/sphinx_rtd_theme/sphinx_rtd_theme-0.5.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=bdepend +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="ReadTheDocs.org theme for Sphinx" +HOMEPAGE="https://github.com/readthedocs/sphinx_rtd_theme" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="" + +PDEPEND="dev-python/sphinx[${PYTHON_USEDEP}]" +RDEPEND="<dev-python/docutils-0.17[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + ${PDEPEND} + dev-python/readthedocs-sphinx-ext[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +src_configure() { + # CI=1 disables rebuilding webpack that requires npm use + # yes, that surely makes sense + export CI=1 +} diff --git a/dev-python/sqlalchemy/Manifest b/dev-python/sqlalchemy/Manifest index 2c121eda0a09..2fe77221fd96 100644 --- a/dev-python/sqlalchemy/Manifest +++ b/dev-python/sqlalchemy/Manifest @@ -1,12 +1,4 @@ -DIST SQLAlchemy-1.3.17.tar.gz 5979141 BLAKE2B f0fa46493461f532ebca9420fc9f49a2c04af888aa99653946a5bb563d40b8bb714a03301300ebb80cca76a99f8226ddfcde4216e8fc2593d3a161b5072276ab SHA512 6f6d54b9018ece6c289f28a3a41ffb1b2216206edee08c49f387e9f30740969dfe0f8272654ce4efca159a2a6619e76c41b2ad2b10c391cdd64681ac17d0bc79 -DIST SQLAlchemy-1.3.20.tar.gz 6264898 BLAKE2B 4c386eff56c2f9ec7ef467e3bc0032629582a970707dc11e3744fe3903d9cb18457f5e0be4dc9c20727b5733f158e031bf8b40f586dadb8f4ab8d0cae3cf7398 SHA512 29c52ada1a66f906ed2563df2ab093eceb7c09de45749c96031f30a1512d20b1d698e00640c777169ef3db99ab012151770a3daea45a51df934269b554ff4b28 -DIST SQLAlchemy-1.3.21.tar.gz 6297278 BLAKE2B 39bd440eec25adc3ec81eaf55d2b97ecb328da4fd6e78dca17a94548a34336a8ef01a1dd0b4565794f4647d3bb4a98803873990c2e0df865216ed57fbe67ba1c SHA512 50ea60b849e6f043507728482dc1a90faea853c3fb16affe1d68197903578cb31f26b3543f4671be6aec2a705343193bfa7579e8d417e74c92ee104af4fba753 -DIST SQLAlchemy-1.3.22.tar.gz 6300186 BLAKE2B 5b788ddadef0b68f440c5c7584320dd0a71d43e288febf0cb35c4683052be0f46174ac17b7c8b22ad0461f1e5f55ef5e6dbb149c49d727c3b42b49f48eb7589d SHA512 5e43af97dd93af8174f14575c8238a72153afa4dbe56503cf934de9f783ea15ad27b25523c147191bd2ec89e25baafab5f5d9c34a29f71eaf4e2de49af5bb887 DIST SQLAlchemy-1.3.23.tar.gz 6313652 BLAKE2B e87f67ee7ee70036b94e1708c1a59f58b1f8abad23aa26c74e2a9a2172bee5a6411b2be95bff0f1c6e39d3a0de0839adc6b43f4cde597a18d4cf930e4c37b11e SHA512 dcd1a0878fd58ee49691bb7e8a2571cb40cc942380a4fe0e66d3abb1723830f178e7b3944c5c2d69bd3aaff04cd2ca171bbabbe34f59f54bcf4b9ee2782f9570 DIST SQLAlchemy-1.3.24.tar.gz 6353598 BLAKE2B 6eb92b20fa3412a1f1398e18e902e3338320973287afa4a37477ec28d47e7422a19c3a60e6290a6da7b23512c0d818a26400958d02097def778c917f098bb3db SHA512 4f5f0a23e80e1cebe541f8748a7e794e8964d986252803b3289a7cea732ad22557e00221775332e2766b6ff16ad5d9069223f441f8880ca6d0c47011f15fee5b -DIST SQLAlchemy-1.4.0.tar.gz 7440276 BLAKE2B dce64f2a5fe2b67be2a6d79680a774603005773ce93d0a03e6180b9bf7f3105a8b3bca88a2b4a3bcf15305a8271fc45a2bf22d9776ffa49c2d03c586095e7174 SHA512 03d66e96f3a1358b5e68e49ec47c3cfbd6daff86505d4dd7e9f65967f8566f1a55fa4b896dd95109e0c4dbd2684579e12c35bdeb7076d6c06af683b55736cd9e -DIST SQLAlchemy-1.4.1.tar.gz 7450731 BLAKE2B 9868347a3ccc3519fe31cfca41f318d0b0832aa301c7c91a073fd877f5c29289aa91008feb31096a62a939e70eded88ee21bfc586d09f68ebff4f48ef4e50c8e SHA512 8d2f84aa7edfec65a1f2286210c8728c39f1411da1b0cb6f60cf6345fc692646ae4f2a062b2e4b2f04fe9000678d682c939645f7affbe518821299ae129e8ea8 DIST SQLAlchemy-1.4.2.tar.gz 7464092 BLAKE2B dd4cf617a66ed4eba54e41ebaead189409e09e434bdfe8e6f71e2fd4bd9ea574acef8feb42290a3fe80f602d2de2160b075633449b0b543e44b44f0fc7c867bc SHA512 b436576d6c72d0ec285b926f5741b6bdba14fa959248be1c4bdcc8b87dfc512653e48fb2d356ab85d0e90a374c48de5311f43f4f3ce6cb64876e1316c6169423 -DIST SQLAlchemy-1.4.3.tar.gz 7479656 BLAKE2B 543ba3f4655e516db82655b1b1814e06fb59e618e3a6d746749763139d9a6ce2cfa2d403cc0d48a80f7455bb4547077036973d5022f8298cfe0c95c5417df648 SHA512 cdb133b2feb480aa9d10f7e38d5c8342ceca327013a9cfea814887cc28eb544f79afc50a08d735195ad0130961429145ef0e641b17584ccb7aec6461cb9e7b15 -DIST SQLAlchemy-1.4.4.tar.gz 7486363 BLAKE2B 4472451e7e3d96c1887b3e896801f587009dc0d41d442790430407963e0e140995a18d2ff8698766245c3b884c6a4679f25d58dba5688ce18dea2ba5011e70ba SHA512 5543effc860e81e1a9c5ceca7ccd521411460ed9a950a33cd0f5c9df6a25eff2d2ef1b49b6e1b2630c2f46aeb09356a51d6152aa7de76d17d9c8aa77c89d479c DIST SQLAlchemy-1.4.5.tar.gz 7502502 BLAKE2B d3b07bdf65a31e124d705c22de9ec9d57f5324f61b5ee2e5df13dbcf9e02154983179f87da06bcdc2e19b08375a51a500faa72a67ed7415a51ea266623f70a1b SHA512 1b7e709b0a2c1adaa536c247d411e67abf41b6346fd2592af15d063b7cc52811091890470c2cb553cf8e07e4e1ce31ea46afc82a1266e7e737be4f9bd52bb9f0 diff --git a/dev-python/sqlalchemy/sqlalchemy-1.3.17.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.3.17.ebuild deleted file mode 100644 index 9bf29d2e5bf0..000000000000 --- a/dev-python/sqlalchemy/sqlalchemy-1.3.17.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -PYTHON_REQ_USE="sqlite?" - -inherit distutils-r1 flag-o-matic optfeature - -MY_PN="SQLAlchemy" -MY_P="${MY_PN}-${PV/_beta/b}" - -DESCRIPTION="Python SQL toolkit and Object Relational Mapper" -HOMEPAGE="https://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/" -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="examples +sqlite test" - -REQUIRED_USE="test? ( sqlite )" - -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - # Disable tests hardcoding function call counts specific to Python versions. - rm -r test/aaa_profiling || die - distutils-r1_python_prepare_all -} - -python_compile() { - if ! python_is_python3; then - local CFLAGS=${CFLAGS} - append-cflags -fno-strict-aliasing - fi - distutils-r1_python_compile -} - -python_install_all() { - use examples && dodoc -r examples - - distutils-r1_python_install_all -} - -pkg_postinst() { - optfeature "MySQL support" dev-python/mysql-python dev-python/mysql-connector-python - optfeature "mssql support" dev-python/pymssql - optfeature "postgresql support" dev-python/psycopg:2 -} diff --git a/dev-python/sqlalchemy/sqlalchemy-1.3.20.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.3.20.ebuild deleted file mode 100644 index d324f54e7ab3..000000000000 --- a/dev-python/sqlalchemy/sqlalchemy-1.3.20.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -PYTHON_REQ_USE="sqlite?" - -inherit distutils-r1 optfeature - -MY_PN="SQLAlchemy" -MY_P="${MY_PN}-${PV/_beta/b}" - -DESCRIPTION="Python SQL toolkit and Object Relational Mapper" -HOMEPAGE="https://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/" -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="examples +sqlite test" - -REQUIRED_USE="test? ( sqlite )" - -# Use pytest-xdist to speed up tests -BDEPEND=" - test? ( - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - # Ported part of those commits to fix failing tests: - # https://github.com/sqlalchemy/sqlalchemy/commit/c68f9fb87868c45fcadcc942ce4a35f10ff2f7ea - # https://github.com/sqlalchemy/sqlalchemy/commit/a9b068ae564e5e775e312373088545b75aeaa1b0 - # https://github.com/sqlalchemy/sqlalchemy/commit/9e31fc74089cf565df5f275d22eb8ae5414d6e45 - "${FILESDIR}/${P}-pypy3.patch" -) - -distutils_enable_tests pytest - -python_test() { - # Use all CPUs with pytest-xdist - pytest -n auto -vv || die "Tests failed with ${EPYTHON}" -} - -python_prepare_all() { - # Disable tests hardcoding function call counts specific to Python versions. - rm -r test/aaa_profiling || die - distutils-r1_python_prepare_all -} - -python_install_all() { - if use examples; then - docompress -x "/usr/share/doc/${PF}/examples" - dodoc -r examples - fi - - distutils-r1_python_install_all -} - -pkg_postinst() { - optfeature "MySQL support" dev-python/mysqlclient dev-python/pymysql \ - dev-python/mysql-connector-python - optfeature "mssql support" dev-python/pymssql - optfeature "postgresql support" dev-python/psycopg:2 -} diff --git a/dev-python/sqlalchemy/sqlalchemy-1.3.21.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.3.21.ebuild deleted file mode 100644 index 53e75f5c5e5b..000000000000 --- a/dev-python/sqlalchemy/sqlalchemy-1.3.21.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -PYTHON_REQ_USE="sqlite?" - -inherit distutils-r1 optfeature - -MY_PN="SQLAlchemy" -MY_P="${MY_PN}-${PV/_beta/b}" - -DESCRIPTION="Python SQL toolkit and Object Relational Mapper" -HOMEPAGE="https://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/" -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="examples +sqlite test" - -# Use pytest-xdist to speed up tests -BDEPEND=" - test? ( - $(python_gen_impl_dep sqlite) - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - # Ported part of those commits to fix failing tests: - # https://github.com/sqlalchemy/sqlalchemy/commit/c68f9fb87868c45fcadcc942ce4a35f10ff2f7ea - # https://github.com/sqlalchemy/sqlalchemy/commit/a9b068ae564e5e775e312373088545b75aeaa1b0 - # https://github.com/sqlalchemy/sqlalchemy/commit/9e31fc74089cf565df5f275d22eb8ae5414d6e45 - "${FILESDIR}/sqlalchemy-1.3.20-pypy3.patch" -) - -distutils_enable_tests pytest - -python_test() { - # Use all CPUs with pytest-xdist - pytest -n auto -vv || die "Tests failed with ${EPYTHON}" -} - -python_prepare_all() { - # Disable tests hardcoding function call counts specific to Python versions. - rm -r test/aaa_profiling || die - distutils-r1_python_prepare_all -} - -python_install_all() { - if use examples; then - docompress -x "/usr/share/doc/${PF}/examples" - dodoc -r examples - fi - - distutils-r1_python_install_all -} - -pkg_postinst() { - optfeature "MySQL support" dev-python/mysqlclient dev-python/pymysql \ - dev-python/mysql-connector-python - optfeature "mssql support" dev-python/pymssql - optfeature "postgresql support" dev-python/psycopg:2 -} diff --git a/dev-python/sqlalchemy/sqlalchemy-1.3.22.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.3.22.ebuild deleted file mode 100644 index 537b0ac659c8..000000000000 --- a/dev-python/sqlalchemy/sqlalchemy-1.3.22.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -PYTHON_REQ_USE="sqlite?" - -inherit distutils-r1 optfeature - -MY_PN="SQLAlchemy" -MY_P="${MY_PN}-${PV/_beta/b}" - -DESCRIPTION="Python SQL toolkit and Object Relational Mapper" -HOMEPAGE="https://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/" -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="examples +sqlite test" - -# Use pytest-xdist to speed up tests -BDEPEND=" - test? ( - $(python_gen_impl_dep sqlite) - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - # Ported part of those commits to fix failing tests: - # https://github.com/sqlalchemy/sqlalchemy/commit/c68f9fb87868c45fcadcc942ce4a35f10ff2f7ea - # https://github.com/sqlalchemy/sqlalchemy/commit/a9b068ae564e5e775e312373088545b75aeaa1b0 - # https://github.com/sqlalchemy/sqlalchemy/commit/9e31fc74089cf565df5f275d22eb8ae5414d6e45 - "${FILESDIR}/sqlalchemy-1.3.20-pypy3.patch" -) - -distutils_enable_tests pytest - -python_test() { - # Use all CPUs with pytest-xdist - pytest -n auto -vv || die "Tests failed with ${EPYTHON}" -} - -python_prepare_all() { - # Disable tests hardcoding function call counts specific to Python versions. - rm -r test/aaa_profiling || die - distutils-r1_python_prepare_all -} - -python_install_all() { - if use examples; then - docompress -x "/usr/share/doc/${PF}/examples" - dodoc -r examples - fi - - distutils-r1_python_install_all -} - -pkg_postinst() { - optfeature "MySQL support" dev-python/mysqlclient dev-python/pymysql \ - dev-python/mysql-connector-python - optfeature "mssql support" dev-python/pymssql - optfeature "postgresql support" dev-python/psycopg:2 -} diff --git a/dev-python/sqlalchemy/sqlalchemy-1.4.0.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.4.0.ebuild deleted file mode 100644 index dd775b3726ab..000000000000 --- a/dev-python/sqlalchemy/sqlalchemy-1.4.0.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -PYTHON_REQ_USE="sqlite?" - -inherit distutils-r1 multiprocessing optfeature - -MY_PN="SQLAlchemy" -MY_P="${MY_PN}-${PV/_beta/b}" - -DESCRIPTION="Python SQL toolkit and Object Relational Mapper" -HOMEPAGE="https://www.sqlalchemy.org/ https://pypi.org/project/sqlalchemy/" -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="examples +sqlite test" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/importlib_metadata[${PYTHON_USEDEP}] - ' python3_7 pypy3) -" -# Use pytest-xdist to speed up tests -BDEPEND=" - test? ( - $(python_gen_impl_dep sqlite) - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # remove optional/partial dep on greenlet, greenlet is not very portable - sed -i -e '/greenlet/d' setup.cfg || die - - distutils-r1_src_prepare -} - -python_test() { - # Disable tests hardcoding function call counts specific to Python versions. - epytest --ignore test/aaa_profiling \ - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" -} - -python_install_all() { - if use examples; then - docompress -x "/usr/share/doc/${PF}/examples" - dodoc -r examples - fi - - distutils-r1_python_install_all -} - -pkg_postinst() { - optfeature "MySQL support" dev-python/mysqlclient dev-python/pymysql \ - dev-python/mysql-connector-python - optfeature "mssql support" dev-python/pymssql - optfeature "postgresql support" dev-python/psycopg:2 -} diff --git a/dev-python/sqlalchemy/sqlalchemy-1.4.1.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.4.1.ebuild deleted file mode 100644 index aa99618e929b..000000000000 --- a/dev-python/sqlalchemy/sqlalchemy-1.4.1.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -PYTHON_REQ_USE="sqlite?" - -inherit distutils-r1 multiprocessing optfeature - -MY_PN="SQLAlchemy" -MY_P="${MY_PN}-${PV/_beta/b}" - -DESCRIPTION="Python SQL toolkit and Object Relational Mapper" -HOMEPAGE="https://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/" -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="examples +sqlite test" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/importlib_metadata[${PYTHON_USEDEP}] - ' python3_7 pypy3) -" -# Use pytest-xdist to speed up tests -BDEPEND=" - test? ( - $(python_gen_impl_dep sqlite) - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # remove optional/partial dep on greenlet, greenlet is not very portable - sed -i -e '/greenlet/d' setup.cfg || die - - distutils-r1_src_prepare -} - -python_test() { - # Disable tests hardcoding function call counts specific to Python versions. - epytest --ignore test/aaa_profiling \ - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" -} - -python_install_all() { - if use examples; then - docompress -x "/usr/share/doc/${PF}/examples" - dodoc -r examples - fi - - distutils-r1_python_install_all -} - -pkg_postinst() { - optfeature "MySQL support" dev-python/mysqlclient dev-python/pymysql \ - dev-python/mysql-connector-python - optfeature "mssql support" dev-python/pymssql - optfeature "postgresql support" dev-python/psycopg:2 -} diff --git a/dev-python/sqlalchemy/sqlalchemy-1.4.3-r1.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.4.3-r1.ebuild deleted file mode 100644 index aa99618e929b..000000000000 --- a/dev-python/sqlalchemy/sqlalchemy-1.4.3-r1.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -PYTHON_REQ_USE="sqlite?" - -inherit distutils-r1 multiprocessing optfeature - -MY_PN="SQLAlchemy" -MY_P="${MY_PN}-${PV/_beta/b}" - -DESCRIPTION="Python SQL toolkit and Object Relational Mapper" -HOMEPAGE="https://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/" -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="examples +sqlite test" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/importlib_metadata[${PYTHON_USEDEP}] - ' python3_7 pypy3) -" -# Use pytest-xdist to speed up tests -BDEPEND=" - test? ( - $(python_gen_impl_dep sqlite) - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # remove optional/partial dep on greenlet, greenlet is not very portable - sed -i -e '/greenlet/d' setup.cfg || die - - distutils-r1_src_prepare -} - -python_test() { - # Disable tests hardcoding function call counts specific to Python versions. - epytest --ignore test/aaa_profiling \ - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" -} - -python_install_all() { - if use examples; then - docompress -x "/usr/share/doc/${PF}/examples" - dodoc -r examples - fi - - distutils-r1_python_install_all -} - -pkg_postinst() { - optfeature "MySQL support" dev-python/mysqlclient dev-python/pymysql \ - dev-python/mysql-connector-python - optfeature "mssql support" dev-python/pymssql - optfeature "postgresql support" dev-python/psycopg:2 -} diff --git a/dev-python/sqlalchemy/sqlalchemy-1.4.4.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.4.4.ebuild deleted file mode 100644 index aa99618e929b..000000000000 --- a/dev-python/sqlalchemy/sqlalchemy-1.4.4.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) -PYTHON_REQ_USE="sqlite?" - -inherit distutils-r1 multiprocessing optfeature - -MY_PN="SQLAlchemy" -MY_P="${MY_PN}-${PV/_beta/b}" - -DESCRIPTION="Python SQL toolkit and Object Relational Mapper" -HOMEPAGE="https://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/" -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="examples +sqlite test" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/importlib_metadata[${PYTHON_USEDEP}] - ' python3_7 pypy3) -" -# Use pytest-xdist to speed up tests -BDEPEND=" - test? ( - $(python_gen_impl_dep sqlite) - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # remove optional/partial dep on greenlet, greenlet is not very portable - sed -i -e '/greenlet/d' setup.cfg || die - - distutils-r1_src_prepare -} - -python_test() { - # Disable tests hardcoding function call counts specific to Python versions. - epytest --ignore test/aaa_profiling \ - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" -} - -python_install_all() { - if use examples; then - docompress -x "/usr/share/doc/${PF}/examples" - dodoc -r examples - fi - - distutils-r1_python_install_all -} - -pkg_postinst() { - optfeature "MySQL support" dev-python/mysqlclient dev-python/pymysql \ - dev-python/mysql-connector-python - optfeature "mssql support" dev-python/pymssql - optfeature "postgresql support" dev-python/psycopg:2 -} diff --git a/dev-python/towncrier/Manifest b/dev-python/towncrier/Manifest index 962e0caf23ed..26f016e30faa 100644 --- a/dev-python/towncrier/Manifest +++ b/dev-python/towncrier/Manifest @@ -1 +1,3 @@ DIST towncrier-19.2.0.tar.gz 18089 BLAKE2B d1e17e707b90089b19d9eedebd898b71fcc9a582cbae0166650a6bd52a8ac6bb3921a458a6d2c10e5930b92230ddf5efc5a428646c464edb6eb4bfc06949e217 SHA512 60999446c4ae404fb54ea6282a862621d49f62a2488d31eecf8fed9dd7afa6e01f4feac6e3dd26b882ee75f747424d63d05521e33b5f6b8df7059ce32dbe5c4f +DIST towncrier-19.9.0.tar.gz 23674 BLAKE2B 89f1c9ac98f5d5505d43a10252e70c5d4fce2e304604582e33c72de460313227382bf73a3b8b7d56b42274aff5587cc092b477649a4d74dd2491a6c7a14f6fa5 SHA512 089a493df6a8e9f8459c1f4cf497a9f4f647d1d907f13cbf716e6b1e79a591570daf40c19bf7bceaf44a1890187ea912aef6f38e82251194dfba16edb933374c +DIST towncrier-21.3.0.tar.gz 31787 BLAKE2B 1ad54cb2eb28d25131be13a7fce5aeec3df07fe198f3200202d612b2b49cbef76d422025e143b19db498af224ba522f3a67b66fc10ec2cfb0ab81a52aeb7263e SHA512 b6093864d590849e29311fd1a085cc40997f88ada38e92bf159d72fd809691e014f67ac87844886cfdb27be0f9abc8fbf79d5d7e800688eac34e9edec6d6a2f6 diff --git a/dev-python/towncrier/towncrier-19.9.0.ebuild b/dev-python/towncrier/towncrier-19.9.0.ebuild new file mode 100644 index 000000000000..982d17595914 --- /dev/null +++ b/dev-python/towncrier/towncrier-19.9.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Building newsfiles for your project" +HOMEPAGE="https://github.com/twisted/towncrier" +SRC_URI="https://github.com/twisted/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="test" + +RDEPEND=" + dev-python/click[${PYTHON_USEDEP}] + dev-python/click-default-group[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/incremental[${PYTHON_USEDEP}] + dev-python/toml[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-vcs/git + >=dev-python/twisted-16.0.0[${PYTHON_USEDEP}] + )" + +RESTRICT="!test? ( test )" + +python_test() { + distutils_install_for_testing + trial towncrier || die "tests failed with ${EPYTHON}" +} diff --git a/dev-python/towncrier/towncrier-21.3.0.ebuild b/dev-python/towncrier/towncrier-21.3.0.ebuild new file mode 100644 index 000000000000..982d17595914 --- /dev/null +++ b/dev-python/towncrier/towncrier-21.3.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Building newsfiles for your project" +HOMEPAGE="https://github.com/twisted/towncrier" +SRC_URI="https://github.com/twisted/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="test" + +RDEPEND=" + dev-python/click[${PYTHON_USEDEP}] + dev-python/click-default-group[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/incremental[${PYTHON_USEDEP}] + dev-python/toml[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-vcs/git + >=dev-python/twisted-16.0.0[${PYTHON_USEDEP}] + )" + +RESTRICT="!test? ( test )" + +python_test() { + distutils_install_for_testing + trial towncrier || die "tests failed with ${EPYTHON}" +} diff --git a/dev-python/tqdm/Manifest b/dev-python/tqdm/Manifest index fb6585fc6c58..b1d1eacd537c 100644 --- a/dev-python/tqdm/Manifest +++ b/dev-python/tqdm/Manifest @@ -1 +1,2 @@ DIST tqdm-4.59.0.tar.gz 168620 BLAKE2B 0e3467c777d36bcfaa9f004a587bff70f171cfd7ecdca46d3a6f894afa3694873b7c50c860da31b0147f3233bb419e0c74762797d64e79b938bea813f8a38b92 SHA512 be7ffe2f5e28dd2c653fdafd26cdfab6c89f1fd257420f9ab47460230318183b4934370261d7d5939d05f55b907e2d3982cbef078d372d9a4167e1df42c895a8 +DIST tqdm-4.60.0.tar.gz 174201 BLAKE2B 78f4e2c2189621b5d276b8a9c75bae1566b05888cce81d8281de358ad2817e9751395bcf529c07620cd1ec4431c78ed7c1400dc96e9c3a99ac92daf2551b2da5 SHA512 e76dda97323353725c8e30b254bacfa328b4708d37ba2d21dadd30fd26e76605d8f077f02f2047030c6ab9761710a0e86640153fee0e3a3f972db12266fcfde2 diff --git a/dev-python/tqdm/tqdm-4.60.0.ebuild b/dev-python/tqdm/tqdm-4.60.0.ebuild new file mode 100644 index 000000000000..a230b1437084 --- /dev/null +++ b/dev-python/tqdm/tqdm-4.60.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) + +inherit distutils-r1 + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/tqdm/tqdm" +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos" +fi + +DESCRIPTION="Add a progress meter to your loops in a second" +HOMEPAGE="https://github.com/tqdm/tqdm" + +LICENSE="MIT" +SLOT="0" +IUSE="examples" + +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + dev-python/toml[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +python_test() { + # Skip unpredictable performance tests + epytest --ignore 'tests/tests_perf.py' +} + +python_install() { + doman "${BUILD_DIR}"/lib/tqdm/tqdm.1 + rm "${BUILD_DIR}"/lib/tqdm/tqdm.1 || die + distutils-r1_python_install +} + +python_install_all() { + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + distutils-r1_python_install_all +} |
