~alpine/aports

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
3 2

[PATCH] testing/py3-googletrans: new aport

Eloi Torrents <eloitor@disroot.org>
Details
Message ID
<20220506125612.9879-1-eloitor@disroot.org>
DKIM signature
missing
Download raw message
Patch: +34 -0
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 <eloitor@disroot.org>
# Maintainer: Eloi Torrents <eloitor@disroot.org>
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
Details
Message ID
<165184175805.985.6385381777716420925.gitlab.34033.9c5047f8edf1a0b1d403a6d754bf97abf4da3201@listserv.local>
In-Reply-To
<20220506125612.9879-1-eloitor@disroot.org> (view parent)
DKIM signature
missing
Download raw message
I don't know how to fix it. This is my first package.

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/34033#note_234138
Details
Message ID
<165184278065.985.5664797026019265634.gitlab.34033.76cba6c6dad6cf377ee883691060efa924b0a816@listserv.local>
In-Reply-To
<20220506125612.9879-1-eloitor@disroot.org> (view parent)
DKIM signature
missing
Download raw message
it errors because there are no tests for pytest to run, i suppose

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/34033#note_234150
Details
Message ID
<165184412105.985.5231218093216527128.gitlab.34033.3037b5ee733237141c00f1415e93ddd81c4fc352@listserv.local>
In-Reply-To
<20220506125612.9879-1-eloitor@disroot.org> (view parent)
DKIM signature
missing
Download raw message
Ok I removed the tests and  the subpackages

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/34033#note_234157
Reply to thread Export thread (mbox)