python-sqlalchemy-migrate: split python3-sqlachemy-migrate
This commit is contained in:
parent
cb5e87ef87
commit
28e40fc4b9
@ -2,10 +2,10 @@
|
||||
pkgname=python-sqlalchemy-migrate
|
||||
version=0.12.0
|
||||
revision=6
|
||||
build_style=python-module
|
||||
pycompile_module="migrate"
|
||||
hostmakedepends="python-setuptools python3-setuptools python-pbr python3-pbr"
|
||||
depends="python-pbr python-SQLAlchemy python-decorator python-six python-sqlparse python-tempita"
|
||||
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"
|
||||
@ -18,20 +18,7 @@ alternatives="
|
||||
migrate:migrate:/usr/bin/migrate2"
|
||||
|
||||
post_install() {
|
||||
mv ${DESTDIR}/usr/bin/migrate-repository{,2}
|
||||
mv ${DESTDIR}/usr/bin/migrate{,2}
|
||||
vlicense COPYING LICENSE
|
||||
}
|
||||
|
||||
python3-sqlalchemy-migrate_package() {
|
||||
alternatives="
|
||||
migrate:migrate-repository:/usr/bin/migrate-repository3
|
||||
migrate:migrate:/usr/bin/migrate3"
|
||||
depends="python3-pbr python3-SQLAlchemy python3-decorator python3-six
|
||||
python3-sqlparse python3-tempita"
|
||||
pycompile_module="migrate"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/bin/*3
|
||||
vmove usr/lib/python3*
|
||||
vlicense COPYING LICENSE
|
||||
}
|
||||
}
|
||||
|
@ -1 +0,0 @@
|
||||
python-sqlalchemy-migrate
|
26
srcpkgs/python3-sqlalchemy-migrate/template
Normal file
26
srcpkgs/python3-sqlalchemy-migrate/template
Normal file
@ -0,0 +1,26 @@
|
||||
# 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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user