2023-04-25 07:04:17 +00:00

35 lines
947 B
Plaintext

# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-sqlalchemy-utils
_pkgname=SQLAlchemy-Utils
pkgver=0.41.0
pkgrel=1
pkgdesc="Various utility functions and custom data types for SQLAlchemy"
url="https://sqlalchemy-utils.readthedocs.io/"
arch="noarch"
license="BSD-3-Clause"
depends="python3 py3-sqlalchemy"
makedepends="
py3-gpep517
py3-setuptools
py3-wheel
"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
build() {
gpep517 build-wheel \
--wheel-dir dist \
--output-fd 3 3>&1 >&2
}
package() {
python3 -m installer -d "$pkgdir" \
dist/*.whl
}
sha512sums="
bf4c55e30a2d8c1eca94a504d17daa5cc9c2587c9ed390e21712ba311aa743b32a727a6caa6b2d102451744b7503771e1acb225ee011adca83e4b5a3c87c5ac3 SQLAlchemy-Utils-0.41.0.tar.gz
"