[arch-commits] Commit in python-defusedxml/repos/staging-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Oct 31 17:41:51 UTC 2019
Date: Thursday, October 31, 2019 @ 17:41:50
Author: felixonmars
Revision: 366260
archrelease: copy trunk to staging-any
Added:
python-defusedxml/repos/staging-any/PKGBUILD
(from rev 366259, python-defusedxml/trunk/PKGBUILD)
Deleted:
python-defusedxml/repos/staging-any/PKGBUILD
----------+
PKGBUILD | 66 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 33 insertions(+), 33 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-31 17:41:37 UTC (rev 366259)
+++ PKGBUILD 2019-10-31 17:41:50 UTC (rev 366260)
@@ -1,33 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-defusedxml
-pkgname=("python-defusedxml" "python2-defusedxml")
-pkgver=0.6.0
-pkgrel=2
-pkgdesc="XML bomb protection for Python stdlib modules"
-arch=('any')
-url='https://bitbucket.org/tiran/defusedxml'
-license=('Python')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("https://pypi.io/packages/source/d/defusedxml/defusedxml-$pkgver.tar.gz")
-md5sums=('a59741f675c4cba649de40a99f732897')
-
-prepare() {
- cp -a "defusedxml-$pkgver"{,-py2}
-}
-
-package_python-defusedxml() {
- depends=('python')
-
- cd defusedxml-$pkgver
- python3 setup.py install --root="${pkgdir}" --optimize=1
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_python2-defusedxml() {
- depends=('python2')
-
- cd defusedxml-$pkgver-py2
- python2 setup.py install --root="${pkgdir}" --optimize=1
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
Copied: python-defusedxml/repos/staging-any/PKGBUILD (from rev 366259, python-defusedxml/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-31 17:41:50 UTC (rev 366260)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-defusedxml
+pkgname=("python-defusedxml" "python2-defusedxml")
+pkgver=0.6.0
+pkgrel=3
+pkgdesc="XML bomb protection for Python stdlib modules"
+arch=('any')
+url='https://bitbucket.org/tiran/defusedxml'
+license=('Python')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://pypi.io/packages/source/d/defusedxml/defusedxml-$pkgver.tar.gz")
+md5sums=('a59741f675c4cba649de40a99f732897')
+
+prepare() {
+ cp -a "defusedxml-$pkgver"{,-py2}
+}
+
+package_python-defusedxml() {
+ depends=('python')
+
+ cd defusedxml-$pkgver
+ python3 setup.py install --root="${pkgdir}" --optimize=1
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-defusedxml() {
+ depends=('python2')
+
+ cd defusedxml-$pkgver-py2
+ python2 setup.py install --root="${pkgdir}" --optimize=1
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list