aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-simpleparse/APKBUILD
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2012-06-08 06:59:13 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2012-06-08 07:00:50 +0000
commit5162ef95ee5af5f8ebf91ec27e15264091042967 (patch)
treef65b6d5241f8492851124cb2814601f9b8c3b295 /main/py-simpleparse/APKBUILD
parent1537c57b016a729389583d1574a477921beffcab (diff)
downloadaports-5162ef95ee5af5f8ebf91ec27e15264091042967.tar.bz2
aports-5162ef95ee5af5f8ebf91ec27e15264091042967.tar.xz
testing/py-simpleparse: move to main
Diffstat (limited to 'main/py-simpleparse/APKBUILD')
-rw-r--r--main/py-simpleparse/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/main/py-simpleparse/APKBUILD b/main/py-simpleparse/APKBUILD
new file mode 100644
index 0000000000..da06bc6879
--- /dev/null
+++ b/main/py-simpleparse/APKBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=py-simpleparse
+_realname=SimpleParse
+pkgver=2.1.1
+pkgrel=1
+pkgdesc="Python library providing simple and fast parser generator"
+url="http://launchpad.net/simpleparse"
+arch="all"
+license="BSD"
+depends="python"
+depends_dev="python-dev"
+makedepends="$depends_dev"
+install=
+subpackages=
+source="http://pypi.python.org/packages/source/S/$_realname/$_realname-$pkgver.zip
+ py-simpleparse-eols.patch"
+
+
+_builddir="$srcdir"/$_realname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ return 0
+}
+
+build() {
+ cd "$_builddir"
+ python setup.py build
+}
+
+package() {
+ cd "$_builddir"
+ python setup.py install --skip-build --root="$pkgdir"
+}
+
+md5sums="e58600b0db786664855cbd49dbc0e4e5 SimpleParse-2.1.1.zip
+b980d7400e2d5a97769330c5c2d927b3 py-simpleparse-eols.patch"