aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-sqlalchemy7/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/py-sqlalchemy7/APKBUILD')
-rw-r--r--testing/py-sqlalchemy7/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-sqlalchemy7/APKBUILD b/testing/py-sqlalchemy7/APKBUILD
new file mode 100644
index 000000000..55d516c97
--- /dev/null
+++ b/testing/py-sqlalchemy7/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=py-sqlalchemy7
+_pkgname=SQLAlchemy
+pkgver=0.7.10
+pkgrel=0
+pkgdesc="object relational mapper for python"
+url="http://pypi.python.org/pypi/SQLAlchemy"
+arch="all"
+license="MIT"
+depends=""
+depends_dev=""
+makedepends="python-dev py-setuptools"
+install=""
+subpackages=""
+source="http://pypi.python.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$_pkgname-$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="ecc0cd1cd906d17818a5f08fe13ae19e SQLAlchemy-0.7.10.tar.gz"
+sha256sums="77aa39d65c9d043eba6ba329b359ff867424fd6c403b7c0cb112b65e507e1d66 SQLAlchemy-0.7.10.tar.gz"
+sha512sums="631bc4ffb419defa531a66d82449fe48f93c88371ba0b8ab4217d900a0d1d90efe9699d8a9048d5c2ed33948c6d2f7cae46452ee45d442914018f3361e804367 SQLAlchemy-0.7.10.tar.gz"