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

Felix Yan felixonmars at gemini.archlinux.org
Wed Dec 1 14:51:27 UTC 2021


    Date: Wednesday, December 1, 2021 @ 14:51:27
  Author: felixonmars
Revision: 1059415

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 1059414, python-nose-random/trunk/PKGBUILD)

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

Copied: python-nose-random/repos/community-staging-any/PKGBUILD (from rev 1059414, python-nose-random/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-01 14:51:27 UTC (rev 1059415)
@@ -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=8
+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