aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xml2rfc/APKBUILD
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2013-03-11 19:40:05 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2013-03-11 19:40:05 -0500
commit7e00da3437a4232ae27221f5e3669f45620c27f3 (patch)
treecc631df54de89eb3e62cae1ded1caa5a6d408474 /testing/xml2rfc/APKBUILD
parent88861048f281d1afc894756cc02193ee8ed4ef1c (diff)
downloadaports-7e00da3437a4232ae27221f5e3669f45620c27f3.tar.bz2
aports-7e00da3437a4232ae27221f5e3669f45620c27f3.tar.xz
testing/xml2rfc: new aport
Diffstat (limited to 'testing/xml2rfc/APKBUILD')
-rw-r--r--testing/xml2rfc/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/xml2rfc/APKBUILD b/testing/xml2rfc/APKBUILD
new file mode 100644
index 0000000000..bb0e368c09
--- /dev/null
+++ b/testing/xml2rfc/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=xml2rfc
+pkgver=2.4.1
+pkgrel=0
+pkgdesc="a tool for converting XML documents into internet drafts and RFCs"
+url="http://tools.ietf.org/"
+arch="noarch"
+license="BSD"
+depends="python py-lxml"
+depends_dev=""
+makedepends="$depends_dev py-setuptools"
+install=""
+subpackages=""
+source="http://pypi.python.org/packages/source/x/xml2rfc/xml2rfc-$pkgver.tar.gz"
+
+_builddir="$srcdir"/xml2rfc-$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
+}
+
+package() {
+ cd "$_builddir"
+ python setup.py install --root="$pkgdir" || return 1
+}
+
+md5sums="abcca3da5ce2579e22bc6140edb0f484 xml2rfc-2.4.1.tar.gz"