From ebdd4239c2a142f4a0ca6476765c0d71d00ee7b5 Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Fri, 27 Mar 2020 12:12:20 +0100 Subject: testing/py3-locket: new aport --- testing/py3-locket/APKBUILD | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 testing/py3-locket/APKBUILD (limited to 'testing') diff --git a/testing/py3-locket/APKBUILD b/testing/py3-locket/APKBUILD new file mode 100644 index 0000000000..62694c5207 --- /dev/null +++ b/testing/py3-locket/APKBUILD @@ -0,0 +1,24 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=py3-locket +pkgver=0.2.0 +pkgrel=0 +pkgdesc="File-based locks for Python" +url="https://github.com/mwilliamson/locket.py" +arch="noarch" +license="BSD-2-Clause" +depends="python3" +makedepends="py3-setuptools" +source="https://pypi.python.org/packages/source/l/locket/locket-$pkgver.tar.gz" +options="!check" # Release tarball doesn't contain the tests +builddir="$srcdir/locket-$pkgver" + +build() { + python3 setup.py build +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="ed9bb25f3fcaa70386217716db5612bf31a923c669cbdb8e871de6df4c0c42bf3309604a1aac804c0f334aed8c88b0ba113d8d265054c0e87793c7b53f729ff9 locket-0.2.0.tar.gz" -- cgit v1.2.3