[arch-commits] Commit in python-nose-randomly/repos/community-any (PKGBUILD PKGBUILD)
Balló György
bgyorgy at archlinux.org
Mon Mar 16 23:41:01 UTC 2020
Date: Monday, March 16, 2020 @ 23:41:00
Author: bgyorgy
Revision: 599956
archrelease: copy trunk to community-any
Added:
python-nose-randomly/repos/community-any/PKGBUILD
(from rev 599955, python-nose-randomly/trunk/PKGBUILD)
Deleted:
python-nose-randomly/repos/community-any/PKGBUILD
----------+
PKGBUILD | 81 +++++++++++++++++++++++--------------------------------------
1 file changed, 31 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-16 23:40:57 UTC (rev 599955)
+++ PKGBUILD 2020-03-16 23:41:00 UTC (rev 599956)
@@ -1,50 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-nose-randomly
-pkgname=(python-nose-randomly python2-nose-randomly)
-pkgver=1.2.6
-pkgrel=3
-pkgdesc="Nose plugin to randomly order tests and control random.seed."
-url="https://github.com/adamchainz/nose-randomly"
-license=('BSD')
-arch=('any')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-nose' 'python2-nose')
-checkdepends=('python-numpy' 'python2-numpy')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/adamchainz/nose-randomly/archive/$pkgver.tar.gz")
-sha512sums=('61f3b056911a9ebbba81594afa11492b760e98a1d8382c67e35afcf1059422b6589a7c214068fc233d96617dfb37c99ee14e77b92d5ec94a29eeab77a0520603')
-
-prepare() {
- cp -a nose-randomly-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/nose-randomly-$pkgver
- python setup.py build
-
- cd "$srcdir"/nose-randomly-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/nose-randomly-$pkgver
- python setup.py nosetests
-
- cd "$srcdir"/nose-randomly-$pkgver-py2
- python2 setup.py nosetests
-}
-
-package_python-nose-randomly() {
- depends=('python-nose')
-
- cd nose-randomly-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-nose-randomly() {
- depends=('python2-nose')
-
- cd nose-randomly-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-nose-randomly/repos/community-any/PKGBUILD (from rev 599955, python-nose-randomly/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-16 23:41:00 UTC (rev 599956)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-nose-randomly
+pkgver=1.2.6
+pkgrel=4
+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