[arch-commits] Commit in python-nose-random/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat Oct 26 20:31:37 UTC 2019
Date: Saturday, October 26, 2019 @ 20:31:35
Author: foutrelis
Revision: 520591
archrelease: copy trunk to community-staging-any
Added:
python-nose-random/repos/community-staging-any/
python-nose-random/repos/community-staging-any/PKGBUILD
(from rev 520587, python-nose-random/trunk/PKGBUILD)
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: python-nose-random/repos/community-staging-any/PKGBUILD (from rev 520587, python-nose-random/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-26 20:31:35 UTC (rev 520591)
@@ -0,0 +1,26 @@
+# 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=4
+pkgdesc='Nose plugin to facilitate randomized unit testing'
+arch=(any)
+url='https://github.com/xlwings/nose-random'
+license=(MIT)
+depends=(python-nose)
+makedepends=(python-setuptools)
+source=("https://github.com/xlwings/nose-random/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('528b1c9396cfa415741afaad60ecde695a657c9364dc01240050c747192f5148')
+
+build() {
+ cd $_pkgname-$pkgver
+ python setup.py build
+}
+
+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