27 lines
985 B
Bash
27 lines
985 B
Bash
# Template file for 'python3-sqlalchemy-migrate'
|
|
pkgname=python3-sqlalchemy-migrate
|
|
version=0.12.0
|
|
revision=6
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools python3-pbr"
|
|
depends="python3-pbr python3-SQLAlchemy python3-decorator python3-six
|
|
python3-sqlparse python3-tempita"
|
|
checkdepends="python3-pytest python3-testtools ${depends}"
|
|
short_desc="Database schema migration for SQLAlchemy (Python3)"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/stackforge/sqlalchemy-migrate"
|
|
distfiles="${PYPI_SITE}/s/sqlalchemy-migrate/sqlalchemy-migrate-${version}.tar.gz"
|
|
checksum=8cfada30bbcf79a83b3a2d1bcd637de7e1f43e390d54de33e4f3249fd9aacfae
|
|
make_check=no # tests need a specific version of testtools
|
|
|
|
alternatives="
|
|
migrate:migrate-repository:/usr/bin/migrate-repository3
|
|
migrate:migrate:/usr/bin/migrate3"
|
|
|
|
post_install() {
|
|
mv ${DESTDIR}/usr/bin/migrate-repository{,3}
|
|
mv ${DESTDIR}/usr/bin/migrate{,3}
|
|
vlicense COPYING LICENSE
|
|
}
|