~dricottone/huttese-apk

ref: 4c477ad90f1340a2be8e95c558b0775540551ac5 huttese-apk/sr.ht/py3-arrow/APKBUILD -rw-r--r-- 721 bytes
4c477ad9 — Drew DeVault metrics.sr.ht: use $_pkgname for tarball 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"