mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-23 05:53:12 -04:00
dev-python/googletrans: update EAPI, enable py3.10
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -1,28 +1,19 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI="7"
|
EAPI=8
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||||
PYTHON_COMPAT=( python3_{8,9} )
|
|
||||||
|
|
||||||
#DISTUTILS_USE_SETUPTOOLS=rdepend
|
|
||||||
|
|
||||||
inherit distutils-r1
|
inherit distutils-r1
|
||||||
|
|
||||||
# This package uses rc1 without the underscore which is not supported by
|
MY_PV=${PV/_/}
|
||||||
# portage
|
|
||||||
VNAME="4.0.0rc1"
|
|
||||||
S="${WORKDIR}/${PN}-${VNAME}"
|
|
||||||
|
|
||||||
DESCRIPTION="Free Google Translate API for Python. Translates totally free of charge."
|
DESCRIPTION="Free Google Translate API for Python. Translates totally free of charge."
|
||||||
HOMEPAGE="https://pypi.org/project/googletrans"
|
HOMEPAGE="https://pypi.org/project/googletrans https://github.com/ssut/py-googletrans"
|
||||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${PN}-${VNAME}.tar.gz -> ${P}.tar.gz"
|
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${PN}-${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||||
|
|
||||||
LICENSE="MIT"
|
LICENSE="MIT"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||||
|
|
||||||
RDEPEND="
|
RDEPEND="dev-python/requests[${PYTHON_USEDEP}]"
|
||||||
dev-python/requests[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}"
|
DEPEND="${RDEPEND}"
|
||||||
|
|||||||
Reference in New Issue
Block a user