33 lines
919 B
Bash
33 lines
919 B
Bash
# Template file for 'python-alembic'
|
|
pkgname=python-alembic
|
|
version=1.0.5
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="alembic-${version}"
|
|
build_style=python-module
|
|
pycompile_module="alembic"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python-Mako python-SQLAlchemy python-dateutil python-editor"
|
|
short_desc="Database migration tool for SQLAlchemy (Python2)"
|
|
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
|
|
license="MIT"
|
|
homepage="https://bitbucket.org/zzzeek/alembic"
|
|
distfiles="${PYPI_SITE}/a/alembic/alembic-${version}.tar.gz"
|
|
checksum=e9ffdece0eece55f4108b14b6b0f29ffc730d58e28446a434fe41a1cc5c5f266
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-alembic_package() {
|
|
noarch=yes
|
|
pycompile_module="alembic"
|
|
depends="python3-Mako python3-SQLAlchemy python3-dateutil python3-editor"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/bin/*3
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|