[arch-commits] Commit in python-nose-show-skipped/repos (3 files)

Evangelos Foutras foutrelis at archlinux.org
Sat Dec 24 17:57:20 UTC 2016


    Date: Saturday, December 24, 2016 @ 17:57:20
  Author: foutrelis
Revision: 201719

archrelease: copy trunk to community-staging-any

Added:
  python-nose-show-skipped/repos/community-staging-any/
  python-nose-show-skipped/repos/community-staging-any/LICENSE
    (from rev 201717, python-nose-show-skipped/trunk/LICENSE)
  python-nose-show-skipped/repos/community-staging-any/PKGBUILD
    (from rev 201717, python-nose-show-skipped/trunk/PKGBUILD)

----------+
 LICENSE  |   27 +++++++++++++++++++++++++++
 PKGBUILD |   44 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 71 insertions(+)

Copied: python-nose-show-skipped/repos/community-staging-any/LICENSE (from rev 201717, python-nose-show-skipped/trunk/LICENSE)
===================================================================
--- community-staging-any/LICENSE	                        (rev 0)
+++ community-staging-any/LICENSE	2016-12-24 17:57:20 UTC (rev 201719)
@@ -0,0 +1,27 @@
+Copyright (c) 2013, Phillip Cloud
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+  Redistributions of source code must retain the above copyright notice, this
+  list of conditions and the following disclaimer.
+
+  Redistributions in binary form must reproduce the above copyright notice, this
+  list of conditions and the following disclaimer in the documentation and/or
+  other materials provided with the distribution.
+
+  Neither the name of the {organization} nor the names of its
+  contributors may be used to endorse or promote products derived from
+  this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Copied: python-nose-show-skipped/repos/community-staging-any/PKGBUILD (from rev 201717, python-nose-show-skipped/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2016-12-24 17:57:20 UTC (rev 201719)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-nose-show-skipped
+pkgname=("python-nose-show-skipped" "python2-nose-show-skipped")
+pkgver=0.1
+pkgrel=2
+pkgdesc="A nose plugin to show skipped tests and their messages"
+arch=('any')
+url="https://github.com/cpcloud/nose-show-skipped"
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-nose' 'python2-nose')
+source=("https://pypi.python.org/packages/source/n/nose-show-skipped/nose-show-skipped-$pkgver.tar.gz"
+        'LICENSE')
+sha512sums=('b6f3cbc8fdc6af7f6298ad54a5b06bd053d27197368eef1e006aff438d517dba549154eb3be35996b0bd1c291537729438f52709b76c507e20c496b6e504f5df'
+            '3f9813adb48ca13f52ef119a6c313da4863ff02a8fabe37d48b1b2aa91b13ba672b21d7e7737a74e9c1a7647896bec0181237aa0ca693780419f49ef280a5082')
+
+prepare() {
+  cp -a "nose-show-skipped-$pkgver"{,-py2}
+}
+
+build() {
+  cd "$srcdir/nose-show-skipped-$pkgver"
+  python setup.py build
+
+  cd "$srcdir/nose-show-skipped-$pkgver-py2"
+  python2 setup.py build
+}
+
+package_python-nose-show-skipped() {
+  depends=('python-nose')
+
+  cd nose-show-skipped-$pkgver
+  python setup.py install --root="${pkgdir}" --optimize=1
+  install -D -m644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python2-nose-show-skipped() {
+  depends=('python2-nose')
+
+  cd nose-show-skipped-$pkgver-py2
+  python2 setup.py install --root="${pkgdir}" --optimize=1
+  install -D -m644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list