[arch-commits] Commit in python-karellen-pyb-plugin/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sun Nov 3 22:17:58 UTC 2019


    Date: Sunday, November 3, 2019 @ 22:17:58
  Author: felixonmars
Revision: 522773

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 522772, python-karellen-pyb-plugin/trunk/PKGBUILD)

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

Copied: python-karellen-pyb-plugin/repos/community-staging-any/PKGBUILD (from rev 522772, python-karellen-pyb-plugin/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-03 22:17:58 UTC (rev 522773)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-karellen-pyb-plugin
+pkgver=0.0.1.20160930
+_commit=41d012b2f093a31596610cf14d0e1da56402e45c
+pkgrel=4
+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
+}



More information about the arch-commits mailing list