diff options
author | William Pitcock <nenolod@dereferenced.org> | 2012-11-27 16:13:45 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2012-11-27 16:13:45 -0600 |
commit | f4e43bb431371525d8a1b8863f5223a317aaf508 (patch) | |
tree | a4df35fec016135465546c980fccc475d2d7cad7 /testing/py-werkzeug | |
parent | 7b962a35b3e2e85e63210317132ef24c448f3301 (diff) | |
download | aports-f4e43bb431371525d8a1b8863f5223a317aaf508.tar.bz2 aports-f4e43bb431371525d8a1b8863f5223a317aaf508.tar.xz |
testing/py-werkzeug: new aport
Diffstat (limited to 'testing/py-werkzeug')
-rw-r--r-- | testing/py-werkzeug/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/py-werkzeug/APKBUILD b/testing/py-werkzeug/APKBUILD new file mode 100644 index 0000000000..87bca387d5 --- /dev/null +++ b/testing/py-werkzeug/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: William Pitcock <nenolod@dereferenced.org> +pkgname=py-werkzeug +pkgver=0.8.3 +pkgrel=0 +pkgdesc="the WSGI swiss-army knife" +url="http://pypi.python.org/pypi/Werkzeug" +arch="noarch" +license="MIT" +depends="python" +depends_dev="" +makedepends="python-dev py-setuptools" +install="" +subpackages="" +source="http://pypi.python.org/packages/source/W/Werkzeug/Werkzeug-$pkgver.tar.gz" + +_builddir="$srcdir"/Werkzeug-$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="12aa03e302ce49da98703938f257347a Werkzeug-0.8.3.tar.gz" |