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

Felix Yan felixonmars at archlinux.org
Thu Nov 12 18:56:07 UTC 2020


    Date: Thursday, November 12, 2020 @ 18:56:07
  Author: felixonmars
Revision: 753268

archrelease: copy trunk to community-staging-any

Added:
  python-nose-randomly/repos/community-staging-any/
  python-nose-randomly/repos/community-staging-any/PKGBUILD
    (from rev 753267, python-nose-randomly/trunk/PKGBUILD)

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

Copied: python-nose-randomly/repos/community-staging-any/PKGBUILD (from rev 753267, python-nose-randomly/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 18:56:07 UTC (rev 753268)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-nose-randomly
+pkgver=1.2.6
+pkgrel=5
+pkgdesc="Nose plugin to randomly order tests and control random.seed."
+url="https://github.com/adamchainz/nose-randomly"
+license=('BSD')
+arch=('any')
+depends=('python-nose')
+makedepends=('python-setuptools')
+checkdepends=('python-numpy')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/adamchainz/nose-randomly/archive/$pkgver.tar.gz")
+sha512sums=('61f3b056911a9ebbba81594afa11492b760e98a1d8382c67e35afcf1059422b6589a7c214068fc233d96617dfb37c99ee14e77b92d5ec94a29eeab77a0520603')
+
+build() {
+  cd "$srcdir"/nose-randomly-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/nose-randomly-$pkgver
+  python setup.py nosetests
+}
+
+package() {
+
+  cd nose-randomly-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list