mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 21:13:27 -04:00
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@jroy.ca>
This commit is contained in:
23
dev-python/googletrans/googletrans-4.0.0_rc1-r1.ebuild
Normal file
23
dev-python/googletrans/googletrans-4.0.0_rc1-r1.ebuild
Normal file
@@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
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"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
|
||||
RDEPEND="dev-python/requests[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
||||
Reference in New Issue
Block a user