~dricottone/huttese-apk

ref: bc082d37b7ec7c1e65e4a962e2639117eaaa01d0 huttese-apk/sr.ht/py3-arrow/APKBUILD -rw-r--r-- 721 bytes
bc082d37 — Drew DeVault pkgkit: generate sane pkgver for untagged repos 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"