~dricottone/huttese-apk

ref: 6b7248ad72e4b2e9c5cbf7da8a8c7ec41d8edfba huttese-apk/sr.ht/py3-sqlalchemy-utils/APKBUILD -rw-r--r-- 969 bytes
6b7248ad — Drew DeVault build.yml: prefer abuild -r over abuild -R 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-sqlalchemy-utils
_pyname=SQLAlchemy-Utils
pkgver=0.36.0
pkgrel=0
pkgdesc="Various utility functions, new data types and helpers for SQLAlchemy."
url="https://github.com/kvesteri/sqlalchemy-utils"
arch="noarch"
license="3-Clause-BSD"
depends="
	python3
	py3-anyjson
	py3-babel
	py3-arrow
	py3-intervals
	py3-phonenumbers
	py3-passlib
	py3-colour
	py3-dateutil
	py3-furl
	py3-cryptography
"
makedepends="py3-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$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="aa15671b8be143137589432ed2f0d4bb1566a777e69ad0de8bbab9b312c668136a0c410fe6a24b26807f11c67da13209690d156c27e651584b496d2a4d11f5ec  SQLAlchemy-Utils-0.36.0.tar.gz"