Subject: [PATCH] testing/py3-pygelbooru: new aport

From: "Haelwenn (lanodan) Monnier" <[email-masked]>
Date: Fri, 22 Jul 2022 16:24:18 +0200

---
 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 <[email-masked]>
+# Maintainer: Haelwenn (lanodan) Monnier <[email-masked]>
+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