aboutsummaryrefslogtreecommitdiffstats
path: root/main/py2-monotonic/APKBUILD
blob: 49174e146bf6380bdb626d6321fdc8e2b2dce7b9 (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=py2-monotonic
pkgver=1.5
pkgrel=0
pkgdesc="Provides a clock which never goes backwards."
url="https://github.com/atdt/monotonic/"
arch="noarch"
license="Apache-2.0"
depends="python2"
makedepends="python2-dev"
source="monotonic-$pkgver.tar.gz::https://github.com/atdt/monotonic/archive/$pkgver.tar.gz"
builddir="$srcdir/monotonic-$pkgver"

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

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

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

sha512sums="acee69916a82059a027e7bcc03c58deb5ce773a1aff45938699cf09c3ab49b7827c2c01b431593ed76ae49009728c3d52923267eccfc7e15390f8730351a39e2  monotonic-1.5.tar.gz"