[arch-commits] Commit in python-defusedxml/repos/staging-any (PKGBUILD PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Wed Nov 11 11:03:46 UTC 2020


    Date: Wednesday, November 11, 2020 @ 11:03:46
  Author: foutrelis
Revision: 400355

archrelease: copy trunk to staging-any

Added:
  python-defusedxml/repos/staging-any/PKGBUILD
    (from rev 400354, python-defusedxml/trunk/PKGBUILD)
Deleted:
  python-defusedxml/repos/staging-any/PKGBUILD

----------+
 PKGBUILD |   66 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 33 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-11 11:03:42 UTC (rev 400354)
+++ PKGBUILD	2020-11-11 11:03:46 UTC (rev 400355)
@@ -1,33 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-defusedxml
-pkgname=("python-defusedxml" "python2-defusedxml")
-pkgver=0.6.0
-pkgrel=5
-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 400354, python-defusedxml/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-11 11:03:46 UTC (rev 400355)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-defusedxml
+pkgname=("python-defusedxml" "python2-defusedxml")
+pkgver=0.6.0
+pkgrel=6
+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