aboutsummaryrefslogtreecommitdiffstats
path: root/main/py3-monotonic/APKBUILD
blob: 732f799df7be50ffab049ab3da431c365b70b050 (plain) (blame)
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-monotonic
pkgver=1.5
pkgrel=1
pkgdesc="Provides a clock which never goes backwards."
url="https://github.com/atdt/monotonic/"
arch="noarch"
license="Apache-2.0"
depends="python3"
makedepends="python3-dev"
source="monotonic-$pkgver.tar.gz::https://github.com/atdt/monotonic/archive/$pkgver.tar.gz"
builddir="$srcdir/monotonic-$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="acee69916a82059a027e7bcc03c58deb5ce773a1aff45938699cf09c3ab49b7827c2c01b431593ed76ae49009728c3d52923267eccfc7e15390f8730351a39e2  monotonic-1.5.tar.gz"