[arch-commits] Commit in python-blinker/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Fri May 8 18:44:01 UTC 2020
Date: Friday, May 8, 2020 @ 18:44:01
Author: jelle
Revision: 625742
upgpkg: python-blinker 1.4-7
Remove unused python2 module
Modified:
python-blinker/trunk/PKGBUILD
----------+
PKGBUILD | 27 +++++----------------------
1 file changed, 5 insertions(+), 22 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-08 18:40:48 UTC (rev 625741)
+++ PKGBUILD 2020-05-08 18:44:01 UTC (rev 625742)
@@ -2,43 +2,26 @@
# 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')
+pkgname=python-blinker
pkgver=1.4
-pkgrel=6
+pkgrel=7
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')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-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