diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-11-17 18:22:14 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-11-17 18:22:14 +0000 |
| commit | 8a0c1f4e33e6093e789a0c8318c1a4349e20a910 (patch) | |
| tree | a7bf10d5443bf4b319325aacbbc7a13da836cb8a /dev-python | |
| parent | c1272386bb1612391da49818314e6bcbfa581163 (diff) | |
| download | baldeagleos-repo-8a0c1f4e33e6093e789a0c8318c1a4349e20a910.tar.gz baldeagleos-repo-8a0c1f4e33e6093e789a0c8318c1a4349e20a910.tar.xz baldeagleos-repo-8a0c1f4e33e6093e789a0c8318c1a4349e20a910.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
68 files changed, 987 insertions, 349 deletions
diff --git a/dev-python/Faker/Faker-20.0.3.ebuild b/dev-python/Faker/Faker-20.0.3.ebuild index 603aa3e616fe..974dc4b9560b 100644 --- a/dev-python/Faker/Faker-20.0.3.ebuild +++ b/dev-python/Faker/Faker-20.0.3.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" >=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}] diff --git a/dev-python/aiohttp-cors/aiohttp-cors-0.7.0-r2.ebuild b/dev-python/aiohttp-cors/aiohttp-cors-0.7.0-r2.ebuild index d7bff40f40f2..323e67ab4ba0 100644 --- a/dev-python/aiohttp-cors/aiohttp-cors-0.7.0-r2.ebuild +++ b/dev-python/aiohttp-cors/aiohttp-cors-0.7.0-r2.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) inherit distutils-r1 diff --git a/dev-python/aws-sam-translator/Manifest b/dev-python/aws-sam-translator/Manifest index 0b67f5000f01..3a532fe2e83f 100644 --- a/dev-python/aws-sam-translator/Manifest +++ b/dev-python/aws-sam-translator/Manifest @@ -1 +1,2 @@ DIST serverless-application-model-1.79.0.gh.tar.gz 5119260 BLAKE2B 2cf3db022fc483bc1575328a0ece762285632b7bcb18757aa1afdab77aab1d567a78b8bf9c3b79666e23f546b73406335323d8b5f0ed829fb40f338a769082df SHA512 285c2b5d1728e4758dce362690fad6d1508ad4c61402a0b67d775952cb1e8479ddbdd352b746cc9178d3074164f05ac0c73cfaac68775ae97749e3746efc1bb4 +DIST serverless-application-model-1.80.0.gh.tar.gz 5120643 BLAKE2B de9868384b73faa5be3950db9e54308d1411f0f49ca0b758bbcbbebe4a83df5489968de394ba74b8ad065489d6a40e53ef2b317258510ffd8d1cc07bc4acc9e6 SHA512 0a82d8569c98ca85e528eff23fbe00121ea244ddb395bd6f8a3ddc1de5f09bf6d24c8ead9392cd0f880f8e075cce9cc6685c1d38bc291ad835709dc00c674a05 diff --git a/dev-python/aws-sam-translator/aws-sam-translator-1.80.0.ebuild b/dev-python/aws-sam-translator/aws-sam-translator-1.80.0.ebuild new file mode 100644 index 000000000000..ec337b277ed2 --- /dev/null +++ b/dev-python/aws-sam-translator/aws-sam-translator-1.80.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 multiprocessing + +MY_P=serverless-application-model-${PV} +DESCRIPTION="A library that transform SAM templates into AWS CloudFormation templates" +HOMEPAGE=" + https://github.com/aws/serverless-application-model/ + https://pypi.org/project/aws-sam-translator/ +" +SRC_URI=" + https://github.com/aws/serverless-application-model/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + <dev-python/boto3-2[${PYTHON_USEDEP}] + >=dev-python/boto3-1.19.5[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.2[${PYTHON_USEDEP}] + <dev-python/pydantic-3[${PYTHON_USEDEP}] + >=dev-python/pydantic-1.8[${PYTHON_USEDEP}] + <dev-python/typing-extensions-5[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.4[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # so much noise... + sed -i -e '/log_cli/d' pytest.ini || die + + # deps are installed by ebuild, don't try to reinstall them via pip + truncate --size=0 requirements/*.txt || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x AWS_DEFAULT_REGION=us-east-1 + epytest -o addopts= -o filterwarnings= \ + -p xdist -n "$(makeopts_jobs)" --dist=worksteal +} diff --git a/dev-python/binaryornot/binaryornot-0.4.4-r3.ebuild b/dev-python/binaryornot/binaryornot-0.4.4-r3.ebuild index cc6d05bd0ae6..4e684c55d5cd 100644 --- a/dev-python/binaryornot/binaryornot-0.4.4-r3.ebuild +++ b/dev-python/binaryornot/binaryornot-0.4.4-r3.ebuild @@ -4,13 +4,13 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) inherit distutils-r1 pypi DESCRIPTION="Ultra-lightweight pure Python package to guess whether a file is binary or text" HOMEPAGE=" - https://github.com/audreyfeldroy/binaryornot/ + https://github.com/binaryornot/binaryornot https://pypi.org/project/binaryornot/ " diff --git a/dev-python/bitstring/Manifest b/dev-python/bitstring/Manifest index 59a9e7c9b98c..c70f6d6d8817 100644 --- a/dev-python/bitstring/Manifest +++ b/dev-python/bitstring/Manifest @@ -1 +1,2 @@ DIST bitstring-4.1.1.tar.gz 228708 BLAKE2B f883fc0e40fd426a21449ca27ce58b7e40291f3758aee70cfe455ea3db7cd22c32ae74f581e5a2c99f21e8162c9499793891074750a5b81a8397c5333fd18210 SHA512 dd90382f57a9a8eda41616d61ba589f1504a6613ef36104b1187c345197cf088c4ef1c283af8a33ce629bfeea2d39065970d173051d67f3ec2e2240043869ff8 +DIST bitstring-4.1.2.tar.gz 232896 BLAKE2B 549942afafc0a8c3c5ad30b835acbfb6e800514be5c3d0a132a4dc026eb80168a0d42a530be1c652e97cb4b2eefbd0dc834b3d2e782b137a075f1e6e6a14a016 SHA512 23e5f651538b06c6342dd661661382b8935271d6266e6ad2404e19c0af49ca2756337793e66d858731421246fad5330f2f5588bee3e81cc8ca39a985c2941721 diff --git a/dev-python/bitstring/bitstring-4.1.2.ebuild b/dev-python/bitstring/bitstring-4.1.2.ebuild new file mode 100644 index 000000000000..169431f30e7f --- /dev/null +++ b/dev-python/bitstring/bitstring-4.1.2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A pure Python module for creation and analysis of binary data" +HOMEPAGE=" + https://github.com/scott-griffiths/bitstring/ + https://pypi.org/project/bitstring/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + <dev-python/bitarray-3[${PYTHON_USEDEP}] + >=dev-python/bitarray-2.8.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + rm "${S}"/${PN}/plugin_test.py || die "rm plugin_test.py failed" + distutils-r1_src_prepare +} diff --git a/dev-python/black/black-23.11.0.ebuild b/dev-python/black/black-23.11.0.ebuild index 9c8be95a0c0c..70fb000091e4 100644 --- a/dev-python/black/black-23.11.0.ebuild +++ b/dev-python/black/black-23.11.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) inherit distutils-r1 optfeature pypi diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index e8404682d73a..55b0ba1af8d5 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -3,3 +3,4 @@ DIST boto3-1.28.84.gh.tar.gz 728124 BLAKE2B 2fcc553a4a109b0bc92cdf0b08fe77fcef54 DIST boto3-1.28.85.gh.tar.gz 728751 BLAKE2B bfbc9b26b45e034949f13492987fdd43476d428d84da8b15e1ac67647acb410823bcc5e8710126a062a40779357ea49b5b4e1038831d38239515a793c6601dd4 SHA512 96165e6e5bd5673a364be445ab21916115e4f58c9e499f58bf0098d37fb7ba6ef28d5a6046f452e26618a305eb9713f5b5e5f10fd0c22868c499a9870fea4bef DIST boto3-1.29.0.gh.tar.gz 730038 BLAKE2B 3f6f853eaa18d66ffef1e159fb641e6e3d069b1cb8ca9df457a714b1682a210ccf52aca4900172812b195309a4cd1a179c4ff2dff2f0a3c519e73c1eb9380908 SHA512 d826bda41fcab62b9e868ad96e405d538f1af1b7bc31c96349330fce493c8efef282c1da1c47a45a4a0e0e3051c0ddb0847af1efc9e7e9a87419f3995db2a5ca DIST boto3-1.29.1.gh.tar.gz 731491 BLAKE2B 15d7aa771369afac957d1c0fac1c0cca9fb4322a7643d9dc2cb688908ab80c9f3815b92e9645266be0547d45959b6f2f20891ced2da0ab33df2de966dcfa510b SHA512 c07fb0bc3daab7aa6c21cec278b246b4df20f9e665b379f8005d2239a1d0bb637304d7308f1479b772ee314b99559bdb7f5c37503d6a9ef6801999270637cf87 +DIST boto3-1.29.2.gh.tar.gz 734398 BLAKE2B bc2816fd37130d4957873964b4020ec90f106fef5d034c4b47e9485610d577cdcac3106b66dcf20175335fcc49773dadcdabab9de65fb85caeddf5bea0845184 SHA512 dc5faf76f2949506db24888780cc07c792903707e54853258182a016b4b1b4f91ae79467e5f140ba0ce822d99e4fc570a16168211b10296bd9820eb245d9cbc5 diff --git a/dev-python/boto3/boto3-1.29.2.ebuild b/dev-python/boto3/boto3-1.29.2.ebuild new file mode 100644 index 000000000000..09d8c6679458 --- /dev/null +++ b/dev-python/boto3/boto3-1.29.2.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/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/boto3/archive/${PV}.tar.gz + -> ${P}.gh.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.7.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +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() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index a194efcf7678..9c483a32af5b 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -3,3 +3,4 @@ DIST botocore-1.31.84.gh.tar.gz 12065719 BLAKE2B 2098241de47aa1f59c45287c2be66fa DIST botocore-1.31.85.gh.tar.gz 12070341 BLAKE2B b4867e351d209511db263654873f5a804f941c44d10af563eec656b041830c8543f2ec1f8d831a0aec2cce4d9b7dfc80bd3e73fd5fc456cf5e3ca00ab193b11d SHA512 0e26b6ad06e1075ec90f04d653873592fcc2ae4bdbec5bbbe4b38e368824bf000724551ac2598938b827ce81e3b327ffa9d5d23da0ccb915686a70e0f37ba161 DIST botocore-1.32.0.gh.tar.gz 12086167 BLAKE2B 54e580c4d034b437d1e2e7748f1dd4785354db87459116565bc15d60bd73fe5d46cade212fd44fabd243614f3be55d9eeaef575ea6d6312ad83c0b6c1e741515 SHA512 9aba3cc3f823ba47ee7964517189d1227e5934c63ecdf1631ade59524594fb7cc20b9cfc7060dd8a69648d48e2d1ede0a377f204124d06ef843dd98a4cd1b11f DIST botocore-1.32.1.gh.tar.gz 12098630 BLAKE2B 3a2501da4bd2ec8d29f032a2df4d7946840682df426b4496f60bab487b0eb47580314b4c3029dded6a589463a8636c362c560fd4c2da02c113647ee10ebf079d SHA512 4ec58dcf896ef46f27f3c4af7c6e58efad62e5c2e3fb9aa8de9a90ee390d65b036116d9d8ba7c766b95b03e6e85e909cc620b838511152004dbcfb67968525b4 +DIST botocore-1.32.2.gh.tar.gz 12148168 BLAKE2B 29a70ed37526b8b5e3439a183b194d350505dd4ad0ac1e5d2ff729be29813b4b99b2b0806ca2f20a776efdcefc2b46295432af281e026ecf014fe45d5317c528 SHA512 775c5076e691605d6efe392e5565b84314ed7c93300ea394e5598ee34f4bb9e708a2c8479fbd646fdb619d36e0122fd4f6854e9ed40430c069677345bd76e335 diff --git a/dev-python/botocore/botocore-1.32.2.ebuild b/dev-python/botocore/botocore-1.32.2.ebuild new file mode 100644 index 000000000000..9a0240c45f2a --- /dev/null +++ b/dev-python/botocore/botocore-1.32.2.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/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=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.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-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +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 + ) + + local -x EPYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/deprecated/deprecated-1.2.14.ebuild b/dev-python/deprecated/deprecated-1.2.14.ebuild index 4fb3fdf326c5..397eed52d977 100644 --- a/dev-python/deprecated/deprecated-1.2.14.ebuild +++ b/dev-python/deprecated/deprecated-1.2.14.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86" RDEPEND=" dev-python/wrapt[${PYTHON_USEDEP}] diff --git a/dev-python/diff-match-patch/diff-match-patch-20230430.ebuild b/dev-python/diff-match-patch/diff-match-patch-20230430.ebuild index 6ff0b568f03e..4c8a23090b38 100644 --- a/dev-python/diff-match-patch/diff-match-patch-20230430.ebuild +++ b/dev-python/diff-match-patch/diff-match-patch-20230430.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=flit PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/dill/dill-0.3.7.ebuild b/dev-python/dill/dill-0.3.7.ebuild index 0aaef1b724ce..e7c6a7a2d1c2 100644 --- a/dev-python/dill/dill-0.3.7.ebuild +++ b/dev-python/dill/dill-0.3.7.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) inherit distutils-r1 diff --git a/dev-python/dirty-equals/dirty-equals-0.7.1.ebuild b/dev-python/dirty-equals/dirty-equals-0.7.1.ebuild index 6e6450e914cb..c8d15e90d15c 100644 --- a/dev-python/dirty-equals/dirty-equals-0.7.1.ebuild +++ b/dev-python/dirty-equals/dirty-equals-0.7.1.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" >=dev-python/pytz-2021.3[${PYTHON_USEDEP}] diff --git a/dev-python/docstring-to-markdown/docstring-to-markdown-0.13.ebuild b/dev-python/docstring-to-markdown/docstring-to-markdown-0.13.ebuild index b17c538c1b4f..6278dbdb4ac9 100644 --- a/dev-python/docstring-to-markdown/docstring-to-markdown-0.13.ebuild +++ b/dev-python/docstring-to-markdown/docstring-to-markdown-0.13.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) inherit distutils-r1 diff --git a/dev-python/fonttools/fonttools-4.44.3.ebuild b/dev-python/fonttools/fonttools-4.44.3.ebuild index 56ada0cab190..359187240e25 100644 --- a/dev-python/fonttools/fonttools-4.44.3.ebuild +++ b/dev-python/fonttools/fonttools-4.44.3.ebuild @@ -5,10 +5,10 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) PYTHON_REQ_USE="xml(+)" -inherit distutils-r1 multiprocessing virtualx +inherit distutils-r1 virtualx DESCRIPTION="Library for manipulating TrueType, OpenType, AFM and Type1 fonts" HOMEPAGE=" @@ -23,20 +23,24 @@ SRC_URI=" LICENSE="BSD" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +IUSE="+native-extensions" RDEPEND=" >=dev-python/fs-2.4.9[${PYTHON_USEDEP}] " BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] + native-extensions? ( + $(python_gen_cond_dep ' + dev-python/cython[${PYTHON_USEDEP}] + ' 'python*') + ) test? ( - app-arch/brotli[python,${PYTHON_USEDEP}] + dev-python/brotlicffi[${PYTHON_USEDEP}] app-arch/zopfli - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] ) " +EPYTEST_XDIST=1 distutils_enable_tests pytest python_prepare_all() { @@ -55,8 +59,10 @@ python_prepare_all() { distutils-r1_python_prepare_all } -src_configure() { - export FONTTOOLS_WITH_CYTHON=1 +python_compile() { + local -x FONTTOOLS_WITH_CYTHON=$(usex native-extensions) + [[ ${EPYTHON} == pypy3 ]] && FONTTOOLS_WITH_CYTHON=0 + distutils-r1_python_compile } src_test() { @@ -65,9 +71,17 @@ src_test() { } python_test() { + local EPYTEST_DESELECT=() + if [[ ${EPYTHON} == pypy3 ]] && + has_version "dev-python/pyxattr[${PYTHON_USEDEP}]" + then + EPYTEST_DESELECT+=( + # affected by a bug in PyPy/pyxattr + # https://github.com/iustin/pyxattr/issues/41 + Tests/t1Lib/t1Lib_test.py::ReadWriteTest::test_read_with_path + ) + fi + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest Tests fontTools \ - -p rerunfailures --reruns=5 \ - -p xdist -n "$(makeopts_jobs)" --dist=worksteal || - die "Tests failed with ${EPYTHON}" + nonfatal epytest Tests fontTools || die -n "Tests failed with ${EPYTHON}" } diff --git a/dev-python/intervaltree/intervaltree-3.1.0-r1.ebuild b/dev-python/intervaltree/intervaltree-3.1.0-r1.ebuild index f6a45e628fec..c01620406bb8 100644 --- a/dev-python/intervaltree/intervaltree-3.1.0-r1.ebuild +++ b/dev-python/intervaltree/intervaltree-3.1.0-r1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) inherit distutils-r1 pypi DESCRIPTION="Editable interval tree data structure for Python 2 and 3" diff --git a/dev-python/isort/isort-5.12.0.ebuild b/dev-python/isort/isort-5.12.0.ebuild index 1eeba940cbe2..d07ab96e29ba 100644 --- a/dev-python/isort/isort-5.12.0.ebuild +++ b/dev-python/isort/isort-5.12.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) inherit distutils-r1 diff --git a/dev-python/jaraco-env/jaraco-env-1.0.0.ebuild b/dev-python/jaraco-env/jaraco-env-1.0.0.ebuild index cb8f02463fc0..f0adfc7101fe 100644 --- a/dev-python/jaraco-env/jaraco-env-1.0.0.ebuild +++ b/dev-python/jaraco-env/jaraco-env-1.0.0.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86" BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] diff --git a/dev-python/jaraco-test/jaraco-test-5.3.0.ebuild b/dev-python/jaraco-test/jaraco-test-5.3.0.ebuild index ccd723bcc367..b9c60f7c7b57 100644 --- a/dev-python/jaraco-test/jaraco-test-5.3.0.ebuild +++ b/dev-python/jaraco-test/jaraco-test-5.3.0.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/jaraco-context[${PYTHON_USEDEP}] diff --git a/dev-python/jellyfish/jellyfish-1.0.1.ebuild b/dev-python/jellyfish/jellyfish-1.0.1.ebuild index c429077f41d8..1a4f75d242c2 100644 --- a/dev-python/jellyfish/jellyfish-1.0.1.ebuild +++ b/dev-python/jellyfish/jellyfish-1.0.1.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=maturin -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) CRATES=" ahash@0.8.3 diff --git a/dev-python/jsonschema/Manifest b/dev-python/jsonschema/Manifest index 2d779d1f6d60..3a8a1ad440c8 100644 --- a/dev-python/jsonschema/Manifest +++ b/dev-python/jsonschema/Manifest @@ -1,3 +1,4 @@ DIST jsonschema-4.17.3.tar.gz 297785 BLAKE2B a0383bf5612ae50e94c95dbc1774d796b62c74a7aae3056a40edb7e042ad07fd7885e61d86220120a906a4017afe30d8ee8edbbf0cf01a6dec1f212984ff1c1e SHA512 626fc913c37d2e49e4b47c9e058aab4a96c1dc50c35d8def0b2ea0ca464dc25e3318d4fde4927c11ca38068743cd81779d5189464b821407ac1de1788bad30e2 DIST jsonschema-4.19.1.tar.gz 318089 BLAKE2B 63ddd573ec47bc1c58c2b1bc4a20dd833c4c041de69b8c2e3cfa24c3494d3879fb09914491758ef38e8ae775b347f68d1d9c2e4d3cfc087dbd8c55d381cccd66 SHA512 60fa769faf6e3fc2c14eb9acd189c86e9d366b157230a5681d36552af0c159cb1ad33fd920668a36afdab98bc97253f91501704c5c07b5009fdaf9d29b52060d DIST jsonschema-4.19.2.tar.gz 318786 BLAKE2B 2906344281ffa50ac1256c37025aa74ac8267af25187d3e13e6f1be219027e16a8fb4a6cdf778e6d0be4adf727d4393281fd8e5ffceef608fb40cb322361e20c SHA512 0820f0e6417cceb1017efe9b8fed6e386acbb194e786c97c89a94f173c22a8dfa8144f19ae46cbf44cb3d2b78b27d4631344e13e964d82d9810a513d328a95a0 +DIST jsonschema-4.20.0.tar.gz 320243 BLAKE2B 7782665aa97d080a3ade9f0ed600d84602135ba80641c75d027f31f118432d206d5c61243e90a59aa134bce2fcf6bed6aed685bca9ad243178c78d3002d43b66 SHA512 916ce6e5a1cce19e52d34394797d59c4821a3e7abad0248d929a8d5975e8e5a2c0a270b2839d6e1800037a53d0ed8fd38ca44264a88653b5aaba1705d459cb47 diff --git a/dev-python/jsonschema/jsonschema-4.20.0.ebuild b/dev-python/jsonschema/jsonschema-4.20.0.ebuild new file mode 100644 index 000000000000..475d1eceb505 --- /dev/null +++ b/dev-python/jsonschema/jsonschema-4.20.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="An implementation of JSON-Schema validation for Python" +HOMEPAGE=" + https://pypi.org/project/jsonschema/ + https://github.com/python-jsonschema/jsonschema/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-specifications-2023.03.6[${PYTHON_USEDEP}] + >=dev-python/referencing-0.28.4[${PYTHON_USEDEP}] + >=dev-python/rpds-py-0.7.1[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] + test? ( + !!dev-python/shiboken6 + ) +" + +# formatter deps +RDEPEND+=" + dev-python/fqdn[${PYTHON_USEDEP}] + dev-python/idna[${PYTHON_USEDEP}] + dev-python/isoduration[${PYTHON_USEDEP}] + >=dev-python/jsonpointer-1.13[${PYTHON_USEDEP}] + dev-python/rfc3339-validator[${PYTHON_USEDEP}] + dev-python/rfc3986-validator[${PYTHON_USEDEP}] + dev-python/rfc3987[${PYTHON_USEDEP}] + dev-python/uri-template[${PYTHON_USEDEP}] + >=dev-python/webcolors-1.11[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # requires pip, does not make much sense for the users + jsonschema/tests/test_cli.py::TestCLIIntegration::test_license + # fragile warning tests + jsonschema/tests/test_deprecations.py + # wtf? + jsonschema/tests/test_jsonschema_test_suite.py::test_suite_bug +) diff --git a/dev-python/kombu/Manifest b/dev-python/kombu/Manifest index b626eb5ba0ab..f030fcd4b3f2 100644 --- a/dev-python/kombu/Manifest +++ b/dev-python/kombu/Manifest @@ -1,2 +1,3 @@ DIST kombu-5.3.2.tar.gz 431102 BLAKE2B d617868a851382055acb44313f928aa2f1458700c29ee008f6eb7226010537bfbda6b306907e4901db1e51300abee969d574842a65f049f50507376103dbc670 SHA512 2960b3a2c8ef067d2cd82c8930ff00ffa8ce17d40a3b73597d274a289dec4ea24a2f250b19f4f02198be8cb5da067b9b45b7d07f4b15632ef96e9919bab739ea DIST kombu-5.3.3.tar.gz 436079 BLAKE2B 4ebc4fa529ff232a871b3c0ec2c200c88186785eb7beaa2abb1ddd87f67b74708b7af10a38babac6bd29c465c5e89ac2ae7325216f1e68e50a02f6636b6d4e47 SHA512 9f34d9f57383b8791cf3c625562c273232d24a32aadb60a8fdac26c0c3afa968eeb1b9523dcb5f498360820828203e570fda4f98940521d753a93691ab16de44 +DIST kombu-5.3.4.tar.gz 437599 BLAKE2B 111f6e36fe7fd0715fd843f234c99144713ed73ad18d4100f1beedf7277ec4690788b115000c722bdd75081bffab0938879e799e2e5356f3a5b58c897222433b SHA512 5f0823a1295c4035076654723beb26c90cfd4708dcc72d09c4b72b4c84c295817e1bc95c6799557a0654b9cbae0f8ea421c340d5b914a5f75aa71de07f5388b4 diff --git a/dev-python/kombu/kombu-5.3.4.ebuild b/dev-python/kombu/kombu-5.3.4.ebuild new file mode 100644 index 000000000000..24d49c42cee2 --- /dev/null +++ b/dev-python/kombu/kombu-5.3.4.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="AMQP Messaging Framework for Python" +HOMEPAGE=" + https://github.com/celery/kombu/ + https://pypi.org/project/kombu/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="examples" + +RDEPEND=" + >=dev-python/amqp-5.1.1[${PYTHON_USEDEP}] + <dev-python/amqp-6.0.0[${PYTHON_USEDEP}] + dev-python/vine[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + app-arch/brotli[python,${PYTHON_USEDEP}] + >=dev-python/boto3-1.22.2[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + >=dev-python/msgpack-0.3.0[${PYTHON_USEDEP}] + dev-python/pycurl[${PYTHON_USEDEP}] + >=dev-python/pymongo-4.1.1[${PYTHON_USEDEP}] + dev-python/pytest-freezegun[${PYTHON_USEDEP}] + dev-python/zstandard[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}] + >=dev-python/redis-4.2.2[${PYTHON_USEDEP}] + dev-python/sqlalchemy[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/sphinx-celery + +python_test() { + local EPYTEST_DESELECT=( + # TODO + t/unit/transport/test_redis.py::test_Channel::test_connparams_health_check_interval_supported + ) + local EPYTEST_IGNORE=( + # obsolete Pyro4 + t/unit/transport/test_pyro.py + # unpackaged azure + t/unit/transport/test_azurestoragequeues.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} + +python_install_all() { + if use examples; then + docompress -x "/usr/share/doc/${PF}/examples" + docinto examples + dodoc -r examples/. + fi + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature "Amazon SQS backend" "dev-python/boto3 dev-python/pycurl" + optfeature "Etcd backend" dev-python/python-etcd + optfeature "MongoDB backend" dev-python/pymongo + optfeature "Redis backend" dev-python/redis + optfeature "sqlalchemy backend" dev-python/sqlalchemy + optfeature "yaml backend" dev-python/pyyaml + optfeature "MessagePack (de)serializer for Python" dev-python/msgpack + optfeature "brotli compression" "app-arch/brotli[python]" + optfeature "zstd compression" dev-python/zstandard +} diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index e9da2ac43cac..a11d7c268c91 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1,3 +1 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db -EBUILD langdetect-1.0.9.ebuild 493 BLAKE2B 0df8bce19bc80f79f8e76bcef5a4c2caf333365fe0cb9a3c076b7858bceded5a3e58921474f866a2709dd657b7ed330c1ec4a7f9d7bab0fcf1bc92d77cabc32d SHA512 ea2a1adcb133ac5fc951ba1aa90ef1ce3dfcc424e59727591763d4875aa044a74188be2d15fd89c6b2e83ed6ea04ec3d9851ed584ae79d2c2c127bde7d994b48 -MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 020e07f2a3dd..736a1167c898 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -1,12 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> - </maintainer> - <upstream> - <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/mkdocs-material/Manifest b/dev-python/mkdocs-material/Manifest index 53e2127a3e5a..a76041297c96 100644 --- a/dev-python/mkdocs-material/Manifest +++ b/dev-python/mkdocs-material/Manifest @@ -1,2 +1,3 @@ DIST mkdocs-material-9.4.7.gh.tar.gz 14556029 BLAKE2B a3f0289afcd38dc9af2bb18205e19e78565fbe4230ed5a730736945d6b12edbcf598b337ad0715b96184059d434b6589d133bc93cec7624a72bc89ce4c30c352 SHA512 31feb4bdb5ad54fdfbe0cc054fce76e2af3b2c87424c1f3ffbda7500852074994a09de94c51b87fa40145afce6e82911b3e7399691a6c736e8c0858cc094107b DIST mkdocs-material-9.4.8.gh.tar.gz 14556346 BLAKE2B 21cdf8e9c4d0e236db1d3bc34510be57ea273ec8b8761d896b82f32e1001313f4e00716a9b90c956ef81b522370e622bc6ad83c342a5c29cdd83e3006aae0bdf SHA512 d6f89071b60f1259f34e96e5ff3562c80096a1b3ac2b5ff44f1bf20818bdff32067d125c24d15c3b8e794e3649c42f6681417dbf1b72f0c0bd10e345e20b5be9 +DIST mkdocs-material-9.4.9.gh.tar.gz 14552215 BLAKE2B 69411102e874017f9a74991cda8552d9ea2422ba5717bfe31e89f99f1e042711ea2c12cf4eb1bcd1b897d260c262869c9c230c5c4ec8c9a110be5583546dd882 SHA512 cb7535b2989f752a4cbd4bf783358dcc388e4cff03273898273b1c65332471dcd7a21571e9bf1c55666339e0462bf356d1d6c17f59f75a54ab388bb357e1c6a3 diff --git a/dev-python/mkdocs-material/mkdocs-material-9.4.9.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.4.9.ebuild new file mode 100644 index 000000000000..31c55fa06872 --- /dev/null +++ b/dev-python/mkdocs-material/mkdocs-material-9.4.9.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + dev-python/mkdocs-material-extensions + dev-python/mkdocs-minify-plugin + dev-python/mkdocs-redirects +" + +inherit distutils-r1 docs + +DESCRIPTION="A Material Design theme for MkDocs" +HOMEPAGE=" + https://github.com/squidfunk/mkdocs-material/ + https://pypi.org/project/mkdocs-material/ +" +SRC_URI=" + https://github.com/squidfunk/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="social" + +RDEPEND=" + >=dev-python/Babel-2.10.3[${PYTHON_USEDEP}] + >=dev-python/colorama-0.4[${PYTHON_USEDEP}] + >=dev-python/jinja-3.0.2[${PYTHON_USEDEP}] + >=dev-python/lxml-4.6[${PYTHON_USEDEP}] + >=dev-python/markdown-3.2[${PYTHON_USEDEP}] + >=dev-python/mkdocs-1.5.3[${PYTHON_USEDEP}] + >=dev-python/paginate-0.5.6[${PYTHON_USEDEP}] + >=dev-python/pygments-2.16[${PYTHON_USEDEP}] + >=dev-python/pymdown-extensions-10.2[${PYTHON_USEDEP}] + >=dev-python/readtime-2.0[${PYTHON_USEDEP}] + >=dev-python/regex-2022.4.24[${PYTHON_USEDEP}] + >=dev-python/requests-2.26[${PYTHON_USEDEP}] + social? ( + >=dev-python/pillow-9.0[${PYTHON_USEDEP}] + >=media-gfx/cairosvg-2.5[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + >=dev-python/trove-classifiers-2023.10.18[${PYTHON_USEDEP}] +" +# mkdocs-material-extensions depends on mkdocs-material creating a circular dep +PDEPEND=" + >=dev-python/mkdocs-material-extensions-1.2[${PYTHON_USEDEP}] +" + +PATCHES=( + # simplify pyproject to remove extra deps for metadata + "${FILESDIR}/${PN}-8.5.7-simplify-build.patch" +) + +src_prepare() { + echo "__version__ = '${PV}'" > gentoo_version.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/moto/Manifest b/dev-python/moto/Manifest index d94f59def85e..ff1873350aa9 100644 --- a/dev-python/moto/Manifest +++ b/dev-python/moto/Manifest @@ -1,3 +1,4 @@ DIST moto-4.2.6.tar.gz 4745145 BLAKE2B 76610aafe3ea4106454aadbc8cf853ff5d4617202a62ae92e6cbe46c75a17d1dd8e63e8188c0c17a88af080bfe6c3466ed420378cee27d0287fe617d3412807e SHA512 0bef11a2600d48349735e7d118f6f28b02fb85e2b5e7310aaa0651444740ad4657470a59c59dab75084cb4250c6b5b725eda5e996b9acbc927529850cabc4c1c DIST moto-4.2.7.tar.gz 4756973 BLAKE2B 2ab27952abd6faaa2bbe7b6565f5d5403ea4e2c5c87e262b9b8fce9efbd7bb6972e295476426026f4ab7c000da33dfed2d401c04514b1c87bb15a1ae36c4c9cb SHA512 b23272d125b8fcc57cc72243d559cd985f7b96b3e38df31cc83792dc2b830e17a0cf4e44eaec81473b567a2203014d3cfa1f2bfb77f994ca46fb3013d47da704 DIST moto-4.2.8.tar.gz 4769361 BLAKE2B 2e7d6a7cac04655aa9f05af463e57689c0fc2b67cec27644fdf7fd658d988d33f311e43323599a0f91325f7b4e61630a3066d3fda2a15b0c0ca50e6a7cf34e22 SHA512 5a40d44ad46083b6e7c8753e8986316a5beb5b352e7e7b0eefe2b3f3ed2d760f0745f835b6e7d6b2d7b039db0b6f2fad095f047795d2d08093257fa68db1ceee +DIST moto-4.2.9.tar.gz 4775687 BLAKE2B af626a18c9487c08172813ddf2f1112d4bba80dbb64bf8deaf63079a6d4c12464e70d7c99d5a65fd1018f9f3a08bd0b12183e04a549fdfe580942086d49b9e21 SHA512 4cca0bdbe106faa84fa3893eb1dc2b2972a85c98ca718a10fd08a06757e1634954c5576c82b66d88c431a51b989cfedb2a52e6455d718330d4a5dd6e95a90225 diff --git a/dev-python/moto/moto-4.2.9.ebuild b/dev-python/moto/moto-4.2.9.ebuild new file mode 100644 index 000000000000..62f23ecee8df --- /dev/null +++ b/dev-python/moto/moto-4.2.9.ebuild @@ -0,0 +1,128 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Mock library for boto" +HOMEPAGE=" + https://github.com/getmoto/moto/ + https://pypi.org/project/moto/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}] + >=dev-python/cfn-lint-0.40.0[${PYTHON_USEDEP}] + >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] + dev-python/cookies[${PYTHON_USEDEP}] + >=dev-python/docker-3.0.0[${PYTHON_USEDEP}] + >=dev-python/idna-2.5[${PYTHON_USEDEP}] + >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] + >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] + dev-python/boto3[${PYTHON_USEDEP}] + dev-python/botocore[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/flask-cors[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + >=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}] + >=dev-python/openapi-spec-validator-0.5.0[${PYTHON_USEDEP}] + dev-python/pyaml[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/python-jose[${PYTHON_USEDEP}] + >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.5[${PYTHON_USEDEP}] + dev-python/sshpubkeys[${PYTHON_USEDEP}] + dev-python/xmltodict[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zipp[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # TODO + tests/test_firehose/test_firehose_put.py::test_put_record_http_destination + tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination + # broken code (local variable used referenced before definition) + tests/test_appsync/test_appsync_schema.py + # Needs network (or docker?) but not marked as such, bug #807031 + # TODO: report upstream + tests/test_awslambda/test_lambda_layers_invoked.py::test_invoke_local_lambda_layers + tests/test_batch/test_batch_jobs.py::test_cancel_pending_job + tests/test_batch/test_batch_jobs.py::test_cancel_running_job + tests/test_batch/test_batch_jobs.py::test_container_overrides + tests/test_batch/test_batch_jobs.py::test_dependencies + tests/test_batch/test_batch_jobs.py::test_failed_dependencies + tests/test_batch/test_batch_jobs.py::test_failed_job + tests/test_batch/test_batch_jobs.py::test_submit_job_array_size + tests/test_batch/test_batch_jobs.py::test_terminate_job + tests/test_batch/test_batch_jobs.py::test_terminate_nonexisting_job + tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed + + tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function + tests/test_core/test_docker.py::test_docker_is_running_and_available + tests/test_core/test_responses_module.py::TestResponsesMockWithPassThru::test_aws_and_http_requests + tests/test_core/test_responses_module.py::TestResponsesMockWithPassThru::test_http_requests + tests/test_events/test_events_lambdatriggers_integration.py::test_creating_bucket__invokes_lambda + "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events0-ObjectCreated:Put]" + "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events1-ObjectCreated:Put]" + "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events3-ObjectCreated:Put]" + # TODO + tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_queue + tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_fifo_queue + # require py_partiql_parser + tests/test_s3/test_s3_select.py + tests/test_dynamodb/test_dynamodb_statements.py + # broken by new urllib3 + tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_data + tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_file_using_requests + tests/test_s3/test_s3.py::test_upload_from_file_to_presigned_url + tests/test_s3/test_s3.py::test_put_chunked_with_v4_signature_in_body + tests/test_s3/test_s3.py::test_presigned_put_url_with_approved_headers + tests/test_s3/test_s3.py::test_presigned_put_url_with_custom_headers + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x TZ=UTC + + local serial_tests=( + # these tests set up credentials that are needed by the tests below + tests/test_core/test_importorder.py + # these tests apparently rely on some other test setting credentials + # up for them, so they need to be run separately, after the above + tests/test_dynamodb/exceptions/test_dynamodb_exceptions.py + tests/test_lakeformation/test_resource_tags_integration.py + tests/test_redshiftdata + tests/test_resourcegroupstaggingapi/test_server.py::test_resourcegroupstaggingapi_list + tests/test_s3/test_s3.py::test_delete_bucket_cors + tests/test_s3/test_s3.py::test_delete_objects_percent_encoded + tests/test_s3/test_s3.py::test_delete_versioned_bucket_returns_metadata + tests/test_s3/test_s3_file_handles.py::TestS3FileHandleClosuresUsingMocks + tests/test_s3control/test_s3control_access_points.py::test_delete_access_point + tests/test_utilities/test_threaded_server.py::TestThreadedMotoServer::test_server_can_handle_multiple_services + ) + + EPYTEST_XDIST= epytest "${serial_tests[@]}" + + EPYTEST_DESELECT+=( "${serial_tests[@]}" ) + epytest -m 'not network' +} diff --git a/dev-python/mpmath/mpmath-1.3.0-r1.ebuild b/dev-python/mpmath/mpmath-1.3.0-r1.ebuild index ab1e3ec6702f..630f249195b0 100644 --- a/dev-python/mpmath/mpmath-1.3.0-r1.ebuild +++ b/dev-python/mpmath/mpmath-1.3.0-r1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) inherit distutils-r1 optfeature pypi virtualx diff --git a/dev-python/nautilus-python/nautilus-python-4.0.ebuild b/dev-python/nautilus-python/nautilus-python-4.0.ebuild index 53e30546171e..6564fa3eb9a6 100644 --- a/dev-python/nautilus-python/nautilus-python-4.0.ebuild +++ b/dev-python/nautilus-python/nautilus-python-4.0.ebuild @@ -12,7 +12,7 @@ HOMEPAGE="https://projects.gnome.org/nautilus-python/" LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~alpha amd64 arm64 ~ppc64 x86" +KEYWORDS="amd64 arm64 ~ppc64 x86" IUSE="gtk-doc" REQUIRED_USE="${PYTHON_REQUIRED_USE}" diff --git a/dev-python/pip-run/pip-run-12.4.0.ebuild b/dev-python/pip-run/pip-run-12.4.0.ebuild index 8720f06bb686..a45e0d9c203a 100644 --- a/dev-python/pip-run/pip-run-12.4.0.ebuild +++ b/dev-python/pip-run/pip-run-12.4.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/autocommand[${PYTHON_USEDEP}] diff --git a/dev-python/poetry/Manifest b/dev-python/poetry/Manifest index b357827ce2d4..27a7e6864b51 100644 --- a/dev-python/poetry/Manifest +++ b/dev-python/poetry/Manifest @@ -1,4 +1,2 @@ -DIST poetry-1.5.1.tar.gz 1469755 BLAKE2B ac60d6aabe69b1e46a6fbc188579034e716a470384571a611952489d175485cf997636c9206a53e29be073582e672f8010ab5f8f13b58a12dc644279753f903e SHA512 863bc4ea43b6fc5b340f50f007c76d2c253223d6bd55ea5c1ead4bc353c3d4cd85d51372a774276e14d9fca733fac9c2f582892fec950b74f25dc188dafa7a96 -DIST poetry-1.6.0.tar.gz 1475454 BLAKE2B 11bdfb5cacee0563d134919619bffeb007c13c632d8ab017521ce191a5ccaace52405ef9afa81ece1042c075b4601069deab99028a187bea73d4d6e4b505b55f SHA512 eef9a4c4d0526d3c71380c00b654852b22b7c5e86f187463977b1f798b5cb377c41983a6c21350c19f13fb1804a8190f5bd158dc5f0a298d0732812e44524063 -DIST poetry-1.6.1.tar.gz 1475487 BLAKE2B 0e49da3473203fcd24aacdf34e886bb4a6e723bc1e03ccc285c94a25f214b31c768462fef0cc24f659132dd5ce33eac71a2329fef4df7dba1c76303fd1987a77 SHA512 3d5aac641c0fa4dd16f8f7b2a55fa1795ced1803886a048167a0a2a2ac419ff1c16734458316100f54ca4e8bcf88b5aa176b0ba2bde74bee6bdd41305b078f3b DIST poetry-1.7.0.tar.gz 1482460 BLAKE2B 3bf91881bd38967a95cc5a881a74a91932488d4ad11b89c237c1c497107f3ce2ed1df7bccb01a415377082612f1905dc057c1ef680e1bf2aa5efa3b852b80417 SHA512 fc0d358d62100fcd14dec3bb13cc8162339ba4947c2118abb4ccefd788ea3e10750f92f4a51c8feb7f2d5cebf0ac670092e730518463c61bc49bd044a9a8e9c7 +DIST poetry-1.7.1.tar.gz 1483927 BLAKE2B d32f84cbed6f895678fba723700504cafe2bb7b1de0be0f289c0606b3c775d02e4172d74aafe58f29f9e2b5b9cb0f614b902bb9efa55ab1077a6689a8b4d331f SHA512 bf3654e9de71da35d7adfc239797dbed9813a2a1bb585b0bd9ad398706ad1628430422d0ebe7d9c3dcc1f619ad1a1a2073e9d9d3296354bf2f14a1aed5a5444e diff --git a/dev-python/poetry/poetry-1.5.1-r2.ebuild b/dev-python/poetry/poetry-1.5.1-r2.ebuild deleted file mode 100644 index d96d64545f17..000000000000 --- a/dev-python/poetry/poetry-1.5.1-r2.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A frontend for poetry - a python dependency management and packaging tool" -HOMEPAGE=" - https://python-poetry.org/ - https://github.com/python-poetry/poetry - https://pypi.org/project/poetry/" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-python/poetry-core-1.6.1[${PYTHON_USEDEP}] - >=dev-python/poetry-plugin-export-1.4.0[${PYTHON_USEDEP}] - >=dev-python/build-0.10.0[${PYTHON_USEDEP}] - >=dev-python/cachecontrol-0.12.9[${PYTHON_USEDEP}] - >=dev-python/cleo-2.0.0[${PYTHON_USEDEP}] - >=dev-python/crashtest-0.4.1[${PYTHON_USEDEP}] - >=dev-python/dulwich-0.21.2[${PYTHON_USEDEP}] - >=dev-python/filelock-3.8.0[${PYTHON_USEDEP}] - >=dev-python/html5lib-1.0[${PYTHON_USEDEP}] - >=dev-python/installer-0.7.0[${PYTHON_USEDEP}] - >=dev-python/jsonschema-4.10.0[${PYTHON_USEDEP}] - >=dev-python/keyring-23.9.0[${PYTHON_USEDEP}] - >=dev-python/lockfile-0.12.2[${PYTHON_USEDEP}] - >=dev-python/packaging-20.4[${PYTHON_USEDEP}] - >=dev-python/pexpect-4.7.0[${PYTHON_USEDEP}] - >=dev-python/pkginfo-1.9.4[${PYTHON_USEDEP}] - >=dev-python/platformdirs-3.0.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.18[${PYTHON_USEDEP}] - >=dev-python/requests-toolbelt-0.10.1[${PYTHON_USEDEP}] - >=dev-python/shellingham-1.5.0[${PYTHON_USEDEP}] - >=dev-python/tomlkit-0.11.6[${PYTHON_USEDEP}] - >=dev-python/trove-classifiers-2022.5.19[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.26.0[${PYTHON_USEDEP}] - >=dev-python/virtualenv-20.22.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] - ' 3.10) -" - -BDEPEND=" - test? ( - >=dev-python/deepdiff-6.3.1[${PYTHON_USEDEP}] - >=dev-python/httpretty-1.0[${PYTHON_USEDEP}] - >=dev-python/pytest-mock-3.9[${PYTHON_USEDEP}] - >=dev-python/pytest-xdist-3.1[${PYTHON_USEDEP}] - ) -" - -src_prepare() { - # Dependency on abandoned package cachy has been removed from poetry https://github.com/python-poetry/poetry/pull/5868 - # and remains in tests only for time being, so we can skip them. - # removal of tests upstream https://github.com/python-poetry/poetry/pull/7437 - sed -e "s/from cachy import CacheManager/from unittest import mock; CacheManager = mock.Mock # Gentoo ebuild patched/g" \ - -i tests/console/commands/cache/conftest.py \ - -i tests/utils/test_cache.py || die - sed -e 's:"cachy_file_cache", ::g' \ - -i tests/utils/test_cache.py || die - - # unpin - sed -i -e 's:\^:>=:' pyproject.toml || die - - distutils-r1_src_prepare -} - -EPYTEST_DESELECT=( - # Dependency on abandoned package cachy has been removed from poetry https://github.com/python-poetry/poetry/pull/5868 - # and remains in tests only for time being, so we can skip them. - # removal of tests upstream https://github.com/python-poetry/poetry/pull/7437 - tests/console/commands/cache/test_clear.py::test_cache_clear_all - tests/console/commands/cache/test_clear.py::test_cache_clear_all_no - tests/console/commands/cache/test_clear.py::test_cache_clear_pkg - tests/console/commands/cache/test_clear.py::test_cache_clear_pkg_no - tests/utils/test_cache.py::test_cachy_compatibility - - # Tests require network (they run `pip install ...`) - tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_directories - tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_git - tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_git_with_subdirectories - tests/installation/test_pip_installer.py::test_uninstall_git_package_nspkg_pth_cleanup - tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_non_wheel_files - tests/installation/test_installer.py::test_installer_with_pypi_repository - - # Works with network, but otherwise: Backend 'poetry.core.masonry.api' is not available. - tests/installation/test_chef.py::test_prepare_sdist - tests/installation/test_chef.py::test_prepare_directory - tests/installation/test_chef.py::test_prepare_directory_with_extensions - tests/installation/test_chef.py::test_prepare_directory_editable -) - -distutils_enable_tests pytest diff --git a/dev-python/poetry/poetry-1.6.0.ebuild b/dev-python/poetry/poetry-1.6.0.ebuild deleted file mode 100644 index 04e1dbb38329..000000000000 --- a/dev-python/poetry/poetry-1.6.0.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A frontend for poetry - a python dependency management and packaging tool" -HOMEPAGE=" - https://python-poetry.org/ - https://github.com/python-poetry/poetry - https://pypi.org/project/poetry/" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-python/poetry-core-1.7.0[${PYTHON_USEDEP}] - >=dev-python/poetry-plugin-export-1.5.0[${PYTHON_USEDEP}] - >=dev-python/build-0.10.0[${PYTHON_USEDEP}] - >=dev-python/cachecontrol-0.13.0[${PYTHON_USEDEP}] - >=dev-python/cleo-2.0.0[${PYTHON_USEDEP}] - >=dev-python/crashtest-0.4.1[${PYTHON_USEDEP}] - >=dev-python/dulwich-0.21.2[${PYTHON_USEDEP}] - >=dev-python/installer-0.7.0[${PYTHON_USEDEP}] - >=dev-python/jsonschema-4.10.0[${PYTHON_USEDEP}] - >=dev-python/keyring-24.0.0[${PYTHON_USEDEP}] - >=dev-python/packaging-20.4[${PYTHON_USEDEP}] - >=dev-python/pexpect-4.7.0[${PYTHON_USEDEP}] - >=dev-python/pkginfo-1.9.4[${PYTHON_USEDEP}] - >=dev-python/platformdirs-3.0.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.18[${PYTHON_USEDEP}] - >=dev-python/requests-toolbelt-0.10.1[${PYTHON_USEDEP}] - >=dev-python/shellingham-1.5.0[${PYTHON_USEDEP}] - >=dev-python/tomlkit-0.11.6[${PYTHON_USEDEP}] - >=dev-python/trove-classifiers-2022.5.19[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.26.0[${PYTHON_USEDEP}] - >=dev-python/virtualenv-20.22.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] - ' 3.10) -" - -BDEPEND=" - test? ( - >=dev-python/deepdiff-6.3.1[${PYTHON_USEDEP}] - >=dev-python/httpretty-1.0[${PYTHON_USEDEP}] - >=dev-python/pytest-mock-3.9[${PYTHON_USEDEP}] - >=dev-python/pytest-xdist-3.1[${PYTHON_USEDEP}] - ) -" - -src_prepare() { - # unpin - sed -e 's:\^:>=:' \ - -e '/poetry-core/s:":">=:' \ - -e 's:,<[0-9.]*::' \ - -i pyproject.toml || die - - distutils-r1_src_prepare -} - -EPYTEST_DESELECT=( - # Tests require network (they run `pip install ...`) - tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_directories - tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_git - tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_git_with_subdirectories - tests/installation/test_pip_installer.py::test_uninstall_git_package_nspkg_pth_cleanup - tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_non_wheel_files - tests/installation/test_installer.py::test_installer_with_pypi_repository - tests/masonry/builders/test_editable_builder.py::test_builder_setup_generation_runs_with_pip_editable - - # Works with network, but otherwise: Backend 'poetry.core.masonry.api' is not available. - tests/installation/test_chef.py::test_prepare_sdist - tests/installation/test_chef.py::test_prepare_directory - tests/installation/test_chef.py::test_prepare_directory_with_extensions - tests/installation/test_chef.py::test_prepare_directory_editable -) - -distutils_enable_tests pytest diff --git a/dev-python/poetry/poetry-1.6.1.ebuild b/dev-python/poetry/poetry-1.6.1.ebuild deleted file mode 100644 index aa5a08e25a93..000000000000 --- a/dev-python/poetry/poetry-1.6.1.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A frontend for poetry - a python dependency management and packaging tool" -HOMEPAGE=" - https://python-poetry.org/ - https://github.com/python-poetry/poetry - https://pypi.org/project/poetry/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-python/poetry-core-1.7.0[${PYTHON_USEDEP}] - >=dev-python/poetry-plugin-export-1.5.0[${PYTHON_USEDEP}] - >=dev-python/build-0.10.0[${PYTHON_USEDEP}] - >=dev-python/cachecontrol-0.13.0[${PYTHON_USEDEP}] - >=dev-python/cleo-2.0.0[${PYTHON_USEDEP}] - >=dev-python/crashtest-0.4.1[${PYTHON_USEDEP}] - >=dev-python/dulwich-0.21.2[${PYTHON_USEDEP}] - >=dev-python/installer-0.7.0[${PYTHON_USEDEP}] - >=dev-python/jsonschema-4.10.0[${PYTHON_USEDEP}] - >=dev-python/keyring-24.0.0[${PYTHON_USEDEP}] - >=dev-python/packaging-20.4[${PYTHON_USEDEP}] - >=dev-python/pexpect-4.7.0[${PYTHON_USEDEP}] - >=dev-python/pkginfo-1.9.4[${PYTHON_USEDEP}] - >=dev-python/platformdirs-3.0.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.26[${PYTHON_USEDEP}] - >=dev-python/requests-toolbelt-0.10.1[${PYTHON_USEDEP}] - >=dev-python/shellingham-1.5.0[${PYTHON_USEDEP}] - >=dev-python/tomlkit-0.11.6[${PYTHON_USEDEP}] - >=dev-python/trove-classifiers-2022.5.19[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.26.0[${PYTHON_USEDEP}] - >=dev-python/virtualenv-20.22.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] - ' 3.10) -" - -BDEPEND=" - test? ( - >=dev-python/deepdiff-6.3.1[${PYTHON_USEDEP}] - >=dev-python/httpretty-1.0[${PYTHON_USEDEP}] - >=dev-python/pytest-mock-3.9[${PYTHON_USEDEP}] - >=dev-python/pytest-xdist-3.1[${PYTHON_USEDEP}] - ) -" - -src_prepare() { - # unpin - sed -e 's:\^:>=:' \ - -e '/poetry-core/s:":">=:' \ - -e 's:,<[0-9.]*::' \ - -i pyproject.toml || die - - distutils-r1_src_prepare -} - -EPYTEST_DESELECT=( - # Tests require network (they run `pip install ...`) - tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_directories - tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_git - tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_git_with_subdirectories - tests/installation/test_pip_installer.py::test_uninstall_git_package_nspkg_pth_cleanup - tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_non_wheel_files - tests/installation/test_installer.py::test_installer_with_pypi_repository - tests/masonry/builders/test_editable_builder.py::test_builder_setup_generation_runs_with_pip_editable - - # Works with network, but otherwise: Backend 'poetry.core.masonry.api' is not available. - tests/installation/test_chef.py::test_prepare_sdist - tests/installation/test_chef.py::test_prepare_directory - tests/installation/test_chef.py::test_prepare_directory_with_extensions - tests/installation/test_chef.py::test_prepare_directory_editable -) - -distutils_enable_tests pytest diff --git a/dev-python/poetry/poetry-1.6.1-r1.ebuild b/dev-python/poetry/poetry-1.7.1.ebuild index 08ca9c507f6e..694439305200 100644 --- a/dev-python/poetry/poetry-1.6.1-r1.ebuild +++ b/dev-python/poetry/poetry-1.7.1.ebuild @@ -22,17 +22,17 @@ KEYWORDS="~amd64" # dev-python/build: 1.0 breaks backward compatibility # https://github.com/python-poetry/poetry/issues/8434 RDEPEND=" - >=dev-python/poetry-core-1.7.0[${PYTHON_USEDEP}] - >=dev-python/poetry-plugin-export-1.5.0[${PYTHON_USEDEP}] - <dev-python/build-1.0.0[${PYTHON_USEDEP}] + >=dev-python/poetry-core-1.8.1[${PYTHON_USEDEP}] + >=dev-python/poetry-plugin-export-1.6.0[${PYTHON_USEDEP}] + >=dev-python/build-1.0.3[${PYTHON_USEDEP}] >=dev-python/cachecontrol-0.13.0[${PYTHON_USEDEP}] - >=dev-python/cleo-2.0.0[${PYTHON_USEDEP}] + >=dev-python/cleo-2.1.0[${PYTHON_USEDEP}] >=dev-python/crashtest-0.4.1[${PYTHON_USEDEP}] >=dev-python/dulwich-0.21.2[${PYTHON_USEDEP}] + >=dev-python/fastjsonschema-2.18.0[${PYTHON_USEDEP}] >=dev-python/installer-0.7.0[${PYTHON_USEDEP}] - >=dev-python/jsonschema-4.10.0[${PYTHON_USEDEP}] >=dev-python/keyring-24.0.0[${PYTHON_USEDEP}] - >=dev-python/packaging-20.4[${PYTHON_USEDEP}] + >=dev-python/packaging-20.5[${PYTHON_USEDEP}] >=dev-python/pexpect-4.7.0[${PYTHON_USEDEP}] >=dev-python/pkginfo-1.9.4[${PYTHON_USEDEP}] >=dev-python/platformdirs-3.0.0[${PYTHON_USEDEP}] @@ -42,7 +42,7 @@ RDEPEND=" >=dev-python/tomlkit-0.11.6[${PYTHON_USEDEP}] >=dev-python/trove-classifiers-2022.5.19[${PYTHON_USEDEP}] >=dev-python/urllib3-1.26.0[${PYTHON_USEDEP}] - >=dev-python/virtualenv-20.22.0[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20.23.0[${PYTHON_USEDEP}] $(python_gen_cond_dep ' >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] ' 3.10) @@ -69,12 +69,13 @@ src_prepare() { EPYTEST_DESELECT=( # Tests require network (they run `pip install ...`) + tests/installation/test_chef.py::test_isolated_env_install_success tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_directories tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_git tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_git_with_subdirectories - tests/installation/test_pip_installer.py::test_uninstall_git_package_nspkg_pth_cleanup tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_non_wheel_files tests/installation/test_installer.py::test_installer_with_pypi_repository + tests/installation/test_pip_installer.py::test_uninstall_git_package_nspkg_pth_cleanup tests/masonry/builders/test_editable_builder.py::test_builder_setup_generation_runs_with_pip_editable # Works with network, but otherwise: Backend 'poetry.core.masonry.api' is not available. diff --git a/dev-python/pycountry/pycountry-22.3.5.ebuild b/dev-python/pycountry/pycountry-22.3.5.ebuild index 2e5939d89623..25d11644b32a 100644 --- a/dev-python/pycountry/pycountry-22.3.5.ebuild +++ b/dev-python/pycountry/pycountry-22.3.5.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ia64 ppc ~riscv ~sparc x86" +KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ppc ~riscv ~sparc x86" RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" BDEPEND="${RDEPEND}" diff --git a/dev-python/pydantic/pydantic-2.5.1.ebuild b/dev-python/pydantic/pydantic-2.5.1.ebuild index b65592ac6631..41a03efce1ef 100644 --- a/dev-python/pydantic/pydantic-2.5.1.ebuild +++ b/dev-python/pydantic/pydantic-2.5.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~s390 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" >=dev-python/annotated-types-0.4.0[${PYTHON_USEDEP}] diff --git a/dev-python/pyls-spyder/pyls-spyder-0.4.0-r2.ebuild b/dev-python/pyls-spyder/pyls-spyder-0.4.0-r2.ebuild index b0a19ae7dd48..2d02bdb8d9a1 100644 --- a/dev-python/pyls-spyder/pyls-spyder-0.4.0-r2.ebuild +++ b/dev-python/pyls-spyder/pyls-spyder-0.4.0-r2.ebuild @@ -3,13 +3,15 @@ EAPI=8 -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 DESCRIPTION="Spyder extensions for the python language server" -HOMEPAGE="https://github.com/spyder-ide/pyls-spyder - https://pypi.org/project/pyls-spyder/" +HOMEPAGE=" + https://github.com/spyder-ide/pyls-spyder + https://pypi.org/project/pyls-spyder/ +" SRC_URI="https://github.com/spyder-ide/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="MIT" diff --git a/dev-python/python-lsp-black/python-lsp-black-1.3.0.ebuild b/dev-python/python-lsp-black/python-lsp-black-1.3.0.ebuild index 7ec29b6da380..f01f2eb3ce21 100644 --- a/dev-python/python-lsp-black/python-lsp-black-1.3.0.ebuild +++ b/dev-python/python-lsp-black/python-lsp-black-1.3.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) inherit distutils-r1 diff --git a/dev-python/python-lsp-jsonrpc/python-lsp-jsonrpc-1.1.2.ebuild b/dev-python/python-lsp-jsonrpc/python-lsp-jsonrpc-1.1.2.ebuild index 6f5f1df11b0e..01a2c1068290 100644 --- a/dev-python/python-lsp-jsonrpc/python-lsp-jsonrpc-1.1.2.ebuild +++ b/dev-python/python-lsp-jsonrpc/python-lsp-jsonrpc-1.1.2.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/python-lsp-server/python-lsp-server-1.9.0.ebuild b/dev-python/python-lsp-server/python-lsp-server-1.9.0.ebuild index 544e51ff12c2..c872ffda95fe 100644 --- a/dev-python/python-lsp-server/python-lsp-server-1.9.0.ebuild +++ b/dev-python/python-lsp-server/python-lsp-server-1.9.0.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) inherit distutils-r1 optfeature pypi @@ -31,10 +31,12 @@ RDEPEND=" >=dev-python/mccabe-0.7.0[${PYTHON_USEDEP}] >=dev-python/pycodestyle-2.9.0[${PYTHON_USEDEP}] >=dev-python/pyflakes-2.5.0[${PYTHON_USEDEP}] - >=dev-python/pylint-2.5.0[${PYTHON_USEDEP}] - >=dev-python/rope-1.2.0[${PYTHON_USEDEP}] >=dev-python/yapf-0.33.0[${PYTHON_USEDEP}] - >=dev-python/whatthepatch-1.0.2[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/pylint-2.5.0[${PYTHON_USEDEP}] + >=dev-python/rope-1.2.0[${PYTHON_USEDEP}] + >=dev-python/whatthepatch-1.0.2[${PYTHON_USEDEP}] + ' 'python*') ) " BDEPEND=" @@ -42,17 +44,19 @@ BDEPEND=" >=dev-python/autopep8-1.6.0[${PYTHON_USEDEP}] dev-python/flaky[${PYTHON_USEDEP}] >=dev-python/flake8-5.0.0[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] >=dev-python/mccabe-0.7.0[${PYTHON_USEDEP}] dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] >=dev-python/pycodestyle-2.9.0[${PYTHON_USEDEP}] >=dev-python/pyflakes-2.5.0[${PYTHON_USEDEP}] - >=dev-python/pylint-2.5.0[${PYTHON_USEDEP}] - dev-python/QtPy[gui,testlib,${PYTHON_USEDEP}] - >=dev-python/rope-1.2.0[${PYTHON_USEDEP}] >=dev-python/yapf-0.33.0[${PYTHON_USEDEP}] - >=dev-python/whatthepatch-1.0.2[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + >=dev-python/pylint-2.5.0[${PYTHON_USEDEP}] + dev-python/QtPy[gui,testlib,${PYTHON_USEDEP}] + >=dev-python/rope-1.2.0[${PYTHON_USEDEP}] + >=dev-python/whatthepatch-1.0.2[${PYTHON_USEDEP}] + ' 'python*') ) " @@ -77,6 +81,18 @@ python_test() { test/plugins/test_pydocstyle_lint.py ) + if [[ ${EPYTHON} == pypy3 ]] ; then + # Not all plugins are available for pypy3 + EPYTEST_IGNORE+=( + test/plugins/test_autoimport.py + test/plugins/test_completion.py + test/plugins/test_pylint_lint.py + test/plugins/test_rope_rename.py + # whatthepatch required for yapf + test/plugins/test_yapf_format.py + ) + fi + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 epytest } diff --git a/dev-python/python-slugify/python-slugify-8.0.1.ebuild b/dev-python/python-slugify/python-slugify-8.0.1.ebuild index e83bae282eef..6ebbdb50b22c 100644 --- a/dev-python/python-slugify/python-slugify-8.0.1.ebuild +++ b/dev-python/python-slugify/python-slugify-8.0.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) inherit distutils-r1 diff --git a/dev-python/pyxdg/pyxdg-0.28-r1.ebuild b/dev-python/pyxdg/pyxdg-0.28-r1.ebuild index eb8912dffac0..91a0edb32599 100644 --- a/dev-python/pyxdg/pyxdg-0.28-r1.ebuild +++ b/dev-python/pyxdg/pyxdg-0.28-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 diff --git a/dev-python/rpds-py/Manifest b/dev-python/rpds-py/Manifest index 31bf51431c66..f5ac3fed79a3 100644 --- a/dev-python/rpds-py/Manifest +++ b/dev-python/rpds-py/Manifest @@ -1,4 +1,5 @@ DIST archery-1.0.0.crate 21187 BLAKE2B 5dd323734a238ccc84c186d19fbc1557d8845a7e3b64b53eb952f17e3d44078931e9e2a96fe15373721ee5df4426844a4309172a9ada7a51b4ed71fad1deee55 SHA512 4f955fec7df473279925f195fbb48159ef1e23f9722c416347c84eee22ba9d2a2ecc466a879f43f1f8aed53778467f6d203ca43bfca9dd24f3f7a4cb0cc0eb89 +DIST archery-1.1.0.crate 22240 BLAKE2B bae7ff007419d6aaa738f541610a65f1c2c832a0ef571207b3f55fb6d36adfb64355f0bcdc8c06823166bbdf531d3c52eef042ef720aa2dc51e9e5fa3dc69c7b SHA512 0a5180563fd2cf50e26d470e32f07dc523a94218cfe7d519ea5f79d4fef07d91f2e108b10a786e9f7af0e9c98e4178bf3812d795ddaaa9ffbeb8d9f2b34f7aaa DIST autocfg-1.1.0.crate 13272 BLAKE2B 7724055c337d562103f191f4e36cab469e578f0c51cc24d33624dea155d108a07578703766341fd6a4cc1ef52acda406e7dba1650d59115f18261281e5b40203 SHA512 df972c09abbdc0b6cb6bb55b1e29c7fed706ece38a62613d9e275bac46a19574a7f96f0152cccb0239efea04ee90083a146b58b15307696c4c81878cd12de28f DIST bitflags-1.3.2.crate 23021 BLAKE2B eb990bb27b2bdeb66fd7212ce582cb36e1c616debbac85df642d0c82b25439e6bf9b1e811fac76b59e58ea3c1bbea6170d03a61e8f9a395e4334a0e2e2987eda SHA512 3c698f757b5cc62f815f9a1cce365c3d2dd88e4db71f331dff8bba86c2865f755b81cb4c9bfc59bd86b7643b0943f9e09a7c4f8ad75eb2ab0e714803d0129f62 DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff @@ -25,16 +26,19 @@ DIST pyo3-macros-backend-0.20.0.crate 49383 BLAKE2B a239042abdfcf5ad38505b57bc6b DIST quote-1.0.31.crate 27881 BLAKE2B 47c8ac1051f7fa03d002420ade3cb18bf2aedc6ba922d13b117c016ee89c3326bea5cad32ec2f0e5ac1afcce68982f20b3f973914c205e6d6f426487989c6ec4 SHA512 8b2ec131937ce53f3fa01e68fb9261ed6442222e513cbe86f62b6da3cf3051cda0d134dc8028bc6c992fa63735ef3507490a169f8b4af1d6fc17058c6d2faaab DIST redox_syscall-0.3.5.crate 23404 BLAKE2B 85aa4299d9816666bf576f523da5cdeae87b3c8fbb2af103e82258d23f73303c068a4b6c3ef4117ad67958cb31e41f836a9f59f2ce1bc52c23605e34399afcf1 SHA512 16f8f4766932bb54e4740cfdb4f0802f76246c0bf88c1d76c69c115949b124b625d8c3b85d8947073c2e9544f425aa16c10f71fabe3c03d29e424c47fe4ccdde DIST rpds-1.0.1.crate 69049 BLAKE2B 2235344d274d4fef171b430e7500a075d383f2409f22908217a6caf6b6924891893835c3427a01a351d5bfbdda661542446a5db1f5c9bccdb2bc505474443794 SHA512 119527d615f359ddf2681dda05e9bf853a2747db4524559601c4cf5114cfdc00ba734fcd727830787e3f1cb978eb28538e5f9424d968deec95ff3826db18f377 +DIST rpds-1.1.0.crate 69493 BLAKE2B f2d02c758de1abd46ff133965e0491a0276e4a95be5b64b6c83947bf8b3718896781eb96cf96d4abac84aba0c7caaa5e95abf1364ab2ffd65d573d0af212e058 SHA512 b24640e34c2f88ecfff5efb1581941eb02987bb7b342dc439513e8d7c8ee0afa63949f8dee09bf8f445ec6f3b3ec22d2927d3d03be05fee3c651b29c924a6b3e DIST rpds_py-0.10.3.tar.gz 17164 BLAKE2B 5f51ba86fcbf51c690c8d5d59e690d9b6ab6a8ddf8140bc3c6abb888cac3821eaf0b178700395ac9e1c380890200176f9cb347130e5252fd27d815fef774d83b SHA512 967a087bec689274cae7031095355756938b11deb83f40225cfca145143df9c5cf403aef6436623ac7b91317fa816482e0e12558e6373f6f6cfaf8b76d13cab4 DIST rpds_py-0.10.4.tar.gz 16496 BLAKE2B b9e9c67cbd1f49e1f495d9ec455ac07354e54411354bd52cc27da8e971cb366650418019b6389c7e9748f8b6ac018a45496f2694c422d439523ae6ed8f9d8294 SHA512 1c23108f356b5dc687098d1490062fe8a488f0cce397b16e8fe0375251549c4380bae20fdb1be87a1cf70e3463ee98a0394d9673803089f2e7c42152ecd3167f DIST rpds_py-0.10.6.tar.gz 16514 BLAKE2B b3df3d79b22fe102e96b5d56cfac97d30b2de0ce05ecc82227f411aca2ae39aa3c10171e08f850e58c60faac5dd9cfb5f1f0eb0559d8dc3ac18d530b8c6b95d3 SHA512 4e887e57c59372f48b87ec10a810a65d0ff1ba2fc7587cc4f4da78d8394a78a91d84a7a7b8ad810bd1f34f4e73ad706628dbc2bd25662c9e4f83e4183c280ab1 DIST rpds_py-0.12.0.tar.gz 16723 BLAKE2B b4839a0d463a22cbd36956c171afa625b9e3faffc8b63d907268b4b50ee95b4130f8105bb67da46458959d9800c035364f85375e5f038b918595fc53ad551043 SHA512 8495862fb41f3e1272428fa8262e4738b9fe2b85c38e50f5b786ed11ee20a98e28c421c9090dc9d21ee5f1065df0f89d8cffd19cff6f245c17d027b8733d8928 +DIST rpds_py-0.13.0.tar.gz 17004 BLAKE2B 02c813d7d24aca2e2227f25aeeb9083af19c5a98f45674b7c624e927cfee46e6dfde817638e2ebb6696cce755b151a458cd374ab6db755af751c12ced0274ee7 SHA512 8832552e486ed217a84ebfba8c9f09ca1e117acca4206d6936aaa0120b6e2944fdcc4fa10a69350443926169e7a1401fd64163f81db86611122b985e216a5045 DIST scopeguard-1.1.0.crate 11470 BLAKE2B f774eb90b7d3ffb2efba47518e9d1dead4017ab4b38a4bd74914daa84a5af4bf9eb63da0496e3924499d79cd0439c37447aeda4a21226f95645bddcd6becfabe SHA512 368fa5726df8f42b599993681579a9ffd0196480ee3cd0f9f671e8493f3bedd1e1779bdf2beb329e77e0005fa09b816e3385f309490c0f2781568db275d4d17d DIST smallvec-1.11.0.crate 34680 BLAKE2B e54d56f6bbffbfa7ce5fe5f04e325b2e5cf19d290e4be278bc00a136e26284625b9c18c7c2b10b7fb8fad0ea7e3770f3cdbcfbaa913f5ac08d0a2f8b4e0de188 SHA512 41bfbecbc2c244497568a41724d65791ec3fd6d8057813d521367cca316c09c2b28fb3973826236b01c1f5d2f905d8d22b0c3c47f957a9ff5d7685591f15ccd7 DIST static_assertions-1.1.0.crate 18480 BLAKE2B 358dd5ac413d06f62da0388e2016c5fcb8ec68fd7dceb0dbbcb97665c032b7509b7e083c20701648b6a9174485f117c02682ae4bde7ef037e80a85cdf6a0c86e SHA512 46d0e35f77941dee6f60f574c130472248063dc38494c1c4f84f7c048244cc2a58a86fe17c0990e3f0f01406b75ed385a13d00058612b27cf0e867c8d31c92ee DIST syn-1.0.109.crate 237611 BLAKE2B e827445d00c79a8eeb91eacde472f1987addd6ce9e1df95d7abf6446a77ff4173a8006845f3ae71c1da47193cfb72e0ead9a6d6bad2573be12c17e90735d9ad9 SHA512 12816b9e8cf984024b2fbce9f0ae14cf94d4d2c06f08cc54fb793ce78770bb4cc1288eb7df0ba5e8e937756e1e8e295c53fe07a0c5dde1ea8ddba03b6203b37d DIST syn-2.0.32.crate 242504 BLAKE2B 2c2938c0d711c684c9baf95538e2e76220418646590474b2b654d9242d2818aa7c3e5990208fe231ef64903df17edbbf6cc930e6224c964cad4eae5aeaeae781 SHA512 609f125f8138d17b1185760b1a63f3713079f5214fb56c23012229a56d10ac1c12654466c9ad1ecd6b2aff1126d125abfb0a42bd7f669635e5024b962b0cb0af DIST target-lexicon-0.12.9.crate 24532 BLAKE2B 7f09be1827a5f9563b842c38aff659432ec61b66b814ebf4cc8a963daf6c93e7dc453a6966aa02d3a886007506d2b993e16ceb047bd34f6d206de76a39d08dfe SHA512 62033617d4587fb9d4b3159c78dbb628041d7ba6c5849c27a5755f173a7279aa4a03e56d31e03f87adfae50cef49eb6f0bc5eea1f6a131b87c618330d19d61d5 +DIST triomphe-0.1.9.crate 26674 BLAKE2B 5c553d84da71c8a6fd6c65d1c0736864a2e8ad3842878402c7cc6023f88e72b849921d9337d5edf12d9f080b4f4d6e993e2f0f80f36683e51e293f6c26648adc SHA512 9dc43f449352944479dd147ab07f22fb185f713f1b81437ae55363870b0aa86cb9c250e132f16d4f60603f55e3388855a1dac3b80f6012aeea8cbce13cfd6756 DIST unicode-ident-1.0.11.crate 42067 BLAKE2B 3c7cac3d2bf1cbf1cf04716a482f130123e8e6940f7a90a17bc62fca44ac0069688165538f5329b95a72f735b594cfb85e3250738393ffd1b53cb0cd95077d89 SHA512 9682bbee339fb987c9d0bb6a54406d37b28b5c3587372d406402e4341900fec97e3234cd03b5c98b90b6378fd533dc452cac3de90d3ade19c4b09657e4abf6df DIST unindent-0.1.11.crate 7700 BLAKE2B d4d1dde410c4194acb51f74f374cf11fa872e49fad8f5f24b596d72476403e5e312fedf7b0bcb1027384d53c8de565368d63c30eaf70a6e6cd958b82e5288ca3 SHA512 f800d6c37fe72477908c91457a738a73d2b8085bb5ae303d6d954405d6ccd98833b5da16a12c3ad1ab75d32a68dedc706dfaacc0fcbb95571dd829cdc03a356a DIST unindent-0.2.3.crate 7306 BLAKE2B a57407b117e99c230750c7d4a2a0899586c8271e4ba88ecb409c976905c014f42885372c234a75fbfbedf71dbed779f95f735975d150adacdcb61152a49db4c2 SHA512 2f1eb420ea3653b00d3e5fa0c2c105da8fd8a37cb3e699373c168604b799fccd5f0faf0cddce4212d119c2afb0c86b41efc3a50752b83ff7beda2bd84d360505 diff --git a/dev-python/rpds-py/rpds-py-0.13.0.ebuild b/dev-python/rpds-py/rpds-py-0.13.0.ebuild new file mode 100644 index 000000000000..eecf229f538e --- /dev/null +++ b/dev-python/rpds-py/rpds-py-0.13.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +CRATES=" + archery@1.1.0 + autocfg@1.1.0 + bitflags@1.3.2 + cfg-if@1.0.0 + heck@0.4.1 + indoc@2.0.4 + libc@0.2.147 + lock_api@0.4.10 + memoffset@0.9.0 + once_cell@1.18.0 + parking_lot@0.12.1 + parking_lot_core@0.9.8 + proc-macro2@1.0.66 + pyo3-build-config@0.20.0 + pyo3-ffi@0.20.0 + pyo3-macros-backend@0.20.0 + pyo3-macros@0.20.0 + pyo3@0.20.0 + quote@1.0.31 + redox_syscall@0.3.5 + rpds@1.1.0 + scopeguard@1.1.0 + smallvec@1.11.0 + static_assertions@1.1.0 + syn@2.0.32 + target-lexicon@0.12.9 + triomphe@0.1.9 + unicode-ident@1.0.11 + unindent@0.2.3 + windows-targets@0.48.1 + windows_aarch64_gnullvm@0.48.0 + windows_aarch64_msvc@0.48.0 + windows_i686_gnu@0.48.0 + windows_i686_msvc@0.48.0 + windows_x86_64_gnu@0.48.0 + windows_x86_64_gnullvm@0.48.0 + windows_x86_64_msvc@0.48.0 +" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Python bindings to Rust's persistent data structures (rpds)" +HOMEPAGE=" + https://github.com/crate-py/rpds/ + https://pypi.org/project/rpds-py/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT MPL-2.0 Unicode-DFS-2016" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/rpds/rpds.*.so" + +distutils_enable_tests pytest diff --git a/dev-python/selenium/selenium-4.15.2.ebuild b/dev-python/selenium/selenium-4.15.2.ebuild index 3f244a395e40..e752b880c2a5 100644 --- a/dev-python/selenium/selenium-4.15.2.ebuild +++ b/dev-python/selenium/selenium-4.15.2.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest index fd0510ee1055..2960c4648157 100644 --- a/dev-python/sqlglot/Manifest +++ b/dev-python/sqlglot/Manifest @@ -1,2 +1,3 @@ DIST sqlglot-19.4.0.tar.gz 9056050 BLAKE2B 23d5a9bdd7bfa27128e624406f52488e90ec475c355fde6e5e7ac77bee5ae84dd1abeb2c87896f3fbc418dbe0b818e66f1d76b7e24514315e194b6bd58677203 SHA512 f0f6f4d4eca3d97ac9cd200e6a5e8df5a2c2b9e6d84dd87f19ab29b1af0c6cb55c62e28c9c7faa34425a6cfb0583b02d387b7cd744fec40419927016cd05d51e DIST sqlglot-19.5.0.tar.gz 9060496 BLAKE2B 190c4b507e3c630a46a493f72698f48749fc4f0e6444a2ee61499d35a5f56563b402e8947531b20c100df8ffc3af86cc45b8e1e11e7b467ec3bcd6261b880619 SHA512 3e3cbf7c9bac33b9dc0ad26021a78d534cb6ac61aae6d96c5f652938fd4efb5eca52854ca7ef02fa9ec6a989a6c80eaab31b210c932cb286b2ea8e4aace7fcf9 +DIST sqlglot-19.5.1.tar.gz 9062537 BLAKE2B dece9479e8333cf90481e7f72bfd58c0d36506b4e1bc1282b4e2c677ccfd24da7e04a6eddf1ecca16ccc83e8079b61eef8cabe3a6ef6a2b96df56c1a5b3e89a7 SHA512 eaf6090a001c162612503714d47225f1fdb5f0d19974e93bb76f87aa4e101fec5ed0045c4f74f2e55b58368170b449eabbd87569f16fc3ea73a14df909b007c4 diff --git a/dev-python/sqlglot/sqlglot-19.5.1.ebuild b/dev-python/sqlglot/sqlglot-19.5.1.ebuild new file mode 100644 index 000000000000..ac53f7b0ad7d --- /dev/null +++ b/dev-python/sqlglot/sqlglot-19.5.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi optfeature + +DESCRIPTION="An easily customizable SQL parser and transpiler" +HOMEPAGE=" + https://sqlglot.com/ + https://github.com/tobymao/sqlglot/ + https://pypi.org/project/sqlglot/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +EPYTEST_IGNORE=( + # Tests require pyspark or duckdb which aren't in the tree. + # Pandas would be a requirement normally, but it gets ignored by proxy. + "tests/dataframe/integration/test_dataframe.py" + "tests/dataframe/integration/test_grouped_data.py" + "tests/dataframe/integration/test_session.py" + "tests/test_executor.py" + "tests/test_optimizer.py" +) + +distutils_enable_tests pytest + +pkg_postinst() { + optfeature "simplifying timedelta expressions" dev-python/python-dateutil +} diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest index 226bda6a556a..7ede9ba7de6b 100644 --- a/dev-python/stripe/Manifest +++ b/dev-python/stripe/Manifest @@ -4,3 +4,4 @@ DIST stripe-7.1.0.tar.gz 737411 BLAKE2B 9db3d016e0a4180b377b9a7e4251f622ff62f2fd DIST stripe-7.2.0.tar.gz 738081 BLAKE2B 9d46139f989b9c5d50989ab21bc4c4d2f825b1bbba08d23e1826646c30beb1e8f04385fda200921cb08f0af4146e64f26e0f880cd1ac1d83404b4c743f62b07d SHA512 93aa2762b41c0d2e277a50609c58c7e7f7aedc2c000bb6951d252279bd1568bd4a459769d631b0473f1d7b6f82f50adbf53781c5d9126124426ba7a287638860 DIST stripe-7.3.0.tar.gz 745559 BLAKE2B 01bb0f1eda5cf844331d5883f7224c11bc7f90b0e179ba4df31bec88d35988031968209322022802e3c7cbad15314ab48ae185acd6485def5a2280cc391373cb SHA512 a80af0fd3e49819bef9d8796ef817b0d58105f7a91b160beb4ff7a30ea9aac1590d5ff05fca5334b9da1dd125a4500e5cb32afbe990a8d15463d913a967e78e5 DIST stripe-7.4.0.tar.gz 743353 BLAKE2B 30246bf8c5c922fe1ab906757fef064d4f6eea6989825e1ddabc1ad3fad95cd486bcaa3be860045c29daa2f3c84f65a01e275c919da286d8f0d81cfa3aa512b8 SHA512 9e67fbfdd4fc65ad72a56bc841316e803eca031307a3ced4ba5773773a9920fd1d2e11cb7de6e6da4b2aae78611e198d999d85a5df65d3d7a43af195a47a84c7 +DIST stripe-7.5.0.tar.gz 735899 BLAKE2B e3b58f5e949cdea3f177cf87c82d15f1bd8a9fe3bbd8a07dd4f25d06e555d3e4f2cfd7f03d810ac80cefa70d5e4cbf77da6c3b77d091955530c9d18aedea7d34 SHA512 34d1a6e7cfc826c2f48321e07fed81fe8fdf19d4865f7bc657c81e170f55c8685331b550596b31fd20d69e130a9547539507fd22a772ac15a09d14492120e2f9 diff --git a/dev-python/stripe/stripe-7.5.0.ebuild b/dev-python/stripe/stripe-7.5.0.ebuild new file mode 100644 index 000000000000..1dc3640dd93a --- /dev/null +++ b/dev-python/stripe/stripe-7.5.0.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Stripe python bindings" +HOMEPAGE=" + https://github.com/stripe/stripe-python/ + https://pypi.org/project/stripe/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/requests-2.20[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}] +" +# please bump dev-util/stripe-mock dep to the latest version on every bump +BDEPEND=" + test? ( + >=dev-util/stripe-mock-0.177.0 + dev-python/pytest-mock[${PYTHON_USEDEP}] + net-misc/curl + ) +" + +distutils_enable_tests pytest + +DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md ) + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests -p pytest_mock +} + +src_test() { + local stripe_mock_port=12111 + local stripe_mock_max_port=12121 + local stripe_mock_logfile="${T}/stripe_mock_${EPYTHON}.log" + # Try to start stripe-mock until we find a free port + while [[ ${stripe_mock_port} -le ${stripe_mock_max_port} ]]; do + ebegin "Trying to start stripe-mock on port ${stripe_mock_port}" + stripe-mock --http-port "${stripe_mock_port}" &> "${stripe_mock_logfile}" & + local stripe_mock_pid=${!} + sleep 2 + # Did stripe-mock start? + curl --fail -u "sk_test_123:" \ + "http://127.0.0.1:${stripe_mock_port}/v1/customers" &> /dev/null + eend ${?} "Port ${stripe_mock_port} unavailable" + if [[ ${?} -eq 0 ]]; then + einfo "stripe-mock running on port ${stripe_mock_port}" + break + fi + (( stripe_mock_port++ )) + done + if [[ ${stripe_mock_port} -gt ${stripe_mock_max_port} ]]; then + eerror "Unable to start stripe-mock for tests" + die "Please see the logfile located at: ${stripe_mock_logfile}" + fi + + local -x STRIPE_MOCK_PORT=${stripe_mock_port} + distutils-r1_src_test + + # Tear down stripe-mock + kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock" +} diff --git a/dev-python/sympy/files/sympy-1.12-py312.patch b/dev-python/sympy/files/sympy-1.12-py312.patch new file mode 100644 index 000000000000..13501c3fb34d --- /dev/null +++ b/dev-python/sympy/files/sympy-1.12-py312.patch @@ -0,0 +1,42 @@ +From 8a2c3c4de266f49312eda4c91dcdf5d5464717e8 Mon Sep 17 00:00:00 2001 +From: Pablo Galindo <pablogsal@gmail.com> +Date: Fri, 9 Jun 2023 11:22:20 +0100 +Subject: [PATCH] Fix factorial parsing for Python 3.12 + +Signed-off-by: Pablo Galindo <pablogsal@gmail.com> +--- + .mailmap | 1 + + sympy/parsing/sympy_parser.py | 5 ++++- + 2 files changed, 5 insertions(+), 1 deletion(-) + +diff --git a/.mailmap b/.mailmap +index fe496637dd..8a9de2d99d 100644 +--- a/.mailmap ++++ b/.mailmap +@@ -1496,6 +1496,7 @@ naelsondouglas <naelson17@gmail.com> + noam simcha finkelstein <noam.finkelstein@protonmail.com> + numbermaniac <5206120+numbermaniac@users.noreply.github.com> + oittaa <8972248+oittaa@users.noreply.github.com> ++pablogsal <pablogsal@gmail.com> + pekochun <hamburg_hamburger2000@yahoo.co.jp> + prshnt19 <prashant.rawat216@gmail.com> + rahuldan <rahul02013@gmail.com> +diff --git a/sympy/parsing/sympy_parser.py b/sympy/parsing/sympy_parser.py +index 5935f4baf2..862679e644 100644 +--- a/sympy/parsing/sympy_parser.py ++++ b/sympy/parsing/sympy_parser.py +@@ -627,7 +627,10 @@ def factorial_notation(tokens: List[TOKEN], local_dict: DICT, global_dict: DICT) + result: List[TOKEN] = [] + nfactorial = 0 + for toknum, tokval in tokens: +- if toknum == ERRORTOKEN: ++ if toknum == OP and tokval == "!": ++ # In Python 3.12 "!" are OP instead of ERRORTOKEN ++ nfactorial += 1 ++ elif toknum == ERRORTOKEN: + op = tokval + if op == '!': + nfactorial += 1 +-- +2.42.1 + diff --git a/dev-python/sympy/sympy-1.12.ebuild b/dev-python/sympy/sympy-1.12.ebuild index 53f4c72f5074..f24e239115f8 100644 --- a/dev-python/sympy/sympy-1.12.ebuild +++ b/dev-python/sympy/sympy-1.12.ebuild @@ -22,7 +22,7 @@ S="${WORKDIR}/${PN}-${P}" LICENSE="BSD" SLOT="0" KEYWORDS="amd64 ~arm ~arm64 ~loong ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="aesara examples imaging ipython latex mathml opengl pdf png pyglet symengine test texmacs" +IUSE="aesara examples imaging ipython latex mathml opengl pdf png pyglet symengine texmacs" RDEPEND=" dev-python/mpmath[${PYTHON_USEDEP}] @@ -47,14 +47,40 @@ RDEPEND=" texmacs? ( app-office/texmacs ) " +EPYTEST_XDIST=1 distutils_enable_tests pytest +PATCHES=( + "${FILESDIR}/${P}-py312.patch" +) + src_test() { virtx distutils-r1_src_test } python_test() { - esetup.py test + local EPYTEST_DESELECT=( + # require old version of antlr4 + sympy/parsing/tests/test_autolev.py + sympy/parsing/tests/test_latex.py + # crash due to assertions in sys-devel/llvm[debug] + sympy/parsing/tests/test_c_parser.py + + # TODO: pytest? + sympy/solvers/ode/tests/test_systems.py::test_linear_3eq_order1_type4_long_check + sympy/solvers/ode/tests/test_systems.py::test_linear_3eq_order1_type4_long_dsolve_dotprodsimp + + # either very slow or hanging + sympy/solvers/ode/tests/test_systems.py::test_linear_new_order1_type2_de_lorentz_slow_check + sympy/integrals/tests/test_failing_integrals.py::test_issue_15227 + sympy/matrices/tests/test_matrices.py::test_pinv_rank_deficient_when_diagonalization_fails + sympy/solvers/ode/tests/test_systems.py::test_nonlinear_3eq_order1_type1 + sympy/solvers/ode/tests/test_systems.py::test_nonlinear_3eq_order1_type3 + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + nonfatal epytest --veryquickcheck || + die -n "Tests failed with ${EPYTHON}" } python_install_all() { diff --git a/dev-python/text-unidecode/text-unidecode-1.3-r1.ebuild b/dev-python/text-unidecode/text-unidecode-1.3-r1.ebuild index 8e88ca648498..1c308c10f0f1 100644 --- a/dev-python/text-unidecode/text-unidecode-1.3-r1.ebuild +++ b/dev-python/text-unidecode/text-unidecode-1.3-r1.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/textdistance/textdistance-4.6.0.ebuild b/dev-python/textdistance/textdistance-4.6.0.ebuild index 7ebc00b872ab..5e4edd65152c 100644 --- a/dev-python/textdistance/textdistance-4.6.0.ebuild +++ b/dev-python/textdistance/textdistance-4.6.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) inherit distutils-r1 diff --git a/dev-python/three-merge/three-merge-0.1.1-r1.ebuild b/dev-python/three-merge/three-merge-0.1.1-r1.ebuild index 172759ceeaeb..1d663399f239 100644 --- a/dev-python/three-merge/three-merge-0.1.1-r1.ebuild +++ b/dev-python/three-merge/three-merge-0.1.1-r1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) inherit distutils-r1 diff --git a/dev-python/tldextract/Manifest b/dev-python/tldextract/Manifest index e870c44445c8..43a5e6818d4b 100644 --- a/dev-python/tldextract/Manifest +++ b/dev-python/tldextract/Manifest @@ -1,2 +1,3 @@ DIST tldextract-5.0.1.tar.gz 111023 BLAKE2B 854addd19c15fd0c246d449d3373649a7ef0d30f1501312b802867d3789d5c95d5e36390d570fc83e37ef73074c4514215e9cdadefa6831f8075139afdb1523b SHA512 3fe148e2893b09dcdc7e1f16b39d6da5a1ca3cc33ca6b5a473d3479e177de451522773211e6cd2335a6864506b85e06b3f4ce7fdd7dce3f541f099d7da975b78 DIST tldextract-5.1.0.tar.gz 112124 BLAKE2B 189401489665c4669584b409e11a0ad6809af66875efde8f4809ed4bb1edc19400b8edc0c31df43bf5fbc5a41558001654ee781cf6faa10f8a2dc96fb9c699a9 SHA512 c05c0c14d41e17628e12ec5db39561894c5fde487c4edcfbdba9187e5126f4d91a3c0fe8f856c1da3f98dcb76b231b6ce61425fba5e95a3b16a858b830cf3612 +DIST tldextract-5.1.1.tar.gz 112645 BLAKE2B 3d4550f60c37769985f5e52ddcd8d93881759631a8a49c4588eee533da695d26c8b31294dd2b4f2456a14efe2a5af8e9573df18ab7eb54fe21a3c082c0615e59 SHA512 805266da1d66e9a8c43edc02014835abf691ab5b25262c63815a2e5b4d41c4e68944aafd35aad6abce650c762284e3a4281716c2d30c0e2d2c2ecccbb0139df9 diff --git a/dev-python/tldextract/tldextract-5.1.1.ebuild b/dev-python/tldextract/tldextract-5.1.1.ebuild new file mode 100644 index 000000000000..f6b55373a265 --- /dev/null +++ b/dev-python/tldextract/tldextract-5.1.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Accurately separate the TLD from the registered domain and subdomains of a URL" +HOMEPAGE=" + https://github.com/john-kurkowski/tldextract/ + https://pypi.org/project/tldextract/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~loong ~x86" + +RDEPEND=" + >=dev-python/filelock-3.0.8[${PYTHON_USEDEP}] + dev-python/idna[${PYTHON_USEDEP}] + >=dev-python/requests-2.1.0[${PYTHON_USEDEP}] + >=dev-python/requests-file-1.4[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/validators/validators-0.22.0.ebuild b/dev-python/validators/validators-0.22.0.ebuild index 43ba5f3df376..24cab1c50db3 100644 --- a/dev-python/validators/validators-0.22.0.ebuild +++ b/dev-python/validators/validators-0.22.0.ebuild @@ -16,6 +16,6 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~s390 ~sparc x86" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" distutils_enable_tests pytest diff --git a/dev-python/voluptuous/Manifest b/dev-python/voluptuous/Manifest index 8dc7ba01c792..bb883b49c513 100644 --- a/dev-python/voluptuous/Manifest +++ b/dev-python/voluptuous/Manifest @@ -1,2 +1,3 @@ DIST voluptuous-0.13.1.gh.tar.gz 42466 BLAKE2B ee66abe131d5ed6f49fb6ecc0227c6108617cadc694132826c88abf33b83538db1c97d38451983d2fb1191d5e7066491194fb01399e920b21a9e75d54df2d3fa SHA512 874960bdd3fce213e46f8017fbc56ede02133de6f8cb439d810db38ca06d9c5fcf5496150ef4c73fd19d9e06489ba08a510fd96aa16b8825564a52fd01cc3f4f DIST voluptuous-0.14.0.gh.tar.gz 42928 BLAKE2B 86a445d58e6395d81e522d6f54766a43893256876b2ad675810aea5f03ed6847b09b84b5bcee8d99a661ee139da1067b6d06acb852bbfdfb7662e6e1fc7915b8 SHA512 c5acbcdd05a930438c75081cbe9b4c29fdf82849ad4af02041efd4ab0f9f200fcb1554d6868f548de9f466e825e7daf59d5a0db928a16ff713e1c9004bf833b0 +DIST voluptuous-0.14.1.gh.tar.gz 42345 BLAKE2B 86866944bc391cabe7ac6c8cc00cc80d09a9d8890bab7c91f057d297b75554058da646e370cbaa9efe8d6707705c3f144af268d3d5cd6a15ac4568cac8bf146c SHA512 20d8c242b36e71c4eec7d0d7b638596b4f3762c30f8f1e0a4c0b38a4463f0a4c51279168be35a2e11d4e75428487d447e52218cccc78b61e5bab4ae0c5457120 diff --git a/dev-python/voluptuous/voluptuous-0.14.1.ebuild b/dev-python/voluptuous/voluptuous-0.14.1.ebuild new file mode 100644 index 000000000000..64fe6568f515 --- /dev/null +++ b/dev-python/voluptuous/voluptuous-0.14.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +DESCRIPTION="A Python data validation library" +HOMEPAGE=" + https://github.com/alecthomas/voluptuous/ + https://pypi.org/project/voluptuous/ +" +SRC_URI=" + https://github.com/alecthomas/voluptuous/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +distutils_enable_tests pytest diff --git a/dev-python/wurlitzer/wurlitzer-3.0.3.ebuild b/dev-python/wurlitzer/wurlitzer-3.0.3.ebuild index 1f704dfdd79e..a5bcb2a8d9b8 100644 --- a/dev-python/wurlitzer/wurlitzer-3.0.3.ebuild +++ b/dev-python/wurlitzer/wurlitzer-3.0.3.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/yapf/yapf-0.40.2.ebuild b/dev-python/yapf/yapf-0.40.2.ebuild index 61874a571ce1..f55236472bcd 100644 --- a/dev-python/yapf/yapf-0.40.2.ebuild +++ b/dev-python/yapf/yapf-0.40.2.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) inherit distutils-r1 |
