summaryrefslogtreecommitdiff
path: root/user/py3-monotonic/APKBUILD
blob: 473c12f1e8b2c0890e1bc89c86541dfb9f0358f2 (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
31
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=py3-monotonic
_pkgname=monotonic
_p="${_pkgname#?}"
_p="${_pkgname%"$_p"}"
pkgver=1.5
pkgrel=0
pkgdesc="Monotonic clock for Python"
url="https://pypi.org/project/monotonic/"
arch="noarch"
license="Apache-2.0"
depends="python3"
makedepends=""
subpackages=""
source="https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/monotonic-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="05485e0baa51df95f9812d463306ce0bbe7228170b43aed8faa9d77d2b613ffede6b57b3dd273c352e0d1c04782043bec2f36be88cb1acde182a5aeb0538f970  monotonic-1.5.tar.gz"