[arch-commits] Commit in python-blinker/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Oct 25 15:13:58 UTC 2019
Date: Friday, October 25, 2019 @ 15:13:57
Author: felixonmars
Revision: 518932
archrelease: copy trunk to community-staging-any
Added:
python-blinker/repos/community-staging-any/
python-blinker/repos/community-staging-any/PKGBUILD
(from rev 518930, python-blinker/trunk/PKGBUILD)
----------+
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
Copied: python-blinker/repos/community-staging-any/PKGBUILD (from rev 518930, python-blinker/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-25 15:13:57 UTC (rev 518932)
@@ -0,0 +1,44 @@
+# 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=5
+pkgdesc="Fast, simple object-to-object and broadcast signaling"
+arch=('any')
+url="https://pythonhosted.org/blinker/"
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-nose' 'python2-nose')
+source=("https://files.pythonhosted.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