New package: pgmigrate-1.0.3

This commit is contained in:
Kyle Nusbaum 2018-11-28 02:24:51 -06:00 committed by maxice8
parent ba0e18af37
commit b7597ba2f3
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,32 @@
# Template file for 'python-pgmigrate'
pkgname=python-pgmigrate
version=1.0.3
revision=1
noarch=yes
wrksrc="pgmigrate-${version}"
build_style=python-module
pycompile_module="yandex_pgmigrate"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-future python-sqlparse python-psycopg2 python-yaml"
short_desc="Simple tool to evolve PostgreSQL schema easily (Python2)"
maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
license="PostgreSQL"
homepage="https://github.com/yandex/pgmigrate"
distfiles="https://github.com/yandex/pgmigrate/archive/v${version}.tar.gz"
checksum=a80719300c5e8b9f07fbe864ecbc19f02796547303bda00e3d61de613639b9b3
post_install() {
vlicense LICENSE
}
python3-pgmigrate_package() {
noarch=yes
pycompile_module="yandex_pgmigrate"
depends="python3 python3-sqlparse python3-psycopg2 python3-yaml"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/bin/pgmigrate3
vmove usr/lib/python3*
vlicense LICENSE
}
}

1
srcpkgs/python3-pgmigrate Symbolic link
View file

@ -0,0 +1 @@
python-pgmigrate