~dricottone/huttese-apk

ref: 80800668d39acf3b266dc12c8e31e6a376eb1b1c huttese-apk/sr.ht/py3-arrow/APKBUILD -rw-r--r-- 721 bytes
80800668 — Drew DeVault metrics.sr.ht: drop -rules from pkgname 4 years ago
                                                                                
129e647f Drew DeVault
f9216d16 Drew DeVault
31f4ccfb Drew DeVault
04866bce Drew DeVault
129e647f Drew DeVault
f9216d16 Drew DeVault
129e647f Drew DeVault
f9216d16 Drew DeVault
129e647f Drew DeVault
31f4ccfb 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
26
27
28
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-arrow
_pyname=arrow
pkgver=0.15.4
pkgrel=0
pkgdesc="Better dates and times for Python"
url="http://crsmithdev.com/arrow/"
arch="noarch"
license="GPL"
depends="python3"
makedepends="py3-setuptools py3-dateutil"
checkdepends="py3-nose"
source="https://files.pythonhosted.org/packages/source/a/arrow/arrow-${pkgver}.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

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

sha512sums="905cead77a9a75f9511551aff9923321015d4e1615ea44317333dddbe28837932458a46d5237eacf0566e239225a4aabdd1d419ca294c648c8401bf5d8940383  arrow-0.15.4.tar.gz"