~dricottone/huttese-apk

ref: 04866bce431285aa74b6f5775b94629cc5dcafd5 huttese-apk/sr.ht/py3-arrow/APKBUILD -rw-r--r-- 699 bytes
04866bce — Drew DeVault Set all pkgrels to zero 7 years ago
                                                                                
129e647f Drew DeVault
04866bce Drew DeVault
129e647f Drew DeVault
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
# Maintainer: Drew DeVault <sir@cmpwn.com>
_name=arrow
pkgname=py3-arrow
pkgver=0.10.0
pkgrel=0
pkgdesc="Better dates and times for Python"
url="http://crsmithdev.com/arrow/"
arch="noarch"
license="GPL"
depends="python3"
makedepends="py-setuptools py3-dateutil py-nose"
source="https://files.pythonhosted.org/packages/source/a/arrow/arrow-${pkgver}.tar.gz"
builddir="$srcdir/${_name}-${pkgver}"

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

package() {
	cd "$builddir"
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="a2baa23f1424b21506f3b664f0ef02d09f91b9cfaf6e0badfa544f42c750ed51136ae0e8910ac24207c0265a1b233f10a6f3cbafee3124b5f5c4fd965cfd01c0  arrow-0.10.0.tar.gz"