diff options
Diffstat (limited to 'dev-python')
30 files changed, 597 insertions, 14 deletions
diff --git a/dev-python/PySDL2/Manifest b/dev-python/PySDL2/Manifest index 9255809946ef..50a3d0c6876c 100644 --- a/dev-python/PySDL2/Manifest +++ b/dev-python/PySDL2/Manifest @@ -1 +1,2 @@ DIST PySDL2-0.9.13.tar.gz 754811 BLAKE2B fe9d3fb32cac104303d67741c3b9e0d78d3d03198ed512464bbdf5bc487a5f4c9a92aafb100c53c02d8be87bb107034f67ebb72294ad67cc0a8b42ab7a678a31 SHA512 f866e7ed35e3ccfbb5b98f797e87d5b20c6f7dadbc3396b297cbb6c2d83a7f3290fde63940a4d8f190e40a4a9269d2df9efc1932d9578d3df1617e5fcbe6ecad +DIST PySDL2-0.9.16.tar.gz 773537 BLAKE2B 5cfe4ab3981a665fc7f7606c07a3252e58c2706e45ab41d0d6444b4d3fb1c8805b5fd67e770a8a64538d305be0013a4d599ee81f5de0c5370146edc9d4d858df SHA512 ffe7abe8e828926934677c81a42c9af794c4817144eba50c40430c150d476dea40f0b36e639b2c270cbd8e00ab5bf5b032a4c0e514255cceef8161c8d76f8cb2 diff --git a/dev-python/PySDL2/PySDL2-0.9.16.ebuild b/dev-python/PySDL2/PySDL2-0.9.16.ebuild new file mode 100644 index 000000000000..2e574c84f08d --- /dev/null +++ b/dev-python/PySDL2/PySDL2-0.9.16.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python (ctypes) bindings for SDL2 libraries" +HOMEPAGE=" + https://github.com/py-sdl/py-sdl2/ + https://pypi.org/project/PySDL2/ +" + +LICENSE="|| ( public-domain CC0-1.0 ZLIB )" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# Optional deps: +# - dev-python/numpy, +# - dev-python/pillow, +# - media-libs/sdl2-* (loaded dynamically via ctypes). +# +# If a reverse dependency needs the specific module, it should +# explicitly depend on the optional module in question. You also +# probably need to explicitly require some media-libs/libsdl2 flags. +RDEPEND="media-libs/libsdl2" + +# Require all of SDL2 libraries and at least the most common subsystems +# for better test coverage. +DEPEND=" + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + media-libs/libsdl2[joystick,sound,video] + media-libs/sdl2-gfx + media-libs/sdl2-image[gif,jpeg,png,tiff,webp] + || ( + media-libs/sdl2-mixer[flac] + media-libs/sdl2-mixer[midi] + media-libs/sdl2-mixer[mod] + media-libs/sdl2-mixer[mp3] + media-libs/sdl2-mixer[opus] + ) + media-libs/sdl2-ttf + )" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # pysdl2 was misusing libsdl2's error API. Fixed upstream already + # but it didn't land in 0.9.16. + # https://bugs.gentoo.org/916120 + # https://bugs.gentoo.org/916118 + sdl2/test/gamecontroller_test.py + sdl2/test/hidapi_test.py::test_SDL_hid_enumerate + ) + + local -x SDL_VIDEODRIVER=dummy + local -x SDL_AUDIODRIVER=dummy + local -x SDL_RENDER_DRIVER=software + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -x +} diff --git a/dev-python/anyio/anyio-4.0.0.ebuild b/dev-python/anyio/anyio-4.0.0.ebuild index 382a8b1a977a..de9d80ad2403 100644 --- a/dev-python/anyio/anyio-4.0.0.ebuild +++ b/dev-python/anyio/anyio-4.0.0.ebuild @@ -38,7 +38,7 @@ BDEPEND=" amd64? ( $(python_gen_cond_dep ' >=dev-python/uvloop-0.17[${PYTHON_USEDEP}] - ' python3_{10..11}) + ' python3_{10..12}) ) ) " diff --git a/dev-python/charset-normalizer/Manifest b/dev-python/charset-normalizer/Manifest index 0c484b26c2b9..9d91b772d79d 100644 --- a/dev-python/charset-normalizer/Manifest +++ b/dev-python/charset-normalizer/Manifest @@ -1,2 +1,3 @@ DIST charset-normalizer-3.2.0.tar.gz 97063 BLAKE2B 2192401d74abab5f7ccd434c5493ae59b449df9a6ab90190a236b3f665e3a940e15d00803a2477a7c2996030fa1e5bf725fc15b6373040f29f27feab9df6e1e1 SHA512 0e3967b489561394ca848c1fe7dfaa72a330a3f645e9386c1d2d2dc8c2e35a34a8186e6f3377eda2aed503a3e7e626fe116d7b34c2f4a3fd8446a4c1a8fb74cc DIST charset-normalizer-3.3.0.tar.gz 103776 BLAKE2B f793f8611abf724f08bc9dc1c16558847fdf13f887d511e57744577ca0237a043b2553a1a4bd6e7a37eeb38beb02f51716d88b6aec04f166858277b10f9b08a5 SHA512 c12bf31250ad03be6e4e78f056242bf4c61aaf33e73a3f9514ee6288b61aa94ca0d97bb2b237e89ab9139da54169bc6b1b51155903257272f954dfc3da65b25f +DIST charset-normalizer-3.3.1.tar.gz 104095 BLAKE2B d77acf61dcda03e2135b09c5eee81130f12050f3dcd2d2108389a000b7b514dffd8c094feb74c9ab566ec07c95dbcf02d53de67e90a95a8d004c19b264ca60cc SHA512 d5f9564efd5d0112e07429d01d3b91db14af98e494e7993151724599e9abaf862cfb40c26fd47050256b0f2b36ce58c50d6dd697faa932ec3648265fb4e934f3 diff --git a/dev-python/charset-normalizer/charset-normalizer-3.3.1.ebuild b/dev-python/charset-normalizer/charset-normalizer-3.3.1.ebuild new file mode 100644 index 000000000000..91fc6af8989e --- /dev/null +++ b/dev-python/charset-normalizer/charset-normalizer-3.3.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="The Real First Universal Charset Detector" +HOMEPAGE=" + https://pypi.org/project/charset-normalizer/ + https://github.com/Ousret/charset_normalizer/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= +} diff --git a/dev-python/construct/Manifest b/dev-python/construct/Manifest index 4b506f194ae9..ff52be77af96 100644 --- a/dev-python/construct/Manifest +++ b/dev-python/construct/Manifest @@ -1 +1,2 @@ DIST construct-2.10.68.tar.gz 1190512 BLAKE2B b41e5b3b62cd1568c78ac4975b0d66e7a7ad4489e97031d3e866ff8eb98eea4eb387041dce15210304c608e0c419548cddea3557c2f53d52ecbcf6eb5be67749 SHA512 2388751323b16b69a06457c4862e7d1334580c201050734f150ab4437e2066ed18ff5323f7d81b8bb93124ae0f57a2ae91d7c64ffefc6e0369d6e625b7fef4eb +DIST construct-2.10.69.gh.tar.gz 1195652 BLAKE2B 003353d4be4992ecb9e32b845a35a4850f451e3ead40af2c1b9d3380c27b58088e75e20ff76c733e573594e1ae08406c188868907c0f335c13e23cb01bf7481f SHA512 c94a1b3a62c9bf4aed30eb262d4439452f98fe909e399d79ece8da4aa707f95c754d540672c2cc9c307425914e43384b5455eb7970ab5d7830af1c0b06313f9e diff --git a/dev-python/construct/construct-2.10.69.ebuild b/dev-python/construct/construct-2.10.69.ebuild new file mode 100644 index 000000000000..20eb14510a71 --- /dev/null +++ b/dev-python/construct/construct-2.10.69.ebuild @@ -0,0 +1,48 @@ +# 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 powerful declarative parser for binary data" +HOMEPAGE=" + https://construct.readthedocs.io/en/latest/ + https://github.com/construct/construct/ + https://pypi.org/project/construct/ +" +SRC_URI=" + https://github.com/construct/construct/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +BDEPEND=" + test? ( + dev-python/arrow[${PYTHON_USEDEP}] + dev-python/cloudpickle[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/lz4[${PYTHON_USEDEP}] + >=dev-python/numpy-1.15.4[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + tests/test_benchmarks.py +) + +pkg_postinst() { + ewarn "Version 2.10.x has significant API and implementation changes from" + ewarn "previous 2.9.x releases. Please read the documentation at" + ewarn "https://construct.readthedocs.io/en/latest/transition210.html" + ewarn "for more info." +} diff --git a/dev-python/email-validator/Manifest b/dev-python/email-validator/Manifest index b28949611faf..53c35c66a799 100644 --- a/dev-python/email-validator/Manifest +++ b/dev-python/email-validator/Manifest @@ -1 +1,2 @@ DIST email_validator-2.0.0.post2.tar.gz 45253 BLAKE2B b213ebab2a10acf6c2ab95d382fa78ef92f41ff85ce25c1cfa5a65403e728fd05c66df3dccbaec77eea469d0665701ad5d8047c31e69b57ed8e6fe52f3a1f9c5 SHA512 8c4abc955d909ef05ca89d6c6931bce06de199c33c5f8d0744d44ff00ee69c1841f295882af3da03963cc90ef031da46cdaef90249f73e0c7b47f19dfb816b62 +DIST email_validator-2.1.0.tar.gz 46254 BLAKE2B 2bb1740a4c205d159cb968c405e18384b9c34cf38477919c1f7b5a42d0677e6186769445cf516b0aa142e9aeeb0a800bb80d59e32219fc78fd9a199f78683da2 SHA512 c53d1700fdeac5e1e4240916647d6dc406174f1e249c94e0127832177e549ad8aa4115d4d238947e7a3da35e2748f788695ac22d0dc66a3d135b01de825a8356 diff --git a/dev-python/email-validator/email-validator-2.1.0.ebuild b/dev-python/email-validator/email-validator-2.1.0.ebuild new file mode 100644 index 000000000000..ac87d5ae3a5d --- /dev/null +++ b/dev-python/email-validator/email-validator-2.1.0.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 +PYPI_PN=email-validator +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="A robust email syntax and deliverability validation library" +HOMEPAGE=" + https://github.com/JoshData/python-email-validator/ + https://pypi.org/project/email-validator/ +" + +LICENSE="CC0-1.0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +SLOT="0" + +RDEPEND=" + >=dev-python/idna-2.8[${PYTHON_USEDEP}] + >=dev-python/dnspython-1.15.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + epytest -m "not network" +} 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/nbxmpp/Manifest b/dev-python/nbxmpp/Manifest index d77791cdfad3..07ce8e4d1504 100644 --- a/dev-python/nbxmpp/Manifest +++ b/dev-python/nbxmpp/Manifest @@ -1,2 +1,3 @@ DIST python-nbxmpp-3.2.5.tar.bz2 132029 BLAKE2B 846f3b47c3a9a95cf1fa1b557a007fd4901fb4acaa3160ea4b9b1cdff1e9d2c3e64bc5251b739d816f3f1c449c350d1ac44c14cbef87d14fe5a6450418451007 SHA512 577f8c7b0f5a7c69b4d980bff93f0a208ab0a660d731eb95ec63b76583194b94bd9d9f6b10fcac3951a6e6afb5d0c4da2140cbc17ef653f19ec6957b5d2e5f04 DIST python-nbxmpp-4.3.3.tar.bz2 136583 BLAKE2B 2b5a8cf976a44747c9ab245c6744d6b9b797e5634cff689c17f929107b5ed9e01273cf34e96427d26df0397c70d7fdb7a9f4db095d7582b00e464bea4ea9f4b5 SHA512 0c433821b88103418a9326519f8793ae5b430901141333b10a747e60eeec63d576020b3b32b610a5dd52a4a4ec22572eb8728d92460411bdc92b4c54d3764980 +DIST python-nbxmpp-4.4.0.tar.bz2 137431 BLAKE2B 5c14d8c8519a862a50d53ff3b7a3f33d8ba4d1e82e9e5b9a9b011f8f36c05ef7c217c95f9410911476c8b24ba2430bda8ad7eafba1ab490b0bc3f55d9cce69ba SHA512 2d6d1ca38345e14785e3a8b85a0f98343daee2e968e5da3e7abd07625fd35318a01d1bb2841fd65c0d05d2a5afccf1226a1d8c273614cedf1a7d3c9543ea83e1 diff --git a/dev-python/nbxmpp/nbxmpp-4.4.0.ebuild b/dev-python/nbxmpp/nbxmpp-4.4.0.ebuild new file mode 100644 index 000000000000..f9b45ad3e450 --- /dev/null +++ b/dev-python/nbxmpp/nbxmpp-4.4.0.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 + +MY_P=python-nbxmpp-${PV} +DESCRIPTION="Python library to use Jabber/XMPP networks in a non-blocking way" +HOMEPAGE=" + https://dev.gajim.org/gajim/python-nbxmpp/ + https://pypi.org/project/nbxmpp/ +" +SRC_URI=" + https://dev.gajim.org/gajim/python-nbxmpp/-/archive/${PV}/${MY_P}.tar.bz2 +" +S=${WORKDIR}/${MY_P} + +SLOT="0" +LICENSE="GPL-3" +KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86" + +RDEPEND=" + dev-libs/gobject-introspection + net-libs/libsoup:3.0[introspection] + dev-python/idna[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/precis-i18n-1.0.0[${PYTHON_USEDEP}] + >=dev-python/pygobject-3.42[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest diff --git a/dev-python/pefile/pefile-2023.2.7.ebuild b/dev-python/pefile/pefile-2023.2.7.ebuild index ac14d8d17590..46006be3357a 100644 --- a/dev-python/pefile/pefile-2023.2.7.ebuild +++ b/dev-python/pefile/pefile-2023.2.7.ebuild @@ -15,7 +15,7 @@ if [[ ${PV} == 9999 ]] ; then inherit git-r3 else SRC_URI="https://github.com/erocarrera/pefile/releases/download/v${PV}/${P}.tar.gz -> ${P}.gh.tar.gz" - KEYWORDS="amd64 ~arm ~arm64 ~loong ~riscv x86" + KEYWORDS="amd64 arm arm64 ~loong ~riscv x86" fi LICENSE="MIT" diff --git a/dev-python/pyhamcrest/Manifest b/dev-python/pyhamcrest/Manifest index d9bbb9460f54..0170c93eca81 100644 --- a/dev-python/pyhamcrest/Manifest +++ b/dev-python/pyhamcrest/Manifest @@ -1 +1,2 @@ DIST PyHamcrest-2.0.4.gh.tar.gz 59952 BLAKE2B 76d8bbe2581c178f26cabac5207b6f26f0e86d66848a51fb24d313fdafffc75d40a02f02a73462358ca55a6b50941f849c542340b854aed83a37cef5876d90e4 SHA512 6ee558fe04dce839d5d5d20b90ecf82fed96570e1c5b3a827fce19dba167bf4702ea707560b19e2d6e82be20913deb6cf17fa7e140733899a92abb28e9f2aa56 +DIST PyHamcrest-2.1.0.gh.tar.gz 62526 BLAKE2B 5f4a836c6f0e61977fe0d572987a75fa9803d2362afb95d27d22aa8a567844823452b99c40c8160cca4407a60dbbeff3f6fdf03163da9ee643e082a64e83c512 SHA512 99017a75954b346622f9bd261a4f8827f82eb42a19551a7f96f9097a763e57afcc367a41a4cca742bda60ee0e7c3bcc2ca7025348e318f41e67c97c7a60961b5 diff --git a/dev-python/pyhamcrest/pyhamcrest-2.1.0.ebuild b/dev-python/pyhamcrest/pyhamcrest-2.1.0.ebuild new file mode 100644 index 000000000000..c0e22ba70b0a --- /dev/null +++ b/dev-python/pyhamcrest/pyhamcrest-2.1.0.ebuild @@ -0,0 +1,41 @@ +# 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 + +MY_P="PyHamcrest-${PV}" +DESCRIPTION="Hamcrest framework for matcher objects" +HOMEPAGE=" + https://github.com/hamcrest/PyHamcrest/ + https://pypi.org/project/PyHamcrest/ +" +SRC_URI=" + https://github.com/hamcrest/PyHamcrest/archive/V${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD" +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" + +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx doc \ + dev-python/sphinx-rtd-theme +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_install_all() { + use examples && dodoc -r examples + distutils-r1_python_install_all +} diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest index aa65242cad0c..801cb50c3f5e 100644 --- a/dev-python/pylint/Manifest +++ b/dev-python/pylint/Manifest @@ -4,3 +4,4 @@ DIST pylint-2.17.7.gh.tar.gz 1415651 BLAKE2B 9b2edea7d7d9e05fd265749cb1e50e77513 DIST pylint-3.0.0.gh.tar.gz 1418878 BLAKE2B e0e86bc53e3b081b92a1f7af94a53b125e4d57c08c269e30defd51fcf07024deaf02a664d05d506a469999e6f6660a4f3d26a6698f8023f48a9d81467dce0282 SHA512 77f20425d03fd2e13e3c6ee7f75b32f37918aafbaeab7280d4275e4bdd285d9d4df541e6165bbe76a57663ff78dc4d8126a72788ee29b08fea5c479f9b162b09 DIST pylint-3.0.0b0.gh.tar.gz 1421208 BLAKE2B e58859e85b5001236a7f92060bca3e828957c8a24b3f0981cac795f0a0ce1af3d0be3ab8cc45c9e7fee173f988598e23fb3b9bc3c257d2e354c7d1c621ae7301 SHA512 265f29d28879c09320a8aa3d235873d96505a2472fb9b41ac0f11fa453c2e4d3fb57133bc588583ac82bdaad895b1cafe828f5662d3700baf6eaf6c3f22817db DIST pylint-3.0.1.gh.tar.gz 1419203 BLAKE2B 6a1c3db074c39a6cd838b39db13650192eb08b95210b95a78e518f9a2cf6c22b92c691f52c6fc08fff5363b12f028897d512f92de7fafabcbdfaeb18ae5535f9 SHA512 c8eca77f70a794e9dc764a70107afdd684a873ab00d6f51d400b96f6e06a39db014a27ef0505f2f7a370e5457e5061c78d2aab4fe1bf59746db4bbe3ae102423 +DIST pylint-3.0.2.gh.tar.gz 1420866 BLAKE2B 2679810940ee5b4a4dcde5a4a3d70052901d6ca8dfd025708fdfe3fadffc7713d3507eaea9a67a2fc0748478e8b6e2c2e66e487bf93749fcd9fea7d070197b16 SHA512 923fab3681aa266aa633cc122cd2076dc73588191ed116da0e83d9d0cff253c93634dd420d32b5ea780c25a8e9ff526d8393d4eae2e046a2ff82df3f5f9322a4 diff --git a/dev-python/pylint/pylint-3.0.2.ebuild b/dev-python/pylint/pylint-3.0.2.ebuild new file mode 100644 index 000000000000..9566fca7584c --- /dev/null +++ b/dev-python/pylint/pylint-3.0.2.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} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +MY_P=${P/_beta/b} +DESCRIPTION="Python code static checker" +HOMEPAGE=" + https://pypi.org/project/pylint/ + https://github.com/pylint-dev/pylint/ +" +SRC_URI=" + https://github.com/pylint-dev/pylint/archive/v${PV/_beta/b}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="examples" + +# Make sure to check https://github.com/pylint-dev/pylint/blob/main/pyproject.toml#L34 on bumps +# Adjust dep bounds! +RDEPEND=" + <dev-python/astroid-3.1[${PYTHON_USEDEP}] + >=dev-python/astroid-3.0.1[${PYTHON_USEDEP}] + >=dev-python/dill-0.3.7[${PYTHON_USEDEP}] + >=dev-python/isort-4.2.5[${PYTHON_USEDEP}] + <dev-python/isort-6[${PYTHON_USEDEP}] + >=dev-python/mccabe-0.6[${PYTHON_USEDEP}] + <dev-python/mccabe-0.8[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] + >=dev-python/tomlkit-0.10.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + >=dev-python/GitPython-3[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # TODO + 'tests/test_functional.py::test_functional[dataclass_with_field]' + + # incompatible versions of numpy/scikit-learn? + 'tests/test_functional.py::test_functional[no_name_in_module]' + 'tests/test_functional.py::test_functional[shadowed_import]' + ) + local EPYTEST_IGNORE=( + # No need to run the benchmarks + tests/benchmark/test_baseline_benchmarks.py + ) + + rm -rf pylint || die + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p timeout +} + +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 +} diff --git a/dev-python/sphinx_lv2_theme/Manifest b/dev-python/sphinx-lv2-theme/Manifest index d14a0addb93c..1327a83bbadc 100644 --- a/dev-python/sphinx_lv2_theme/Manifest +++ b/dev-python/sphinx-lv2-theme/Manifest @@ -1 +1,2 @@ +DIST sphinx_lv2_theme-1.4.2.tar.gz 14331 BLAKE2B 3d0e40af9a48c0595b1b99b87ca6fc35a557d0f7543609ab71deb277563c9c460ac6310179f0384510143fa4056bce1c1338e481f812393ffa82e063c14bc067 SHA512 51c9cca9cd28878496706a4716ec722b695257392ab09adfbfe70e3dadeb72c7620cdbb56562411e8b99d3af942cec63a346781512ead188c6b2d6eae3623336 DIST sphinx_lv2_theme-v1.4.0.tar.bz2 10368 BLAKE2B c4ef7bb51965ebecb193d13b6d3866db6234bec8387c9e532550cafb14bf404711715f60831912770998e4cd9feb21a7d3ea1d8e987e276ec644ce51f63e6be6 SHA512 fba7af83bbc7e47a3a87e7b819cd83009b4b2e04e6280efe56b0f7bc348f784a85f004b7124a5c3704329be95a0432ca690f9675e6b9330ecf493994258ddc8c diff --git a/dev-python/sphinx_lv2_theme/metadata.xml b/dev-python/sphinx-lv2-theme/metadata.xml index 997fc6604978..997fc6604978 100644 --- a/dev-python/sphinx_lv2_theme/metadata.xml +++ b/dev-python/sphinx-lv2-theme/metadata.xml diff --git a/dev-python/sphinx_lv2_theme/sphinx_lv2_theme-1.4.0.ebuild b/dev-python/sphinx-lv2-theme/sphinx-lv2-theme-1.4.0.ebuild index 3761a3a2a5ea..f8de3d2310b2 100644 --- a/dev-python/sphinx_lv2_theme/sphinx_lv2_theme-1.4.0.ebuild +++ b/dev-python/sphinx-lv2-theme/sphinx-lv2-theme-1.4.0.ebuild @@ -8,13 +8,14 @@ PYTHON_COMPAT=( python3_{8,9,10,11,12} ) inherit distutils-r1 +MY_P=${PN//-/_}-v${PV} DESCRIPTION="Minimal pure-CSS Sphinx theme using the LV2 plugin documentation style" HOMEPAGE=" https://gitlab.com/lv2/sphinx_lv2_theme/ https://pypi.org/project/sphinx-lv2-theme/ " -SRC_URI="https://gitlab.com/lv2/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2" -S="${WORKDIR}/${PN}-v${PV}" +SRC_URI="https://gitlab.com/lv2/sphinx_lv2_theme/-/archive/v${PV}/${MY_P}.tar.bz2" +S=${WORKDIR}/${MY_P} LICENSE="ISC" SLOT="0" diff --git a/dev-python/sphinx-lv2-theme/sphinx-lv2-theme-1.4.2.ebuild b/dev-python/sphinx-lv2-theme/sphinx-lv2-theme-1.4.2.ebuild new file mode 100644 index 000000000000..d7b4c7135775 --- /dev/null +++ b/dev-python/sphinx-lv2-theme/sphinx-lv2-theme-1.4.2.ebuild @@ -0,0 +1,19 @@ +# 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="Minimal pure-CSS Sphinx theme using the LV2 plugin documentation style" +HOMEPAGE=" + https://gitlab.com/lv2/sphinx_lv2_theme/ + https://pypi.org/project/sphinx-lv2-theme/ +" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" diff --git a/dev-python/sphinx-tabs/Manifest b/dev-python/sphinx-tabs/Manifest index 741ae43b25cd..85cca3f7fe1c 100644 --- a/dev-python/sphinx-tabs/Manifest +++ b/dev-python/sphinx-tabs/Manifest @@ -1 +1,2 @@ DIST sphinx-tabs-3.4.1.gh.tar.gz 524071 BLAKE2B 5aecb9c22a298c1347bf82cbbc16709f3f6cd38b0f0f6e4948411f1fdd79ba17d3e75178b8c092df7b8abc812dd4b0102879774708552a062aad0fe0b0653717 SHA512 b6079d3ae91479d40aaf35926226eb7dd783de7cec0e721cb13a036fc520bb3afda0dffb0669dc5054fc665125c3620261b1ea7ffe685d5b177bc980e3b4d7e4 +DIST sphinx-tabs-3.4.4.gh.tar.gz 524297 BLAKE2B 5361006ca99be157f01a7efd6ea50bbd87c1672caf0badbbde11ef832dddfd40232723fc5900a37fdb18112c5e4ddd9717829e96fd6e3afad8205c11c209d439 SHA512 365c472e88016e5c2d83a509d617ff13fc2c8c0a35fa9626244de9af2a242c2bbc4941241b3d1d863d261b15967a5694a0edb6c1d5614dce9d72531ea5138e03 diff --git a/dev-python/sphinx-tabs/sphinx-tabs-3.4.4.ebuild b/dev-python/sphinx-tabs/sphinx-tabs-3.4.4.ebuild new file mode 100644 index 000000000000..1232b14867b7 --- /dev/null +++ b/dev-python/sphinx-tabs/sphinx-tabs-3.4.4.ebuild @@ -0,0 +1,52 @@ +# 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="Tabbed views for Sphinx" +HOMEPAGE=" + https://github.com/executablebooks/sphinx-tabs/ + https://pypi.org/project/sphinx-tabs/ +" +SRC_URI=" + https://github.com/executablebooks/sphinx-tabs/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/pytest-regressions[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs dev-python/sphinx-rtd-theme + +EPYTEST_DESELECT=( + # Unpackaged rinohtype + tests/test_build.py::test_rinohtype_pdf +) + +src_prepare() { + # annoying, incorrect version limitations + sed -i -e '/install_requires/d' setup.py || die + + distutils-r1_src_prepare +} diff --git a/dev-python/tavern/Manifest b/dev-python/tavern/Manifest index dcc614ce2bd1..9b12da6a78ea 100644 --- a/dev-python/tavern/Manifest +++ b/dev-python/tavern/Manifest @@ -1,2 +1,3 @@ DIST tavern-2.2.0.gh.tar.gz 213603 BLAKE2B 3a192424817d641da7428e27d49c553f9554fb740c9b0cde0d8e693fc204deb15d6f08f8bb60d961278f26b9f7c17bffb68cc7136cc9cc496eb74dd845ec5158 SHA512 731e479f3fe69cdaa28e391512207edde1084f3844da9c77ee7c917096422a009a4beeed9c135b773550c181f698d41ac83b013b111535e527f90569e16a00b4 DIST tavern-2.3.0.gh.tar.gz 211676 BLAKE2B 80506d846036c7a68bf27c30e734a92983eadaff07e68a101e120a6284be750bc195817f1686cdaabe8dfe906720e5b41d22098db8f91e911438a60a2cbdd5db SHA512 2c1292cd047195b6e2059514f517b29caebeac3af370b298938cbbc8b5bc861dd818c3e45e25a65fa1acbbae96f36aa2d024edcee49b0086d459f3d41d4052ed +DIST tavern-2.5.0.gh.tar.gz 217343 BLAKE2B bcb9d7f753b14351cd98e12e9d392f9effa716651f8686d053dc72080a2b738b02f78665f2bb07012b4c6ec7b39a661dfdc74a0272c036718cc13e2d731b4cee SHA512 9d957f815b57ba01d9707c1a3e8f715f062194efd0b24d82ebb99aec4bb83965e31a6538f3ff7748d3acd52b32cd38a097a4d36fe71faf1703dbf70ff0454111 diff --git a/dev-python/tavern/tavern-2.5.0.ebuild b/dev-python/tavern/tavern-2.5.0.ebuild new file mode 100644 index 000000000000..2ae4a6d5c265 --- /dev/null +++ b/dev-python/tavern/tavern-2.5.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +DESCRIPTION="A tool, library, and Pytest plugin for testing RESTful APIs" +HOMEPAGE=" + https://github.com/taverntesting/tavern/ + https://pypi.org/project/tavern/ +" +SRC_URI=" + https://github.com/taverntesting/tavern/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/jmespath[${PYTHON_USEDEP}] + dev-python/paho-mqtt[${PYTHON_USEDEP}] + >=dev-python/pyjwt-2.5.0[${PYTHON_USEDEP}] + dev-python/pykwalify[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/python-box[${PYTHON_USEDEP}] + >=dev-python/pyyaml-6.0.1[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/stevedore[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/colorlog[${PYTHON_USEDEP}] + dev-python/Faker[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # strip unnecessary pins, upstream doesn't update them a lot + sed -i -E -e 's:,?<=?[0-9.]+::' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + epytest -p tavern +} diff --git a/dev-python/tzlocal/Manifest b/dev-python/tzlocal/Manifest index dc4903811f4d..0eaa49b09e0a 100644 --- a/dev-python/tzlocal/Manifest +++ b/dev-python/tzlocal/Manifest @@ -1,2 +1,3 @@ DIST tzlocal-5.0.1.gh.tar.gz 25032 BLAKE2B a1b0d2d2d6422c91752332d789efddad5f14e02e0097deaea1b8df2de20686d1e73dddb1864c5c643b20f8cfce56ff28adb741f7ae74b58409a60bf0eb172057 SHA512 b89293180e82334e3c1627845516ac25d8862c799d6d56a9eff13549bfafef2e4e4b0a624e9455e4310429f50b9d82fa984b7dfe8cdd9ed3dc7325ea89c0c5b1 DIST tzlocal-5.1.gh.tar.gz 25413 BLAKE2B e4ed9c3161d049e9e00176d3ebf9a30db0f65b8c5141498d3a5d4df9e9bb299e6a307e462884640cbdaa781a3a5c07bc453e36d0eb772da0e22bbf6e474de187 SHA512 692d7ac8d04cdc3da43d75fbbd99b329b1436ef6b41540604bd65f667ac5f20219dc769d0379f41eb8723521e2ad4d2b9f399326f3d1a41b9f63c0db4341eb0d +DIST tzlocal-5.2.gh.tar.gz 25734 BLAKE2B a2f1084e9128bc66ff861bd953a7c7a1c69e29d1e411f9489b9ff13cbadac75f42c126ddd3b66e8426e41d6376d3f9646192dc4bb5ed421b602b85bd8f109233 SHA512 21e25ef6756cb11277027dc388f779f68b1c5e03c1e7dced81fdebe0d3656c81c363a1c2f3a98344f34325bc9533d995c5a006ab7b34ff2907442a6994024d4e diff --git a/dev-python/tzlocal/tzlocal-5.2.ebuild b/dev-python/tzlocal/tzlocal-5.2.ebuild new file mode 100644 index 000000000000..1246e30854e2 --- /dev/null +++ b/dev-python/tzlocal/tzlocal-5.2.ebuild @@ -0,0 +1,32 @@ +# 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 + +DESCRIPTION="tzinfo object for the local timezone" +HOMEPAGE=" + https://github.com/regebro/tzlocal/ + https://pypi.org/project/tzlocal/ +" +# symlinks aren't correctly preserved in sdist, as of 5.0.1 +SRC_URI=" + https://github.com/regebro/tzlocal/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/uvloop/Manifest b/dev-python/uvloop/Manifest index 4df2666edcbe..9cfd3df88558 100644 --- a/dev-python/uvloop/Manifest +++ b/dev-python/uvloop/Manifest @@ -1,2 +1,3 @@ DIST uvloop-0.17.0.tar.gz 2279973 BLAKE2B 7ccbf3b8e723e36c1010a70e256de0ad1a9728fe10b3538e05c57157b16ea7e5369347c855cd1460e49f89197ebb05628c4b6fcd7e50c623b1aaa5890ac64b5f SHA512 861d7f28ad879ecbfa40d53b9626e38660f02618fd433edbd5a8ea5100a17ade042a26549def04bc23f928aca3adc83d62503f0548038cd400284f5654003ee4 DIST uvloop-0.18.0.tar.gz 2319264 BLAKE2B 9aeef9278ec97dce62458b3ce4833ef5beeb101d3feaf5b2e45d1ac05b2f40c21bcd6aa3135694c8b9dc9e8078cbd0c74d113784a10f94039f6bbeaf24b06f1f SHA512 1ce01f3e4fca15d1f76c71eb29abb608f6f65d6ebdb3f79ed7c63db5b96bb1325f7a7d97c3adbf8cdb2506907ad13a1c88c767fd3a143cd728f9153ec8958d0e +DIST uvloop-0.19.0.tar.gz 2318492 BLAKE2B 1c46a8bf3e204c261e3a5e60c3583b75b8b9b20086443725c42842f96ea3f6804242470aa9569f8cc74a6e3bd38b5aaa70f9a9d92b5df3e73911acc169185570 SHA512 b6ca7ba7baf61dc930bb92e35013e5abaf7a227a5e99c88ec4b58fa87a40692151d9891b81d9e514a8481df62bb9721baa789ec234dcbbb34f69e0bee489c57c diff --git a/dev-python/uvloop/uvloop-0.19.0.ebuild b/dev-python/uvloop/uvloop-0.19.0.ebuild new file mode 100644 index 000000000000..2fc810ede5f0 --- /dev/null +++ b/dev-python/uvloop/uvloop-0.19.0.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Ultra-fast implementation of asyncio event loop on top of libuv" +HOMEPAGE=" + https://github.com/magicstack/uvloop/ + https://pypi.org/project/uvloop/ +" + +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 -riscv ~sparc ~x86" +LICENSE="MIT" +SLOT="0" +IUSE="examples" + +DEPEND=" + >=dev-libs/libuv-1.11.0:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + <dev-python/cython-3[${PYTHON_USEDEP}] + >=dev-python/cython-0.29.32[${PYTHON_USEDEP}] + test? ( + dev-python/aiohttp[${PYTHON_USEDEP}] + >=dev-python/pyopenssl-22.0.0[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + rm -r vendor || die + cat <<-EOF >> setup.cfg || die + [build_ext] + use_system_libuv=True + cython_always=True + EOF + + # flake8 only + #rm tests/test_sourcecode.py || die + # force cythonization + rm uvloop/loop.c || die + # hangs + #sed -i -e 's:test_remote_shutdown_receives_trailing_data:_&:' \ + # tests/test_tcp.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local EPYTEST_IGNORE=( + # linting + tests/test_sourcecode.py + ) + local EPYTEST_DESELECT=( + # TODO: expects some... cython_helper? + tests/test_libuv_api.py::Test_UV_libuv::test_libuv_get_loop_t_ptr + # unhappy about sandbox injecting its envvars + tests/test_process.py::Test_UV_Process::test_process_env_2 + tests/test_process.py::Test_AIO_Process::test_process_env_2 + # hangs + tests/test_tcp.py::Test_AIO_TCPSSL::test_remote_shutdown_receives_trailing_data + # crashes on assertion + # https://github.com/MagicStack/uvloop/issues/574 + tests/test_cython.py::TestCythonIntegration::test_cython_coro_is_coroutine + ) + + rm -rf uvloop || die + epytest -s +} + +python_install_all() { + use examples && dodoc -r examples + distutils-r1_python_install_all +} |
