~dricottone/huttese-apk

ref: 810a2724a8a0be6f06e96c23c42cb95e2626dc3c huttese-apk/sr.ht/py3-arrow/APKBUILD -rw-r--r-- 699 bytes
810a2724 — Drew DeVault Update submit-builds 5 years ago
                                                                                
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"