25 lines
857 B
Bash
25 lines
857 B
Bash
# Template file for 'python-sqlalchemy-migrate'
|
|
pkgname=python-sqlalchemy-migrate
|
|
version=0.12.0
|
|
revision=6
|
|
build_style=python2-module
|
|
hostmakedepends="python-setuptools python-pbr"
|
|
depends="python-pbr python-SQLAlchemy python-decorator python-six
|
|
python-sqlparse python-tempita"
|
|
short_desc="Database schema migration for SQLAlchemy (Python2)"
|
|
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
|
|
|
|
alternatives="
|
|
migrate:migrate-repository:/usr/bin/migrate-repository2
|
|
migrate:migrate:/usr/bin/migrate2"
|
|
|
|
post_install() {
|
|
mv ${DESTDIR}/usr/bin/migrate-repository{,2}
|
|
mv ${DESTDIR}/usr/bin/migrate{,2}
|
|
vlicense COPYING LICENSE
|
|
}
|