diff options
-rw-r--r-- | user/py3-incremental/APKBUILD | 31 |
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" |