[arch-commits] Commit in python-nose/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Wed Oct 28 22:46:05 UTC 2020
Date: Wednesday, October 28, 2020 @ 22:46:05
Author: jelle
Revision: 398979
Remove python-nose-docs as python-nose is deprecated
Modified:
python-nose/trunk/PKGBUILD
----------+
PKGBUILD | 15 +++------------
1 file changed, 3 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-10-28 22:29:04 UTC (rev 398978)
+++ PKGBUILD 2020-10-28 22:46:05 UTC (rev 398979)
@@ -4,14 +4,14 @@
# Contributor: Cilyan Olowen <gaknar at gmail.com>
pkgbase=python-nose
-pkgname=('python-nose' 'python2-nose' 'python-nose-doc')
+pkgname=('python-nose' 'python2-nose')
pkgver=1.3.7
-pkgrel=7
+pkgrel=8
pkgdesc="A discovery-based unittest extension"
arch=('any')
url='https://readthedocs.org/docs/nose/'
license=('LGPL2.1')
-makedepends=('python' 'python-setuptools' 'python2' 'python2-setuptools' 'python2-sphinx')
+makedepends=('python' 'python-setuptools' 'python2' 'python2-setuptools')
source=("https://pypi.python.org/packages/source/n/nose/nose-${pkgver}.tar.gz"{,.asc})
sha512sums=('e65c914f621f8da06b9ab11a0ff2763d6e29b82ce2aaed56da0e3773dc899d9deb1f20015789d44c65a5dad7214520f5b659b3f8d7695fb207ad3f78e5cf1b62'
'SKIP')
@@ -37,12 +37,3 @@
mv "$pkgdir/usr/bin/nosetests" "$pkgdir/usr/bin/nosetests2"
rm -rf "$pkgdir/usr/share"
}
-
-package_python-nose-doc(){
- pkgdesc="Nose documentation and examples"
- cd "$srcdir/nose-$pkgver/doc"
- 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"
-}
More information about the arch-commits
mailing list