[arch-commits] Commit in python-wstools/repos/extra-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun May 10 20:24:29 UTC 2020


    Date: Sunday, May 10, 2020 @ 20:24:24
  Author: felixonmars
Revision: 383144

archrelease: copy trunk to extra-any

Added:
  python-wstools/repos/extra-any/PKGBUILD
    (from rev 383143, python-wstools/trunk/PKGBUILD)
Deleted:
  python-wstools/repos/extra-any/PKGBUILD

----------+
 PKGBUILD |  120 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 60 insertions(+), 60 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-10 20:24:08 UTC (rev 383143)
+++ PKGBUILD	2020-05-10 20:24:24 UTC (rev 383144)
@@ -1,60 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-wstools
-pkgname=('python-wstools' 'python2-wstools')
-pkgver=0.4.9
-pkgrel=1
-pkgdesc="WSDL parsing services package for Web Services for Python"
-arch=('any')
-url="https://github.com/pycontribs/wstools"
-license=('custom')
-makedepends=('python-pbr' 'python2-pbr' 'python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'autopep8' 'python2-autopep8'
-              'python-pytest-cov' 'python2-pytest-cov')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/pycontribs/wstools/archive/$pkgver.tar.gz")
-sha512sums=('3221352df2914213a5aad69b67f65da3b1a5e0bdf3e5db34d849e37990058873917bccc270ebb463cf8216c04f065fd10f0d76972bdf0b1e327894d09767598d')
-
-prepare() {
-  cp -a wstools-$pkgver{,-py2}
-  sed -e 's|#! /usr/bin/env python$|#!/usr/bin/env python2|' \
-      -e 's|#!/usr/bin/env python$|#!/usr/bin/env python2|' \
-      -i wstools-$pkgver-py2/wstools/{c14n.py,Namespaces.py,XMLSchema.py,Utility.py,__init__.py}
-
-  export PBR_VERSION=$pkgver
-}
-
-build() {
-  cd "$srcdir"/wstools-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/wstools-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/wstools-$pkgver
-  python setup.py test
-
-  cd "$srcdir"/wstools-$pkgver-py2
-  python2 setup.py test
-}
-
-package_python-wstools() {
-  depends=('python-six' 'python-setuptools')
-
-  cd wstools-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-
-  install -d "$pkgdir/usr/share/licenses/$pkgname"
-  install -Dm644 docs/* "$pkgdir/usr/share/licenses/$pkgname"/
-}
-
-package_python2-wstools() {
-  depends=('python2-six' 'python2-setuptools')
-
-  cd wstools-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-
-  install -d "$pkgdir/usr/share/licenses/$pkgname"
-  install -Dm644 docs/* "$pkgdir/usr/share/licenses/$pkgname"/
-}

Copied: python-wstools/repos/extra-any/PKGBUILD (from rev 383143, python-wstools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-10 20:24:24 UTC (rev 383144)
@@ -0,0 +1,60 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-wstools
+pkgname=('python-wstools' 'python2-wstools')
+pkgver=0.4.10
+pkgrel=1
+pkgdesc="WSDL parsing services package for Web Services for Python"
+arch=('any')
+url="https://github.com/pycontribs/wstools"
+license=('custom')
+makedepends=('python-pbr' 'python2-pbr' 'python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'autopep8' 'python2-autopep8'
+              'python-pytest-cov' 'python2-pytest-cov')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/pycontribs/wstools/archive/$pkgver.tar.gz")
+sha512sums=('1acd8e62d71c7d330f1e953a0da1956291c5dfb25ff9b8b8799c83feaa4230e384955735b131bab7b430b92ae6c18498927d416d2d1e11fb5c5dad93417c671a')
+
+prepare() {
+  cp -a wstools-$pkgver{,-py2}
+  sed -e 's|#! /usr/bin/env python$|#!/usr/bin/env python2|' \
+      -e 's|#!/usr/bin/env python$|#!/usr/bin/env python2|' \
+      -i wstools-$pkgver-py2/wstools/{c14n.py,Namespaces.py,XMLSchema.py,Utility.py,__init__.py}
+
+  export PBR_VERSION=$pkgver
+}
+
+build() {
+  cd "$srcdir"/wstools-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/wstools-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/wstools-$pkgver
+  python setup.py test
+
+  cd "$srcdir"/wstools-$pkgver-py2
+  python2 setup.py test
+}
+
+package_python-wstools() {
+  depends=('python-six' 'python-setuptools')
+
+  cd wstools-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -d "$pkgdir/usr/share/licenses/$pkgname"
+  install -Dm644 docs/* "$pkgdir/usr/share/licenses/$pkgname"/
+}
+
+package_python2-wstools() {
+  depends=('python2-six' 'python2-setuptools')
+
+  cd wstools-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+
+  install -d "$pkgdir/usr/share/licenses/$pkgname"
+  install -Dm644 docs/* "$pkgdir/usr/share/licenses/$pkgname"/
+}


More information about the arch-commits mailing list