From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2ECC91586A6 for ; Tue, 17 Aug 2021 16:46:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 71641E0802; Tue, 17 Aug 2021 16:46:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3B356E07FA for ; Tue, 17 Aug 2021 16:46:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 38957335D1B for ; Tue, 17 Aug 2021 16:46:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C7B8686F for ; Tue, 17 Aug 2021 16:46:09 +0000 (UTC) From: "Jian Lin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jian Lin" Message-ID: <1629142595.2ecf6e68f1f3d46e9073babf778921bb3a8b1e2b.jian@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/googletrans/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/googletrans/googletrans-4.0.0_rc1.ebuild X-VCS-Directories: dev-python/googletrans/ X-VCS-Committer: jian X-VCS-Committer-Name: Jian Lin X-VCS-Revision: 2ecf6e68f1f3d46e9073babf778921bb3a8b1e2b X-VCS-Branch: master Date: Tue, 17 Aug 2021 16:46:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1bc13ae3-56a9-4c24-96ac-352f5e22d92f X-Archives-Hash: bd12647db36af1faeec23c943bd014ad commit: 2ecf6e68f1f3d46e9073babf778921bb3a8b1e2b Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Mon Aug 16 19:36:30 2021 +0000 Commit: Jian Lin outlook 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 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}"