[arch-commits] Commit in python-blinker/repos (2 files)

Felix Yan fyan at archlinux.org
Sat Sep 19 13:48:27 UTC 2015


    Date: Saturday, September 19, 2015 @ 15:48:27
  Author: fyan
Revision: 140839

archrelease: copy trunk to community-staging-any

Added:
  python-blinker/repos/community-staging-any/
  python-blinker/repos/community-staging-any/PKGBUILD
    (from rev 140838, python-blinker/trunk/PKGBUILD)

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

Copied: python-blinker/repos/community-staging-any/PKGBUILD (from rev 140838, python-blinker/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2015-09-19 13:48:27 UTC (rev 140839)
@@ -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.4
+pkgrel=2
+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=('8b3722381f83c2813c52de3016b68d33')
+
+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"
+}



More information about the arch-commits mailing list