dev-python/googletrans: new package

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Shaoyu Tseng <shaoyu0209@tuta.io>
This commit is contained in:
Shaoyu Tseng
2021-07-29 14:02:37 +08:00
parent cb64f4c41c
commit 3cc91f8359
3 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST googletrans-4.0.0_rc1.tar.gz 20199 BLAKE2B 38047d2dea820272a3b2adc07043230802fc66994966771c7ea55b70c0f79d5fdb22ff6bba8e89f0bc5224be86a21d5026d7dc19f8a370a61f34eecf53296a3c SHA512 fcb0330c51680fa91fdea994cf5ec6d19867c0996183529df5d1d0c63ef4d1fd4e9a2a061d6c01a9a0c302faf640724f3bdaff335ad663874af9588bd3210eaa

View File

@@ -0,0 +1,28 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{8,9} )
#DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
# This package uses rc1 without the underscore which is not supported by
# portage
VNAME="4.0.0rc1"
S="${WORKDIR}/${PN}-${VNAME}"
DESCRIPTION="Free Google Translate API for Python. Translates totally free of charge."
HOMEPAGE="https://pypi.org/project/googletrans"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${PN}-${VNAME}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~arm ~arm64"
RDEPEND="
dev-python/requests[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
<pkgmetadata>
<maintainer type="person">
<email>shaoyu0209@tuta.io</email>
<name>Shaoyu Tseng</name>
</maintainer>
<upstream>
<remote-id type="pypi">googletrans</remote-id>
<remote-id type="github">ssut/py-googletrans</remote-id>
</upstream>
</pkgmetadata>