Date: Monday, November 9, 2020 @ 16:20:25
  Author: felixonmars
Revision: 399805

archrelease: copy trunk to staging-x86_64

Added:
  python-wrapt/repos/staging-x86_64/
  python-wrapt/repos/staging-x86_64/PKGBUILD
    (from rev 399804, python-wrapt/trunk/PKGBUILD)

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

Copied: python-wrapt/repos/staging-x86_64/PKGBUILD (from rev 399804, 
python-wrapt/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD                             (rev 0)
+++ staging-x86_64/PKGBUILD     2020-11-09 16:20:25 UTC (rev 399805)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Troy C < rstrox -ta yahoo -tod com >
+
+pkgname=python-wrapt
+pkgver=1.12.1
+pkgrel=3
+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.9:$PYTHONPATH" py.test
+}
+
+package() {
+  cd wrapt-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Reply via email to