[arch-commits] Commit in python-wstools/repos/extra-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Jan 13 15:31:20 UTC 2021
Date: Wednesday, January 13, 2021 @ 15:31:20
Author: felixonmars
Revision: 406180
archrelease: copy trunk to extra-any
Added:
python-wstools/repos/extra-any/PKGBUILD
(from rev 406179, python-wstools/trunk/PKGBUILD)
Deleted:
python-wstools/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 120 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 60 insertions(+), 60 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-01-13 15:30:57 UTC (rev 406179)
+++ PKGBUILD 2021-01-13 15:31:20 UTC (rev 406180)
@@ -1,60 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-wstools
-pkgname=('python-wstools' 'python2-wstools')
-pkgver=0.4.10
-pkgrel=2
-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"/
-}
Copied: python-wstools/repos/extra-any/PKGBUILD (from rev 406179, python-wstools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-01-13 15:31:20 UTC (rev 406180)
@@ -0,0 +1,60 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-wstools
+pkgname=('python-wstools' 'python2-wstools')
+pkgver=0.4.10
+pkgrel=3
+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=("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}
+}
+
+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')
+
+ 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')
+
+ 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