Received: from knopi.disroot.org (knopi.disroot.org [178.21.23.139]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id DAF117814C4 for ; Fri, 6 May 2022 12:52:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 7A6A042E27; Fri, 6 May 2022 14:52:58 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rR058_ualEok; Fri, 6 May 2022 14:52:57 +0200 (CEST) From: Eloi Torrents DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1651841576; bh=Xnk/Dilz4MGsnpRqg5c9Nj+2hdjw3lDWDV9k6ucUZfU=; h=From:To:Cc:Subject:Date; b=Y0/PGGFdv8fWh3RcOOpoCHTonJ4z7sCWG991jV/fUMVNPWjqQwMCxtBB5v5X8n1+u AY/GGlqh8xE4J9U3kMNlrf5PCB1QmsUPtrhGBiSVwcYRMpeUatyDDq7LL91liOpVNi 9CptCsiY3dD9cCI5+xKivExhh6IEUTpNxo3nh2RalJ66Nz+1555QkeeFN9+9235s4F +xWuyy5Okna6xrdH6LuP0fU+IQW/XCpA2/Bvub4Y8FL8BLwnYUPpi5w9P9K8UJ418k nO6jE1t3XjvHt2rq6kQQcDMjeX59Xy2zdl3sNaFrIPDvni3HBR87t2tUqN/Ytf+yDt UT70UMP6rbMrg== To: alpine-aports@lists.alpinelinux.org Cc: Eloi Torrents Subject: [PATCH] testing/py3-googletrans: new aport Date: Fri, 6 May 2022 14:56:12 +0200 Message-Id: <20220506125612.9879-1-eloitor@disroot.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit https://py-googletrans.readthedocs.io/en/latest/ Free Google Translate API for Python --- testing/py3-googletrans/APKBUILD | 34 ++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 testing/py3-googletrans/APKBUILD diff --git a/testing/py3-googletrans/APKBUILD b/testing/py3-googletrans/APKBUILD new file mode 100644 index 0000000000..2957db71b8 --- /dev/null +++ b/testing/py3-googletrans/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Eloi Torrents +# Maintainer: Eloi Torrents +pkgname=py3-googletrans +pkgver=3.0.0 +pkgrel=0 +pkgdesc="Free Google Translate API for Python" +url="https://py-googletrans.readthedocs.io/en/latest/" +arch="all" +license="MIT" +depends=" + py3-httpx + python3 + " +makedepends="py3-setuptools" +checkdepends="py3-pytest" +subpackages="$pkgname-dev $pkgname-doc" +source="https://pypi.io/packages/source/g/googletrans/googletrans-$pkgver.tar.gz" +builddir="$srcdir/googletrans-$pkgver" + +build() { + python3 setup.py build +} + +check() { + pytest +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums=" +1a31c52e1fc72ab45131c95ff3649d1d679e3c082adc2b43ba1e5d9bbc57bf740c9e14575c6416e406e6e6e1796cac57330fbb1a639ad96841464e042ef70981 googletrans-3.0.0.tar.gz +" -- 2.36.0