diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2013-10-09 07:35:04 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2013-10-09 07:38:38 +0000 |
commit | d2b197533c7838af842ca40842f1351236ea518c (patch) | |
tree | 591a506053fefac2b5699b3c09521c94ca964a4f | |
parent | 95b639d89da573a567a9ca7ddc15df34fa64d38d (diff) | |
download | aports-d2b197533c7838af842ca40842f1351236ea518c.tar.bz2 aports-d2b197533c7838af842ca40842f1351236ea518c.tar.xz |
testing/py-sqlalchemy7: new aport
-rw-r--r-- | testing/py-sqlalchemy7/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-sqlalchemy7/APKBUILD b/testing/py-sqlalchemy7/APKBUILD new file mode 100644 index 0000000000..55d516c97f --- /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" |