[arch-commits] Commit in python-nose-fixes/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Fri Nov 1 23:30:52 UTC 2019
Date: Friday, November 1, 2019 @ 23:30:52
Author: arojas
Revision: 522102
Drop python2
Modified:
python-nose-fixes/trunk/PKGBUILD
----------+
PKGBUILD | 29 +++++------------------------
1 file changed, 5 insertions(+), 24 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-01 23:22:12 UTC (rev 522101)
+++ PKGBUILD 2019-11-01 23:30:52 UTC (rev 522102)
@@ -1,7 +1,6 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
-pkgbase=python-nose-fixes
-pkgname=("python-nose-fixes" "python2-nose-fixes")
+pkgname=python-nose-fixes
pkgver=1.3
pkgrel=3
pkgdesc="A plugin to make nose behave better"
@@ -8,41 +7,23 @@
arch=('any')
url="https://github.com/cjw296/nose_fixes"
license=('LGPL')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-nose' 'python2-nose' 'git')
-checkdepends=('python-testfixtures' 'python2-testfixtures')
+depends=('python-nose')
+makedepends=('python-setuptools' 'git')
+checkdepends=('python-testfixtures')
source=("git+https://github.com/cjw296/nose_fixes.git#tag=$pkgver")
sha512sums=('SKIP')
-prepare() {
- cp -a "nose_fixes"{,-py2}
-}
-
build() {
cd "$srcdir/nose_fixes"
python setup.py build
-
- cd "$srcdir/nose_fixes-py2"
- python2 setup.py build
}
check() {
cd "$srcdir/nose_fixes"
nosetests3
-
- cd "$srcdir/nose_fixes-py2"
- nosetests2
}
-package_python-nose-fixes() {
- depends=('python-nose')
-
+package() {
cd nose_fixes
python setup.py install --root="${pkgdir}" --optimize=1
}
-
-package_python2-nose-fixes() {
- depends=('python2-nose')
-
- cd nose_fixes-py2
- python2 setup.py install --root="${pkgdir}" --optimize=1
-}
More information about the arch-commits
mailing list