# Contributor: Carlo Landmeter # Maintainer: Francesco Colista pkgname=py3-sqlalchemy-migrate _pkgname=sqlalchemy-migrate pkgver=0.13.0 pkgrel=0 pkgdesc="SQLAlchemy Schema Migration Tools" url="https://opendev.org/x/sqlalchemy-migrate" arch="noarch" license="MIT" depends=" python3 py3-pbr py3-sqlalchemy py3-decorator py3-six py3-sqlparse py3-tempita " makedepends="py3-setuptools" source="https://files.pythonhosted.org/packages/source/s/$_pkgname/$_pkgname-$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="1ca826a5d80c1373ffc4b2366dfb6d5dd24204964462873451c97d8ff4d75fc6c63f663c4769b7f6cc00002f6a98d425f41d759e5c010b4b81a8b74ffbb102b6 sqlalchemy-migrate-0.13.0.tar.gz"