[arch-commits] Commit in python-wrapt/repos (4 files)

Felix Yan fyan at archlinux.org
Mon Sep 21 04:12:00 UTC 2015


    Date: Monday, September 21, 2015 @ 06:11:59
  Author: fyan
Revision: 141338

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

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

-----------------------------------+
 community-staging-i686/PKGBUILD   |   52 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   52 ++++++++++++++++++++++++++++++++++++
 2 files changed, 104 insertions(+)

Copied: python-wrapt/repos/community-staging-i686/PKGBUILD (from rev 141337, python-wrapt/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-09-21 04:11:59 UTC (rev 141338)
@@ -0,0 +1,52 @@
+# $Id$
+# 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.10.5
+pkgrel=2
+pkgdesc="A Python module for decorators, wrappers and monkey patching"
+arch=("i686" "x86_64")
+url="https://pypi.python.org/pypi/wrapt"
+license=("BSD")
+makedepends=('python' 'python2' 'git')
+checkdepends=('python-pytest' 'python2-pytest')
+source=("git+https://github.com/GrahamDumpleton/wrapt.git#tag=$pkgver")
+sha256sums=('SKIP')
+
+prepare() {
+  cp -a wrapt{,-py2}
+}
+
+build() {
+  cd "$srcdir/wrapt"
+  python3 setup.py build
+
+  cd "$srcdir/wrapt-py2"
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir/wrapt"
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.5:$PYTHONPATH" py.test
+
+  cd "$srcdir/wrapt-py2"
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" py.test2
+}
+
+package_python-wrapt() {
+  depends=('python')
+
+  cd wrapt
+  python3 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-wrapt() {
+  depends=('python2')
+
+  cd wrapt
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Copied: python-wrapt/repos/community-staging-x86_64/PKGBUILD (from rev 141337, python-wrapt/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-09-21 04:11:59 UTC (rev 141338)
@@ -0,0 +1,52 @@
+# $Id$
+# 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.10.5
+pkgrel=2
+pkgdesc="A Python module for decorators, wrappers and monkey patching"
+arch=("i686" "x86_64")
+url="https://pypi.python.org/pypi/wrapt"
+license=("BSD")
+makedepends=('python' 'python2' 'git')
+checkdepends=('python-pytest' 'python2-pytest')
+source=("git+https://github.com/GrahamDumpleton/wrapt.git#tag=$pkgver")
+sha256sums=('SKIP')
+
+prepare() {
+  cp -a wrapt{,-py2}
+}
+
+build() {
+  cd "$srcdir/wrapt"
+  python3 setup.py build
+
+  cd "$srcdir/wrapt-py2"
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir/wrapt"
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.5:$PYTHONPATH" py.test
+
+  cd "$srcdir/wrapt-py2"
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" py.test2
+}
+
+package_python-wrapt() {
+  depends=('python')
+
+  cd wrapt
+  python3 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-wrapt() {
+  depends=('python2')
+
+  cd wrapt
+  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