public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jian Lin" <jlin.gentoo@outlook.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/googletrans/
Date: Tue, 17 Aug 2021 16:46:09 +0000 (UTC)	[thread overview]
Message-ID: <1629142595.2ecf6e68f1f3d46e9073babf778921bb3a8b1e2b.jian@gentoo> (raw)

commit:     2ecf6e68f1f3d46e9073babf778921bb3a8b1e2b
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Mon Aug 16 19:36:30 2021 +0000
Commit:     Jian Lin <jlin.gentoo <AT> outlook <DOT> com>
CommitDate: Mon Aug 16 19:36:35 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2ecf6e68

dev-python/googletrans: update EAPI, enable py3.10

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 .../googletrans/googletrans-4.0.0_rc1.ebuild       | 23 +++++++---------------
 1 file changed, 7 insertions(+), 16 deletions(-)

diff --git a/dev-python/googletrans/googletrans-4.0.0_rc1.ebuild b/dev-python/googletrans/googletrans-4.0.0_rc1.ebuild
index 3e5826522..50b507606 100644
--- a/dev-python/googletrans/googletrans-4.0.0_rc1.ebuild
+++ b/dev-python/googletrans/googletrans-4.0.0_rc1.ebuild
@@ -1,28 +1,19 @@
 # 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
-
+EAPI=8
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
 inherit distutils-r1
 
-# This package uses rc1 without the underscore which is not supported by
-# portage
-VNAME="4.0.0rc1"
-S="${WORKDIR}/${PN}-${VNAME}"
-
+MY_PV=${PV/_/}
 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"
+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"
+S="${WORKDIR}/${PN}-${MY_PV}"
 
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 
-RDEPEND="
-	dev-python/requests[${PYTHON_USEDEP}]
-"
+RDEPEND="dev-python/requests[${PYTHON_USEDEP}]"
 DEPEND="${RDEPEND}"


             reply	other threads:[~2021-08-17 16:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-17 16:46 Jian Lin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-13 22:19 [gentoo-commits] repo/proj/guru:master commit in: dev-python/googletrans/ Julien Roy
2021-07-30  9:11 Andrew Ammerlaan
2021-07-30  9:11 Andrew Ammerlaan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1629142595.2ecf6e68f1f3d46e9073babf778921bb3a8b1e2b.jian@gentoo \
    --to=jlin.gentoo@outlook.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox