[arch-commits] Commit in python-wrapt/repos/staging-x86_64 (PKGBUILD PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Thu Oct 31 17:07:59 UTC 2019
Date: Thursday, October 31, 2019 @ 17:07:59
Author: foutrelis
Revision: 366246
archrelease: copy trunk to staging-x86_64
Added:
python-wrapt/repos/staging-x86_64/PKGBUILD
(from rev 366245, python-wrapt/trunk/PKGBUILD)
Deleted:
python-wrapt/repos/staging-x86_64/PKGBUILD
----------+
PKGBUILD | 102 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 51 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-31 17:07:55 UTC (rev 366245)
+++ PKGBUILD 2019-10-31 17:07:59 UTC (rev 366246)
@@ -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.2
-pkgrel=2
-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=('2551247c46fbc34068e0f2d6efa91d8c87669c8bf1e16c3b5e2e5e0d84402301c38a78485b7e9a13120c99c9c942db680a84d87a52a072d530aba6444d86297d')
-
-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.8:$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/staging-x86_64/PKGBUILD (from rev 366245, python-wrapt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-31 17:07:59 UTC (rev 366246)
@@ -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.2
+pkgrel=3
+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=('2551247c46fbc34068e0f2d6efa91d8c87669c8bf1e16c3b5e2e5e0d84402301c38a78485b7e9a13120c99c9c942db680a84d87a52a072d530aba6444d86297d')
+
+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.8:$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