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

2020-05-10 Thread Felix Yan via arch-commits
Date: Sunday, May 10, 2020 @ 20:24:08
  Author: felixonmars
Revision: 383143

upgpkg: python-wstools 0.4.10-1

Modified:
  python-wstools/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-05-10 20:23:50 UTC (rev 383142)
+++ PKGBUILD2020-05-10 20:24:08 UTC (rev 383143)
@@ -2,7 +2,7 @@
 
 pkgbase=python-wstools
 pkgname=('python-wstools' 'python2-wstools')
-pkgver=0.4.9
+pkgver=0.4.10
 pkgrel=1
 pkgdesc="WSDL parsing services package for Web Services for Python"
 arch=('any')
@@ -12,7 +12,7 @@
 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')
+sha512sums=('1acd8e62d71c7d330f1e953a0da1956291c5dfb25ff9b8b8799c83feaa4230e384955735b131bab7b430b92ae6c18498927d416d2d1e11fb5c5dad93417c671a')
 
 prepare() {
   cp -a wstools-$pkgver{,-py2}


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

2020-05-01 Thread Felix Yan via arch-commits
Date: Friday, May 1, 2020 @ 17:25:53
  Author: felixonmars
Revision: 382087

upgpkg: python-wstools 0.4.9-1

Modified:
  python-wstools/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-05-01 16:31:29 UTC (rev 382086)
+++ PKGBUILD2020-05-01 17:25:53 UTC (rev 382087)
@@ -2,8 +2,8 @@
 
 pkgbase=python-wstools
 pkgname=('python-wstools' 'python2-wstools')
-pkgver=0.4.8
-pkgrel=4
+pkgver=0.4.9
+pkgrel=1
 pkgdesc="WSDL parsing services package for Web Services for Python"
 arch=('any')
 url="https://github.com/pycontribs/wstools;
@@ -12,7 +12,7 @@
 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=('0dc25d28ffbaf2051d8cdabd6b7e0b91d3946a4717a3acf6d36e68b8007d002d01129fb892c2f8ad0eb4c39411b8ff77ab043e1788ad1542d017997ce1826352')
+sha512sums=('3221352df2914213a5aad69b67f65da3b1a5e0bdf3e5db34d849e37990058873917bccc270ebb463cf8216c04f065fd10f0d76972bdf0b1e327894d09767598d')
 
 prepare() {
   cp -a wstools-$pkgver{,-py2}


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

2020-03-07 Thread Felix Yan via arch-commits
Date: Saturday, March 7, 2020 @ 21:01:27
  Author: felixonmars
Revision: 376903

remove unneeded 'hacking' from checkdepends (FS#65633)

Modified:
  python-wstools/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-03-07 20:59:00 UTC (rev 376902)
+++ PKGBUILD2020-03-07 21:01:27 UTC (rev 376903)
@@ -10,7 +10,7 @@
 license=('custom')
 makedepends=('python-pbr' 'python2-pbr' 'python-setuptools' 
'python2-setuptools')
 checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'autopep8' 
'python2-autopep8'
-  'python-hacking' 'python2-hacking' 'python-pytest-cov' 
'python2-pytest-cov')
+  'python-pytest-cov' 'python2-pytest-cov')
 
source=("$pkgbase-$pkgver.tar.gz::https://github.com/pycontribs/wstools/archive/$pkgver.tar.gz;)
 
sha512sums=('0dc25d28ffbaf2051d8cdabd6b7e0b91d3946a4717a3acf6d36e68b8007d002d01129fb892c2f8ad0eb4c39411b8ff77ab043e1788ad1542d017997ce1826352')
 


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

2019-11-03 Thread Felix Yan via arch-commits
Date: Monday, November 4, 2019 @ 06:23:17
  Author: felixonmars
Revision: 366675

Python 3.8 rebuild

Modified:
  python-wstools/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-04 06:16:31 UTC (rev 366674)
+++ PKGBUILD2019-11-04 06:23:17 UTC (rev 366675)
@@ -3,7 +3,7 @@
 pkgbase=python-wstools
 pkgname=('python-wstools' 'python2-wstools')
 pkgver=0.4.8
-pkgrel=3
+pkgrel=4
 pkgdesc="WSDL parsing services package for Web Services for Python"
 arch=('any')
 url="https://github.com/pycontribs/wstools;


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

2019-10-26 Thread Evangelos Foutras via arch-commits
Date: Saturday, October 26, 2019 @ 20:49:06
  Author: foutrelis
Revision: 365900

Python 3.8 rebuild

Modified:
  python-wstools/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-26 20:25:57 UTC (rev 365899)
+++ PKGBUILD2019-10-26 20:49:06 UTC (rev 365900)
@@ -3,7 +3,7 @@
 pkgbase=python-wstools
 pkgname=('python-wstools' 'python2-wstools')
 pkgver=0.4.8
-pkgrel=2
+pkgrel=3
 pkgdesc="WSDL parsing services package for Web Services for Python"
 arch=('any')
 url="https://github.com/pycontribs/wstools;


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

2018-07-18 Thread Felix Yan via arch-commits
Date: Wednesday, July 18, 2018 @ 06:21:20
  Author: felixonmars
Revision: 328949

Python 3.7 rebuild

Modified:
  python-wstools/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-07-18 06:20:22 UTC (rev 328948)
+++ PKGBUILD2018-07-18 06:21:20 UTC (rev 328949)
@@ -4,7 +4,7 @@
 pkgbase=python-wstools
 pkgname=('python-wstools' 'python2-wstools')
 pkgver=0.4.8
-pkgrel=1
+pkgrel=2
 pkgdesc="WSDL parsing services package for Web Services for Python"
 arch=('any')
 url="https://github.com/pycontribs/wstools;


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

2018-04-12 Thread Felix Yan via arch-commits
Date: Thursday, April 12, 2018 @ 06:17:32
  Author: felixonmars
Revision: 321620

upgpkg: python-wstools 0.4.8-1

Modified:
  python-wstools/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-04-12 06:12:32 UTC (rev 321619)
+++ PKGBUILD2018-04-12 06:17:32 UTC (rev 321620)
@@ -3,7 +3,7 @@
 
 pkgbase=python-wstools
 pkgname=('python-wstools' 'python2-wstools')
-pkgver=0.4.7
+pkgver=0.4.8
 pkgrel=1
 pkgdesc="WSDL parsing services package for Web Services for Python"
 arch=('any')
@@ -13,7 +13,7 @@
 checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'autopep8' 
'python2-autopep8'
   'python-hacking' 'python2-hacking' 'python-pytest-cov' 
'python2-pytest-cov')
 
source=("$pkgbase-$pkgver.tar.gz::https://github.com/pycontribs/wstools/archive/$pkgver.tar.gz;)
-sha512sums=('fa7fe10d50dd6f408f45460dc8906e7b5fcf994d0732cbb0f6dcc3399c3af8dbcd89d4312ce79d95a97a9877131ce27128384be995b25027066cdffe52e28efc')
+sha512sums=('0dc25d28ffbaf2051d8cdabd6b7e0b91d3946a4717a3acf6d36e68b8007d002d01129fb892c2f8ad0eb4c39411b8ff77ab043e1788ad1542d017997ce1826352')
 
 prepare() {
   cp -a wstools-$pkgver{,-py2}


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

2018-04-12 Thread Felix Yan via arch-commits
Date: Thursday, April 12, 2018 @ 06:11:56
  Author: felixonmars
Revision: 321618

upgpkg: python-wstools 0.4.7-1

Modified:
  python-wstools/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-04-12 06:03:34 UTC (rev 321617)
+++ PKGBUILD2018-04-12 06:11:56 UTC (rev 321618)
@@ -3,7 +3,7 @@
 
 pkgbase=python-wstools
 pkgname=('python-wstools' 'python2-wstools')
-pkgver=0.4.6
+pkgver=0.4.7
 pkgrel=1
 pkgdesc="WSDL parsing services package for Web Services for Python"
 arch=('any')
@@ -13,7 +13,7 @@
 checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'autopep8' 
'python2-autopep8'
   'python-hacking' 'python2-hacking' 'python-pytest-cov' 
'python2-pytest-cov')
 
source=("$pkgbase-$pkgver.tar.gz::https://github.com/pycontribs/wstools/archive/$pkgver.tar.gz;)
-sha512sums=('23d815ec7f58d30fdcefdb4bd7db544d61ecd6eed39666b09ad857ce9e6d8ccc148a3419698cab8dbc9d6d61fbd498de9c2afa12fc2c9aef47e2a94f687c276d')
+sha512sums=('fa7fe10d50dd6f408f45460dc8906e7b5fcf994d0732cbb0f6dcc3399c3af8dbcd89d4312ce79d95a97a9877131ce27128384be995b25027066cdffe52e28efc')
 
 prepare() {
   cp -a wstools-$pkgver{,-py2}


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

2018-04-11 Thread Felix Yan via arch-commits
Date: Thursday, April 12, 2018 @ 05:55:45
  Author: felixonmars
Revision: 321613

upgpkg: python-wstools 0.4.6-1

Modified:
  python-wstools/trunk/PKGBUILD

--+
 PKGBUILD |   31 ---
 1 file changed, 16 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-04-12 05:34:48 UTC (rev 321612)
+++ PKGBUILD2018-04-12 05:55:45 UTC (rev 321613)
@@ -3,46 +3,47 @@
 
 pkgbase=python-wstools
 pkgname=('python-wstools' 'python2-wstools')
-pkgver=0.4.5
-_commit=c57464fb6b79624742921a8aa0a2c0657c8b20b0
+pkgver=0.4.6
 pkgrel=1
 pkgdesc="WSDL parsing services package for Web Services for Python"
 arch=('any')
 url="https://github.com/pycontribs/wstools;
 license=('custom')
-makedepends=('python-pip' 'python2-pip' 'python-docutils' 'python2-docutils' 
'git')
+makedepends=('python-pbr' 'python2-pbr' 'python-setuptools' 
'python2-setuptools')
 checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'autopep8' 
'python2-autopep8'
   'python-hacking' 'python2-hacking' 'python-pytest-cov' 
'python2-pytest-cov')
-source=("git+https://github.com/pycontribs/wstools.git#commit=$_commit;)
-md5sums=('SKIP')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/pycontribs/wstools/archive/$pkgver.tar.gz;)
+sha512sums=('23d815ec7f58d30fdcefdb4bd7db544d61ecd6eed39666b09ad857ce9e6d8ccc148a3419698cab8dbc9d6d61fbd498de9c2afa12fc2c9aef47e2a94f687c276d')
 
 prepare() {
-  cp -a wstools{,-py2}
+  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-py2/wstools/{c14n.py,Namespaces.py,XMLSchema.py,Utility.py,__init__.py}
+  -i 
wstools-$pkgver-py2/wstools/{c14n.py,Namespaces.py,XMLSchema.py,Utility.py,__init__.py}
+
+  export PBR_VERSION=$pkgver
 }
 
 build() {
-  cd "$srcdir"/wstools
+  cd "$srcdir"/wstools-$pkgver
   python setup.py build
 
-  cd "$srcdir"/wstools-py2
+  cd "$srcdir"/wstools-$pkgver-py2
   python2 setup.py build
 }
 
 check() {
-  cd "$srcdir"/wstools
+  cd "$srcdir"/wstools-$pkgver
   python setup.py test
 
-  cd "$srcdir"/wstools-py2
+  cd "$srcdir"/wstools-$pkgver-py2
   python2 setup.py test
 }
 
 package_python-wstools() {
-  depends=('python-six' 'python-docutils')
+  depends=('python-six' 'python-setuptools')
 
-  cd wstools
+  cd wstools-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1
 
   install -d "$pkgdir/usr/share/licenses/$pkgname"
@@ -50,9 +51,9 @@
 }
 
 package_python2-wstools() {
-  depends=('python2-six' 'python2-docutils')
+  depends=('python2-six' 'python2-setuptools')
 
-  cd wstools-py2
+  cd wstools-$pkgver-py2
   python2 setup.py install --root="$pkgdir" --optimize=1
 
   install -d "$pkgdir/usr/share/licenses/$pkgname"


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

2017-01-18 Thread Felix Yan
Date: Thursday, January 19, 2017 @ 07:40:58
  Author: felixonmars
Revision: 286963

upgpkg: python-wstools 0.4.5-1

Modified:
  python-wstools/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-01-19 01:38:11 UTC (rev 286962)
+++ PKGBUILD2017-01-19 07:40:58 UTC (rev 286963)
@@ -3,21 +3,20 @@
 
 pkgbase=python-wstools
 pkgname=('python-wstools' 'python2-wstools')
-pkgver=0.4.4
-_commit=f74298a5b0527382e6482d2354150813e976f12d
-pkgrel=2
+pkgver=0.4.5
+_commit=c57464fb6b79624742921a8aa0a2c0657c8b20b0
+pkgrel=1
 pkgdesc="WSDL parsing services package for Web Services for Python"
 arch=('any')
 url="https://github.com/pycontribs/wstools;
 license=('custom')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-docutils' 
'python2-docutils' 'git')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'autopep8' 
'python2-autopep8')
+makedepends=('python-pip' 'python2-pip' 'python-docutils' 'python2-docutils' 
'git')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'autopep8' 
'python2-autopep8'
+  'python-hacking' 'python2-hacking' 'python-pytest-cov' 
'python2-pytest-cov')
 source=("git+https://github.com/pycontribs/wstools.git#commit=$_commit;)
 md5sums=('SKIP')
 
 prepare() {
-  # pytest-pep8 doesn't work at the moment due to the upstream renaming from 
pep8 to pycodestyle
-  sed -i 's/--pep8//' wstools/setup.cfg
   cp -a wstools{,-py2}
   sed -e 's|#! /usr/bin/env python$|#!/usr/bin/env python2|' \
   -e 's|#!/usr/bin/env python$|#!/usr/bin/env python2|' \


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

2016-12-24 Thread Evangelos Foutras
Date: Saturday, December 24, 2016 @ 17:35:11
  Author: foutrelis
Revision: 284657

Python 3.6 rebuild

Modified:
  python-wstools/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-12-24 17:33:01 UTC (rev 284656)
+++ PKGBUILD2016-12-24 17:35:11 UTC (rev 284657)
@@ -5,7 +5,7 @@
 pkgname=('python-wstools' 'python2-wstools')
 pkgver=0.4.4
 _commit=f74298a5b0527382e6482d2354150813e976f12d
-pkgrel=1
+pkgrel=2
 pkgdesc="WSDL parsing services package for Web Services for Python"
 arch=('any')
 url="https://github.com/pycontribs/wstools;


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

2016-07-23 Thread Felix Yan
Date: Saturday, July 23, 2016 @ 06:38:03
  Author: felixonmars
Revision: 272136

upgpkg: python-wstools 0.4.4-1

Modified:
  python-wstools/trunk/PKGBUILD

--+
 PKGBUILD |   54 --
 1 file changed, 40 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-07-23 05:20:16 UTC (rev 272135)
+++ PKGBUILD2016-07-23 06:38:03 UTC (rev 272136)
@@ -1,35 +1,61 @@
 # $Id$
-# Maintainer: Felix Yan 
+# Maintainer: Felix Yan 
 
 pkgbase=python-wstools
-pkgname=python2-wstools
-pkgver=0.4.3
+pkgname=('python-wstools' 'python2-wstools')
+pkgver=0.4.4
+_commit=f74298a5b0527382e6482d2354150813e976f12d
 pkgrel=1
 pkgdesc="WSDL parsing services package for Web Services for Python"
 arch=('any')
 url="https://github.com/pycontribs/wstools;
 license=('custom')
-makedepends=('python2-setuptools')
-depends=('python2')
-source=("https://pypi.python.org/packages/source/w/wstools/wstools-${pkgver}.tar.gz;)
-md5sums=('82f800f83195519ab6f01304456dadd9')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-docutils' 
'python2-docutils' 'git')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'autopep8' 
'python2-autopep8')
+source=("git+https://github.com/pycontribs/wstools.git#commit=$_commit;)
+md5sums=('SKIP')
 
 prepare() {
-  cd wstools-$pkgver
+  # pytest-pep8 doesn't work at the moment due to the upstream renaming from 
pep8 to pycodestyle
+  sed -i 's/--pep8//' wstools/setup.cfg
+  cp -a wstools{,-py2}
   sed -e 's|#! /usr/bin/env python$|#!/usr/bin/env python2|' \
   -e 's|#!/usr/bin/env python$|#!/usr/bin/env python2|' \
-  -i 
src/wstools/{c14n.py,Namespaces.py,XMLSchema.py,Utility.py,logging.py,__init__.py,tests/*}
+  -i 
wstools-py2/wstools/{c14n.py,Namespaces.py,XMLSchema.py,Utility.py,__init__.py}
 }
 
 build() {
-  cd wstools-${pkgver}
+  cd "$srcdir"/wstools
+  python setup.py build
+
+  cd "$srcdir"/wstools-py2
   python2 setup.py build
 }
 
+check() {
+  cd "$srcdir"/wstools
+  python setup.py test
+
+  cd "$srcdir"/wstools-py2
+  python2 setup.py test
+}
+
+package_python-wstools() {
+  depends=('python-six' 'python-docutils')
+
+  cd wstools
+  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() {
-  cd wstools-${pkgver}
-  python2 setup.py install --root="${pkgdir}" --optimize=1
+  depends=('python2-six' 'python2-docutils')
 
-  install -d "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -Dm644 docs/* "${pkgdir}/usr/share/licenses/${pkgname}"/
+  cd wstools-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+
+  install -d "$pkgdir/usr/share/licenses/$pkgname"
+  install -Dm644 docs/* "$pkgdir/usr/share/licenses/$pkgname"/
 }