aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-decorator
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2013-10-09 07:34:06 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2013-10-09 07:38:38 +0000
commitab8babaeb67fe8583cc7ddbe133894e81296c549 (patch)
tree9425db99522fc2153cba6315b28668bca23a27de /testing/py-decorator
parentd3e7cf913c5def345f3f236faad1c5e5ea9fd394 (diff)
downloadaports-ab8babaeb67fe8583cc7ddbe133894e81296c549.tar.bz2
aports-ab8babaeb67fe8583cc7ddbe133894e81296c549.tar.xz
testing/py-decorator: new aport
Diffstat (limited to 'testing/py-decorator')
-rw-r--r--testing/py-decorator/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/py-decorator/APKBUILD b/testing/py-decorator/APKBUILD
new file mode 100644
index 0000000000..2c16a17702
--- /dev/null
+++ b/testing/py-decorator/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=py-decorator
+pkgver=3.4.0
+pkgrel=0
+pkgdesc="Python Decorator module"
+url="http://pypi.python.org/pypi/decorator"
+arch="noarch"
+license="BSD"
+depends="python"
+depends_dev=""
+makedepends="python-dev py-setuptools"
+install=""
+subpackages=""
+source="http://pypi.python.org/packages/source/d/decorator/decorator-$pkgver.tar.gz"
+
+_builddir="$srcdir"/decorator-$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="1e8756f719d746e2fc0dd28b41251356 decorator-3.4.0.tar.gz"
+sha256sums="c20b404cbb7ee5cebd506688e0114e3cd76f5ce233805a51f36e1a7988d9d783 decorator-3.4.0.tar.gz"
+sha512sums="94ae8ff3bf694b72ad85a04d02ed9b58c42d50341fbc7307a12fc5abcb8042d8f67df80b53e63afd4b692c52fbefec83b80b591cba036deee21e281a5e8ff249 decorator-3.4.0.tar.gz"