aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-uritemplate
diff options
context:
space:
mode:
Diffstat (limited to 'community/py3-uritemplate')
-rw-r--r--community/py3-uritemplate/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/py3-uritemplate/APKBUILD b/community/py3-uritemplate/APKBUILD
new file mode 100644
index 0000000000..39bf0a632b
--- /dev/null
+++ b/community/py3-uritemplate/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Peter Bui <pnutzh4x0r@gmail.com>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=py3-uritemplate
+_pkgname=uritemplate
+pkgver=3.0.1
+pkgrel=0
+pkgdesc="Python3 module to use URO templates"
+url="https://uritemplate.readthedocs.org"
+arch="noarch"
+license="BSD-3-Clause OR Apache-2.0"
+options="!check"
+depends="python3"
+makedepends="py3-setuptools"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+replaces="py-uritemplate" # Backwards compatibility
+provides="py-uritemplate=$pkgver-r$pkgrel" # Backwards compatibility
+
+build() {
+ python3 setup.py build
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="260da5901d28ca2354d972e00ed468c9bcf2901f948cb7759ff3e9d3a7b67da90ba754e555d6695c5095801b106ffd422459f0860b901a75e01575e159eb8f48 uritemplate-3.0.1.tar.gz"