# Contributor: Carlo Landmeter # Maintainer: Francesco Colista pkgname=py3-sqlalchemy-migrate _pkgname=sqlalchemy-migrate pkgver=0.12.0 pkgrel=4 pkgdesc="SQLAlchemy Schema Migration Tools" url="https://github.com/openstack/sqlalchemy-migrate" arch="noarch" license="MIT" depends="py3-decorator py3-pbr py3-six py3-sqlalchemy py3-sqlparse py3-tempita" makedepends="py3-setuptools" source="$pkgname-$pkgver.tar.gz::https://github.com/openstack/$_pkgname/archive/$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" replaces=py-sqlalchemy-migrate # Backwards compatibility provides=py-sqlalchemy-migrate=$pkgver-r$pkgrel # Backwards compatibility export PBR_VERSION="$pkgver" build() { python3 setup.py build } check() { python3 setup.py check } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" rm -rf "$pkgdir"/usr/lib/python*/site-packages/migrate/tests } sha512sums="95f3a705bd119ea27b17607c2adfd5f88b979640fe5ed1b309d3aea369b63feb205491e3a8a749a48d62c1b5430aa91658b82faf35f26bd8d95b6c15b2a69fde py3-sqlalchemy-migrate-0.12.0.tar.gz"