python-sqlalchemy-migrate: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
7cc859393a
commit
d479d3f696
2 changed files with 20 additions and 14 deletions
|
@ -1,12 +1,11 @@
|
||||||
# Template file for 'python-sqlalchemy-migrate'
|
# Template file for 'python-sqlalchemy-migrate'
|
||||||
pkgname=python-sqlalchemy-migrate
|
pkgname=python-sqlalchemy-migrate
|
||||||
version=0.10.0
|
version=0.10.0
|
||||||
revision=2
|
revision=3
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="${pkgname#*-}-${version}"
|
wrksrc="${pkgname#*-}-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
hostmakedepends="python-setuptools python3-setuptools python-pbr python3-pbr"
|
||||||
hostmakedepends="python-setuptools python3.4-setuptools python-pbr python3.4-pbr"
|
|
||||||
depends="python-pbr python-SQLAlchemy python-decorator python-six python-sqlparse python-tempita"
|
depends="python-pbr python-SQLAlchemy python-decorator python-six python-sqlparse python-tempita"
|
||||||
pycompile_module="migrate"
|
pycompile_module="migrate"
|
||||||
short_desc="Database schema migration for SQLAlchemy (Python2)"
|
short_desc="Database schema migration for SQLAlchemy (Python2)"
|
||||||
|
@ -17,26 +16,32 @@ distfiles="${PYPI_SITE}/s/sqlalchemy-migrate/sqlalchemy-migrate-${version}.tar.g
|
||||||
checksum=f83c5cce9c09e5c05527279b7fe1565b32e5353342ff30b24f594fa2e5a7e003
|
checksum=f83c5cce9c09e5c05527279b7fe1565b32e5353342ff30b24f594fa2e5a7e003
|
||||||
|
|
||||||
alternatives="
|
alternatives="
|
||||||
migrate:migrate-repository:/usr/bin/migrate-repository2.7
|
migrate:migrate-repository:/usr/bin/migrate-repository2
|
||||||
migrate:migrate:/usr/bin/migrate2.7"
|
migrate:migrate:/usr/bin/migrate2"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING LICENSE
|
vlicense COPYING LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
python3.4-sqlalchemy-migrate_package() {
|
python3-sqlalchemy-migrate_package() {
|
||||||
alternatives="
|
alternatives="
|
||||||
migrate:migrate-repository:/usr/bin/migrate-repository3.4
|
migrate:migrate-repository:/usr/bin/migrate-repository3
|
||||||
migrate:migrate:/usr/bin/migrate3.4"
|
migrate:migrate:/usr/bin/migrate3"
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="python3.4-pbr python3.4-SQLAlchemy python3.4-decorator python3.4-six
|
depends="python3-pbr python3-SQLAlchemy python3-decorator python3-six
|
||||||
python3.4-sqlparse python3.4-tempita"
|
python3-sqlparse python3-tempita"
|
||||||
pycompile_version="3.4"
|
|
||||||
pycompile_module="migrate"
|
pycompile_module="migrate"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
replaces="python3.4-sqlalchemy-migrate>=0"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/*3.4
|
vmove usr/bin/*3
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3*
|
||||||
vlicense COPYING LICENSE
|
vlicense COPYING LICENSE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
python3.4-sqlalchemy-migrate_package() {
|
||||||
|
noarch=yes
|
||||||
|
build_style=meta
|
||||||
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
|
depends="python3-sqlalchemy-migrate>=${version}_${revision}"
|
||||||
|
}
|
||||||
|
|
1
srcpkgs/python3-sqlalchemy-migrate
Symbolic link
1
srcpkgs/python3-sqlalchemy-migrate
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-sqlalchemy-migrate
|
Loading…
Reference in a new issue