aboutsummaryrefslogtreecommitdiffstats
path: root/main/py3-fasteners/APKBUILD
blob: 94a30f7de7c5cbeed9aecedc23443304945e405d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Contributor: Jean-Louis Fuchs <ganwell@fangorn.ch>
# Maintainer: Jean-Louis Fuchs <ganwell@fangorn.ch>
pkgname=py3-fasteners
pkgver=0.15
pkgrel=0
pkgdesc="A python package that provides useful locks"
url="https://github.com/harlowja/fasteners/"
arch="noarch"
license="Apache-2.0"
depends="python3 py3-monotonic py3-six"
makedepends="python3-dev py3-setuptools"
source="fasteners-$pkgver.tar.gz::https://github.com/harlowja/fasteners/archive/$pkgver.tar.gz"
builddir="$srcdir/fasteners-$pkgver"

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="0c77c7061c8b76d0d018b07a3d33fc71701842f5b686456ebf31069694baa27a6cc47196267f24bc296078e7503ab0709fa28c9f0088c3cf777ea0e133bb5832  fasteners-0.15.tar.gz"