diff options
Diffstat (limited to 'community/py3-constantly/APKBUILD')
-rw-r--r-- | community/py3-constantly/APKBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/community/py3-constantly/APKBUILD b/community/py3-constantly/APKBUILD new file mode 100644 index 0000000000..00e35e3023 --- /dev/null +++ b/community/py3-constantly/APKBUILD @@ -0,0 +1,27 @@ +# Contributor: prspkt <prspkt@protonmail.com> +# Maintainer: prspkt <prspkt@protonmail.com> +pkgname=py3-constantly +_pkgname=constantly +pkgver=15.1.0 +pkgrel=3 +pkgdesc="Library that provides symbolic constant support" +url="https://github.com/twisted/constantly" +arch="noarch" +license="MIT" +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-constantly" # Backwards compatibility +provides="py-constantly=$pkgver-r$pkgrel" # Backwards compatibility + +build() { + python3 setup.py build +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="ccc6f41b0bd552d2bb5346cc9d64cd7b91a59dd30e0cf66b01e82f7e0e079c01c34bc6c66b69c5fee9d2eed35ae5455258d309e66278d708d5f576ddf2e00ac3 constantly-15.1.0.tar.gz" |