Date: Friday, July 20, 2018 @ 00:25:38 Author: eschwartz Revision: 362467
archrelease: copy trunk to community-staging-any Added: python-karellen-pyb-plugin/repos/community-staging-any/ python-karellen-pyb-plugin/repos/community-staging-any/PKGBUILD (from rev 362466, python-karellen-pyb-plugin/trunk/PKGBUILD) ----------+ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) Copied: python-karellen-pyb-plugin/repos/community-staging-any/PKGBUILD (from rev 362466, python-karellen-pyb-plugin/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2018-07-20 00:25:38 UTC (rev 362467) @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-karellen-pyb-plugin +pkgver=0.0.1.20160930 +_commit=41d012b2f093a31596610cf14d0e1da56402e45c +pkgrel=3 +pkgdesc='Karellen PyBuilder Plugin' +arch=('any') +url='https://github.com/karellen/karellen-pyb-plugin' +license=('Apache') +depends=('python-pybuilder') +makedepends=('git' 'python-cram' 'flake8' 'python-sphinx' 'python-unittest-xml-reporting') +# checkdepends=('python-pyfix') +source=("git+https://github.com/karellen/karellen-pyb-plugin.git#commit=$_commit") +md5sums=('SKIP') + +prepare() { + sed -i '/use_plugin("pypi:pybuilder_header_plugin")/d' karellen-pyb-plugin/src/main/python/karellen_pyb_plugin/__init__.py +} + +check() { + cd karellen-pyb-plugin + pyb -v analyze +} + +package() { + cd karellen-pyb-plugin + pyb -v -o package + cd target/dist/karellen-pyb-plugin-* + python setup.py install --root="$pkgdir" -O1 +}