26 lines
711 B
Bash
26 lines
711 B
Bash
|
# Template file for 'python3-alembic'
|
||
|
pkgname=python3-alembic
|
||
|
version=1.4.2
|
||
|
revision=2
|
||
|
archs=noarch
|
||
|
wrksrc="alembic-${version}"
|
||
|
build_style=python3-module
|
||
|
hostmakedepends="python3-setuptools"
|
||
|
depends="python3-Mako python3-SQLAlchemy python3-dateutil python3-editor"
|
||
|
checkdepends="${depends} python3-devel
|
||
|
python3-pytest tox"
|
||
|
short_desc="Database migration tool for SQLAlchemy (Python3)"
|
||
|
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
|
||
|
license="MIT"
|
||
|
homepage="https://github.com/sqlalchemy/alembic"
|
||
|
distfiles="${PYPI_SITE}/a/alembic/alembic-${version}.tar.gz"
|
||
|
checksum=035ab00497217628bf5d0be82d664d8713ab13d37b630084da8e1f98facf4dbf
|
||
|
|
||
|
do_check() {
|
||
|
tox -e py${py3_ver/./}
|
||
|
}
|
||
|
|
||
|
post_install() {
|
||
|
vlicense LICENSE
|
||
|
}
|