python-alembic: remove
This commit is contained in:
parent
6cbd5d30ea
commit
cc4db16269
3 changed files with 25 additions and 37 deletions
|
@ -1,36 +0,0 @@
|
|||
# Template file for 'python-alembic'
|
||||
pkgname=python-alembic
|
||||
version=1.4.2
|
||||
revision=2
|
||||
archs=noarch
|
||||
wrksrc="alembic-${version}"
|
||||
build_style=python-module
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python-Mako python-SQLAlchemy python-dateutil python-editor"
|
||||
checkdepends="${depends} ${depends//python-/python3-} python3-devel
|
||||
python-pytest python3-pytest python-mock tox"
|
||||
short_desc="Database migration tool for SQLAlchemy (Python2)"
|
||||
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 py27,py${py3_ver/./}
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
python3-alembic_package() {
|
||||
archs=noarch
|
||||
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
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
python-alembic
|
25
srcpkgs/python3-alembic/template
Normal file
25
srcpkgs/python3-alembic/template
Normal file
|
@ -0,0 +1,25 @@
|
|||
# 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
|
||||
}
|
Loading…
Reference in a new issue