aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-colander/APKBUILD
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-09-29 06:42:45 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-30 08:23:15 +0000
commitfc648362fce0864dd6c3de122289d0b218f5d7bc (patch)
treeb7f9449b55c87d27703ddba2c399af8f3896cb49 /testing/py-colander/APKBUILD
parent170e14276163bfec8bbd531bc3e84e5eec94ae0c (diff)
downloadaports-fc648362fce0864dd6c3de122289d0b218f5d7bc.tar.bz2
aports-fc648362fce0864dd6c3de122289d0b218f5d7bc.tar.xz
testing/py-colander: new aport
A simple schema-based Python serialization and deserialization library http://docs.pylonsproject.org/projects/colander/en/latest/
Diffstat (limited to 'testing/py-colander/APKBUILD')
-rw-r--r--testing/py-colander/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-colander/APKBUILD b/testing/py-colander/APKBUILD
new file mode 100644
index 0000000000..8da7d62ce3
--- /dev/null
+++ b/testing/py-colander/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=py-colander
+_pkgname=colander
+pkgver=1.0b1
+pkgrel=0
+pkgdesc="A simple schema-based Python serialization and deserialization library"
+url="http://docs.pylonsproject.org/projects/colander/en/latest/"
+arch="noarch"
+license="BSD"
+depends="python"
+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="89f2cf4b5c87d43f7917d6a0d4872e6a colander-1.0b1.tar.gz"
+sha256sums="8a342bf278227be6ac96e90befa949c235e667254db17e773e79d834459be971 colander-1.0b1.tar.gz"
+sha512sums="f4f0b4541d109ee196d27da73ef836ff4db42b30c9c60d7831c5a28d9d408c294ed5d239c8b98b0a3f996958dcd370f92decda179ff30d1385aeeb659baea7a0 colander-1.0b1.tar.gz"