diff options
-rw-r--r-- | testing/py-sqlalchemy-migrate/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/py-sqlalchemy-migrate/APKBUILD b/testing/py-sqlalchemy-migrate/APKBUILD new file mode 100644 index 0000000000..bc19c11ac2 --- /dev/null +++ b/testing/py-sqlalchemy-migrate/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=py-sqlalchemy-migrate +pkgver=0.7.2 +pkgrel=0 +pkgdesc="SQLAlchemy Schema Migration Tools" +url="https://code.google.com/p/sqlalchemy-migrate/" +arch="noarch" +license="MIT" +depends="python py-sqlalchemy7 py-tempita py-decorator" +depends_dev="" +makedepends="python-dev py-setuptools" +install="" +subpackages="" +source="https://sqlalchemy-migrate.googlecode.com/files/sqlalchemy-migrate-$pkgver.tar.gz" + +_builddir="$srcdir"/sqlalchemy-migrate-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="10382fda16f056491e671b5307dd6713 sqlalchemy-migrate-0.7.2.tar.gz" +sha256sums="7f55c768ee26f143fedb11b365a4c57c3bbdb5211e049c7f04b8ae8107c28333 sqlalchemy-migrate-0.7.2.tar.gz" +sha512sums="31c56da755ccccdc0aa5eacddcb097a4bd6431ab72a5b964689b0943b50ae4b23e034ae84d8dad4707d4cf9bea5b538e015ff755318685cc17dd82497a4cb4a9 sqlalchemy-migrate-0.7.2.tar.gz" |