[arch-commits] Commit in (4 files)

Felix Yan fyan at archlinux.org
Wed Sep 9 09:15:14 UTC 2015


    Date: Wednesday, September 9, 2015 @ 11:15:14
  Author: fyan
Revision: 139667

addpkg: python-execnet 1.4.1-1

Added:
  python-execnet/
  python-execnet/repos/
  python-execnet/trunk/
  python-execnet/trunk/PKGBUILD

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

Added: python-execnet/trunk/PKGBUILD
===================================================================
--- python-execnet/trunk/PKGBUILD	                        (rev 0)
+++ python-execnet/trunk/PKGBUILD	2015-09-09 09:15:14 UTC (rev 139667)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-execnet
+pkgname=('python-execnet' 'python2-execnet')
+pkgver=1.4.1
+pkgrel=1
+pkgdesc="Rapid multi-Python deployment"
+arch=('any')
+license=('MIT')
+url="http://codespeak.net/execnet"
+makedepends=('python-setuptools' 'python2-setuptools' 'python-apipkg' 'python2-apipkg')
+checkdepends=('python-pytest' 'python2-pytest' 'procps-ng' 'openssh' 'pypy')
+source=("http://pypi.python.org/packages/source/e/execnet/execnet-$pkgver.tar.gz")
+sha512sums=('e8c0c32e873f8585ff4d4da3b9cbd40046479370f5653f67a98c9029d4535a619731d1b825332fe4af4dc5ebc9ab11ee879ef45df07f08943b1e1685f2255790')
+
+prepare() {
+  cp -a execnet-${pkgver}{,-py2}
+}
+
+build() {
+  cd "$srcdir/execnet-${pkgver}"
+  python setup.py build
+
+  cd "$srcdir/execnet-${pkgver}-py2"
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir/execnet-${pkgver}"
+  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" py.test testing
+
+  cd "$srcdir/execnet-${pkgver}-py2"
+  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" py.test2 testing
+}
+
+package_python-execnet() {
+  depends=('python-apipkg')
+
+  cd execnet-${pkgver}
+  python setup.py install --root="${pkgdir}" --optimize=1
+  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python2-execnet() {
+  depends=('python2-apipkg')
+
+  cd execnet-${pkgver}-py2
+  python2 setup.py install --root="${pkgdir}" --optimize=1
+  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+


Property changes on: python-execnet/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list