mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
*/*: replace uses of mirror://pypi/ with pypi.eclass
Signed-off-by: YiFei Zhu <zhuyifei1999@gmail.com>
This commit is contained in:
@@ -3,12 +3,12 @@
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_10 pypy3 )
|
||||
inherit distutils-r1
|
||||
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="mirror://pypi/${P:0:1}/${PN}/${PN}-${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI="$(pypi_sdist_url --no-normalize ${PN} ${MY_PV}) -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
LICENSE="MIT"
|
||||
|
||||
Reference in New Issue
Block a user