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

From: Edd Salkield <[email-masked]>
Date: Fri, 21 Jan 2022 19:41:07 +0000

https://github.com/GothenburgBitFactory/tasklib
A Python library for interacting with taskwarrior databases
---
 testing/py3-tasklib/APKBUILD | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 testing/py3-tasklib/APKBUILD

diff --git a/testing/py3-tasklib/APKBUILD b/testing/py3-tasklib/APKBUILD
new file mode 100644
index 0000000000..5ec639bfe4
--- /dev/null
+++ b/testing/py3-tasklib/APKBUILD
@@ -0,0 +1,24 @@
+# Contributor: Edd Salkield <[email-masked]>
+# Maintainer: Edd Salkield <[email-masked]>
+pkgname=py3-tasklib
+pkgver=2.4.3
+pkgrel=0
+pkgdesc="A Python library for interacting with taskwarrior databases"
+url="https://github.com/GothenburgBitFactory/tasklib"
+arch="noarch"
+license="BSD-3-Clause"
+depends="python3 task"
+makedepends="py3-setuptools"
+source="$pkgname-$pkgver.tar.gz::https://github.com/GothenburgBitFactory/tasklib/archive/refs/tags/$pkgver.tar.gz"
+builddir="$srcdir/tasklib-$pkgver"
+options="!check"	# no upstream tests
+
+package() {
+	python3 setup.py install \
+		--prefix=/usr \
+		--root="$pkgdir" \
+		--single-version-externally-managed
+}
+sha512sums="
+438211da96dcb5a80115b0375f6a425f4629de3e49379bb9d98f9e10342c66d2bb35b92cbd794d1fe78741fc58d89a5edc16b10ab7eb22275c9f9f0a4a87e295  py3-tasklib-2.4.3.tar.gz
+"
-- 
2.34.1