summaryrefslogtreecommitdiff
path: root/user/py3-incremental/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-15 00:12:57 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-15 00:12:57 +0000
commit69baa6d68a535e17e9d5dad4a430178d21b17010 (patch)
tree12319053d2beba18cb4f89f05decb15641c67887 /user/py3-incremental/APKBUILD
parentea8696de9f1f6650449fad032d42143262cfcf0b (diff)
downloadpackages-69baa6d68a535e17e9d5dad4a430178d21b17010.tar.gz
packages-69baa6d68a535e17e9d5dad4a430178d21b17010.tar.bz2
packages-69baa6d68a535e17e9d5dad4a430178d21b17010.tar.xz
packages-69baa6d68a535e17e9d5dad4a430178d21b17010.zip
user/py3-incremental: new package
Diffstat (limited to 'user/py3-incremental/APKBUILD')
-rw-r--r--user/py3-incremental/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/user/py3-incremental/APKBUILD b/user/py3-incremental/APKBUILD
new file mode 100644
index 000000000..ff3ed3cb7
--- /dev/null
+++ b/user/py3-incremental/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=py3-incremental
+pkgver=17.5.0
+pkgrel=0
+pkgdesc="A small library for versioning Python projects"
+url="https://pypi.org/project/incremental/"
+arch="noarch"
+license="MIT"
+depends=""
+makedepends="python3"
+subpackages=""
+source="https://files.pythonhosted.org/packages/8f/26/02c4016aa95f45479eea37c90c34f8fab6775732ae62587a874b619ca097/incremental-$pkgver.tar.gz"
+builddir="$srcdir/incremental-$pkgver"
+
+build() {
+ cd "$builddir"
+ python3 setup.py build
+}
+
+check() {
+ cd "$builddir"
+ python3 setup.py test
+}
+
+package() {
+ cd "$builddir"
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="91443205f7c92ec8f6502f38379c5ac2fe441435ff9490af01e5420d6bb05bb1c666dd612fc45204199a34afd533fd3de1390ca482bb554dfec7d3a22958a4bc incremental-17.5.0.tar.gz"