[arch-commits] Commit in (5 files)

David Runge dvzrv at archlinux.org
Sat Sep 1 23:50:03 UTC 2018


    Date: Saturday, September 1, 2018 @ 23:50:03
  Author: dvzrv
Revision: 376003

Adding python-nose-progressive as checkdepends for python-pilkit.

Added:
  python-nose-progressive/
  python-nose-progressive/repos/
  python-nose-progressive/trunk/
  python-nose-progressive/trunk/LICENSE
  python-nose-progressive/trunk/PKGBUILD

----------+
 LICENSE  |   20 ++++++++++++++++++++
 PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)

Added: python-nose-progressive/trunk/LICENSE
===================================================================
--- python-nose-progressive/trunk/LICENSE	                        (rev 0)
+++ python-nose-progressive/trunk/LICENSE	2018-09-01 23:50:03 UTC (rev 376003)
@@ -0,0 +1,20 @@
+The MIT License (MIT)
+
+Copyright (c) 2011 Erik Rose
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+the Software, and to permit persons to whom the Software is furnished to do so,
+subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
+FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
+COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Added: python-nose-progressive/trunk/PKGBUILD
===================================================================
--- python-nose-progressive/trunk/PKGBUILD	                        (rev 0)
+++ python-nose-progressive/trunk/PKGBUILD	2018-09-01 23:50:03 UTC (rev 376003)
@@ -0,0 +1,41 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+_name=nose-progressive
+pkgname=python-nose-progressive
+pkgver=1.5.1
+pkgrel=3
+pkgdesc="Give your tests a progress bar and smarter tracebacks in 3 lines"
+arch=('any')
+url="https://github.com/erikrose/nose-progressive"
+license=('MIT')
+depends=('python-blessings' 'python-nose' 'python-setuptools')
+# LICENSE missing in pypi source: https://github.com/erikrose/nose-progressive/issues/89
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"
+        "https://raw.githubusercontent.com/erikrose/nose-progressive/master/LICENSE")
+sha512sums=('75e10c21b734dbf66842c8c0f2514db27a4c5e1fcf893371072836c5b1c6cda9ad2ac12d847387a730982934397492c238b9d471dcd4cf584a9a43896b5ced17'
+            '263b406ff153e82c95fce08921a4b6dc0f627b374b2051a35490d37df8bdbf8269a04b3c11c84d8a16e19f7d60759711a30472032d4fe8f4942e0790f1d69d1e')
+
+prepare() {
+  mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+# tests broken: https://github.com/erikrose/nose-progressive/issues/90
+#check() {
+#  cd "$pkgname-$pkgver"
+#  export PYTHONPATH=build:${PYTHONPATH}
+#  nosetests noseprogressive
+#}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}"
+  install -vDm 644 "${srcdir}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}


Property changes on: python-nose-progressive/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list