[arch-commits] Commit in python-nose/repos/extra-any (PKGBUILD PKGBUILD)
Dan McGee
dan at archlinux.org
Wed Sep 17 13:24:59 UTC 2014
Date: Wednesday, September 17, 2014 @ 15:24:58
Author: dan
Revision: 221839
archrelease: copy trunk to extra-any
Added:
python-nose/repos/extra-any/PKGBUILD
(from rev 221838, python-nose/trunk/PKGBUILD)
Deleted:
python-nose/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 94 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 47 insertions(+), 47 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-09-17 13:24:19 UTC (rev 221838)
+++ PKGBUILD 2014-09-17 13:24:58 UTC (rev 221839)
@@ -1,47 +0,0 @@
-# $Id$
-# Maintainer: Dan McGee <dan at archlinux.org>
-# Contributor: Angel Velasquez <angvp at archlinux.org>
-# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
-# Contributor: Cilyan Olowen <gaknar at gmail.com>
-
-pkgbase=python-nose
-pkgname=('python-nose' 'python2-nose' 'python-nose-doc')
-pkgver=1.3.3
-pkgrel=1
-pkgdesc="A discovery-based unittest extension"
-arch=('any')
-url='http://readthedocs.org/docs/nose/'
-license=('LGPL2.1')
-makedepends=('python' 'python-setuptools' 'python2' 'python2-setuptools' 'python2-sphinx')
-source=("http://pypi.python.org/packages/source/n/nose/nose-${pkgver}.tar.gz")
-md5sums=('42776061bf5206670cb819176dc78654')
-
-build() {
- cd "$srcdir/nose-$pkgver"
- sed -i -e "s:man/man1:share/man/man1:g" setup.py
- 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_python2-nose() {
- depends=('python2' 'python2-setuptools')
- cd "$srcdir/nose2-$pkgver"
- python2 setup.py install --prefix=/usr --root="${pkgdir}"
- 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"
-}
Copied: python-nose/repos/extra-any/PKGBUILD (from rev 221838, python-nose/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-09-17 13:24:58 UTC (rev 221839)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Dan McGee <dan at archlinux.org>
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
+# Contributor: Cilyan Olowen <gaknar at gmail.com>
+
+pkgbase=python-nose
+pkgname=('python-nose' 'python2-nose' 'python-nose-doc')
+pkgver=1.3.4
+pkgrel=1
+pkgdesc="A discovery-based unittest extension"
+arch=('any')
+url='http://readthedocs.org/docs/nose/'
+license=('LGPL2.1')
+makedepends=('python' 'python-setuptools' 'python2' 'python2-setuptools' 'python2-sphinx')
+source=("http://pypi.python.org/packages/source/n/nose/nose-${pkgver}.tar.gz")
+md5sums=('6ed7169887580ddc9a8e16048d38274d')
+
+build() {
+ cd "$srcdir/nose-$pkgver"
+ sed -i -e "s:man/man1:share/man/man1:g" setup.py
+ 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}"
+ ln -s nosetests "$pkgdir/usr/bin/nosetests3"
+}
+
+package_python2-nose() {
+ depends=('python2' 'python2-setuptools')
+ cd "$srcdir/nose2-$pkgver"
+ python2 setup.py install --prefix=/usr --root="${pkgdir}"
+ 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