From 6300f773c5f20d42f267a2b2ad791089d93b02b9 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Thu, 1 Mar 2018 18:26:14 +0000 Subject: python-nose: update to 1.3.7 --- abs/core/python_modules/python-nose/PKGBUILD | 26 ++++++++++++------------- abs/core/python_modules/python-nose/__changelog | 1 - 2 files changed, 13 insertions(+), 14 deletions(-) delete mode 100644 abs/core/python_modules/python-nose/__changelog diff --git a/abs/core/python_modules/python-nose/PKGBUILD b/abs/core/python_modules/python-nose/PKGBUILD index be20823..beafe17 100644 --- a/abs/core/python_modules/python-nose/PKGBUILD +++ b/abs/core/python_modules/python-nose/PKGBUILD @@ -5,16 +5,16 @@ # Contributor: Cilyan Olowen pkgbase=python-nose -pkgname=('python2-nose' 'python-nose-doc') -pkgver=1.3.1 -pkgrel=2 +pkgname=('python-nose' 'python2-nose' 'python-nose-doc') +pkgver=1.3.7 +pkgrel=3 pkgdesc="A discovery-based unittest extension" arch=('any') url='http://readthedocs.org/docs/nose/' license=('LGPL2.1') -makedepends=('python2' 'python2-setuptools' 'python2-sphinx') -source=("http://pypi.python.org/packages/source/n/nose/nose-${pkgver}.tar.gz") -md5sums=('672398801ddf5ba745c55c6eed79c5aa') +makedepends=('python' 'python-setuptools' 'python2' 'python2-setuptools' 'python2-sphinx') +source=("https://pypi.python.org/packages/source/n/nose/nose-${pkgver}.tar.gz") +md5sums=('4d3ad0ff07b61373d2cefc89c5d0b20b') build() { cd "$srcdir/nose-$pkgver" @@ -22,12 +22,12 @@ build() { cp -R "$srcdir/nose-$pkgver" "$srcdir/nose2-$pkgver" } -#package_python-nose() { -# depends=('python' 'python-setuptools') -# cd "$srcdir/nose-$pkgver" -# python3 setup.py install --prefix=/usr --root="${pkgdir}" -# mv "$pkgdir/usr/bin/nosetests" "$pkgdir/usr/bin/nosetests3" -#} +package_python-nose() { + depends=('python' 'python-setuptools') + cd "$srcdir/nose-$pkgver" + python3 setup.py install --prefix=/usr --root="${pkgdir}" + ln -s nosetests "$pkgdir/usr/bin/nosetests3" +} package_python2-nose() { depends=('python2' 'python2-setuptools') @@ -40,7 +40,7 @@ package_python2-nose() { package_python-nose-doc(){ pkgdesc="Nose documentation and examples" cd "$srcdir/nose-$pkgver/doc" - make SPHINXBUILD=sphinx-build22 html + make SPHINXBUILD=sphinx-build2 html mkdir -p "$pkgdir/usr/share/doc/python-nose" cp -r .build/html "$pkgdir/usr/share/doc/python-nose" cp -r ../examples "$pkgdir/usr/share/doc/python-nose" diff --git a/abs/core/python_modules/python-nose/__changelog b/abs/core/python_modules/python-nose/__changelog deleted file mode 100644 index 488d3cf..0000000 --- a/abs/core/python_modules/python-nose/__changelog +++ /dev/null @@ -1 +0,0 @@ -PKGBUILD: rm py 3 stuff -- cgit v0.12