[arch-commits] Commit in python-nose/repos/staging-any (PKGBUILD PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Wed Nov 11 11:06:05 UTC 2020
Date: Wednesday, November 11, 2020 @ 11:06:04
Author: foutrelis
Revision: 400357
archrelease: copy trunk to staging-any
Added:
python-nose/repos/staging-any/PKGBUILD
(from rev 400356, python-nose/trunk/PKGBUILD)
Deleted:
python-nose/repos/staging-any/PKGBUILD
----------+
PKGBUILD | 78 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-11 11:06:01 UTC (rev 400356)
+++ PKGBUILD 2020-11-11 11:06:04 UTC (rev 400357)
@@ -1,39 +0,0 @@
-# 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')
-pkgver=1.3.7
-pkgrel=9
-pkgdesc="A discovery-based unittest extension"
-arch=('any')
-url='https://readthedocs.org/docs/nose/'
-license=('LGPL2.1')
-makedepends=('python' 'python-setuptools' 'python2' 'python2-setuptools')
-source=("https://pypi.python.org/packages/source/n/nose/nose-${pkgver}.tar.gz"{,.asc})
-sha512sums=('e65c914f621f8da06b9ab11a0ff2763d6e29b82ce2aaed56da0e3773dc899d9deb1f20015789d44c65a5dad7214520f5b659b3f8d7695fb207ad3f78e5cf1b62'
- 'SKIP')
-validpgpkeys=('58B277C0D208F7AC460C07C84548B3A8C0D70C12') # John Szakmeister <john at szakmeister.net>
-
-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"
-}
Copied: python-nose/repos/staging-any/PKGBUILD (from rev 400356, python-nose/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-11 11:06:04 UTC (rev 400357)
@@ -0,0 +1,39 @@
+# 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')
+pkgver=1.3.7
+pkgrel=10
+pkgdesc="A discovery-based unittest extension"
+arch=('any')
+url='https://readthedocs.org/docs/nose/'
+license=('LGPL2.1')
+makedepends=('python' 'python-setuptools' 'python2' 'python2-setuptools')
+source=("https://pypi.python.org/packages/source/n/nose/nose-${pkgver}.tar.gz"{,.asc})
+sha512sums=('e65c914f621f8da06b9ab11a0ff2763d6e29b82ce2aaed56da0e3773dc899d9deb1f20015789d44c65a5dad7214520f5b659b3f8d7695fb207ad3f78e5cf1b62'
+ 'SKIP')
+validpgpkeys=('58B277C0D208F7AC460C07C84548B3A8C0D70C12') # John Szakmeister <john at szakmeister.net>
+
+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"
+}
More information about the arch-commits
mailing list