[arch-commits] Commit in (4 files)

Kyle Keen kkeen at archlinux.org
Mon Nov 16 03:22:49 UTC 2015


    Date: Monday, November 16, 2015 @ 04:22:49
  Author: kkeen
Revision: 146901

pkginit: python-xmltodict-0.9.2-2

Added:
  python-xmltodict/
  python-xmltodict/repos/
  python-xmltodict/trunk/
  python-xmltodict/trunk/PKGBUILD

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Added: python-xmltodict/trunk/PKGBUILD
===================================================================
--- python-xmltodict/trunk/PKGBUILD	                        (rev 0)
+++ python-xmltodict/trunk/PKGBUILD	2015-11-16 03:22:49 UTC (rev 146901)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Lex Black <autumn-wind at web dot de>
+# Contributor: PiC0 <guill.p.linux at gmail.com>
+
+pkgbase=python-xmltodict
+pkgname=('python-xmltodict' 'python2-xmltodict')
+pkgver=0.9.2
+pkgrel=2
+pkgdesc="Python module that makes working with XML feel like working with JSON"
+url="https://github.com/martinblech/xmltodict"
+arch=('any')
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=(https://pypi.python.org/packages/source/x/xmltodict/xmltodict-$pkgver.tar.gz)
+md5sums=('ab17e53214a8613ad87968e9674d75dd')
+
+package_python-xmltodict () {
+  pkgdesc+=" (py3)"
+  depends=('python')
+
+  cd "$srcdir/xmltodict-$pkgver"
+  python setup.py install --root="${pkgdir}"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-xmltodict () {
+  pkgdesc+=" (py2)"
+  depends=('python2')
+
+  cd "$srcdir/xmltodict-$pkgver"
+  sed -i 's/env python$/&2/' xmltodict.py
+  python2 setup.py install --root="${pkgdir}"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


Property changes on: python-xmltodict/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list