[arch-commits] Commit in python-nose-random/repos (2 files)

Chih-Hsuan Yen yan12125 at archlinux.org
Sun Nov 18 08:06:44 UTC 2018


    Date: Sunday, November 18, 2018 @ 08:06:44
  Author: yan12125
Revision: 408654

archrelease: copy trunk to community-any

Added:
  python-nose-random/repos/community-any/
  python-nose-random/repos/community-any/PKGBUILD
    (from rev 408653, python-nose-random/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: python-nose-random/repos/community-any/PKGBUILD (from rev 408653, python-nose-random/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2018-11-18 08:06:44 UTC (rev 408654)
@@ -0,0 +1,31 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+# Contributor: Guillaume Horel <guillaume.horel at gmail.com>
+
+pkgname=python-nose-random
+_pkgname=nose-random
+pkgver=1.0.0
+pkgrel=2
+pkgdesc='Nose plugin to facilitate randomized unit testing'
+arch=(any)
+url='https://github.com/ZoomerAnalytics/nose-random'
+license=(MIT)
+depends=(python-nose)
+makedepends=(python-setuptools)
+source=("$pkgname-$pkgver.tar.gz"::"https://github.com/ZoomerAnalytics/nose-random/archive/$pkgver.tar.gz")
+sha256sums=('528b1c9396cfa415741afaad60ecde695a657c9364dc01240050c747192f5148')
+
+build() {
+  cd $_pkgname-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd $_pkgname-$pkgver
+  nosetests -v examples
+}
+
+package() {
+  cd $_pkgname-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}



More information about the arch-commits mailing list