[arch-commits] Commit in python-pybuilder/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Wed Jul 18 04:51:18 UTC 2018


    Date: Wednesday, July 18, 2018 @ 04:51:18
  Author: foutrelis
Revision: 361737

archrelease: copy trunk to community-staging-any

Added:
  python-pybuilder/repos/community-staging-any/
  python-pybuilder/repos/community-staging-any/PKGBUILD
    (from rev 361736, python-pybuilder/trunk/PKGBUILD)

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

Copied: python-pybuilder/repos/community-staging-any/PKGBUILD (from rev 361736, python-pybuilder/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-07-18 04:51:18 UTC (rev 361737)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Thomas S Hatch <thatch45 at gmail.com>
+
+pkgname=python-pybuilder
+pkgver=0.11.17
+pkgrel=2
+pkgdesc='An extensible, easy to use continuous build tool for Python'
+arch=('any')
+url='http://pybuilder.github.io'
+license=('Apache')
+# added dependencies of distutils plugin into pybuilder's depends
+depends=('python-pip' 'python-pypandoc' 'python-tailer' 'python-tblib' 'python-twine' 'python-wheel')
+makedepends=('python-cram' 'flake8' 'python-sphinx' 'python-pdoc' 'python-coverage'
+             'python-pytddmon' 'python-unittest-xml-reporting' 'python-pyfix')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pybuilder/pybuilder/archive/v$pkgver.tar.gz")
+sha512sums=('586018833a53bc28bc996d9b9117417f8fde8a1677d5914bb6536d073b39e63aef6fb61925360a99d48af1dbe6eece4a3ed6209f80346e8fc1c7ec0c00ffb793')
+
+prepare() {
+  cd pybuilder-$pkgver
+  sed -i 's/"install_dependencies", //' setup.py
+  sed -i 's/project.plugin_depends_on("pypandoc", ".*$/project.plugin_depends_on("pypandoc")/' src/main/python/pybuilder/plugins/python/distutils_plugin.py
+}
+
+check() {
+  cd pybuilder-$pkgver
+  python build.py -v analyze || warning "ignoring flake8 warnings"
+}
+
+package() {
+  cd pybuilder-$pkgver
+  python setup.py install --root="$pkgdir" -O1
+}



More information about the arch-commits mailing list