Date: Friday, April 7, 2023 @ 14:48:29
Author: felixonmars
Revision: 1441244
archrelease: copy trunk to community-staging-any
Added:
python-nose-fixes/repos/community-staging-any/
python-nose-fixes/repos/community-staging-any/PKGBUILD
(from rev 1441241, python-nose-fixes/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: python-nose-fixes/repos/community-staging-any/PKGBUILD (from rev
1441241, python-nose-fixes/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-07 14:48:29 UTC (rev 1441244)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-nose-fixes
+pkgver=1.3
+pkgrel=7
+pkgdesc="A plugin to make nose behave better"
+arch=('any')
+url="https://github.com/cjw296/nose_fixes"
+license=('LGPL')
+depends=('python-nose')
+makedepends=('python-setuptools' 'git')
+checkdepends=('python-testfixtures')
+source=("git+https://github.com/cjw296/nose_fixes.git#tag=$pkgver")
+sha512sums=('SKIP')
+
+build() {
+ cd "$srcdir/nose_fixes"
+ python setup.py build
+}
+
+check() {
+ cd "$srcdir/nose_fixes"
+ nosetests3
+}
+
+package() {
+ cd nose_fixes
+ python setup.py install --root="${pkgdir}" --optimize=1
+}