~dricottone/huttese-apk

ref: c4b1be97033dbe3ebec9dc77e3207693133b5c87 huttese-apk/sr.ht/py3-sqlalchemy-utils/APKBUILD -rw-r--r-- 971 bytes
c4b1be97 — Drew DeVault Update all non-sr.ht Python packages 3 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
41
42
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-sqlalchemy-utils
_pyname=SQLAlchemy-Utils
pkgver=0.37.6
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="
ee405b89fa31bd15225ad24d3d8351e91649513a9e5d709370724950329f765a5c6c3c4bee3a2ea3cab53b763a6018e8dc232fc5892f16c8a0e8efa76faf32fa  SQLAlchemy-Utils-0.37.6.tar.gz
"