[arch-commits] Commit in python-wstools/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Jan 13 15:30:58 UTC 2021


    Date: Wednesday, January 13, 2021 @ 15:30:57
  Author: felixonmars
Revision: 406179

upgpkg: python-wstools 0.4.10-3: setuptools is no longer needed as runtime dependency

Modified:
  python-wstools/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-13 15:00:40 UTC (rev 406178)
+++ PKGBUILD	2021-01-13 15:30:57 UTC (rev 406179)
@@ -3,7 +3,7 @@
 pkgbase=python-wstools
 pkgname=('python-wstools' 'python2-wstools')
 pkgver=0.4.10
-pkgrel=2
+pkgrel=3
 pkgdesc="WSDL parsing services package for Web Services for Python"
 arch=('any')
 url="https://github.com/pycontribs/wstools"
@@ -11,16 +11,16 @@
 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")
+source=("https://github.com/pycontribs/wstools/archive/$pkgver/$pkgbase-$pkgver.tar.gz")
 sha512sums=('1acd8e62d71c7d330f1e953a0da1956291c5dfb25ff9b8b8799c83feaa4230e384955735b131bab7b430b92ae6c18498927d416d2d1e11fb5c5dad93417c671a')
 
+export PBR_VERSION=$pkgver
+
 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() {
@@ -40,7 +40,7 @@
 }
 
 package_python-wstools() {
-  depends=('python-six' 'python-setuptools')
+  depends=('python-six')
 
   cd wstools-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1
@@ -50,7 +50,7 @@
 }
 
 package_python2-wstools() {
-  depends=('python2-six' 'python2-setuptools')
+  depends=('python2-six')
 
   cd wstools-$pkgver-py2
   python2 setup.py install --root="$pkgdir" --optimize=1



More information about the arch-commits mailing list