[arch-commits] Commit in python-wstools/repos/extra-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Apr 12 06:17:59 UTC 2018
Date: Thursday, April 12, 2018 @ 06:17:58
Author: felixonmars
Revision: 321621
archrelease: copy trunk to extra-any
Added:
python-wstools/repos/extra-any/PKGBUILD
(from rev 321620, python-wstools/trunk/PKGBUILD)
Deleted:
python-wstools/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 122 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 61 insertions(+), 61 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-04-12 06:17:32 UTC (rev 321620)
+++ PKGBUILD 2018-04-12 06:17:58 UTC (rev 321621)
@@ -1,61 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-wstools
-pkgname=('python-wstools' 'python2-wstools')
-pkgver=0.4.7
-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-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')
-
-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 321620, python-wstools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-04-12 06:17:58 UTC (rev 321621)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-wstools
+pkgname=('python-wstools' 'python2-wstools')
+pkgver=0.4.8
+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-hacking' 'python2-hacking' 'python-pytest-cov' 'python2-pytest-cov')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/pycontribs/wstools/archive/$pkgver.tar.gz")
+sha512sums=('0dc25d28ffbaf2051d8cdabd6b7e0b91d3946a4717a3acf6d36e68b8007d002d01129fb892c2f8ad0eb4c39411b8ff77ab043e1788ad1542d017997ce1826352')
+
+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