[arch-commits] Commit in (4 files)

Felix Yan fyan at archlinux.org
Thu Apr 9 06:02:29 UTC 2015


    Date: Thursday, April 9, 2015 @ 08:02:29
  Author: fyan
Revision: 131008

addpkg: python-blinker 1.3-4

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

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

Added: python-blinker/trunk/PKGBUILD
===================================================================
--- python-blinker/trunk/PKGBUILD	                        (rev 0)
+++ python-blinker/trunk/PKGBUILD	2015-04-09 06:02:29 UTC (rev 131008)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Philipp Schmidt <philschmidt at gmx dot net>
+# Contributor: Stefan Tatschner <stefan.tatschner at gmail dot com>
+
+pkgbase=python-blinker
+pkgname=('python-blinker' 'python2-blinker')
+pkgver=1.3
+pkgrel=4
+pkgdesc="Fast, simple object-to-object and broadcast signaling"
+arch=('any')
+url="http://discorporate.us/projects/Blinker/"
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-nose' 'python2-nose')
+source=("http://pypi.python.org/packages/source/b/blinker/blinker-$pkgver.tar.gz")
+md5sums=('66e9688f2d287593a0e698cd8a5fbc57')
+
+prepare() {
+  cp -a blinker-$pkgver{,-py2}
+}
+
+check() {
+  cd "$srcdir/blinker-$pkgver"
+  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" nosetests3
+
+  cd "$srcdir/blinker-$pkgver-py2"
+  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" nosetests2
+}
+
+package_python-blinker() {
+  depends=('python')
+
+  cd "$srcdir/blinker-$pkgver"
+  python setup.py install --root="$pkgdir/" --optimize=1
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-blinker() {
+  depends=('python2')
+
+  cd "$srcdir/blinker-$pkgver-py2"
+  python2 setup.py install --root="$pkgdir/" --optimize=1
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


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



More information about the arch-commits mailing list