diff options
author | Bart Ribbers <bribbers@disroot.org> | 2020-03-28 11:21:57 +0100 |
---|---|---|
committer | Rasmus Thomsen <oss@cogitri.dev> | 2020-05-06 20:36:43 +0000 |
commit | 802c71b1e53f8605a96fdfebc69c5af1a5c1a36d (patch) | |
tree | 74fa378cb8d74def9cb3345ffb5335d48024b8ca | |
parent | 60e7ebee36725b61f923d4fe34af5785ae52d3d8 (diff) | |
download | aports-802c71b1e53f8605a96fdfebc69c5af1a5c1a36d.tar.bz2 aports-802c71b1e53f8605a96fdfebc69c5af1a5c1a36d.tar.xz |
testing/py3-lazy: new aport
-rw-r--r-- | testing/py3-lazy/APKBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/py3-lazy/APKBUILD b/testing/py3-lazy/APKBUILD new file mode 100644 index 0000000000..ebb06345e7 --- /dev/null +++ b/testing/py3-lazy/APKBUILD @@ -0,0 +1,27 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=py3-lazy +pkgver=1.4 +pkgrel=0 +pkgdesc="Lazy attributes for Python objects" +url="https://github.com/stefanholek/lazy" +arch="noarch" +license="BSD-2-Clause" +depends="python3" +makedepends="py3-setuptools" +source="https://github.com/stefanholek/lazy/archive/$pkgver/lazy-$pkgver.tar.gz" +builddir="$srcdir/lazy-$pkgver" + +build() { + python3 setup.py build +} + +check() { + python3 setup.py test +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="2a735b1436d3ebc76791645631cfcf54f1e332fd365c317bee92498b10397ec8206b271ae74427cae02985808a843eb98720c91e62dce93bb75702205da161bc lazy-1.4.tar.gz" |