1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 11:45:18 +03:00
aports/community/py3-combo-lock/APKBUILD
2022-11-22 20:33:35 +01:00

35 lines
818 B
Text

# Maintainer: psykose <alice@ayaya.dev>
pkgname=py3-combo-lock
pkgver=0.2.4
pkgrel=1
pkgdesc="Python combination of a process lock and a thread lock"
url="https://github.com/forslund/combo-lock"
arch="noarch"
license="Apache-2.0"
depends="
py3-filelock
py3-memory-tempfile
python3
"
makedepends="
py3-setuptools
"
source="$pkgname-$pkgver.tar.gz::https://github.com/forslund/combo-lock/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/combo-lock-$pkgver"
build() {
python3 setup.py build
}
check() {
PYTHONPATH="$PWD" \
python3 -m unittest tests/test_*.py
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
7b00a336037310b6be514278533d7754db616f4ed292ecb6b5bbd7f7984f0f369dc43ac405876004f209f1b98837a0d3f3c5c5370fd11eda733a6390e6b06db9 py3-combo-lock-0.2.4.tar.gz
"