commit: c308676313728d0d5c73e7b675259c75f6803fac Author: Julien Roy <julien <AT> jroy <DOT> ca> AuthorDate: Sat Apr 13 19:08:28 2024 +0000 Commit: Julien Roy <julien <AT> jroy <DOT> ca> CommitDate: Sat Apr 13 19:08:28 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c3086763
dev-python/googletrans: enable py3.12, use PEP517 Closes: https://bugs.gentoo.org/800137 Closes: https://bugs.gentoo.org/921817 Closes: https://bugs.gentoo.org/897438 Signed-off-by: Julien Roy <julien <AT> jroy.ca> dev-python/googletrans/Manifest | 2 +- ...etrans-4.0.0_rc1.ebuild => googletrans-4.0.0_rc1-r1.ebuild} | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/dev-python/googletrans/Manifest b/dev-python/googletrans/Manifest index e2a7315339..60209ce737 100644 --- a/dev-python/googletrans/Manifest +++ b/dev-python/googletrans/Manifest @@ -1 +1 @@ -DIST googletrans-4.0.0_rc1.tar.gz 20199 BLAKE2B 38047d2dea820272a3b2adc07043230802fc66994966771c7ea55b70c0f79d5fdb22ff6bba8e89f0bc5224be86a21d5026d7dc19f8a370a61f34eecf53296a3c SHA512 fcb0330c51680fa91fdea994cf5ec6d19867c0996183529df5d1d0c63ef4d1fd4e9a2a061d6c01a9a0c302faf640724f3bdaff335ad663874af9588bd3210eaa +DIST googletrans-4.0.0rc1.tar.gz 20199 BLAKE2B 38047d2dea820272a3b2adc07043230802fc66994966771c7ea55b70c0f79d5fdb22ff6bba8e89f0bc5224be86a21d5026d7dc19f8a370a61f34eecf53296a3c SHA512 fcb0330c51680fa91fdea994cf5ec6d19867c0996183529df5d1d0c63ef4d1fd4e9a2a061d6c01a9a0c302faf640724f3bdaff335ad663874af9588bd3210eaa diff --git a/dev-python/googletrans/googletrans-4.0.0_rc1.ebuild b/dev-python/googletrans/googletrans-4.0.0_rc1-r1.ebuild similarity index 75% rename from dev-python/googletrans/googletrans-4.0.0_rc1.ebuild rename to dev-python/googletrans/googletrans-4.0.0_rc1-r1.ebuild index 4179417c88..d64ef7b2b1 100644 --- a/dev-python/googletrans/googletrans-4.0.0_rc1.ebuild +++ b/dev-python/googletrans/googletrans-4.0.0_rc1-r1.ebuild @@ -1,14 +1,18 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_10 pypy3 ) + +PYTHON_COMPAT=( python3_{10..12} pypy3 ) +DISTUTILS_USE_PEP517=setuptools +PYPI_NONORMALIZE=1 + inherit distutils-r1 pypi MY_PV=${PV/_/} DESCRIPTION="Free Google Translate API for Python. Translates totally free of charge." HOMEPAGE="https://pypi.org/project/googletrans/ https://github.com/ssut/py-googletrans" -SRC_URI="$(pypi_sdist_url --no-normalize ${PN} ${MY_PV}) -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${MY_PV}" LICENSE="MIT"
