From 69baa6d68a535e17e9d5dad4a430178d21b17010 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Thu, 15 Nov 2018 00:12:57 +0000 Subject: user/py3-incremental: new package --- user/py3-incremental/APKBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 user/py3-incremental/APKBUILD (limited to 'user/py3-incremental') 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 +# Maintainer: A. Wilcox +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" -- cgit v1.2.3-70-g09d2