[arch-commits] Commit in python-xmltodict/repos/community-any (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Wed Jan 1 16:33:53 UTC 2020
Date: Wednesday, January 1, 2020 @ 16:33:52
Author: jelle
Revision: 545852
archrelease: copy trunk to community-any
Added:
python-xmltodict/repos/community-any/PKGBUILD
(from rev 545851, python-xmltodict/trunk/PKGBUILD)
Deleted:
python-xmltodict/repos/community-any/PKGBUILD
----------+
PKGBUILD | 55 +++++++++++++++++++++----------------------------------
1 file changed, 21 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-01-01 16:33:44 UTC (rev 545851)
+++ PKGBUILD 2020-01-01 16:33:52 UTC (rev 545852)
@@ -1,34 +0,0 @@
-# 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.12.0
-pkgrel=3
-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://files.pythonhosted.org/packages/source/x/xmltodict/xmltodict-$pkgver.tar.gz")
-md5sums=('ddb2bd078cef4f7e3021a578034ad941')
-
-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"
-}
Copied: python-xmltodict/repos/community-any/PKGBUILD (from rev 545851, python-xmltodict/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-01-01 16:33:52 UTC (rev 545852)
@@ -0,0 +1,21 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Lex Black <autumn-wind at web dot de>
+# Contributor: PiC0 <guill.p.linux at gmail.com>
+
+pkgname=python-xmltodict
+pkgver=0.12.0
+pkgrel=4
+pkgdesc="Python module that makes working with XML feel like working with JSON"
+url="https://github.com/martinblech/xmltodict"
+arch=('any')
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/x/xmltodict/xmltodict-$pkgver.tar.gz")
+md5sums=('ddb2bd078cef4f7e3021a578034ad941')
+
+package() {
+ cd "$srcdir/xmltodict-$pkgver"
+ python setup.py install --root="${pkgdir}"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list