~alpine/aports

testing/py3-pygelbooru: new aport v1 PROPOSED

Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Haelwenn (lanodan) Monnier: 1
 testing/py3-pygelbooru: new aport

 1 files changed, 33 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/4130/mbox | git am -3
Learn more about email & git

[PATCH] testing/py3-pygelbooru: new aport Export this patch

Haelwenn (lanodan) Monnier <contact@hacktivis.me>
---
 testing/py3-pygelbooru/APKBUILD | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 testing/py3-pygelbooru/APKBUILD

diff --git a/testing/py3-pygelbooru/APKBUILD b/testing/py3-pygelbooru/APKBUILD
new file mode 100644
index 0000000000..d2c6269a12
--- /dev/null
+++ b/testing/py3-pygelbooru/APKBUILD
@@ -0,0 +1,33 @@
# Contributor: Haelwenn (lanodan) Monnier <contact+alpine@hacktivis.me>
# Maintainer: Haelwenn (lanodan) Monnier <contact+alpine@hacktivis.me>
pkgname=py3-pygelbooru
_pkgreal=pygelbooru
pkgver=0.5.0
pkgrel=0
pkgdesc="unofficial and lightweight asynchronous library for Gelbooru compatible API"
url="https://github.com/MakotoAme/pygelbooru"
arch="noarch"
license="GPL-3"
depends="python3 py3-aiohttp py3-furl py3-xmltodict"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgreal:0:1}/$_pkgreal/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install \
		--prefix=/usr \
		--root="$pkgdir" \
		--single-version-externally-managed
}

sha512sums="
4301aa8c07bac9d70adbe13a8283869c48944cbaadeb5f28b6649d0d349861a09f21b057d26815e1a826f085ac8d54d135be466d543856ed00fc47d38734e204  pygelbooru-0.5.0.tar.gz
"
-- 
2.35.1