~dricottone/huttese-apk

ref: 1511e47d8f419624416d31e2675f67f2713f03f8 huttese-apk/sr.ht/py3-sqlalchemy-utils/APKBUILD -rw-r--r-- 1012 bytes
1511e47d — Drew DeVault Fix pkgkit build -r/-u inconsistency 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
# Maintainer: Drew DeVault <sir@cmpwn.com>
_name=SQLAlchemy-Utils
pkgname=py3-sqlalchemy-utils
pkgver=0.32.9
pkgrel=0
pkgdesc="Various utility functions, new data types and helpers for SQLAlchemy."
url="https://github.com/kvesteri/sqlalchemy-utils"
arch="noarch"
license="Apache"
# TODO: I imagine many of these can be made optdepends
depends="
	python3
	py3-anyjson
	py3-babel
	py3-arrow
	py3-intervals
	py3-phonenumbers
	py3-passlib
	py3-colour
	py3-dateutil
	py3-furl
	py3-cryptography
"
makedepends="py-setuptools"
source="https://pypi.python.org/packages/4e/85/bf1255b8fdef127a019f1ed7ff174a5f7482bc539f83213cf137eb703f1e/SQLAlchemy-Utils-0.32.9.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="bc2c6c67de086f4fefb44f83e15f5174fc5c0a231bc92a13515d22804a9e521b61c7b4406fc89458c78a69264edccb07a17dbbf89c3ec50ab9b3374bc8b9349d  SQLAlchemy-Utils-0.32.9.tar.gz"