[arch-commits] Commit in python-wrapt/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Sun Jul 12 12:01:42 UTC 2020


    Date: Sunday, July 12, 2020 @ 12:01:42
  Author: jelle
Revision: 391750

archrelease: copy trunk to extra-x86_64

Added:
  python-wrapt/repos/extra-x86_64/PKGBUILD
    (from rev 391749, python-wrapt/trunk/PKGBUILD)
Deleted:
  python-wrapt/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   82 +++++++++++++++++++++++--------------------------------------
 1 file changed, 31 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-12 12:01:36 UTC (rev 391749)
+++ PKGBUILD	2020-07-12 12:01:42 UTC (rev 391750)
@@ -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.12.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=('33e964cb3aa2437bc7d084a98f622f7c5c8c719d97806796ae0317d35130bdb2679a9dd87be7077e2cae1eb32b65d152349fa7cc138cb392d5999cbfdcecc9ac')
-
-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/extra-x86_64/PKGBUILD (from rev 391749, python-wrapt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-12 12:01:42 UTC (rev 391750)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Troy C < rstrox -ta yahoo -tod com >
+
+pkgname=python-wrapt
+pkgver=1.12.1
+pkgrel=2
+pkgdesc="A Python module for decorators, wrappers and monkey patching"
+arch=("x86_64")
+url="https://pypi.python.org/pypi/wrapt"
+license=("BSD")
+depends=('python')
+makedepends=('python')
+checkdepends=('python-pytest')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/GrahamDumpleton/wrapt/archive/$pkgver.tar.gz")
+sha512sums=('33e964cb3aa2437bc7d084a98f622f7c5c8c719d97806796ae0317d35130bdb2679a9dd87be7077e2cae1eb32b65d152349fa7cc138cb392d5999cbfdcecc9ac')
+
+build() {
+  cd "$srcdir"/wrapt-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/wrapt-$pkgver
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.8:$PYTHONPATH" py.test
+}
+
+package() {
+  cd wrapt-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


More information about the arch-commits mailing list