[arch-commits] Commit in python-wrapt/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Jan 19 20:21:08 UTC 2019
Date: Saturday, January 19, 2019 @ 20:21:07
Author: felixonmars
Revision: 344519
archrelease: copy trunk to extra-x86_64
Added:
python-wrapt/repos/extra-x86_64/PKGBUILD
(from rev 344518, python-wrapt/trunk/PKGBUILD)
Deleted:
python-wrapt/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 102 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 51 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-01-19 20:20:51 UTC (rev 344518)
+++ PKGBUILD 2019-01-19 20:21:07 UTC (rev 344519)
@@ -1,51 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Troy C < rstrox -ta yahoo -tod com >
-
-pkgbase=python-wrapt
-pkgname=(python-wrapt python2-wrapt)
-pkgver=1.11.0
-pkgrel=1
-pkgdesc="A Python module for decorators, wrappers and monkey patching"
-arch=("x86_64")
-url="https://pypi.python.org/pypi/wrapt"
-license=("BSD")
-makedepends=('python' 'python2')
-checkdepends=('python-pytest' 'python2-pytest')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/GrahamDumpleton/wrapt/archive/$pkgver.tar.gz")
-sha512sums=('f49723c558cd615759e20ce308c6f75b864b376db68bad185732e9a847fea20a93bf1f9678251c807638be67becf3d380ca4e7ab005663714145795d331b492a')
-
-prepare() {
- cp -a wrapt-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/wrapt-$pkgver
- python setup.py build
-
- cd "$srcdir"/wrapt-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/wrapt-$pkgver
- PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.7:$PYTHONPATH" py.test
-
- cd "$srcdir"/wrapt-$pkgver-py2
- PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" py.test2
-}
-
-package_python-wrapt() {
- depends=('python')
-
- cd wrapt-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-wrapt() {
- depends=('python2')
-
- cd wrapt-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-wrapt/repos/extra-x86_64/PKGBUILD (from rev 344518, python-wrapt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-01-19 20:21:07 UTC (rev 344519)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Troy C < rstrox -ta yahoo -tod com >
+
+pkgbase=python-wrapt
+pkgname=(python-wrapt python2-wrapt)
+pkgver=1.11.1
+pkgrel=1
+pkgdesc="A Python module for decorators, wrappers and monkey patching"
+arch=("x86_64")
+url="https://pypi.python.org/pypi/wrapt"
+license=("BSD")
+makedepends=('python' 'python2')
+checkdepends=('python-pytest' 'python2-pytest')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/GrahamDumpleton/wrapt/archive/$pkgver.tar.gz")
+sha512sums=('9401c3330b31ebb4d1b6dfe10c3e8e4d931ec43cbc12ddd4b0b74af9a0912b35f4ccdd8530e20766616d3bea2296b34cd0589cf6ac3a1cb708dad8d8c049dde5')
+
+prepare() {
+ cp -a wrapt-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/wrapt-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/wrapt-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/wrapt-$pkgver
+ PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.7:$PYTHONPATH" py.test
+
+ cd "$srcdir"/wrapt-$pkgver-py2
+ PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" py.test2
+}
+
+package_python-wrapt() {
+ depends=('python')
+
+ cd wrapt-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-wrapt() {
+ depends=('python2')
+
+ cd wrapt-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list