diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-02-11 01:41:03 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-02-11 01:41:03 +0000 |
| commit | 95fed79cae4f96d962577819f6e434b4bdda430e (patch) | |
| tree | 07690686f055e279480d3ba2acbf6ad0f852da12 /dev-python | |
| parent | 38ca303094fb996a4be25eacbcfaa8cf340d771f (diff) | |
| download | baldeagleos-repo-95fed79cae4f96d962577819f6e434b4bdda430e.tar.gz baldeagleos-repo-95fed79cae4f96d962577819f6e434b4bdda430e.tar.xz baldeagleos-repo-95fed79cae4f96d962577819f6e434b4bdda430e.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
36 files changed, 429 insertions, 410 deletions
diff --git a/dev-python/Faker/Faker-10.0.0.ebuild b/dev-python/Faker/Faker-10.0.0.ebuild deleted file mode 100644 index 1f1f09ada79c..000000000000 --- a/dev-python/Faker/Faker-10.0.0.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="A 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/pillow[${PYTHON_USEDEP},tiff] - dev-python/random2[${PYTHON_USEDEP}] - dev-python/validators[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest diff --git a/dev-python/Faker/Faker-11.0.0.ebuild b/dev-python/Faker/Faker-11.0.0.ebuild deleted file mode 100644 index 1f1f09ada79c..000000000000 --- a/dev-python/Faker/Faker-11.0.0.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="A 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/pillow[${PYTHON_USEDEP},tiff] - dev-python/random2[${PYTHON_USEDEP}] - dev-python/validators[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest diff --git a/dev-python/Faker/Faker-11.1.0.ebuild b/dev-python/Faker/Faker-11.1.0.ebuild deleted file mode 100644 index 1f1f09ada79c..000000000000 --- a/dev-python/Faker/Faker-11.1.0.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="A 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/pillow[${PYTHON_USEDEP},tiff] - dev-python/random2[${PYTHON_USEDEP}] - dev-python/validators[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest diff --git a/dev-python/Faker/Faker-11.3.0.ebuild b/dev-python/Faker/Faker-11.3.0.ebuild deleted file mode 100644 index 0638a8274f29..000000000000 --- a/dev-python/Faker/Faker-11.3.0.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="A 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/pillow[${PYTHON_USEDEP},tiff] - dev-python/random2[${PYTHON_USEDEP}] - dev-python/validators[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest diff --git a/dev-python/Faker/Faker-11.4.0.ebuild b/dev-python/Faker/Faker-11.4.0.ebuild deleted file mode 100644 index a1758e231aa7..000000000000 --- a/dev-python/Faker/Faker-11.4.0.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="A Python package that generates fake data for you" -HOMEPAGE="https://github.com/joke2k/faker" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - >=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}] - >=dev-python/text-unidecode-1.3[${PYTHON_USEDEP}] - !dev-ruby/faker" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP},tiff] - dev-python/random2[${PYTHON_USEDEP}] - dev-python/validators[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest diff --git a/dev-python/Faker/Faker-12.0.1.ebuild b/dev-python/Faker/Faker-12.0.1.ebuild deleted file mode 100644 index 5bb772b69fe2..000000000000 --- a/dev-python/Faker/Faker-12.0.1.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="A Python package that generates fake data for you" -HOMEPAGE="https://github.com/joke2k/faker" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - >=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}] - !dev-ruby/faker" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP},tiff] - dev-python/random2[${PYTHON_USEDEP}] - dev-python/validators[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest diff --git a/dev-python/Faker/Faker-12.1.0.ebuild b/dev-python/Faker/Faker-12.1.0.ebuild deleted file mode 100644 index 5bb772b69fe2..000000000000 --- a/dev-python/Faker/Faker-12.1.0.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="A Python package that generates fake data for you" -HOMEPAGE="https://github.com/joke2k/faker" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - >=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}] - !dev-ruby/faker" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP},tiff] - dev-python/random2[${PYTHON_USEDEP}] - dev-python/validators[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest diff --git a/dev-python/Faker/Faker-12.0.0.ebuild b/dev-python/Faker/Faker-12.3.0.ebuild index 578ad9836d72..578ad9836d72 100644 --- a/dev-python/Faker/Faker-12.0.0.ebuild +++ b/dev-python/Faker/Faker-12.3.0.ebuild diff --git a/dev-python/Faker/Manifest b/dev-python/Faker/Manifest index 36bd589062f4..f265b1ce4d1a 100644 --- a/dev-python/Faker/Manifest +++ b/dev-python/Faker/Manifest @@ -1,9 +1,2 @@ -DIST Faker-10.0.0.tar.gz 1198872 BLAKE2B 60e4f34a597ca11b0699c330f6cdb0f7f387bb6c54d769513f8e091d00242c7ba4e62fa6b3411ad313a4713e9311b729fb6068acfc4a02b66f07c66656677f33 SHA512 0c22b18d16815ee37d2ea79b4142100479c7b9b9f169817dc9e0fe39495f0646e8d61d704ddba7d36eefb6cb3fb744d179a57216abb15c15ee357c8b12b8b5a4 -DIST Faker-11.0.0.tar.gz 1199121 BLAKE2B e5c4e17daa969249dbf1ae69630a79c50e6e51d63db9997872bd22a7e91db1771fdef984ec5912d42815632598339062be20005e4921c846abf3013e6efc8c89 SHA512 687f47ba613bd2117c412da54e293281bf1943eccde8165cc749be5d176a025d250c831d55a509a6923b3542dba4fe5abce23bd80b980bdca742ecaa837d4334 -DIST Faker-11.1.0.tar.gz 1214021 BLAKE2B c4b7b44d19566037135d47bce19895da7bb0eba17c64086ad5f0019bbd49a77aaf4231e6aef8f40aec4811bbe4df209b796773ac5cca6a859ff9b43ea57fe9bc SHA512 646d16bceb3fc5ca8a9004ab7369d7fc6012f0766b2f6b58922a1a415a4bf1ae1af0d5977d58f15792bd794fa2235fb44e626e28f5af168d4e4def8112bab0ca -DIST Faker-11.3.0.tar.gz 1215886 BLAKE2B 01a0e9cff30597536cc1d6f4ae3f67c43e0e1ec5268d5c544a0cf6ea905c4528f07567515e615b74f32ea4622c9090e63141b0b526d656cbb96a449c23e7b047 SHA512 cb95ecd4cd781c6a08621fe75a1d019349232f8be65d4c9b5825987cb98bb6d031569d6e3253cb36a68986707515540f6ebd7503085aea68d56642b08f86192f -DIST Faker-11.4.0.tar.gz 1347314 BLAKE2B 0399302df718a9283ecb59ab044f438891f2874a2dd752d97bd88cf7e2de4536ad34ee818576c9c9926d90b5a18626759fb12dcd2cbf6ba54a3a9d2366caec66 SHA512 a12dbc6e3011839852fe978004520c546a42fab7b84ba03d890fe12a40299d36b7ce0ffbe1e678dfb74879fe17410589c459ff2ac904bdd15c9c03b816e8c7c0 -DIST Faker-12.0.0.tar.gz 1428698 BLAKE2B 3dbf231c0969d3f5d0826d69362f57a3bbb8e006c42453d7a6178663b3947b74f773aad8d22237f12c6e152d30a91a883b603d65f562b69a298f34501f6b65f6 SHA512 1998eafec97d16624c4d19f5abe3f083ca75d4a72f49e6fe2df657aae1ce41ddf7ec198ab601bd6a377f86ef8b4e027e031d6830149972b7775e4b656eb2c3b7 -DIST Faker-12.0.1.tar.gz 1428846 BLAKE2B 25206e612983735504129118e13b4f8e50d604c4abc78146897f42bed1929f5c10b4dda86d40a90dda9162ac1cbd55bd9a30137208c579329040a7c6df7fb3ee SHA512 8dc26162d6f841e2e33385064eef3104ef58e018c59664b86f17efa83578b1ff871799ac7e5b335dab0249627569fcf6bf1b8462c9bbda2db025448a721f336e -DIST Faker-12.1.0.tar.gz 1429360 BLAKE2B 7833be81a8bc465b4c147e1b4ab78b1385127f01bbaf718006fd03dd2a35492f249d0c33a0b9d5cf6a5313951b05f1035528f795f950914106446f57d1e5cd7b SHA512 56dfa966cb20adac1e9e45da2a9f38747fae918b675f2d410150403b273a921588c44a287be513e5b94889a02726c1def03c0d974ed4dd9d1193ca5a61673724 DIST Faker-12.2.0.tar.gz 1430037 BLAKE2B 9bb075396c6320456ec5331b1e01edea3609074586287a82373ff5dbd8bd85112c8c5517c04539f1524c06062645f07d2dddfff760ad5620d9249557a7b2d3bc SHA512 67d16a6f27b996f62273686986aca270ffc7d8fab121bcec3a30eb52e54477505fcb1aef532920cf0412703557f65a212e24332b9d4afc3f5da84e2f1bac8ed0 +DIST Faker-12.3.0.tar.gz 1451569 BLAKE2B 2ac2d26451df5c13d0e9712e2179b067557dd3e343c17a9cf4e946f557a962b9794267d1ea012d5c4fc5f27b18da65ebf0f75d77351a94cf0c12baf4ef83e540 SHA512 d682d1b3b23c24d72f3a5f019374ac4362fee582ff5f3d8927d6aa70f127fb1e6211008db0d3e3dc1e6122e9f50f40d7f21cec5cd69d303acc1eec1bc2a86634 diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 90454a7e18b0..7091df4f9b3a 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -7,3 +7,4 @@ DIST boto3-1.20.49.tar.gz 466426 BLAKE2B 82f2ed7f14576afd5a4d2dab91b99986904fef9 DIST boto3-1.20.50.tar.gz 466795 BLAKE2B 662284de4654781391605fba93f401ec24300abab696c02146739598e9206598e92539ff9468f99b108d3ac00f72555945986e04e2b6625baace11b8f9b746ef SHA512 103a75edc907ea9a7ed5d08bb8a2f31b1360495a130d0492461956c0ec5c1e1b839187d9d9feaebf7eb06e2d367f9fcdc1c522c234be3314fceca7884651d54e DIST boto3-1.20.51.tar.gz 467620 BLAKE2B 18cb273cd7af7184baa40b5ac98be270324e221f8fd408b3f4ecf1d1cfff387af84d72207281f6ac906c1f55048d603001d865acc509451b555fa57a3b1f848e SHA512 c4a3ab6460e58e3bad305dbd12b4719b07ee0c92bed30e1fff017d6df93883f50fca388389c1cf8b474c42c049f189106c3e71f087e7fe9c921b81c796acc70b DIST boto3-1.20.52.tar.gz 467673 BLAKE2B ac411d7eb1359bc86cebbf5c2df132071c94e3ad2cf6706b33bc472fc92120b26c66aed118a0a476890796919669356708a694d11cc3c1b51ecf07efe5e3f54a SHA512 379529de15f5ba1a06c08309ef3d68047d1034f7b38e3722a77253ab4af2b27d707f46e4bdae16c507b54f1790fb38243f1106ef616137bfee108903724208f1 +DIST boto3-1.20.53.tar.gz 468291 BLAKE2B 352d3273f88f4a939b68e4dd38db124498bd7d38498413d9f58f05a4990bc7baf23fc84d1886697f54dd86cbcd9e2d9974ead0100ebf855ee8556916becc7625 SHA512 722682569a9dc9ef6a89695bf11a73373cddfd3ff36432e623ac66191dcf4a743d021e3b2a8f86087f5aaa3f40cbb20732e8b24d1d81b1276da3f045df47ae31 diff --git a/dev-python/boto3/boto3-1.20.53.ebuild b/dev-python/boto3/boto3-1.20.53.ebuild new file mode 100644 index 000000000000..ed44d35fedd6 --- /dev/null +++ b/dev-python/boto3/boto3-1.20.53.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE="https://github.com/boto/boto3" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/boto3" + inherit git-r3 + BOTOCORE_PV=${PV} +else + SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + + # botocore is x.(y+3).z + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" +fi + +RDEPEND=" + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 2a14f5c96b63..87e2a6090b63 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -7,3 +7,4 @@ DIST botocore-1.23.49.tar.gz 8758361 BLAKE2B 5e53366fdd705e81af6752665f3078e26d5 DIST botocore-1.23.50.tar.gz 8758107 BLAKE2B ac43af21c46168bc0c14f3afe6afb06e1e33e09af9c0f62bc6331f6bb2240563e137dcf23381ec0e4ed97f79e3475a70ae73ded969b0c9f954f01361504134ee SHA512 64230e9d6d4b4916fcbe8d2fdbba2ee0575a85de56160518e8ad48f2f1566f7cec0667cd9bd53f2afa514f5f6e341cc681b2830a43ac82e3356c1e82a49e2c7a DIST botocore-1.23.51.tar.gz 8763657 BLAKE2B f8abe69785f50c244073a791c124a51c8f92e67b0245465e878f13449b999585849e88f706392709caea26d69fb3850b9749cc9a57ea5c1df62f08008b8d56fc SHA512 e54cf59656bd5144b1f85d4ea57eaefd5ea4ac570b877771e06df62f442e61b2f239c1a4dd083c26cb75905d139cf681dcba67e3d89d2af0b99e416e65141917 DIST botocore-1.23.52.tar.gz 8765120 BLAKE2B e45fc2269a527d4e056f97cb81bf13982bbcde887179ec00259cfd5f78b6bd50b10c4d9e2bc09739e2f58d1d1d602902d9e2355b42f83b7736fdf6b3bc269fab SHA512 ff18c7b8779c622cab26ccb74014c7779a3d117cdc0236df0f0048b9e2b2047d703ea3286554dfef25514b73bddcfbd6875ff6f4147c760e39293190fc2c51c0 +DIST botocore-1.23.53.tar.gz 8767423 BLAKE2B 53c301e22028ac700de045143ff1e06c369a45b00eb8353da33c8183f9981837d24356ac12804c3c55cc9cd6b30c89f8de5dd71600737832b227bd26c182dd18 SHA512 a260dee65fdf94760527c5e7401cd2e48808799cf8b8533f907fb4e58658371d2abfc84f46338e34265a9e08f199a5bba5936fcd2dacb75276826ec1a9d74cc2 diff --git a/dev-python/botocore/botocore-1.23.53.ebuild b/dev-python/botocore/botocore-1.23.53.ebuild new file mode 100644 index 000000000000..c44cf37adbf0 --- /dev/null +++ b/dev-python/botocore/botocore-1.23.53.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE="https://github.com/boto/botocore" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/botocore" + inherit git-r3 +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + dev-python/jmespath[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch" +) + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + epytest tests/{functional,unit} +} diff --git a/dev-python/django-js-asset/Manifest b/dev-python/django-js-asset/Manifest index 6a029054963b..62e9dc794edf 100644 --- a/dev-python/django-js-asset/Manifest +++ b/dev-python/django-js-asset/Manifest @@ -1 +1 @@ -DIST django-js-asset-1.2.2.gh.tar.gz 6367 BLAKE2B 5b24d3a2cf1ca2b28b82e581541dcb58aa2bf25d99f865007730c00211452dc5a062dc014b47fd1d10020d2a0b8f74060910460dec4f95be2b83c5c6d7bfb4d2 SHA512 ad2c51399da9b5d75305c0fa257cc75496df3f6704a827a0d297a4d762712039c3ebd921afbe6e10672626f1badd8637728292dd700ba41c4192c95ec73095a9 +DIST django-js-asset-2.0.gh.tar.gz 7386 BLAKE2B 5bebddc68a6d77b9ffc4c685cfcf0c34d03a82d1f24ea0bc64f35e70bf3a736fc8be612fba1e21bfbe1cb646363f06d0d001822209e15034cb03c337c80d24fd SHA512 0ec4954952394d90946d0653e86ecf45eb83ceaeb99bfde1eeed68f471110b85260abd7ae69f5b2c318e4341c09fd31efb781825d74164dc8ac6bd94bcb6f8e7 diff --git a/dev-python/django-js-asset/django-js-asset-1.2.2.ebuild b/dev-python/django-js-asset/django-js-asset-2.0.ebuild index e09055acc788..81c65e1a8514 100644 --- a/dev-python/django-js-asset/django-js-asset-1.2.2.ebuild +++ b/dev-python/django-js-asset/django-js-asset-2.0.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 +DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{6,7,8,9,10} ) inherit distutils-r1 @@ -19,15 +20,11 @@ KEYWORDS="~amd64" IUSE="test" RESTRICT="!test? ( test )" -RDEPEND=">=dev-python/django-1.17[${PYTHON_USEDEP}]" +RDEPEND=">=dev-python/django-2.2[${PYTHON_USEDEP}]" BDEPEND="test? ( ${RDEPEND} )" -PATCHES=( - "${FILESDIR}/${P}-fix-django3.patch" -) - python_test() { cd tests || die local -x DJANGO_SETTINGS_MODULE=testapp.settings - django-admin test -v 2 || die + "${EPYTHON}" manage.py test -v 2 || die "Tests failed with ${EPYTHON}" } diff --git a/dev-python/django-js-asset/files/django-js-asset-1.2.2-fix-django3.patch b/dev-python/django-js-asset/files/django-js-asset-1.2.2-fix-django3.patch deleted file mode 100644 index 4ab0484b17e0..000000000000 --- a/dev-python/django-js-asset/files/django-js-asset-1.2.2-fix-django3.patch +++ /dev/null @@ -1,55 +0,0 @@ -From 232536ba50a2e1a0cffc6046dbcdfdec22cb0d9e Mon Sep 17 00:00:00 2001 -From: Matthias Kestenholz <mk@feinheit.ch> -Date: Fri, 15 May 2020 08:51:33 +0200 -Subject: [PATCH] Adapt the test suite to changes in Django - ---- a/tests/testapp/test_js_asset.py -+++ b/tests/testapp/test_js_asset.py -@@ -1,11 +1,15 @@ - from __future__ import unicode_literals - -+import django - from django.forms import Media - from django.test import TestCase - - from js_asset.js import JS - - -+JS_TYPE = ' type="text/javascript"' if django.VERSION < (3, 1) else "" -+ -+ - class AssetTest(TestCase): - def test_asset(self): - media = Media( -@@ -25,15 +29,17 @@ def test_asset(self): - html, - ) - self.assertInHTML( -- '<script type="text/javascript" src="/static/app/test.js"></script>', # noqa -+ '<script{} src="/static/app/test.js"></script>'.format(JS_TYPE), # noqa - html, - ) - self.assertInHTML( -- '<script type="text/javascript" src="/static/app/asset.js" data-the-answer="42" id="asset-script"></script>', # noqa -+ '<script{} src="/static/app/asset.js" data-the-answer="42" id="asset-script"></script>'.format( # noqa -+ JS_TYPE -+ ), - html, - ) - self.assertInHTML( -- '<script type="text/javascript" src="/static/app/asset-without.js"></script>', # noqa -+ '<script{} src="/static/app/asset-without.js"></script>'.format(JS_TYPE), - html, - ) - -@@ -42,7 +48,9 @@ def test_absolute(self): - html = "%s" % media - - self.assertInHTML( -- '<script type="text/javascript" src="https://cdn.example.org/script.js"></script>', # noqa -+ '<script{} src="https://cdn.example.org/script.js"></script>'.format( -+ JS_TYPE -+ ), - html, - ) - diff --git a/dev-python/flufl-i18n/Manifest b/dev-python/flufl-i18n/Manifest index 3082a73d62ab..8cb4a4eb2c76 100644 --- a/dev-python/flufl-i18n/Manifest +++ b/dev-python/flufl-i18n/Manifest @@ -1,2 +1 @@ -DIST flufl.i18n-3.2.tar.gz 24209 BLAKE2B dc827eb4099670c6e5c39ebc8702fcda146b20a3978fa56108ab98a05d2c8911e705b71dacd6b9fc7fae9923d009487f6f047baa0dcd06a5de2e4f4d5fafc465 SHA512 07f329d026f24db623045f3c9857bcaacc1f0982066d4409fc060c4f712716044f96321a4e4909cbc85932f36fc76f71b9d118662ba837fd85b22754ce2d25c7 DIST flufl.i18n-4.0.tar.gz 21119 BLAKE2B 6bd4a311c3df56b03a0d46164f7f1ee1eeeb257478a82515261894f4cdf3017b150f1e13ce95a08f50ed5e01cf736884c7ba05a96e3f6b90917418ed18462753 SHA512 03e953af7e406d24a64d334647008e222cf74e5e055865638a52d8ec7e25edae44046aa4dfa8766b5a1458b335e9e29bd8b3e89703d8c8b28ab777375da19712 diff --git a/dev-python/flufl-i18n/flufl-i18n-3.2.ebuild b/dev-python/flufl-i18n/flufl-i18n-3.2.ebuild deleted file mode 100644 index 4361b90e3a93..000000000000 --- a/dev-python/flufl-i18n/flufl-i18n-3.2.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 - -MY_P=${P/-/.} - -DESCRIPTION="A high level API for Python internationalization" -HOMEPAGE="https://gitlab.com/warsaw/flufl.i18n" -SRC_URI="mirror://pypi/${PN::1}/${PN/-/.}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND="dev-python/atpublic[${PYTHON_USEDEP}]" -BDEPEND="test? ( dev-python/sybil[${PYTHON_USEDEP}] )" - -distutils_enable_tests pytest - -src_prepare() { - sed -e '/addopts/d' -i setup.cfg || die - distutils-r1_src_prepare -} - -python_install_all() { - distutils-r1_python_install_all - find "${D}" -name '*.pth' -delete || die -} diff --git a/dev-python/flufl-lock/Manifest b/dev-python/flufl-lock/Manifest index 2e227058621d..96bb4bf9f9af 100644 --- a/dev-python/flufl-lock/Manifest +++ b/dev-python/flufl-lock/Manifest @@ -1,2 +1 @@ -DIST flufl.lock-6.0.tar.gz 30762 BLAKE2B 98e259f04aac565271e7918223c1bc8abd528f91fd04490a519b482c0d12bbf954f0c678f89d990bc036df5000fb5587e1689d6fc0cd499ed7fe806a1e3125f5 SHA512 cbd41f1dedb91fc120c3f3e20c15f25a39b0ce5b27a2c4fcedad301e91156d5291b35ff961c38a5a7d43c40fdfa2a879a2ba427f1b17994678fbba797e7a234b DIST flufl.lock-7.0.tar.gz 33169 BLAKE2B 72c763e50e0a28f02fe6d9a8d88b1c64626a60310b203f9bbcc82e950f8ac494640748dece4c63542d4b89512a1f98bb1d92bda145028ebd18a8f254c2e2c1eb SHA512 b1c5151d30aa3e9afc12fe0dbd9be05ad1f9133b32f5e3bacf98532fefb08fbf354bf4b9a4b9fc90e448861941eba358e8f67218daf9797eb031b487cc717181 diff --git a/dev-python/flufl-lock/flufl-lock-6.0.ebuild b/dev-python/flufl-lock/flufl-lock-6.0.ebuild deleted file mode 100644 index d031c1e355d8..000000000000 --- a/dev-python/flufl-lock/flufl-lock-6.0.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit distutils-r1 - -MY_P=${P/-/.} -DESCRIPTION="NFS-safe file locking with timeouts for POSIX systems" -HOMEPAGE="https://gitlab.com/warsaw/flufl.lock" -SRC_URI="mirror://pypi/${PN::1}/${PN/-/.}/${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/atpublic[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}]" -BDEPEND=" - test? ( dev-python/sybil[${PYTHON_USEDEP}] )" - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e 's:--cov=flufl --cov-report=term --cov-report=xml::' \ - setup.cfg || die - distutils-r1_src_prepare -} - -python_install_all() { - distutils-r1_python_install_all - find "${D}" -name '*.pth' -delete || die -} diff --git a/dev-python/jq/Manifest b/dev-python/jq/Manifest index 1163d690a0cd..e447b3e60385 100644 --- a/dev-python/jq/Manifest +++ b/dev-python/jq/Manifest @@ -1,3 +1,4 @@ DIST jq-1.2.1.gh.tar.gz 10321 BLAKE2B 8bc2c88ae553dd53137c11d4f599e01398d21811a02b4f33f81aeeafa9009f58a56074c0bcadcc6382d86d2c7ada792d442f9c660787e131d0e85c95fb7cab32 SHA512 0b6dda04c0b3c63a5bf41f8a73dedc3cd889683f3e89c99cbf258c839f35f66d19a6da5cf4096148cd17a3fb1a58ba0e10d052ce46a1a18af845910e00ff5d86 +DIST jq-1.2.2.gh.tar.gz 10436 BLAKE2B 09514ce3a9afa8df4e61b29fc17f0d875db046ddc98332f13d702defd443e4e2ac1c612042eab82e620298d236a548625f5578d04dbeb681858bc10243c878a1 SHA512 632c5ebaf2607cc609ee4cfbdc0d68dff96e6daff916d77381f1596f3b1ca494c962cc56127376ef21fb931ab1333b666b01a599b97eab8a94416d1caec65248 DIST jq-1.6.tar.gz 1750584 BLAKE2B c9be1314e9d027247de63492ee362e996ef85faf45a47ee421cad95ebde9188bff8d3fc7db64e717ab922e1052f3b1c1500f5589fc5b2199ab66effb000e442d SHA512 5da71f53c325257f1f546a2520fe47828b495c953270df25ea0e37741463fdda72f0ba4d5b05b25114ec30f27a559344c2b024bacabf610759f4e3e9efadb480 DIST onig-6.9.4.tar.gz 908702 BLAKE2B e6e9939f284569408ba01b8551960bc939bbfdca425f8470499f5bb83ead7b6b09898f6f6a09d5d8c26d74d5416f6e5e9e2f00fbe7aa9eb820edb8aa4a3050cc SHA512 ed8f42f6893966c0ee3c168b4fdbcb04b2286ad69ecab43a754c1dbc8fc4656e01319991d776d7144b6a3f90d050781b321432278d83c74c9565c2743851c85b diff --git a/dev-python/jq/jq-1.2.2.ebuild b/dev-python/jq/jq-1.2.2.ebuild new file mode 100644 index 000000000000..3169a50078d3 --- /dev/null +++ b/dev-python/jq/jq-1.2.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Python bindings for jq" +HOMEPAGE="https://github.com/mwilliamson/jq.py" +SRC_URI=" + https://github.com/mwilliamson/jq.py/archive/${PV}.tar.gz -> ${P}.gh.tar.gz + https://github.com/stedolan/jq/releases/download/jq-1.6/jq-1.6.tar.gz + https://github.com/kkos/oniguruma/releases/download/v6.9.4/onig-6.9.4.tar.gz" +S="${WORKDIR}/jq.py-${PV}" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="dev-python/cython[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +python_prepare_all() { + sed -e 's|import requests|#\0|' \ + -e 's|urlretrieve(source_url, tarball_path)|shutil.copyfile(source_url, tarball_path)|' \ + -e "s|source_url=.*kkos/oniguruma.*|source_url=\"${DISTDIR}/onig-6.9.4.tar.gz\",|" \ + -e "s|source_url=.*stedolan/jq.*|source_url=\"${DISTDIR}/jq-1.6.tar.gz\",|" \ + -i setup.py || die + distutils-r1_python_prepare_all +} + +python_compile() { + # Cython compilation isn't part of setup.py, so do it manually + "${EPYTHON}" -m cython -3 jq.pyx -o jq.c || die + distutils-r1_python_compile +} diff --git a/dev-python/pynest2d/Manifest b/dev-python/pynest2d/Manifest index 29c09e38cea8..6fe013eda4e1 100644 --- a/dev-python/pynest2d/Manifest +++ b/dev-python/pynest2d/Manifest @@ -1 +1,2 @@ +DIST pynest2d-4.12.1.tar.gz 18448 BLAKE2B 5432d7acfe600afd32a0fb4543728eed351dea442ff23c9397182919f43015c4aed530aa7ec5b59c75d6373ea6ed122262d7018eb12cdd1b4586bf3ec960586b SHA512 0494efbc0ad6379fde4bdf9cdfe902cb4cbce30129771d34e01661b58ee38d6256910e10184c121de3b2d7139e6dbfee5b4e039d7d35507347efa2c475977625 DIST pynest2d-4.9.1.tar.gz 18252 BLAKE2B ea98af68e7b60d615eaf6e90a68b37f8e26aa181fafecc2470b5d93d1d20a9667f5a8c903be87d419cedf47befd4e9ce757a90880c0ef19e7bb920147b2443b2 SHA512 f208e13cace4345fe691beebfe61895cbf81b7f90c19adf6a63b592928abd8591fed5c10e5b12d60c375684398856ea8d569fe8d1893a049e45d89b0ffcfc51d diff --git a/dev-python/pynest2d/files/pynest2d-4.12.1-required-flags-from-Libnest2D-target.patch b/dev-python/pynest2d/files/pynest2d-4.12.1-required-flags-from-Libnest2D-target.patch new file mode 100644 index 000000000000..ff4482d197bf --- /dev/null +++ b/dev-python/pynest2d/files/pynest2d-4.12.1-required-flags-from-Libnest2D-target.patch @@ -0,0 +1,23 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -21,11 +21,7 @@ + endif() + + find_package(SIP REQUIRED) # To create Python bindings. +-find_package(libnest2d REQUIRED) # The library we're creating bindings for. +-find_package(Clipper REQUIRED) # Dependency of libnest2d. +-find_package(NLopt REQUIRED) # Dependency of libnest2d. +-find_package(Boost REQUIRED) # Dependency of libnest2d. +-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DLIBNEST2D_GEOMETRIES_clipper -DLIBNEST2D_OPTIMIZERS_nlopt -DLIBNEST2D_THREADING_std") # Tell libnest2d to use Clipper and NLopt, and standard threads. ++find_package(Libnest2D REQUIRED) # The library we're creating bindings for. + + # Some build options. + set(CMAKE_CXX_STANDARD 17) +@@ -56,5 +52,5 @@ + ) + + set(SIP_EXTRA_OPTIONS -g -n PyQt5.sip) # Always release the GIL before calling C++ methods. -n PyQt5.sip is required to not get the PyCapsule error +-include_directories(src/ ${SIP_INCLUDE_DIRS} ${Python3_INCLUDE_DIRS} ${CLIPPER_INCLUDE_DIRS} ${NLopt_INCLUDE_DIRS} ${LIBNEST2D_INCLUDE_DIRS}) +-add_sip_python_module(pynest2d src/Pynest2D.sip ${CLIPPER_LIBRARIES} ${NLopt_LIBRARIES}) ++include_directories(src/ ${SIP_INCLUDE_DIRS}) ++add_sip_python_module(pynest2d src/Pynest2D.sip Libnest2D::libnest2d_headeronly) diff --git a/dev-python/pynest2d/pynest2d-4.12.1.ebuild b/dev-python/pynest2d/pynest2d-4.12.1.ebuild new file mode 100644 index 000000000000..fbe116731bd3 --- /dev/null +++ b/dev-python/pynest2d/pynest2d-4.12.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit cmake python-single-r1 + +DESCRIPTION="Python bindings for libnest2d" +HOMEPAGE="https://github.com/Ultimaker/pynest2d" +SRC_URI="https://github.com/Ultimaker/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + dev-libs/libnest2d + $(python_gen_cond_dep '<dev-python/sip-5[${PYTHON_USEDEP}]') + " + +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-4.12.1-required-flags-from-Libnest2D-target.patch +) diff --git a/dev-python/pytools/Manifest b/dev-python/pytools/Manifest index 066ca0bb7918..8d774e451c31 100644 --- a/dev-python/pytools/Manifest +++ b/dev-python/pytools/Manifest @@ -1 +1,2 @@ DIST pytools-2021.2.9.tar.gz 66254 BLAKE2B 576e10a1ab823827d030466a2f39ec5510c02a856288d840904a5d3b612191d2a108393fc9a73072b8757e7729b4ead84829805e8913e4c54949465594ac8842 SHA512 1afe6feb6e5094171aba9a2749418a5e677cb70286be1ac9b65d1470835e1ae68f72f7c4221149358ab1595cab438688882b51682c5865955edf89ae32ca6d6d +DIST pytools-2022.1.tar.gz 67423 BLAKE2B d560792c66840d16e6ee75033fa01333fd4f390970ed0d1b88d0b242f735066f7c008827af503fc0915838f005e7916c31deb1a96deda2e5fdcadd46445d91f0 SHA512 91ebd602f5b7c26b31b16fcf22ba40544a691908a13e6b635a27ff2094ae386e49d1f6c1f03c5bfd7fbeb6e5f238b642ce9faf26afad094ba9b826d14a5f39be diff --git a/dev-python/pytools/pytools-2022.1.ebuild b/dev-python/pytools/pytools-2022.1.ebuild new file mode 100644 index 000000000000..4c7ab85c610c --- /dev/null +++ b/dev-python/pytools/pytools-2022.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +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/stomp-py/Manifest b/dev-python/stomp-py/Manifest index bc1c22041fcd..bd43186b3713 100644 --- a/dev-python/stomp-py/Manifest +++ b/dev-python/stomp-py/Manifest @@ -1 +1,2 @@ DIST stomp.py-7.0.0.tar.gz 34772 BLAKE2B 838ee5ebf520bcf0c65d89b00e94c8cadb77204a4d387fa0261b8b8046d123d436fe587481c9a3db9d515b11fcdf246993c955834ff18b9161ff3355341caa3a SHA512 2cce1803125bb60c98ebf7c58c27130a13a2c42c0135e590752fae7a13a82edf3337c85f6ec2fb050e9ece0d3dc604a526610445a1a410fbe440ac8596608f34 +DIST stomp.py-8.0.0.tar.gz 35146 BLAKE2B 65f15e0145e1fc48d4f9ccf37ce81f1f7464e9179d63d6f22e96dd99ce35692dbcb6056730c35255428b0ccf0d744debc39e2c12e6e2b6675ac20c7ec0ff3efd SHA512 068694e9bc42e45dd769275296a1ea817153cb0318b08377be5e0b9563989a83bff35c4bc424e00939b7521938aa34f485401f07a8a51c3d9a90eea3f00c1ea1 diff --git a/dev-python/stomp-py/stomp-py-8.0.0.ebuild b/dev-python/stomp-py/stomp-py-8.0.0.ebuild new file mode 100644 index 000000000000..c9669815826c --- /dev/null +++ b/dev-python/stomp-py/stomp-py-8.0.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit distutils-r1 + +MY_PN="${PN//-/.}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Python client library for the STOMP messaging protocol" +HOMEPAGE="https://pypi.org/project/stomp.py/ https://github.com/jasonrbriggs/stomp.py/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}"/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="<dev-python/docopt-0.7.0[${PYTHON_USEDEP}]" + +# stomp.py test suite requires quite a few appropriately configured +# messaging servers (as of 7.0.0: RabbitMQ, ActiveMQ, ActiveMQ Artemis, +# stompserver). Upstream relies on Docker to provide those servers, however +# doing the same in src_test would require both granting the portage user +# extra permissions and packaging the base image (trying to download it +# on the fly would violate the network sandbox). +# Side note: PyPI tarballs do not include tests. +RESTRICT="test" diff --git a/dev-python/tomlkit/Manifest b/dev-python/tomlkit/Manifest index 25902762f734..ba5f95bcc597 100644 --- a/dev-python/tomlkit/Manifest +++ b/dev-python/tomlkit/Manifest @@ -1,4 +1,2 @@ DIST tomlkit-0.8.0.tar.gz 179067 BLAKE2B 871eb8371d94c76552d78a56adfbde5ebb9da4b93aa29229ae9aa279ae35fac488a1b4986169b818d2e5366883b8f246b44dc9075d0d9785b2d7d6f97e222ec1 SHA512 77b267201021e740d8134d0d5edfbef2cf077adac0b320d80887fdedda3f63f74df1957e8230976f16c80fcc58fd4cfabb195cccf0eda7d6cd29f5f65d362147 -DIST tomlkit-0.9.0.tar.gz 176037 BLAKE2B 2301b1c9d28eeb595b0580ae4172b0c044a67c75b417b0a004af2afa5bb4bddb07a73e8cdc2949008efa024ab603e44e43d830453827e02d2b7a4483cc360dc3 SHA512 36cb7fd683b4dc6e82a4828db76ad997de79302ed485751b14375e7483400adbce8e9b8bf913a6f404ffc16a06cf90158caca20c4419bd032a7d27a8790573db -DIST tomlkit-0.9.1.tar.gz 176273 BLAKE2B 99a7fff43a23b386e6570b52a34eaf599c1507d41fdf7ee068d8b545ee28ef4ce560a255c14008ee5d90f7b580a04c6c29b3a44767e10c25caf9fe19df029d20 SHA512 7c9a8d5fd9550cb23f90f6ed627f957fdfe29397be0a99b4b0f68767cee268343ebd8a4f8977b9a0f84573ce7e49116874ad1d1af419b86ee41bab0efbfdf400 DIST tomlkit-0.9.2.tar.gz 176380 BLAKE2B 3af0a397382c9c7dd948d32c3d359d8409b8c4a1beb93cb528632909ab834fb86298da1dd1791e474dd83395cf462e6ce6842c32ea3011ade744b495cf1fd40a SHA512 9a5a422ad7f2602d164b486dea816f878791393675a17ae30d10f12b6eed0ca73cbfaac7c359f1a57aea4f734b5ba31ee3bbbb95c521e41ce608eae972c2059b diff --git a/dev-python/tomlkit/tomlkit-0.9.0-r1.ebuild b/dev-python/tomlkit/tomlkit-0.9.0-r1.ebuild deleted file mode 100644 index ce7cbb16f320..000000000000 --- a/dev-python/tomlkit/tomlkit-0.9.0-r1.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Style preserving TOML library" -HOMEPAGE="https://github.com/sdispater/tomlkit" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -BDEPEND="test? ( dev-python/pyyaml[${PYTHON_USEDEP}] )" - -distutils_enable_tests pytest - -src_configure() { - # use setup.py to avoid circular dep with poetry-core - cat > pyproject.toml <<-EOF || die - [build-system] - requires = ["setuptools", "wheel"] - build-backend = "setuptools.build_meta" - EOF -} diff --git a/dev-python/tomlkit/tomlkit-0.9.1.ebuild b/dev-python/tomlkit/tomlkit-0.9.1.ebuild deleted file mode 100644 index ce7cbb16f320..000000000000 --- a/dev-python/tomlkit/tomlkit-0.9.1.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Style preserving TOML library" -HOMEPAGE="https://github.com/sdispater/tomlkit" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -BDEPEND="test? ( dev-python/pyyaml[${PYTHON_USEDEP}] )" - -distutils_enable_tests pytest - -src_configure() { - # use setup.py to avoid circular dep with poetry-core - cat > pyproject.toml <<-EOF || die - [build-system] - requires = ["setuptools", "wheel"] - build-backend = "setuptools.build_meta" - EOF -} diff --git a/dev-python/towncrier/Manifest b/dev-python/towncrier/Manifest index 6067f3634938..8acda6f39058 100644 --- a/dev-python/towncrier/Manifest +++ b/dev-python/towncrier/Manifest @@ -1 +1,2 @@ DIST towncrier-21.3.0.tar.gz 31787 BLAKE2B 1ad54cb2eb28d25131be13a7fce5aeec3df07fe198f3200202d612b2b49cbef76d422025e143b19db498af224ba522f3a67b66fc10ec2cfb0ab81a52aeb7263e SHA512 b6093864d590849e29311fd1a085cc40997f88ada38e92bf159d72fd809691e014f67ac87844886cfdb27be0f9abc8fbf79d5d7e800688eac34e9edec6d6a2f6 +DIST towncrier-21.9.0.gh.tar.gz 32161 BLAKE2B 9160feb1d7fa8b70350a266b91f0ebca81287ac2c25d1a586cc4db6dc64d55534e39a75aba3407fdccff83fca336cb559d21604299ecb2c01aa168e8fa75fcb2 SHA512 d58e5c9f916144085bf24fd2062bee24a1a577e283350f81bdfcd42b797fcefeece6988659b75ddc8b0701ff40a070628a548f0d4fbfb9d7c5a8c8f9cfdd29a3 diff --git a/dev-python/towncrier/towncrier-21.9.0.ebuild b/dev-python/towncrier/towncrier-21.9.0.ebuild new file mode 100644 index 000000000000..0a7bf30cd286 --- /dev/null +++ b/dev-python/towncrier/towncrier-21.9.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +inherit distutils-r1 + +DESCRIPTION="Building newsfiles for your project" +HOMEPAGE="https://github.com/twisted/towncrier" +SRC_URI=" + https://github.com/twisted/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="test" +RESTRICT="!test? ( 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/tomli[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-vcs/git + dev-python/mock[${PYTHON_USEDEP}] + >=dev-python/twisted-16.0.0[${PYTHON_USEDEP}] + )" + +python_test() { + "${EPYTHON}" -m twisted.trial towncrier || die "tests failed with ${EPYTHON}" +} diff --git a/dev-python/uranium/Manifest b/dev-python/uranium/Manifest index f63cf00a0916..14462ae9277d 100644 --- a/dev-python/uranium/Manifest +++ b/dev-python/uranium/Manifest @@ -1 +1,2 @@ +DIST uranium-4.12.1.tar.gz 1071662 BLAKE2B bb4bbcd9129dcb724a553c327a90619d12c3daaee3468ed194f8ab98f112d503638fd3ba340e67e12268d0aab23bf1cd9b4ee364c0204761949d2a58fbdfcf96 SHA512 bdf118341a52ac957ae8cc0acf2fb2c7381f9082e82c190a038333845ffc0fefa8c92702438898a63ccca9f0add69312b43168b993fcd38fe4f3ee3856b36eb9 DIST uranium-4.9.1.tar.gz 1038046 BLAKE2B 3304e89e0a22fbda0e9e57aaf88f6f11979eb5273d6c8a69f5ec9f050741561f67667a76e2136148808862026e2330f3b5043141ed8d69d255632a8c3c869def SHA512 e665a1ff8ebfc629e4bc2253533a3332d8f8804155432af921ad2e7251d5725daf9346cc5f110595914ac6f0d194db6d7e06dfcd3795b57e35b3d5e6dae594a7 diff --git a/dev-python/uranium/uranium-4.12.1.ebuild b/dev-python/uranium/uranium-4.12.1.ebuild new file mode 100644 index 000000000000..b1df09e93091 --- /dev/null +++ b/dev-python/uranium/uranium-4.12.1.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_SETUPTOOLS=no +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) + +inherit cmake distutils-r1 + +MY_PN="Uranium" + +DESCRIPTION="A Python framework for building 3D printing related applications" +HOMEPAGE="https://github.com/Ultimaker/Uranium" +SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="debug doc test" + +BDEPEND="${PYTHON_DEPS} + sys-devel/gettext + doc? ( app-doc/doxygen[dot] ) + test? ( + $(python_gen_cond_dep ' + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/mypy[${PYTHON_USEDEP}] + dev-python/twisted[${PYTHON_USEDEP}] + ') + )" + +DEPEND="${PYTHON_DEPS} + ~dev-libs/libarcus-${PV}:=[python,${PYTHON_SINGLE_USEDEP}] + $(python_gen_cond_dep ' + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/PyQt5[${PYTHON_USEDEP},declarative,network,svg] + dev-python/numpy[${PYTHON_USEDEP}] + >=dev-python/scipy-1.1[${PYTHON_USEDEP}] + sci-libs/shapely[${PYTHON_USEDEP}] + ')" + +RDEPEND="${DEPEND} + dev-qt/qtquickcontrols:5 + dev-qt/qtquickcontrols2:5" + +DOCS=( README.md ) + +S="${WORKDIR}/${MY_PN}-${PV}" + +distutils_enable_tests pytest + +src_prepare() { + python_fix_shebang . + + if ! use doc ; then + sed -i -e '/add_custom_target(doc/d' CMakeLists.txt || die + fi + + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DCURA_BINARY_DATA_DIRECTORY:STRING="/usr/share/cura/" + -DGETTEXT_MSGINIT_EXECUTABLE="msginit" + ) + + if ! use debug; then + sed -i -e 's logging.DEBUG logging.ERROR g' \ + plugins/ConsoleLogger/ConsoleLogger.py \ + plugins/FileLogger/FileLogger.py || die + fi + + sed -i \ + -e "s/find_package(PythonInterp 3 REQUIRED/find_package(Python3 ${EPYTHON##python} EXACT REQUIRED COMPONENTS Interpreter/g" \ + CMakeLists.txt cmake/UraniumPluginInstall.cmake + + sed -i \ + -e "s/find_package(Python3 REQUIRED/find_package(Python3 ${EPYTHON##python} EXACT REQUIRED/g" \ + -e 's/set(Python3_EXECUTABLE ${PYTHON_EXECUTABLE})//g' \ + cmake/UraniumPluginInstall.cmake + + sed -i \ + -e "s lib\${LIB_SUFFIX}/python\${PYTHON_VERSION_MAJOR}.\${PYTHON_VERSION_MINOR}/site-packages $(python_get_sitedir) g" \ + -e 's cmake-${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} cmake g' \ + CMakeLists.txt + + cmake_src_configure +} + +src_compile() { + cmake_src_compile + + use doc && cmake_src_compile doc +} + +src_install() { + cmake_src_install + + python_optimize "${ED}"/usr +} |
