diff options
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/Manifest.gz | bin | 263306 -> 263305 bytes | |||
-rw-r--r-- | dev-python/griffe/Manifest | 2 | ||||
-rw-r--r-- | dev-python/griffe/griffe-0.30.0.ebuild | 45 | ||||
-rw-r--r-- | dev-python/munch/Manifest | 2 | ||||
-rw-r--r-- | dev-python/munch/munch-4.0.0.ebuild | 28 | ||||
-rw-r--r-- | dev-python/pillow/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pillow/pillow-10.0.0.ebuild | 133 | ||||
-rw-r--r-- | dev-python/pyupgrade/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pyupgrade/pyupgrade-3.8.0.ebuild | 30 |
9 files changed, 244 insertions, 0 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 01a40c55d59f..2fe6c34f853a 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/griffe/Manifest b/dev-python/griffe/Manifest index 02e74ba2a7aa..58a7ec75d6c5 100644 --- a/dev-python/griffe/Manifest +++ b/dev-python/griffe/Manifest @@ -1,5 +1,7 @@ DIST griffe-0.29.0.gh.tar.gz 157523 BLAKE2B 2854d6e30898e7aec9b6481215311956bcd9b24eb4b7cb36c11515f36a90467cabfc2cf9320bf4dcb44f04d8dd855cde97a749f7b51529cbfe5bd5e8e4391d9c SHA512 3367e48ac9337d180621fa694babc61dec445cc86b1555a65d14547c95aabda637ef72d86d3a1eb16fc736923876cda6c2ba51fa346551e5e134b490557d1459 DIST griffe-0.29.1.gh.tar.gz 159747 BLAKE2B b998c2014a883ddb5c845b620ceba7a6edcaf7fbd7178ad356961cd1f0866927008d7ac16c1a0f13e886812ae706b3d117f8cd8e26e5f46999da44d843f0cd43 SHA512 f8405b2ace1dac83e451fa344d395f8e1733362409853b7952cbe10321eb13b7524cb96ba899559a08ebdbc57f997b7ee38ba8951730b288e4f87127e87b100b +DIST griffe-0.30.0.gh.tar.gz 165537 BLAKE2B aa6b54e6b15dfc48c1caaa7b440fdaf486cd9e838a047248140e32f4a8ae1ba05aed36643f1c2681abe58e0858789df8228eb346bede5909d9016e0d2f9fd9be SHA512 0741ad533243628a08c25e9b9ce91a463653851429bc469f635d740ad3974e1545c3e70e3ce6213b684bd9bfdd283fcaf3721255df0de83b79193ac25617e175 EBUILD griffe-0.29.0.ebuild 827 BLAKE2B ce36608d42756f021fa6b19f5d5c53ceb738c3b6ee6d9c7c9129630a0ffd8c9fe28dcec424d3087eaf4a1396cb317bb1322c4d2f589fc8358899ef7630d3f73f SHA512 cd0d580d94ed8f03ac04985bcc40ca1ea70aad8172bb39290f4f106f0e0eec3c7eb41f05fec954a2ee02308c5c5a0f2fb6f54ebd35081cff9922b86d7b0ade05 EBUILD griffe-0.29.1.ebuild 827 BLAKE2B ce36608d42756f021fa6b19f5d5c53ceb738c3b6ee6d9c7c9129630a0ffd8c9fe28dcec424d3087eaf4a1396cb317bb1322c4d2f589fc8358899ef7630d3f73f SHA512 cd0d580d94ed8f03ac04985bcc40ca1ea70aad8172bb39290f4f106f0e0eec3c7eb41f05fec954a2ee02308c5c5a0f2fb6f54ebd35081cff9922b86d7b0ade05 +EBUILD griffe-0.30.0.ebuild 958 BLAKE2B 10c44ac7ea571eac3359a86c6f614a0281c08af4600e92757877ffe96cdd38f1080f5677143487429b436e913399b26d02917961a9d300f9cd97446b7e8ca15f SHA512 03f908068ab85bff169f4e2dff0a3750cb78f9ad9837a706cd8acb6c6a72d4cf57ecc35de39367320c8cf4b816f0abbba043ce457919985cdfc10acb3d536756 MISC metadata.xml 398 BLAKE2B eb35dbbdd7d3482404991416d9e06e3e87f88a96cc91d481b5a2f53eb732172116b4cfefa1a65f9ba8db44e2b10ed0fd6e4031b7d17382e9e931d1a2eedb322e SHA512 833aac5d52c2584143d67b7ad325e9538cee17d454410b3c4708ad9b47f58d3b2c0875d735b149603bb36ae124d24343b2e456a6db5e5f806da2e13f32c108cc diff --git a/dev-python/griffe/griffe-0.30.0.ebuild b/dev-python/griffe/griffe-0.30.0.ebuild new file mode 100644 index 000000000000..c8d57610c9ff --- /dev/null +++ b/dev-python/griffe/griffe-0.30.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Signature generator for Python programs" +HOMEPAGE=" + https://mkdocstrings.github.io/griffe/ + https://github.com/mkdocstrings/griffe/ + https://pypi.org/project/griffe/ +" +# Tests need files absent from the PyPI tarballs +SRC_URI=" + https://github.com/mkdocstrings/griffe/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~riscv" + +RDEPEND=" + >=dev-python/colorama-0.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/jsonschema-4.17.3[${PYTHON_USEDEP}] + >=dev-python/pytest-xdist-2.4[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export PDM_BUILD_SCM_VERSION=${PV} + +EPYTEST_DESELECT=( + # fragile to installed packages + # (failed on PySide2 for me) + tests/test_stdlib.py::test_fuzzing_on_stdlib +) diff --git a/dev-python/munch/Manifest b/dev-python/munch/Manifest index ae2bb207bb86..557d610d14ba 100644 --- a/dev-python/munch/Manifest +++ b/dev-python/munch/Manifest @@ -1,5 +1,7 @@ DIST munch-2.5.0.tar.gz 17015 BLAKE2B 17af271ae082a6e5f91781ba48a440f11cbe85ecb81d47ee2bc51910307080e3ba6c95e99e7475534400b2915a86d8f853bc65d419c3d3b7138bf021e66de25c SHA512 7eca31111f40782a19b49535322bc56d723022d52b0842c4beff512f32fa415a6c75851eb84950358cb6a11693095cafe56364028e48385b11135de414edca21 DIST munch-3.0.0.tar.gz 19276 BLAKE2B df7b8ee8ff807c2a1ca61974d70379623411db2229d176b890949aa3318f7b2ec1e108a340e55445751c46da24deb0f749d66fb69f9e10e92a04a01c766a73c6 SHA512 d08ac1b19badf0fb17f2dc81e53ab7492e49da225d8fa890fa9227df9d4e2bce395c7d7a8000f635529c1fb2a7eccd4eef10370b76e95b960955985b38003baf +DIST munch-4.0.0.tar.gz 19089 BLAKE2B 17aba6f5ab3e2e532a9deb8623ef10aa569231e5457b96acacd7c11117db47afa82409f9bf8aa384a8207c23d4af1140dca6db27c73df05658b8ad3997ad071a SHA512 7beeee4d3fd084ac929e796cd62af097c2602a3ec06405f79b562bc6d14577350adbbe02848253c62f0938e706b9056799bfd5b9c2bdff6e559b3903b8cdca5c EBUILD munch-2.5.0-r2.ebuild 664 BLAKE2B dbba9c68bfe1d452c898a8b6f590f50fe9c75610c0a1d5124d57ae797dc5a797d44618534a725165e39601076ab12a88428d21dcaaa7c3db08234deb06ddfc96 SHA512 89ae6ed8ef58fc95766c252362e305f428a5f1953f98df9c5a982e1f92c896dac4ada7882c8f20bb429920c309eeb5a1232e219f458e808c64b7964b2e9cd873 EBUILD munch-3.0.0.ebuild 673 BLAKE2B 71c93d764b116d5460ad39b2ba17ec7695371add97580517de01e71533d0dea1ee4670e70b6b04b2f0f209f17f0a40e172914a24fdaaec623056dba51069978d SHA512 54252e2bd3472c42f5b7c022bb1a8fe09759eb5641762642bbbb04a854014c50316e36e9cfb66878396832b5c04add2841b230c094857013b21652ecab7a39d8 +EBUILD munch-4.0.0.ebuild 627 BLAKE2B 6fa2e802ac095972e84881ee2bbacaee5a738fb7487e0e4091a97fb79242ae339014f2c36468737c40805faefc79ef9661b2dd87936f0f0ec64c88633d5729da SHA512 aa40eb29ffb852c9bc3bbf02bb95ca8ca95e73d9a70b8b9331f5a707ea05bcc2a25eb29514c4ab0cd8cf394e5ddaf1d80f95fa4352a39bc6776c2cfab16f643f MISC metadata.xml 401 BLAKE2B ab900d598b463036c2f6d7cb6a5b1abcc25e5739d3fb953741abae620ee8ac845077870dacf433211c5a4d14972114f8d16b94a86514be5de7667a2ab32b1f45 SHA512 f3334ff207272f39f44dad54f2d173218b2192675e04dd076cc16b461a656e146f3ba5b73e53ef8c115c5c3f32f40664f6191c31aa20fec5bcedb61186fed4bf diff --git a/dev-python/munch/munch-4.0.0.ebuild b/dev-python/munch/munch-4.0.0.ebuild new file mode 100644 index 000000000000..37013f500332 --- /dev/null +++ b/dev-python/munch/munch-4.0.0.ebuild @@ -0,0 +1,28 @@ +# 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_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="A dot-accessible dictionary (a la JavaScript objects)" +HOMEPAGE=" + https://github.com/Infinidat/munch/ + https://pypi.org/project/munch/ +" + +LICENSE="MIT" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +SLOT="0" + +BDEPEND=" + dev-python/pbr[${PYTHON_USEDEP}] + test? ( + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/pillow/Manifest b/dev-python/pillow/Manifest index 1b1f06070a99..61f46bc987e4 100644 --- a/dev-python/pillow/Manifest +++ b/dev-python/pillow/Manifest @@ -1,3 +1,5 @@ +DIST pillow-10.0.0.gh.tar.gz 50537667 BLAKE2B f0ce48e947363c16c0bb08881b42dcf845a142fe7d2162154f5ddce47bf909fc4c829dcb4365ee363680a41c247cea28eef37c879d22959ef69c9dc5adce91f4 SHA512 a963ae8398c609569e1b23d2362f6382cd888698492ba2349f9c931a04c463fbdc27a43e53d1dee8bbb1b5e88c0d5eb655f6f5e9df7d489c206b6acda0adec3a DIST pillow-9.5.0.gh.tar.gz 50491974 BLAKE2B 663c14b89ddd1e2d49872994033a04e500d0b6eccbb8d6ce094f58ae1aaf3f215e9984f2afeb43fb83e0c3c93af1150beeb7d5f0abb77c59087901b53fd24e37 SHA512 da0c7a1bde4741ced168c013fdc7afa8af1100bba878bdaeeb9804fed4dcf70c07ed62004ab2c73694eae3d28e2d72d46c155f78b540075aafb36c8e7a5649ff +EBUILD pillow-10.0.0.ebuild 3449 BLAKE2B 3f2353177e9e860b99a21d7e98c4fe2f5e400377c56af26a0d3ceca9383dd197e47954d2f661cd6c145cc8b7ac11a84079b851c7723a698d7aa3084357e15833 SHA512 8cb14e0135294963092c911be5860c9e9444ef1d0137e881bccf1617e61756bc4c333670f6e7866f225a20918ccfafcc95f7ac2af8be308f70517e2cb77246a5 EBUILD pillow-9.5.0.ebuild 3379 BLAKE2B 24be0608c1dbac735e4bf9b8fe01069cd1ccc4aad532bc2073c6832f06abfc6b982362f0c2a71d4dec5381f7f3b10712693b016680189495b2a5eeb69d622f21 SHA512 623bed259f3371bbd3ac6b106cd309620a31f59db736ca8f00a34d02ae1878d5b262ffec6c4d34eee3704fccea99bb3efd45dbf9ff0f1ac18962356cc42511e6 MISC metadata.xml 480 BLAKE2B b42e6b01b1572a0688ef93025a0baaa95b9fd0c3a5eabcddcea7145dd880a95f11859b255ae24a376ca792559ffcf940c67da1b19f2f579dbc6ef6de68903749 SHA512 b98a33136aef4498051370bce3295b000687ddb80b4d909b26b32af61b4e4638d07269f7924ae039420af63236aa74b51e23d2feae1c83349683073c69714582 diff --git a/dev-python/pillow/pillow-10.0.0.ebuild b/dev-python/pillow/pillow-10.0.0.ebuild new file mode 100644 index 000000000000..56c451474659 --- /dev/null +++ b/dev-python/pillow/pillow-10.0.0.ebuild @@ -0,0 +1,133 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +# setuptools wrapper +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{10..12} 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 lcms tiff truetype )" +RESTRICT="!test? ( test )" + +DEPEND=" + imagequant? ( media-gfx/libimagequant:= ) + jpeg? ( media-libs/libjpeg-turbo:= ) + jpeg2k? ( media-libs/openjpeg:2= ) + lcms? ( media-libs/lcms:2= ) + tiff? ( media-libs/tiff:=[jpeg,zlib] ) + truetype? ( media-libs/freetype:2= ) + webp? ( media-libs/libwebp:= ) + xcb? ( x11-libs/libxcb ) + zlib? ( sys-libs/zlib:= ) +" +RDEPEND=" + ${DEPEND} + dev-python/olefile[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + 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() { + local EPYTEST_DESELECT=( + # TODO (is clipboard unreliable in Xvfb?) + Tests/test_imagegrab.py::TestImageGrab::test_grabclipboard + ) + + "${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/pyupgrade/Manifest b/dev-python/pyupgrade/Manifest index a0c598a448c2..2a88de1f11c0 100644 --- a/dev-python/pyupgrade/Manifest +++ b/dev-python/pyupgrade/Manifest @@ -3,9 +3,11 @@ DIST pyupgrade-3.3.2.gh.tar.gz 62698 BLAKE2B 5dc1d9e9ea7b91cb2835ffdbc109fb4fcde DIST pyupgrade-3.4.0.gh.tar.gz 62408 BLAKE2B a816cea1e2b17790312d4e17ec972a1e09a0dd81c6fe4f7eb28c686b39b468b84190b26cf9ae5a711f70f8c1213c0b472975cc76339f64d2af4b4a8593af6b79 SHA512 cf9b8d8b430949eb0b49ec1b28576db7d6932c83a727660fe5e2cd61ae32e3efba63120580e0184931e3fdd4a4913a0f9cb37984ca83adeab05ab3ca57107b27 DIST pyupgrade-3.6.0.gh.tar.gz 62595 BLAKE2B a6622985e4b26bfb55cdeebd2323bd912289399bffa167b7d4ac1d16c11072b9b58793193febed31838d72691f3c6882914cd7005391f477a2ca6c78b808a33d SHA512 15b3ea59e0afbd5da0c2e7d60ed938d418107eb99cae7d2a5059fcea3f3ea69f451fed962cbdbb40655c39911c92f21bb9ace55f9b1bc65be2f8870b5b48acb8 DIST pyupgrade-3.7.0.gh.tar.gz 62560 BLAKE2B 65715106db02e83f801b47aad5e48ba6e84cc42121298a210de8893752392ecbf99953fb6e0b7a2629b76e454523520794b7107226587d7dcfb46eecaad82439 SHA512 cd6b0a1516e91e1e8823333aaa314ca265387ea8dfb5739e428703f2dd798755126dc6269a5d253d6eaa3118d096945e9492f7f122ae306f6d5835b8aa9fa30f +DIST pyupgrade-3.8.0.gh.tar.gz 62529 BLAKE2B d82a8670bd14294f3320f57643173e8e2963898133f38158902d6c6df01bd6859204a40b8f83ff533ca16ff583f3a739cbbba2a9c3a9205ffd796ba81f6cfbb6 SHA512 af04d68560fb520361ce42be449b26d3c590337ba3b54adfaf610e9477c3e913d3f38f742d055f6e435a3dc7695ae18b22d011b3cfec02b6c41c7b64a6e83b3b EBUILD pyupgrade-3.3.1.ebuild 600 BLAKE2B dc5cdc612040d908d449a6236d309e204fdedf5d23e26d0606887d98e223f147aab1b7cb1a81785d96b47847b0fcfa837e1dbd861574881e331fb2a34067f90e SHA512 d4992e7058082702ce3a6e3749d6d9843406303d47ba8a055f441f02673e62e9fd2ced64884edcdb4b3cc169136744061d96b8eba1709969ec1bcc5e60c56f0a EBUILD pyupgrade-3.3.2.ebuild 640 BLAKE2B d7b1163683c3cef68065a9ea2700b41800f9cd25bdcb740ddd64206d6ace4436d870033da90bceff0c4716bc6d3fa4d51a23f265bce8e81f819d68b3d4ab8b64 SHA512 a0ed19613c4ef04b7b1991a61213376f63911b41bbe358538509691f709395cafc177f4007eb9cc36bd1a358d59c170b4731c9195bf1e86f3213ee7a47ae3eb2 EBUILD pyupgrade-3.4.0.ebuild 640 BLAKE2B d7b1163683c3cef68065a9ea2700b41800f9cd25bdcb740ddd64206d6ace4436d870033da90bceff0c4716bc6d3fa4d51a23f265bce8e81f819d68b3d4ab8b64 SHA512 a0ed19613c4ef04b7b1991a61213376f63911b41bbe358538509691f709395cafc177f4007eb9cc36bd1a358d59c170b4731c9195bf1e86f3213ee7a47ae3eb2 EBUILD pyupgrade-3.6.0.ebuild 641 BLAKE2B 103f33a5355845e6a073b3525181f8ca6db914e17cf68fca24cba79b086c536573cf8c1ccd8496a913bef0eccc2a2c8d09730dcc73db7c0fb33fbcffc05e4bfe SHA512 0997f770c8056c86261da7271bd30a4b6335dad90c7d6fbb00dd53729656bb968c29f28d9f294a2be1a647271bcb9304363a29c8b2aa95b87f26a0eca3414820 EBUILD pyupgrade-3.7.0.ebuild 641 BLAKE2B 103f33a5355845e6a073b3525181f8ca6db914e17cf68fca24cba79b086c536573cf8c1ccd8496a913bef0eccc2a2c8d09730dcc73db7c0fb33fbcffc05e4bfe SHA512 0997f770c8056c86261da7271bd30a4b6335dad90c7d6fbb00dd53729656bb968c29f28d9f294a2be1a647271bcb9304363a29c8b2aa95b87f26a0eca3414820 +EBUILD pyupgrade-3.8.0.ebuild 641 BLAKE2B 103f33a5355845e6a073b3525181f8ca6db914e17cf68fca24cba79b086c536573cf8c1ccd8496a913bef0eccc2a2c8d09730dcc73db7c0fb33fbcffc05e4bfe SHA512 0997f770c8056c86261da7271bd30a4b6335dad90c7d6fbb00dd53729656bb968c29f28d9f294a2be1a647271bcb9304363a29c8b2aa95b87f26a0eca3414820 MISC metadata.xml 603 BLAKE2B a9513a08115930ae37b1a3dc5bd2c0649e646bfdad961f10478b9575c597ffad2847b13642e9433ed7ffa41a2ffae0410616e7eb1cc2a00dfdc181f98639419a SHA512 f9da5ac513c1ee7e1411642119344abf4d409bffc2b1cac997bee625add8ceb5982931d9cddeee082d1943f405a70bea617b06b3bbc6f3787ea987b8e43554b1 diff --git a/dev-python/pyupgrade/pyupgrade-3.8.0.ebuild b/dev-python/pyupgrade/pyupgrade-3.8.0.ebuild new file mode 100644 index 000000000000..8d3990592700 --- /dev/null +++ b/dev-python/pyupgrade/pyupgrade-3.8.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{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/ +" +# no tests in sdist, as of 3.3.2 +SRC_URI=" + https://github.com/asottile/pyupgrade/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + dev-python/tokenize-rt[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest |