aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-sqlalchemy-migrate/APKBUILD
blob: bc19c11ac2266226d672c0754b2a0f31aaf36507 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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"