Date: Monday, November 4, 2019 @ 07:13:03 Author: felixonmars Revision: 523464
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 523462, python-nose-fixes/trunk/PKGBUILD) ----------+ PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) Copied: python-nose-fixes/repos/community-staging-any/PKGBUILD (from rev 523462, python-nose-fixes/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2019-11-04 07:13:03 UTC (rev 523464) @@ -0,0 +1,29 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-nose-fixes +pkgver=1.3 +pkgrel=4 +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 +}