Date: Wednesday, March 7, 2018 @ 09:24:34
  Author: dvzrv
Revision: 303545

archrelease: copy trunk to community-any

Added:
  python-nose2/repos/community-any/PKGBUILD
    (from rev 303544, python-nose2/trunk/PKGBUILD)
Deleted:
  python-nose2/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  122 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 61 insertions(+), 61 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2018-03-07 09:24:21 UTC (rev 303544)
+++ PKGBUILD    2018-03-07 09:24:34 UTC (rev 303545)
@@ -1,61 +0,0 @@
-# Maintainer: David Runge <d...@sleepmap.de>
-# Contributor: Simon Hanna <simon dot hanna AT serve-me DOT info>
-
-_name=nose2
-pkgbase=python-nose2
-pkgname=('python-nose2' 'python2-nose2')
-pkgver=0.6.5
-pkgrel=3
-pkgdesc="The next generation of nicer testing for python"
-arch=('any')
-url="https://github.com/nose-devs/nose2";
-license=('BSD')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("${pkgname[0]}-${pkgver}.tar.gz::https://github.com/nose-devs/${_name}/archive/${pkgver}.tar.gz";)
-sha512sums=('05a22d6a4950f58dd4fcef9564c63ac2d23aa946a49ebc45fd78cd6ae01f2a46d669caced4ac8615b74a7baa1063f7d776b15b42758434cc1d509b8658c11b03')
-
-prepare() {
-  mv -v "${_name}-${pkgver}" "${pkgname[0]}-${pkgver}"
-  cp -av "${pkgname[0]}-${pkgver}" "${pkgname[1]}-${pkgver}"
-}
-
-build() {
-  cd "${pkgname[0]}-${pkgver}"
-  python setup.py build
-  cd ../"${pkgname[1]}-${pkgver}"
-  python2 setup.py build
-}
-
-package_python-nose2() {
-  depends=('python-six')
-  cd "${pkgname[0]}-${pkgver}"
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}"
-  # license
-  install -vDm644 license.txt \
-    "${pkgdir}/usr/share/licenses/${pkgname[0]}/LICENSE"
-  # docs
-  install -t "${pkgdir}/usr/share/doc/${pkgname[0]}" \
-    -vDm644 {AUTHORS,README.rst}
-}
-
-package_python2-nose2() {
-  depends=('python2-six')
-  cd "${pkgname[1]}-${pkgver}"
-  python2 setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}"
-  # license
-  install -vDm644 license.txt \
-    "${pkgdir}/usr/share/licenses/${pkgname[1]}/LICENSE"
-  # docs
-  install -t "${pkgdir}/usr/share/doc/${pkgname[1]}" \
-    -vDm644 {AUTHORS,README.rst}
-  # move duplicates
-  mv -v "${pkgdir}/usr/bin/nose2" "${pkgdir}/usr/bin/nose22"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-nose2/repos/community-any/PKGBUILD (from rev 303544, 
python-nose2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2018-03-07 09:24:34 UTC (rev 303545)
@@ -0,0 +1,61 @@
+# Maintainer: David Runge <d...@sleepmap.de>
+# Contributor: Simon Hanna <simon dot hanna AT serve-me DOT info>
+
+_name=nose2
+pkgbase=python-nose2
+pkgname=('python-nose2' 'python2-nose2')
+pkgver=0.7.4
+pkgrel=1
+pkgdesc="The next generation of nicer testing for python"
+arch=('any')
+url="https://github.com/nose-devs/nose2";
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("${pkgname[0]}-${pkgver}.tar.gz::https://github.com/nose-devs/${_name}/archive/${pkgver}.tar.gz";)
+sha512sums=('693ae9c9fff5b3add269579a6c29863b616a5d2f33044d655407c9e50cf2df4e8eed3be2c0f47cf71f222fabe3d52da7bd40492880c64107557b30a928606e4f')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "${pkgname[0]}-${pkgver}"
+  cp -av "${pkgname[0]}-${pkgver}" "${pkgname[1]}-${pkgver}"
+}
+
+build() {
+  cd "${pkgname[0]}-${pkgver}"
+  python setup.py build
+  cd ../"${pkgname[1]}-${pkgver}"
+  python2 setup.py build
+}
+
+package_python-nose2() {
+  depends=('python-coverage' 'python-six')
+  cd "${pkgname[0]}-${pkgver}"
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}"
+  # license
+  install -vDm644 license.txt \
+    "${pkgdir}/usr/share/licenses/${pkgname[0]}/LICENSE"
+  # docs
+  install -t "${pkgdir}/usr/share/doc/${pkgname[0]}" \
+    -vDm644 {AUTHORS,README.rst}
+}
+
+package_python2-nose2() {
+  depends=('python2-coverage' 'python2-mock' 'python2-six')
+  cd "${pkgname[1]}-${pkgver}"
+  python2 setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}"
+  # license
+  install -vDm644 license.txt \
+    "${pkgdir}/usr/share/licenses/${pkgname[1]}/LICENSE"
+  # docs
+  install -t "${pkgdir}/usr/share/doc/${pkgname[1]}" \
+    -vDm644 {AUTHORS,README.rst}
+  # move duplicates
+  mv -v "${pkgdir}/usr/bin/nose2" "${pkgdir}/usr/bin/nose22"
+}
+
+# vim:set ts=2 sw=2 et:

Reply via email to