diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-10-30 13:00:12 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-10-30 13:00:12 +0000 |
| commit | a4ebfd8ab14816f6c534976d3f896a26ab2958f9 (patch) | |
| tree | eaf6d313927530dc27f9b7a2cbf2fbdf27bd9e92 /dev-python | |
| parent | de921b66a76926cd6728ffa346b4d69a3db38987 (diff) | |
| download | baldeagleos-repo-a4ebfd8ab14816f6c534976d3f896a26ab2958f9.tar.gz baldeagleos-repo-a4ebfd8ab14816f6c534976d3f896a26ab2958f9.tar.xz baldeagleos-repo-a4ebfd8ab14816f6c534976d3f896a26ab2958f9.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
43 files changed, 735 insertions, 222 deletions
diff --git a/dev-python/Levenshtein/Levenshtein-0.20.5-r1.ebuild b/dev-python/Levenshtein/Levenshtein-0.20.5-r1.ebuild deleted file mode 100644 index c6536a889e72..000000000000 --- a/dev-python/Levenshtein/Levenshtein-0.20.5-r1.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# custom wrapper over setuptools -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="Functions for fast computation of Levenshtein distance, and edit operations" -HOMEPAGE=" - https://pypi.org/project/Levenshtein/ - https://github.com/maxbachmann/Levenshtein/ -" -SRC_URI=" - https://github.com/maxbachmann/Levenshtein/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~riscv" - -DEPEND=" - >=dev-cpp/rapidfuzz-cpp-1.7.0 -" -RDEPEND=" - <dev-python/rapidfuzz-3.0.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - >=dev-python/scikit-build-0.13.0[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -src_prepare() { - # sterilize build flags - sed -i -e '/CMAKE_INTERPROCEDURAL_OPTIMIZATION/d' CMakeLists.txt || die - - distutils-r1_src_prepare -} diff --git a/dev-python/Levenshtein/Levenshtein-0.20.6.ebuild b/dev-python/Levenshtein/Levenshtein-0.20.6.ebuild deleted file mode 100644 index c6536a889e72..000000000000 --- a/dev-python/Levenshtein/Levenshtein-0.20.6.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# custom wrapper over setuptools -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="Functions for fast computation of Levenshtein distance, and edit operations" -HOMEPAGE=" - https://pypi.org/project/Levenshtein/ - https://github.com/maxbachmann/Levenshtein/ -" -SRC_URI=" - https://github.com/maxbachmann/Levenshtein/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~riscv" - -DEPEND=" - >=dev-cpp/rapidfuzz-cpp-1.7.0 -" -RDEPEND=" - <dev-python/rapidfuzz-3.0.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - >=dev-python/scikit-build-0.13.0[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -src_prepare() { - # sterilize build flags - sed -i -e '/CMAKE_INTERPROCEDURAL_OPTIMIZATION/d' CMakeLists.txt || die - - distutils-r1_src_prepare -} diff --git a/dev-python/Levenshtein/Levenshtein-0.20.7.ebuild b/dev-python/Levenshtein/Levenshtein-0.20.7.ebuild deleted file mode 100644 index c6536a889e72..000000000000 --- a/dev-python/Levenshtein/Levenshtein-0.20.7.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# custom wrapper over setuptools -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="Functions for fast computation of Levenshtein distance, and edit operations" -HOMEPAGE=" - https://pypi.org/project/Levenshtein/ - https://github.com/maxbachmann/Levenshtein/ -" -SRC_URI=" - https://github.com/maxbachmann/Levenshtein/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~riscv" - -DEPEND=" - >=dev-cpp/rapidfuzz-cpp-1.7.0 -" -RDEPEND=" - <dev-python/rapidfuzz-3.0.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - >=dev-python/scikit-build-0.13.0[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -src_prepare() { - # sterilize build flags - sed -i -e '/CMAKE_INTERPROCEDURAL_OPTIMIZATION/d' CMakeLists.txt || die - - distutils-r1_src_prepare -} diff --git a/dev-python/Levenshtein/Manifest b/dev-python/Levenshtein/Manifest index 39dd20566a81..499ea375e802 100644 --- a/dev-python/Levenshtein/Manifest +++ b/dev-python/Levenshtein/Manifest @@ -1,5 +1,2 @@ -DIST Levenshtein-0.20.5.gh.tar.gz 35126 BLAKE2B b1322abdca5a4cd372bce74ce3f1d5e9f671783797830f0527282284fb1296be6ae9ef3fc68fe1f6867d1b1e9069c1c0c60106bd64f966f1333d087b52a9fe02 SHA512 d3afd384023537de5918e011e16395c7dc69ba61c4823eb64e938810dbf49cbf5379589a4cc13e7dd49f8a2e683498d3768717e52678ee01fb8d1dd55c304307 -DIST Levenshtein-0.20.6.gh.tar.gz 36525 BLAKE2B d0b26f4aec5a985c04c0366c7d36633f172ce0efdb73f75a863cd306403d2d721acff7b2a460a74d19efacb0fd01f3973b93cc6d59695b576f8b11e79752b31e SHA512 4e2d6d7f59e8e2190029d9f5f49ed8407997935076233b79a7c81470a84446851e14f5edbbb42d48a85dbdf0116b40186d896f172f2d740f769a7e7cb9350e7f -DIST Levenshtein-0.20.7.gh.tar.gz 36561 BLAKE2B dceaab4c16e386c685707edeea766701234c07e4bc1216d801ba7f5e92751126b976f8918b31d48ae928750e8d20102245e40161446b78e91ff74a285edaf12a SHA512 bca69e91e056b4b86340860f4c4e91af291f535d38a756c9a4f9a377024c0491724b972fa5b014da1ad563333cb9b797c9d05359185fc0aecc9fc018fe5d258e DIST Levenshtein-0.20.8.gh.tar.gz 36607 BLAKE2B 8c35c47768a21651c7922151f9a4ba24782106fee1cc2eada2b81924b3e340aa929ec8b9944a7ea9cfaf8934da49cc377849e599fedebb6187afdfd486e8b9f4 SHA512 3a248b5d1a18c8afeffaa637c831b07266dd36a094b713c18b7182a49de7df9a3b7316d00e9329e2ae49f92c601e32a61590338e30a7e4f33ffe0d76c6219061 DIST python-Levenshtein-0.12.2.tar.gz 50502 BLAKE2B d8992d30639e36aac1b85fada8f5273ed867aa3019208ffeb9972e999dad783d4ee16e1f6988c9306eb80f622b61fcf3a0a937b380c7a5acf50223268ed8de1d SHA512 97eac9d19121758af7620ad3963846e48434ceabb5376a83f28452015adf1a620620bfb53edb1c4f60b0fc8ec2b0faf35a105d7e2a0fc5df7a45fce81ba0dcdb diff --git a/dev-python/aiohttp/aiohttp-3.8.3.ebuild b/dev-python/aiohttp/aiohttp-3.8.3-r1.ebuild index b1dbdea45865..642dab1b5b36 100644 --- a/dev-python/aiohttp/aiohttp-3.8.3.ebuild +++ b/dev-python/aiohttp/aiohttp-3.8.3-r1.ebuild @@ -69,6 +69,9 @@ src_prepare() { # which(1)... sed -i -e 's:which:command -v:' Makefile || die + # remove upper bound from charset-normalizer + sed -i -e '/charset-normalizer/s:, < 3\.0::' setup.cfg || die + distutils-r1_src_prepare } diff --git a/dev-python/asttokens/Manifest b/dev-python/asttokens/Manifest index 04edd4ac6ce2..c25b8ebb726a 100644 --- a/dev-python/asttokens/Manifest +++ b/dev-python/asttokens/Manifest @@ -1 +1,2 @@ DIST asttokens-2.0.8.gh.tar.gz 50804 BLAKE2B 31b5fcf6c8c201279924da9297f16a1de087fe98e930dde341b54b29a54a23a462d44e1b2cc1c4695e7829b0dbb86c5a275ffac7c8430c191fd268026306c912 SHA512 e920aa50ba7f073f198182c053729e43c7cf3812a925cead258708ba88b82f6a7a32499810e67f346db79579607c07f211d924dc9e33b8bfdf44e5c9f171d53c +DIST asttokens-2.1.0.gh.tar.gz 55584 BLAKE2B eb2a73a47fcbfe1b75e0058f7fcc650ebc3cac00e1f816d2b5b7d02b75aaa07445de854c624e3564455036e2d973bc841e9ad3c18232d88b9091cfc3a2f95c71 SHA512 f89fe2ef700c3c07f48a87e39805792d00abc1050e619a987b863f4befc186505749bde956a95eaf152c4d69e087e32f8fa997cfa5527bbeb87e0143da89a662 diff --git a/dev-python/asttokens/asttokens-2.1.0.ebuild b/dev-python/asttokens/asttokens-2.1.0.ebuild new file mode 100644 index 000000000000..b4f51f2efde5 --- /dev/null +++ b/dev-python/asttokens/asttokens-2.1.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Annotate Python AST trees with source text and token information" +HOMEPAGE=" + https://github.com/gristlabs/asttokens/ + https://pypi.org/project/asttokens/ +" +SRC_URI=" + https://github.com/gristlabs/asttokens/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/astroid[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # test suite itself broken with new astroid versions, upstream less care + # https://github.com/gristlabs/asttokens/issues/79 + tests/test_astroid.py +) + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/automat/Manifest b/dev-python/automat/Manifest index ea4495e7655a..9420d3191849 100644 --- a/dev-python/automat/Manifest +++ b/dev-python/automat/Manifest @@ -1 +1,2 @@ DIST Automat-20.2.0.tar.gz 61679 BLAKE2B 9dfb93a0bf0a348d8f7de0796b3e5715947eb84cc0aa507a453f438d2027ae877280ed6d7896192cee46f31c7d1c0eb6cb3dee36e1f13a315071513920c5b6d0 SHA512 715cb5dc087288492e6465a29e7d8502a84fadf451bc3d29da86335ea1c20f8efd9549f0c1eaac8800559dd8001dd73736c3bfacdc6321c83a35d2288d69632c +DIST Automat-22.10.0.tar.gz 59099 BLAKE2B 509e64b1312f87f09a60243a00b832c8b3da4b09ef75151e82c8c406faabd24a56378baade87bd98685fa22922d1892ec20d81579eaf13e0315af68bb7909ac4 SHA512 5819cfe0687bf391949891562f3657f449cf9a8e8ea90c1537e89509dc618da1160856f92ab52dc450e0a7d51d0e4644bfe2db3d4108126a42ee1bea2f06bb7a diff --git a/dev-python/automat/automat-22.10.0.ebuild b/dev-python/automat/automat-22.10.0.ebuild new file mode 100644 index 000000000000..3bc3e6dda2d5 --- /dev/null +++ b/dev-python/automat/automat-22.10.0.ebuild @@ -0,0 +1,52 @@ +# 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_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 + +MY_P=${P^} +DESCRIPTION="Self-service finite-state machines for the programmer on the go" +HOMEPAGE=" + https://github.com/glyph/automat/ + https://pypi.org/project/Automat/ +" +SRC_URI="mirror://pypi/${MY_P::1}/${PN^}/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="examples" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + benchmark +) + +python_install_all() { + if use examples; then + docinto examples + dodoc docs/examples/*.py + fi + + distutils-r1_python_install_all +} + +pkg_postinst() { + einfo "For additional visualization functionality install both these optional dependencies" + einfo " >=dev-python/twisted-16.1.1" + einfo " media-gfx/graphviz[python]" +} diff --git a/dev-python/dulwich/Manifest b/dev-python/dulwich/Manifest index 55fa46047cca..ee7d775e744c 100644 --- a/dev-python/dulwich/Manifest +++ b/dev-python/dulwich/Manifest @@ -1 +1,2 @@ DIST dulwich-0.20.46.tar.gz 426530 BLAKE2B 702564597a0367f454a396e4917d4fcd8b963d1847ddef688dccc7d7501f0073ae9a0ab422f31b8b0648210dafa953744ccf496b41fc75c7bea5090d75bf142c SHA512 4cc86afe90139d813d11ac2a8b96e84ca60ea28baab83a2af8da9a7cef2f3cdac647af858f5fc3806ae741a0b4fcf592d94f228adf8ab7b5b600be41f6acc356 +DIST dulwich-0.20.50.tar.gz 430389 BLAKE2B 1ea86fe00fa560311bdcff8c51904982a506fa670efb503f9103c5fb25036a792a87583fdf6435a6a6ec7bd6aaa2277c621359e1d99f55450c247fdc4be74e51 SHA512 506cc76f7deb8247b910fa4971e28eeda6ddd34703ac3c7a2f3b6525e6a9229bbec527b1965bebf7aa3da17b5adbd146916f247acacf9caf86d2494e60cc8626 diff --git a/dev-python/dulwich/dulwich-0.20.50.ebuild b/dev-python/dulwich/dulwich-0.20.50.ebuild new file mode 100644 index 000000000000..62f2991f7f0c --- /dev/null +++ b/dev-python/dulwich/dulwich-0.20.50.ebuild @@ -0,0 +1,59 @@ +# 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_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Pure-Python implementation of the Git file formats and protocols" +HOMEPAGE=" + https://github.com/jelmer/dulwich/ + https://pypi.org/project/dulwich/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-2+ Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc examples test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/certifi[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + !hppa? ( !ia64? ( !s390? ( + dev-python/gevent[${PYTHON_USEDEP}] + dev-python/geventhttpclient[${PYTHON_USEDEP}] + ) ) ) + app-crypt/gpgme[python,${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/fastimport[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs + +python_test() { + # remove interference from the tests that do stuff like user.name + unset GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL GIT_AUTHOR_DATE \ + GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL GIT_COMMITTER_DATE EMAIL + # Do not use make check which rebuilds the extension and uses -Werror, + # causing unexpected failures. + "${EPYTHON}" -m unittest -v dulwich.tests.test_suite || + die "tests failed with ${EPYTHON}" +} + +python_install_all() { + if use examples; then + docompress -x "/usr/share/doc/${PF}/examples" + dodoc -r examples + fi + distutils-r1_python_install_all +} diff --git a/dev-python/executing/Manifest b/dev-python/executing/Manifest index 59a6da2d2930..bdc4306118ad 100644 --- a/dev-python/executing/Manifest +++ b/dev-python/executing/Manifest @@ -2,3 +2,4 @@ DIST executing-0.10.0.gh.tar.gz 507523 BLAKE2B 5ab17adb1d40b83b0cf294aba350faf12 DIST executing-1.0.0.gh.tar.gz 507720 BLAKE2B 601ddbd4c7dacd6b72317e9f07d8b8566d14b1c805bb7a2768449d51bf75818945f3b61b67dd0402d1d6171bd74165107ef98e835910529d82b8858bd016ac6d SHA512 912cea61ddb2ef12034432d68fa7239daad3c6365dbcbed72f08121b9fdc07e614b5c2233c53f5f7ee3472fca4f690af3db0944a0ed2c83623de8d682cff0a61 DIST executing-1.1.0.gh.tar.gz 782214 BLAKE2B 56c97b1c0b6617db90a90f562409b406d0838e187fed4e45642506df85ae5e54824a393eb38982902bdb1c67fda2299bac282a5b260f3537cd06145b1c5b992e SHA512 090705c90051fdbf53310293fbb2e06bd2c2144cf83d3d02528768303c70871bd8b3a3d236705e29f8a9fc3132ca94bcb3375fe8834529a684b10b7c879faff0 DIST executing-1.1.1.gh.tar.gz 661228 BLAKE2B 66ba8509a82d7c7354d70747d08e160423314718a2c1844260104eff474d39a244f880984e2388997f5620905a2f3fd90fcfa393f48e98cd5990e01a053012d6 SHA512 2b2277aa68d1abf2f1bbbf9010f7a27652f74e892e564a3c6269ea1110208b4c2fbf6a002b90423f5e9aa718cf698f996d21930b431241cf88012f20d244eeae +DIST executing-1.2.0.gh.tar.gz 663650 BLAKE2B ba9420bfcf3805223e6b7e84d65499f3a73ef3156480586d2c5ffde4e438fcf8474f4f02c123953d04ee253de7a6a3a1b2587e57fcae546f3dae7af70a1aaa98 SHA512 c841958cc499b2d78c94570bf0556933d4a58ca5541f7a59e591be6036926ab79d5ae86bb95bbf649f3c3fb729109fe50cf04fbc72692e0cfe12edaa995ea0a6 diff --git a/dev-python/executing/executing-1.2.0.ebuild b/dev-python/executing/executing-1.2.0.ebuild new file mode 100644 index 000000000000..2fd24ad21f6d --- /dev/null +++ b/dev-python/executing/executing-1.2.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Get information about what a Python frame is currently doing" +HOMEPAGE=" + https://github.com/alexmojaki/executing/ + https://pypi.org/project/executing/ +" +SRC_URI=" + https://github.com/alexmojaki/executing/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/asttokens[${PYTHON_USEDEP}] + dev-python/littleutils[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + # this test explodes when collected by pytest + "${EPYTHON}" tests/test_main.py || die "Tests failed with ${EPYTHON}" + epytest tests/test_pytest.py +} + +pkg_postinst() { + optfeature "getting node's source code" dev-python/asttokens +} diff --git a/dev-python/httplib2/Manifest b/dev-python/httplib2/Manifest index f8ca93a5252a..53137697b639 100644 --- a/dev-python/httplib2/Manifest +++ b/dev-python/httplib2/Manifest @@ -1 +1,2 @@ DIST httplib2-0.20.4.gh.tar.gz 371778 BLAKE2B 85e2dd0b6213cc5015d4f2f7f923209a61649f948f003eaf3c95c956cb08e6f5bf9dc4e40109c0ddea6a18ab47870a21c7d367ea1eeec2644507568f4e271005 SHA512 46396a9bb439e61939e481a2502567a6dc40686471267ea4c357f141ac138193107f90ac465db683e4ab71e5d92249b810657bff0cb74af7a37a9a23c8320741 +DIST httplib2-0.21.0.gh.tar.gz 373245 BLAKE2B d7194773c2b61cbf579da5aea7f52cb3481eed86896be215b942de7f9418a39c4a934868c9e01b6bfb050a32e4b7bc7ff775b28af5ba5db2827131e436bf0b04 SHA512 8269014f05f5e4b668c7dea8ae708b27a60b4216d712a93ab58b74f399ab5bc0dcdcd8c1411ccff587c7bdb6bc20917451ad969e5bef2d5c5262327cabe17bbb diff --git a/dev-python/httplib2/httplib2-0.21.0.ebuild b/dev-python/httplib2/httplib2-0.21.0.ebuild new file mode 100644 index 000000000000..cf54c90a1d7a --- /dev/null +++ b/dev-python/httplib2/httplib2-0.21.0.ebuild @@ -0,0 +1,70 @@ +# 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_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A comprehensive HTTP client library" +HOMEPAGE=" + https://pypi.org/project/httplib2/ + https://github.com/httplib2/httplib2/ +" +SRC_URI=" + https://github.com/httplib2/httplib2/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" + +RDEPEND=" + app-misc/ca-certificates + dev-python/pyparsing[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-libs/openssl + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +PATCHES=( "${FILESDIR}"/${PN}-0.12.1-use-system-cacerts.patch ) + +src_prepare() { + sed -i -e '/--cov/d' setup.cfg || die + # cryptography dep is entirely optional, and has a good fallback + sed -i -e 's:from cryptography.*:pass:' tests/__init__.py || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # broken by using system certificates + tests/test_cacerts_from_env.py::test_certs_file_from_builtin + tests/test_cacerts_from_env.py::test_certs_file_from_environment + tests/test_cacerts_from_env.py::test_with_certifi_removed_from_modules + + # broken by new PySocks, probably + tests/test_proxy.py::test_server_not_found_error_is_raised_for_invalid_hostname + tests/test_proxy.py::test_socks5_auth + + # broken by recerting (TODO) + tests/test_https.py::test_min_tls_version + tests/test_https.py::test_max_tls_version + + # new cryptography or openssl-3? + tests/test_https.py::test_client_cert_password_verified + ) + + # tests in python* are replaced by tests/ + # upstream fails at cleaning up stuff + epytest tests +} diff --git a/dev-python/jaraco-collections/Manifest b/dev-python/jaraco-collections/Manifest index 14507b975b67..ddfa00286b31 100644 --- a/dev-python/jaraco-collections/Manifest +++ b/dev-python/jaraco-collections/Manifest @@ -1,2 +1,3 @@ DIST jaraco.collections-3.5.2.tar.gz 16038 BLAKE2B 3f7f48f4c65e44aba621dd894a84711473ff42e37be8067e356cd6ca0f8740c667cb282bddad4315ddd7c8922c316c57b40984455f0af4bc8bbf4304a12a6779 SHA512 9567ee44fbc5010cc81ee24de792e53b5a225759b5f7d2e7dd932b0cae38e2035fddb5bd3dee5dc08fea9c61e2bf9087418cd192d81c72760f1e0d95a7b3788c DIST jaraco.collections-3.6.0.tar.gz 16720 BLAKE2B 283e9570729ded2b33b6fd1ab7a7b1414588a48455fc3a3103e4a3fe3e4eadae0d9e925a2f1e2de6ee8973121e1d01923c4c3ea72c618033f776c2e4b9add558 SHA512 a5cfa42e60d4a63463d159090086f9400f6faeeaedd9cba7d46bdfc9fc328b0056d6f2e428de93bfd59ea4f2bdc5d8b71158c5f1592a62e2ebd8e1ed7471e4ef +DIST jaraco.collections-3.7.0.tar.gz 16874 BLAKE2B 6505856c1e3bb3fe55d84a5c8804481b2057b738cb37dc613f2dacc9fc19772eec3c9e4c310467ef7fcde09b3aff01b974a2ff8976988fb3802a7c77f35407bb SHA512 6ebf276b662bdd78622c345d64be8b919de8e10e248c78a6107e65a58f4b158ba788685f518d1590028c2bc9a13b1a48c30d5e30f964696a87330dba3b1432d7 diff --git a/dev-python/jaraco-collections/jaraco-collections-3.7.0.ebuild b/dev-python/jaraco-collections/jaraco-collections-3.7.0.ebuild new file mode 100644 index 000000000000..0b87c11c5a0c --- /dev/null +++ b/dev-python/jaraco-collections/jaraco-collections-3.7.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=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 + +MY_P=${P/-/.} +DESCRIPTION="Models and classes to supplement the stdlib collections module" +HOMEPAGE=" + https://github.com/jaraco/jaraco.collections/ + https://pypi.org/project/jaraco.collections/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN/-/.}/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/jaraco-classes[${PYTHON_USEDEP}] + dev-python/jaraco-text[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/kafka-python/kafka-python-2.0.2.ebuild b/dev-python/kafka-python/kafka-python-2.0.2.ebuild index 96e0ddae91e7..d045f844fd80 100644 --- a/dev-python/kafka-python/kafka-python-2.0.2.ebuild +++ b/dev-python/kafka-python/kafka-python-2.0.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -21,8 +21,8 @@ BDEPEND=" dev-python/lz4[${PYTHON_USEDEP}] dev-python/mock[${PYTHON_USEDEP}] dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/python-zstandard[${PYTHON_USEDEP}] dev-python/snappy[${PYTHON_USEDEP}] - dev-python/zstandard[${PYTHON_USEDEP}] )" distutils_enable_tests pytest @@ -40,5 +40,5 @@ python_test() { pkg_postinst() { optfeature "LZ4 compression/decompression support" dev-python/lz4 optfeature "Snappy compression support" dev-python/snappy - optfeature "ZSTD compression/decompression support" dev-python/zstandard + optfeature "ZSTD compression/decompression support" dev-python/python-zstandard } diff --git a/dev-python/kombu/kombu-5.2.4.ebuild b/dev-python/kombu/kombu-5.2.4.ebuild index 80da399c8944..46ee97d335b2 100644 --- a/dev-python/kombu/kombu-5.2.4.ebuild +++ b/dev-python/kombu/kombu-5.2.4.ebuild @@ -33,11 +33,11 @@ BDEPEND=" dev-python/pycurl[${PYTHON_USEDEP}] >=dev-python/pymongo-3.3.0[${PYTHON_USEDEP}] dev-python/Pyro4[${PYTHON_USEDEP}] + dev-python/python-zstandard[${PYTHON_USEDEP}] dev-python/pytz[${PYTHON_USEDEP}] >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}] >=dev-python/redis-py-3.3.11[${PYTHON_USEDEP}] dev-python/sqlalchemy[${PYTHON_USEDEP}] - dev-python/zstandard[${PYTHON_USEDEP}] ) " @@ -76,5 +76,5 @@ pkg_postinst() { optfeature "Zookeeper backend" dev-python/kazoo optfeature "MessagePack (de)serializer for Python" dev-python/msgpack optfeature "brotli compression" "app-arch/brotli[python]" - optfeature "zstd compression" dev-python/zstandard + optfeature "zstd compression" dev-python/python-zstandard } diff --git a/dev-python/kombu/kombu-5.3.0_beta2.ebuild b/dev-python/kombu/kombu-5.3.0_beta2.ebuild index b4a14cc16895..873a42810679 100644 --- a/dev-python/kombu/kombu-5.3.0_beta2.ebuild +++ b/dev-python/kombu/kombu-5.3.0_beta2.ebuild @@ -38,11 +38,11 @@ BDEPEND=" >=dev-python/pymongo-4.1.1[${PYTHON_USEDEP}] dev-python/Pyro4[${PYTHON_USEDEP}] dev-python/pytest-freezegun[${PYTHON_USEDEP}] + dev-python/python-zstandard[${PYTHON_USEDEP}] dev-python/pytz[${PYTHON_USEDEP}] >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}] >=dev-python/redis-py-4.2.2[${PYTHON_USEDEP}] dev-python/sqlalchemy[${PYTHON_USEDEP}] - dev-python/zstandard[${PYTHON_USEDEP}] ) " @@ -90,5 +90,5 @@ pkg_postinst() { 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 + optfeature "zstd compression" dev-python/python-zstandard } diff --git a/dev-python/pillow/Manifest b/dev-python/pillow/Manifest index e73a55dc8b3e..c5393be9f468 100644 --- a/dev-python/pillow/Manifest +++ b/dev-python/pillow/Manifest @@ -1,2 +1,3 @@ DIST pillow-9.1.1.tar.gz 49753799 BLAKE2B 969a338f768951c340177d0590c50ba1213f48810870ac3fdbc2556c57344e356e0cf1ef080bde29bf89291adbf9f64b2dd1f950260d2ce5c0eb28d197f2dfe2 SHA512 8c05c0af6be992667d764046c6d7c189e1486d6ab987474c15e3bc8a64b9955d4c91d94b94ea46ef6d1c6f343ba424240dfa7d758c666bec40fa580728206a5f DIST pillow-9.2.0.gh.tar.gz 50018953 BLAKE2B 72dc1175c08276531c5949f0eb19bdce37afb25303614d489375c57aba19c5f708db7d149a033490f95848bdd6b4249dd36993205069e7f471a2efd602cb3ac4 SHA512 02926d6c88aa8bc0df05b0ecd04b9852821a6400a24c6e70b66d4092eb3174139dee116adfa94ba8b7f3df8f6725cc68b32705f308f4347153e0112d987fc5f2 +DIST pillow-9.3.0.gh.tar.gz 50370806 BLAKE2B d0d4775c8b60e40560328e4f1c14055743d1a826b0ab01353075f1f48a461bcd8bf5883f18713976399f9b0f688125f3a883ea5818a359db9e540aac8895f02a SHA512 60c529d8a222a521a0c3f4254917aa3f6c5a47c7cb8930b4b9a05ef442d1a7e776018dc4ac834a9effc1342f8457898cae79820531ff430728f6c39d6297b2d7 diff --git a/dev-python/pillow/pillow-9.3.0.ebuild b/dev-python/pillow/pillow-9.3.0.ebuild new file mode 100644 index 000000000000..ab5722fb17c7 --- /dev/null +++ b/dev-python/pillow/pillow-9.3.0.ebuild @@ -0,0 +1,125 @@ +# 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_{7,8,9,10,11} pypy3 ) +PYTHON_REQ_USE='tk?,threads(+)' + +inherit distutils-r1 toolchain-funcs virtualx + +MY_PN=Pillow +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Python Imaging Library (fork)" +HOMEPAGE=" + https://python-pillow.org/ + https://github.com/python-pillow/ + https://pypi.org/project/Pillow/ +" +SRC_URI=" + https://github.com/python-pillow/Pillow/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}" + +LICENSE="HPND" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="examples imagequant +jpeg jpeg2k lcms test tiff tk truetype webp xcb zlib" +REQUIRED_USE="test? ( jpeg jpeg2k tiff truetype )" +RESTRICT="!test? ( test )" + +DEPEND=" + imagequant? ( media-gfx/libimagequant:0 ) + jpeg? ( media-libs/libjpeg-turbo ) + jpeg2k? ( media-libs/openjpeg:2= ) + lcms? ( media-libs/lcms:2= ) + tiff? ( media-libs/tiff:0=[jpeg,zlib] ) + truetype? ( media-libs/freetype:2= ) + webp? ( media-libs/libwebp:0= ) + xcb? ( x11-libs/libxcb ) + zlib? ( sys-libs/zlib:0= ) +" +RDEPEND=" + ${DEPEND} + dev-python/olefile[${PYTHON_USEDEP}] +" +BDEPEND=" + virtual/pkgconfig + test? ( + ${RDEPEND} + dev-python/defusedxml[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + || ( + media-gfx/imagemagick[png] + media-gfx/graphicsmagick[png] + ) + ) +" + +EPYTEST_DESELECT=( + # TODO; incompatible Qt version? + Tests/test_qt_image_qapplication.py::test_sanity +) + +usepil() { + usex "${1}" enable disable +} + +python_configure_all() { + # It's important that these flags are also passed during the install phase + # as well. Make sure of that if you change the lines below. See bug 661308. + cat >> setup.cfg <<-EOF || die + [build_ext] + disable_platform_guessing = True + $(usepil truetype)_freetype = True + $(usepil jpeg)_jpeg = True + $(usepil jpeg2k)_jpeg2000 = True + $(usepil lcms)_lcms = True + $(usepil tiff)_tiff = True + $(usepil imagequant)_imagequant = True + $(usepil webp)_webp = True + $(usepil webp)_webpmux = True + $(usepil xcb)_xcb = True + $(usepil zlib)_zlib = True + EOF + + # setup.py won't let us add the right toolchain paths but it does + # accept additional ones from INCLUDE and LIB so set these. You + # wouldn't normally need these at all as the toolchain should look + # here anyway but it doesn't for this setup.py. + export \ + INCLUDE="${ESYSROOT}"/usr/include \ + LIB="${ESYSROOT}"/usr/$(get_libdir) + + # We have patched in this env var. + tc-export PKG_CONFIG +} + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + "${EPYTHON}" selftest.py --installed || die "selftest failed with ${EPYTHON}" + # no:relaxed: pytest-relaxed plugin make our tests fail. deactivate if installed + epytest -p no:relaxed || die "Tests failed with ${EPYTHON}" +} + +python_install() { + python_doheader src/libImaging/*.h + distutils-r1_python_install +} + +python_install_all() { + if use examples ; then + docinto example + dodoc docs/example/* + docompress -x /usr/share/doc/${PF}/example + fi + distutils-r1_python_install_all +} diff --git a/dev-python/pytest-django/files/pytest-django-4.5.2-pytest-7.patch b/dev-python/pytest-django/files/pytest-django-4.5.2-pytest-7.patch new file mode 100644 index 000000000000..657e5fa617a2 --- /dev/null +++ b/dev-python/pytest-django/files/pytest-django-4.5.2-pytest-7.patch @@ -0,0 +1,30 @@ +https://github.com/pytest-dev/pytest-django/commit/14b993d1cb291bfcf05f35f57db55c0419886534 +https://bugs.gentoo.org/834815 + +From 14b993d1cb291bfcf05f35f57db55c0419886534 Mon Sep 17 00:00:00 2001 +From: Stanislav Levin <slev@altlinux.org> +Date: Mon, 28 Feb 2022 13:12:37 +0300 +Subject: [PATCH] tests: Sync expected stream for Pytest's version + +https://docs.pytest.org/en/7.0.x/changelog.html#breaking-changes: +> [pytest#8246](https://github.com/pytest-dev/pytest/issues/8246): --version now writes version information to stdout rather than stderr. + +Fixes: https://github.com/pytest-dev/pytest-django/issues/995 +Signed-off-by: Stanislav Levin <slev@altlinux.org> +--- a/tests/test_manage_py_scan.py ++++ b/tests/test_manage_py_scan.py +@@ -118,7 +118,12 @@ def test_django_project_found_invalid_settings_version(django_testdir, monkeypat + + result = django_testdir.runpytest_subprocess("django_project_root", "--version", "--version") + assert result.ret == 0 +- result.stderr.fnmatch_lines(["*This is pytest version*"]) ++ if hasattr(pytest, "version_tuple") and pytest.version_tuple >= (7, 0): ++ version_out = result.stdout ++ else: ++ version_out = result.stderr ++ ++ version_out.fnmatch_lines(["*This is pytest version*"]) + + result = django_testdir.runpytest_subprocess("django_project_root", "--help") + assert result.ret == 0 + diff --git a/dev-python/pytest-django/pytest-django-4.5.2.ebuild b/dev-python/pytest-django/pytest-django-4.5.2.ebuild index 09b115b49730..7dbeb6f9257a 100644 --- a/dev-python/pytest-django/pytest-django-4.5.2.ebuild +++ b/dev-python/pytest-django/pytest-django-4.5.2.ebuild @@ -30,6 +30,10 @@ BDEPEND=" ) " +PATCHES=( + "${FILESDIR}"/${P}-pytest-7.patch +) + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} distutils_enable_tests --install pytest diff --git a/dev-python/python-utils/Manifest b/dev-python/python-utils/Manifest index b4c9779b8b92..4f3c7759a189 100644 --- a/dev-python/python-utils/Manifest +++ b/dev-python/python-utils/Manifest @@ -1 +1,2 @@ DIST python-utils-3.3.3.tar.gz 28031 BLAKE2B d491e5ba1c8e2ab8d7c7797757cb6163f5f4cff223b898b4a9502f85b740df3c128234fd0034fc422d17efb38cfc7056aa7fb3aee9441f1f763fc742930da5b3 SHA512 6becb1873da57f66aec26b98dab22c7917dacddd1a843a0c6e4f2939986a33888cb3b6addfa3b98660f9f35ca54763cf6da34e4099cd3e21987660f12a574b27 +DIST python-utils-3.4.5.tar.gz 28608 BLAKE2B c933bf358ad61563fc35bc87329367946a64216afaddb3cd5bff861e0e1fadcc4d18c7a8ff7820bfee5938bc7ede3cea9d450ecc5b7c0825f917c59576d7195c SHA512 35b4b49dfce56e9e530fe979c070889296079d3a1fd548186bf6dbd6fdbce5363818b52a5d7559b7af3bd32561d87639565298386883351168a267fa88e1ff7f diff --git a/dev-python/python-utils/python-utils-3.4.5.ebuild b/dev-python/python-utils/python-utils-3.4.5.ebuild new file mode 100644 index 000000000000..202bf89824a8 --- /dev/null +++ b/dev-python/python-utils/python-utils-3.4.5.ebuild @@ -0,0 +1,39 @@ +# 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_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Collection of small Python functions & classes" +HOMEPAGE=" + https://github.com/WoLpH/python-utils/ + https://pypi.org/project/python-utils/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + docs + _python_utils_tests/test_logger.py + python_utils/loguru.py +) + +python_prepare_all() { + sed -i -e '/--cov/d' -e '/--mypy/d' pytest.ini || die + distutils-r1_python_prepare_all +} diff --git a/dev-python/zstandard/Manifest b/dev-python/python-zstandard/Manifest index d17c91166d15..b756baa120d3 100644 --- a/dev-python/zstandard/Manifest +++ b/dev-python/python-zstandard/Manifest @@ -1 +1,2 @@ DIST python-zstandard-0.18.0.gh.tar.gz 678765 BLAKE2B 7a297e76d65c6f5adbb87cc615f474d58c66bc9ee4050eb10277b596f7efda9109de815188b6efe55beb7aa637ec4779359a573c87094661ae28a080c9619576 SHA512 d573da893e3a372143271c7d9dec15cd4e9dd7355d2069e283df8b3feadbf999dddcc0aa37a2831a370526b2b045497f46326dcf13d3680dd8ee624bca1e7666 +DIST python-zstandard-0.19.0.gh.tar.gz 683942 BLAKE2B 5b28fb6360147f87fb658d28652e5e43b0e41ff3cc31e46d91b1dcdd5334869f9a10a598f3d1d15a8c0f02afc59d009a8088ba3e81066f1a5f1ad9c05ebd4a1d SHA512 56e7b43161940f182ff5a0745bb6bdb2710c9a61140c4a84b690e0abd18c8b862211ab2b1ba36cfd99fe75bb0ae00af7de798b010b2bd4c5a44d691d4fa0c63d diff --git a/dev-python/zstandard/metadata.xml b/dev-python/python-zstandard/metadata.xml index 853174b8f2ab..853174b8f2ab 100644 --- a/dev-python/zstandard/metadata.xml +++ b/dev-python/python-zstandard/metadata.xml diff --git a/dev-python/zstandard/zstandard-0.18.0.ebuild b/dev-python/python-zstandard/python-zstandard-0.18.0.ebuild index 169b6d1faf99..169b6d1faf99 100644 --- a/dev-python/zstandard/zstandard-0.18.0.ebuild +++ b/dev-python/python-zstandard/python-zstandard-0.18.0.ebuild diff --git a/dev-python/python-zstandard/python-zstandard-0.19.0.ebuild b/dev-python/python-zstandard/python-zstandard-0.19.0.ebuild new file mode 100644 index 000000000000..c1c01b356ed5 --- /dev/null +++ b/dev-python/python-zstandard/python-zstandard-0.19.0.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_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Zstandard Bindings for Python" +HOMEPAGE=" + https://github.com/indygreg/python-zstandard/ + https://pypi.org/project/zstandard/ +" +SRC_URI=" + https://github.com/indygreg/python-zstandard/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +DEPEND=" + app-arch/zstd:= +" +RDEPEND=" + ${DEPEND} + $(python_gen_cond_dep ' + >=dev-python/cffi-1.14.0-r2:=[${PYTHON_USEDEP}] + ' 'python*') +" +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + # the C backend is repeatedly broken, so force CFFI instead + sed -e '/PYTHON_ZSTANDARD_IMPORT_POLICY/s:default:cffi:' \ + -i zstandard/__init__.py || die + # unreliable, fails on x86 + sed -e 's:test_estimated_compression_context_size:_&:' \ + -i tests/test_data_structures.py || die + # unbundle zstd + : > zstd/zstdlib.c || die + # it does random preprocessing on that, so we can't use #include + cp "${ESYSROOT}/usr/include/zstd.h" zstd/zstd.h || die + sed -i -e '/include_dirs/a libraries=["zstd"],' make_cffi.py || die + + distutils-r1_src_prepare + + DISTUTILS_ARGS=( + --no-c-backend + ) +} + +src_test() { + rm -r zstandard || die + distutils-r1_src_test +} diff --git a/dev-python/pyupgrade/Manifest b/dev-python/pyupgrade/Manifest index accbd092a262..af3acc3d2bff 100644 --- a/dev-python/pyupgrade/Manifest +++ b/dev-python/pyupgrade/Manifest @@ -1,3 +1,2 @@ -DIST pyupgrade-2.38.2.gh.tar.gz 64004 BLAKE2B 4d5456173d7202749e87726f5547f8f406ab226e2258d78393f10e1ee8129835a65272ee12c95d3d71139f57982c240c38d67353153af43dfa30a8dc7e4147e0 SHA512 e7184539f9e4c8090be02ba1fef1288564e7f8860457345b3305c06391962491af04497e5fe14297fb9c90a6e7e4de1f07a39235a5358188f5f5fa035ab7eb1b -DIST pyupgrade-3.0.0.gh.tar.gz 61941 BLAKE2B b1760bfe86dabbb5b93bd2c741c7315ce6463df4fbf477ddc30a830e28044fdfc21328ff32589196c6383396b9550fea3711119ee8cd0c5e4468ec7907066d69 SHA512 ed6b8407e7f39e44d78215e4bb275c3b70426fc087ab9890964cc35133859568147bbdd0ea5731a214f397f58691b0f4c63de55201c38bbfa83cb99db1c6655d DIST pyupgrade-3.1.0.gh.tar.gz 62086 BLAKE2B 0a5eccb457591e719e132bfa2444c8587a81a731505f9f848755e72c25bf8addf152ea6f3845fa071fb836c521279934533f58717b261041c700b3b51305f7ec SHA512 b63ced8efe7d76fa40f6f8ccf0f922eec1967098b770ff3a5cdc67a3bf3a057900c592bb041500f8f78f2df782c7b90ab8c453591c8b45d3d2d073f00e8bdae1 +DIST pyupgrade-3.2.0.gh.tar.gz 62618 BLAKE2B 2cc9525947d745f04df4a68e61e639f6ac4fe055da43e0a6dcc028bd186d3e7b77ec349f1570f88b7e7460090f4dd5755c95fc9b97f74487404ed2106b65b0e4 SHA512 86dd5439d63bc767d7c3e9898fac0dd9e129d298b0f46632a462cd55044f291f57bdc2f1fd7336ab17e51cac293e5918bc1d18cbb439a1596d15d1f457e194a1 diff --git a/dev-python/pyupgrade/pyupgrade-3.0.0.ebuild b/dev-python/pyupgrade/pyupgrade-3.0.0.ebuild deleted file mode 100644 index 9b4138bef815..000000000000 --- a/dev-python/pyupgrade/pyupgrade-3.0.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_{7,8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="Tool + pre-commit hook to automatically upgrade syntax for newer Pythons" -HOMEPAGE=" - https://github.com/asottile/pyupgrade/ - https://pypi.org/project/pyupgrade/ -" -SRC_URI=" - https://github.com/asottile/pyupgrade/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - dev-python/tokenize-rt[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/pyupgrade/pyupgrade-2.38.2.ebuild b/dev-python/pyupgrade/pyupgrade-3.2.0.ebuild index 9b4138bef815..9b4138bef815 100644 --- a/dev-python/pyupgrade/pyupgrade-2.38.2.ebuild +++ b/dev-python/pyupgrade/pyupgrade-3.2.0.ebuild diff --git a/dev-python/rapidfuzz/Manifest b/dev-python/rapidfuzz/Manifest index e106894fd6a2..ecb3f2bac643 100644 --- a/dev-python/rapidfuzz/Manifest +++ b/dev-python/rapidfuzz/Manifest @@ -1,3 +1,2 @@ -DIST rapidfuzz-2.11.0.tar.gz 812669 BLAKE2B e7897b2770202d46cb70323d19a79c6f34c379cf43ab211e2ba4d05ef6f1630d49b3cef70ab52bba1ac0a9cc15cd934e86aab829ec84195a6b583a561efc8cb2 SHA512 df5e77248c2a005ff1e0fbd4b4ef15fbdb88a6738d66823ba9bf8c380943c59fe82ac317dab1e6279b33112d2484563d65c33e972d52ab82b083cd8a8aae7ce0 -DIST rapidfuzz-2.11.1.tar.gz 813221 BLAKE2B 1fab9b564396f820c9bd5c240df95a2e864b0e3efffb4239fa2ad719b92d2997d9519ccf906fe04c61a0fc1daf9ed0df734f95d4cdd19529e46716935182030b SHA512 19f6dbff31f11cc16f031f9bf53f7c60051a84f2f81dfc1c17fc83827a7d8551d708420b4116ab91e56b5d6de652b4d571f4055ebcb208e5dd57e8778050ca29 DIST rapidfuzz-2.12.0.tar.gz 836008 BLAKE2B 7d8cb6637247711f2f6fed63c9f26e2d3b8871b9a4926b86e37f6d42fed0f5ac2af727a1b350f4b55787b6fd5a393c3b90ee91d122731bb3f64acb4edb5126f0 SHA512 06c5e46332c98ea8feb83a89b879efc12a737f58312a862ab426e899bdfd3661601d4a417f7bc518e1006a2f05fa31ce1003ae9dd67c1e7d58f903e65f9eb6e7 +DIST rapidfuzz-2.13.0.tar.gz 841650 BLAKE2B 53cdae975a46d68d6ec128a2633a1dd582643fe2564a6db1783c1b7d0917d1904238b9f67e68da788797f0c323b2c99df4fdf04615d8bd3d503cc3377876f197 SHA512 f700b5b926aa639434bb48df21d6320c9a289f7972a15cccb7020a2459eeea70476ed146866d13dce03b112c1512a8403d2d2ab729b91475d43eb775fab21560 diff --git a/dev-python/rapidfuzz/rapidfuzz-2.11.0.ebuild b/dev-python/rapidfuzz/rapidfuzz-2.11.0.ebuild deleted file mode 100644 index 8c53e6fd7791..000000000000 --- a/dev-python/rapidfuzz/rapidfuzz-2.11.0.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# custom wrapper over setuptools -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="Rapid fuzzy string matching in Python using various string metrics" -HOMEPAGE=" - https://github.com/maxbachmann/RapidFuzz/ - https://pypi.org/project/rapidfuzz/ -" -SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~riscv" - -# all these are header-only libraries -DEPEND=" - >=dev-cpp/taskflow-3.0.0 - >=dev-cpp/rapidfuzz-cpp-1.8.0 - dev-python/numpy[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/rapidfuzz_capi[${PYTHON_USEDEP}] - >=dev-python/scikit-build-0.13.0[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -export RAPIDFUZZ_BUILD_EXTENSION=1 diff --git a/dev-python/rapidfuzz/rapidfuzz-2.11.1-r1.ebuild b/dev-python/rapidfuzz/rapidfuzz-2.13.0.ebuild index 5013000e3bc0..8b572ed8a99f 100644 --- a/dev-python/rapidfuzz/rapidfuzz-2.11.1-r1.ebuild +++ b/dev-python/rapidfuzz/rapidfuzz-2.13.0.ebuild @@ -18,17 +18,17 @@ SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~riscv" +KEYWORDS="~amd64 ~arm ~riscv" # all these are header-only libraries DEPEND=" >=dev-cpp/taskflow-3.0.0 - >=dev-cpp/rapidfuzz-cpp-1.8.0 + >=dev-cpp/rapidfuzz-cpp-1.10.0 dev-python/numpy[${PYTHON_USEDEP}] " BDEPEND=" dev-python/rapidfuzz_capi[${PYTHON_USEDEP}] - >=dev-python/scikit-build-0.13.0[${PYTHON_USEDEP}] + dev-python/scikit-build[${PYTHON_USEDEP}] dev-python/setuptools[${PYTHON_USEDEP}] test? ( dev-python/hypothesis[${PYTHON_USEDEP}] diff --git a/dev-python/scikit-build/Manifest b/dev-python/scikit-build/Manifest index 68d0041c10b9..2ed864ad69f7 100644 --- a/dev-python/scikit-build/Manifest +++ b/dev-python/scikit-build/Manifest @@ -1 +1,2 @@ DIST scikit-build-0.15.0.tar.gz 268691 BLAKE2B f4cb51ee2367bd4ba6f6c1cada15e1e6be731998a914b28edcf703c5a92c409b78b17dddf04a29b24d40f249ffa06eb9d05d36dc30c0e62ee001519c3ca03f58 SHA512 4d9b1d06d48708ff4f2f5fa8c8f264c7ca85946d5842a1254930d9449d6b6386c17392473c3c85147f6573f7256c94c927962cb56fa23a90a5b442de8de8d727 +DIST scikit-build-0.16.1.tar.gz 269763 BLAKE2B b5c70c16a68dc8bae67f273c8ecb423d36fb5379e0dbbc55efffe33ab216162db687fc48004aed84b636ad6b99a79be4cef4838509a18b3a6a81375e1cfd544d SHA512 13b23014939b34096849ecdcd7ffcba0638efa19fbcc3c7348fbcf77a4943236b1009ed1ec07e68acd00b10fdd3d3e809e8a131efe0de17f43bcf794b35755e1 diff --git a/dev-python/scikit-build/scikit-build-0.16.1.ebuild b/dev-python/scikit-build/scikit-build-0.16.1.ebuild new file mode 100644 index 000000000000..0d03b807abe5 --- /dev/null +++ b/dev-python/scikit-build/scikit-build-0.16.1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="Improved build system generator for Python C/C++/Fortran/Cython extensions" +HOMEPAGE=" + https://github.com/scikit-build/scikit-build/ + https://pypi.org/project/scikit-build/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/distro[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/cython[${PYTHON_USEDEP}] + dev-python/path[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-virtualenv[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs \ + dev-python/sphinx_rtd_theme \ + dev-python/sphinx-issues +distutils_enable_tests pytest + +src_prepare() { + # not packaged + sed -i -e '/cmakedomain/d' docs/conf.py || die + # no pytest-cov + sed -i -e '/addopts =/d' setup.cfg || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # sandbox violations + tests/test_hello_cpp.py::test_hello_develop + tests/test_issue274_support_default_package_dir.py + tests/test_issue274_support_one_package_without_package_dir.py + tests/test_issue334_configure_cmakelists_non_cp1252_encoding.py + tests/test_pep518.py + # This fails because of additional item setup.py in sources + tests/test_include_exclude_data.py::test_hello_sdist + tests/test_include_exclude_data.py::test_hello_sdist_with_base + tests/test_issue401_sdist_with_symlinks.py::test_sdist_with_symlinks + tests/test_manifest_in.py::test_manifest_in_sdist + # Wants internet to install things with pip + tests/test_numpy.py::test_pep518_findpython + # TODO + "tests/test_command_line.py::test_hide_listing[True-bdist_wheel]" + ) + epytest +} diff --git a/dev-python/stack_data/Manifest b/dev-python/stack_data/Manifest index eff3dbc01fb7..0ecf7e5ad337 100644 --- a/dev-python/stack_data/Manifest +++ b/dev-python/stack_data/Manifest @@ -1,2 +1,3 @@ DIST stack_data-0.5.0.tar.gz 43332 BLAKE2B b9583717633902b4618981ceeb53eca7b817b7985fd5401cc79fe35b194e77fdb57e1c5c51adde0b4e604f6df5424d27056b2528c356a808a4b4c9e1dee1c56a SHA512 82573d9b115daf23a04921027878d55cf9de897a01cb0089b082ec0e7a7b42461afe47dddf4d16adfe186259280b57d651857884ceaf9673d8c983c48f479684 DIST stack_data-0.5.1.tar.gz 43435 BLAKE2B eeebca4d2d8e3c8795e05d4a058c4a7421a2669e28b476400d541c79d5d7ebb66dde16cd39e2586eafa2f653341c041351c2684440d879ed71b2adf83ea1b4d9 SHA512 b33e3bfd31d285fcdb8f6db8f3e59b6e99fcbc0b912c7be01e52b164554a5914bc8f1a7fb7e665a18fa2d164b248afeb3c6a287f8e27ab7fa44f69b75d93d375 +DIST stack_data-0.6.0.tar.gz 43595 BLAKE2B 5485fbf5b332a52567d8f42dddb4ea5c01bdcab8c6f3a2ce451ac06ea165bb55fa730b0ad546b6ee04f0791c044ac240e8b840fa74644f2e90916e8b806ce31d SHA512 0fb3ab635977dfb5886efda6d9d55bea6c4bfb932528e93713fb3cf4cdb3557aa46e06bded2956e93ae2fb69c2d4bde31001f111e217db7cc1501fe9332824f2 diff --git a/dev-python/stack_data/stack_data-0.6.0.ebuild b/dev-python/stack_data/stack_data-0.6.0.ebuild new file mode 100644 index 000000000000..688fc98bc2df --- /dev/null +++ b/dev-python/stack_data/stack_data-0.6.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Extract data from Python tracebacks for informative displays" +HOMEPAGE=" + https://github.com/alexmojaki/stack_data/ + https://pypi.org/project/stack-data/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/asttokens-2.1.0[${PYTHON_USEDEP}] + >=dev-python/executing-1.2.0[${PYTHON_USEDEP}] + dev-python/pure_eval[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/cython[${PYTHON_USEDEP}] + dev-python/typeguard[${PYTHON_USEDEP}] + dev-python/littleutils[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/wsaccel/Manifest b/dev-python/wsaccel/Manifest index 701ce88fac1d..3ada886fa1e7 100644 --- a/dev-python/wsaccel/Manifest +++ b/dev-python/wsaccel/Manifest @@ -1 +1,2 @@ DIST wsaccel-0.6.3.tar.gz 9723 BLAKE2B 75da0f27e07b52ed730d239ef807da7ba9dd342144ca2e78c32dc09b20c1ebfc006aa9969b1f811d172ca18b75533a4560a29112e56d6dfd472117a0d072fc8e SHA512 0fe97c7fa94cec1b9cf019507f55ce633a9b4bda86329937cddcfa25ba94755010813688cda77ee4fea1c50918e45cd50770bb27e7583e630c46e84d27c155da +DIST wsaccel-0.6.4.gh.tar.gz 9947 BLAKE2B 1c0b7b8b82154420f64fcbf3217938ff7e829573ada6b979ff73fe450c0985e368a47cccf2d124506c28479a98f0799977677e16ee26754611362f6b61eff902 SHA512 980364fab8a661c8a2b406f9eb6c99fb5f3a1308bbcf6267fa63f002d8dfbb4a3ad027d83a2088d69324cab05bdc56138d7e66e2602aeb8864dfe49ad9218d07 diff --git a/dev-python/wsaccel/wsaccel-0.6.4.ebuild b/dev-python/wsaccel/wsaccel-0.6.4.ebuild new file mode 100644 index 000000000000..1adc234a4d0a --- /dev/null +++ b/dev-python/wsaccel/wsaccel-0.6.4.ebuild @@ -0,0 +1,34 @@ +# 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_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Accelerator for ws4py, autobahn and tornado" +HOMEPAGE=" + https://github.com/methane/wsaccel/ + https://pypi.org/project/wsaccel/ +" +SRC_URI=" + https://github.com/methane/wsaccel/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +SLOT="0" +LICENSE="Apache-2.0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + cd tests || die + epytest +} diff --git a/dev-python/zstd/zstd-1.5.2.6.ebuild b/dev-python/zstd/zstd-1.5.2.6.ebuild index b79628112cc3..b27bc6fd707d 100644 --- a/dev-python/zstd/zstd-1.5.2.6.ebuild +++ b/dev-python/zstd/zstd-1.5.2.6.ebuild @@ -24,7 +24,7 @@ DEPEND=" " RDEPEND=" ${DEPEND} - !<dev-python/zstandard-0.15.2-r1[${PYTHON_USEDEP}] + !<dev-python/python-zstandard-0.15.2-r1[${PYTHON_USEDEP}] " distutils_enable_tests unittest |
