[arch-commits] Commit in python-nose2/repos/community-testing-any (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Sun Aug 5 18:50:30 UTC 2018


    Date: Sunday, August 5, 2018 @ 18:50:29
  Author: dvzrv
Revision: 368412

archrelease: copy trunk to community-testing-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-05 18:50:22 UTC (rev 368411)
+++ PKGBUILD	2018-08-05 18:50:29 UTC (rev 368412)
@@ -1,61 +0,0 @@
-# Maintainer: David Runge <dave at 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=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=('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-setuptools' 'python-six')
-  cd "${pkgname[0]}-${pkgver}"
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}"
-  # license
-  install -vDm 644 license.txt \
-    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-  # docs
-  install -t "${pkgdir}/usr/share/doc/${pkgname}" \
-    -vDm 644 {AUTHORS,README.rst}
-}
-
-package_python2-nose2() {
-  depends=('python2-coverage' 'python2-mock' 'python2-setuptools' 'python2-six')
-  cd "${pkgname[1]}-${pkgver}"
-  python2 setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}"
-  # license
-  install -vDm 644 license.txt \
-    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-  # docs
-  install -t "${pkgdir}/usr/share/doc/${pkgname}" \
-    -vDm 644 {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-testing-any/PKGBUILD (from rev 368411, python-nose2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-05 18:50:29 UTC (rev 368412)
@@ -0,0 +1,59 @@
+# Maintainer: David Runge <dave at 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.8.0
+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=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('db9b95a28f9b497bf14bbf1d3e5f26254f4c6b313690fed26cdacfeaeaed65ffc88df3368698cf05a5b13c7a574beb80381f7da971bf720388dd77742a1d309a')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "${pkgname[0]}-${pkgver}"
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py build
+  python2 setup.py build
+}
+
+package_python-nose2() {
+  depends=('python-coverage' 'python-setuptools' 'python-six')
+  cd "${pkgname}-${pkgver}"
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}"
+  # license
+  install -vDm 644 license.txt \
+    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  # docs
+  install -t "${pkgdir}/usr/share/doc/${pkgname}" \
+    -vDm 644 {AUTHORS,README.rst}
+}
+
+package_python2-nose2() {
+  depends=('python2-coverage' 'python2-mock' 'python2-setuptools' 'python2-six')
+  cd "${pkgbase}-${pkgver}"
+  python2 setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}"
+  # license
+  install -vDm 644 license.txt \
+    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  # docs
+  install -t "${pkgdir}/usr/share/doc/${pkgname}" \
+    -vDm 644 {AUTHORS,README.rst}
+  # move duplicates
+  mv -v "${pkgdir}/usr/bin/nose2" "${pkgdir}/usr/bin/nose22"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list