# Contributor: # Maintainer: Philipp Glaum pkgname=py3-alembic _pkgname=alembic pkgver=1.11.1 pkgrel=0 pkgdesc="A database migration tool for SQLAlchemy." url="https://pypi.org/project/alembic/" arch="noarch" license="MIT" depends=" py3-dateutil py3-mako py3-python-editor py3-sqlalchemy python3 " makedepends=" py3-gpep517 py3-setuptools py3-wheel " checkdepends="py3-pytest" subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz typing-ext.patch " builddir="$srcdir/$_pkgname-$pkgver" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { python3 -m venv --clear --without-pip --system-site-packages .testenv .testenv/bin/python3 -m installer .dist/*.whl .testenv/bin/python3 -m pytest } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" d068d581df952c2d304534218bd8f948407e288005514501816e60600b186bf03bcc60f485c4c6d5c80caf718210c2bf619f1758327bc592663f160c3bd21e65 alembic-1.11.1.tar.gz 6191e7eff621e3ceb9a28a239e2d8ad2d5606f04fd0c0db39722236f6c69bd442a9a277c0fd013e55e60d1442274742d1f6adfc8c0612aa6bbb88aa0b5bf6600 typing-ext.patch "