# 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"