aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-dexml/APKBUILD
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2015-04-16 15:27:38 +0000
committerFabian Affolter <fabian@affolter-engineering.ch>2015-05-09 07:40:23 +0000
commitfc5e9865ec5860abb2c23fe195daa2a41238bf4b (patch)
treedcf8e9896266d05d67a142357c8b1902de462191 /testing/py-dexml/APKBUILD
parent172a06ba93dbc81f38e522fc43f7fbb96175e634 (diff)
downloadaports-fc5e9865ec5860abb2c23fe195daa2a41238bf4b.tar.bz2
aports-fc5e9865ec5860abb2c23fe195daa2a41238bf4b.tar.xz
testing/py-dexml: new aport
A simple Object-XML mapper for Python http://packages.python.org/dexml
Diffstat (limited to 'testing/py-dexml/APKBUILD')
-rw-r--r--testing/py-dexml/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-dexml/APKBUILD b/testing/py-dexml/APKBUILD
new file mode 100644
index 0000000000..8f4108fc5b
--- /dev/null
+++ b/testing/py-dexml/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=py-dexml
+_pkgname=dexml
+pkgver=0.5.1
+pkgrel=0
+pkgdesc="A simple Object-XML mapper for Python"
+url="http://packages.python.org/dexml"
+arch="noarch"
+license="MIT"
+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="7f7bbb66cdceb38adbc9092a9a159d87 dexml-0.5.1.tar.gz"
+sha256sums="6ba83883ead5cc74ce8198daecc657b60bf9cdb3887b484a92dcde55c10e2cdf dexml-0.5.1.tar.gz"
+sha512sums="b8ac2b9f875ac7cf699eb9ee17adb8678ed8d4a796130bbb60f05431207adb68f490b7a7a41600acbc16a3cc08d55f22d91a13e53fe3d835a322709ee3446c9f dexml-0.5.1.tar.gz"