~dricottone/apkbuilds

ref: de512ca534b7f8c089f44eb2c60a82b4c7f87520 apkbuilds/src/py3-sqlalchemy-utils/APKBUILD -rw-r--r-- 958 bytes
de512ca5Dominic Ricottone sr.ht packages fix a month 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
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-sqlalchemy-utils
_pyname=SQLAlchemy-Utils
pkgver=0.41.1
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-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="
f1f5d935acfb52808913d326c08584cab053193b58308d4f1eb77f818424ca849c55f1333ffde399d60e5da571224083abd828a5f70c3365709e739b9b5f3103  SQLAlchemy-Utils-0.41.1.tar.gz
"