[arch-commits] Commit in python-pybuilder/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Apr 22 08:13:45 UTC 2018
Date: Sunday, April 22, 2018 @ 08:13:44
Author: felixonmars
Revision: 317291
archrelease: copy trunk to community-any
Added:
python-pybuilder/repos/community-any/PKGBUILD
(from rev 317290, python-pybuilder/trunk/PKGBUILD)
Deleted:
python-pybuilder/repos/community-any/PKGBUILD
----------+
PKGBUILD | 86 ++++++++++++++++++++++++-------------------------------------
1 file changed, 34 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-04-22 08:13:22 UTC (rev 317290)
+++ PKGBUILD 2018-04-22 08:13:44 UTC (rev 317291)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-# Contributor: Thomas S Hatch <thatch45 at gmail.com>
-
-pkgbase=python-pybuilder
-pkgname=('python-pybuilder' 'python2-pybuilder')
-pkgver=0.11.10
-pkgrel=1
-pkgdesc='An extensible, easy to use continuous build tool for Python'
-arch=('any')
-url='http://pybuilder.github.io'
-license=('Apache')
-makedepends=('python-pip' 'python2-pip' 'python-tblib' 'python2-tblib' 'python-wheel'
- 'python2-wheel' 'python2-mock' 'python-cram' 'python2-cram' 'flake8' 'python2-flake8'
- 'python-sphinx' 'python2-sphinx' 'python-pdoc' 'python2-pdoc' 'python-coverage'
- 'python2-coverage' 'python-pytddmon' 'python2-pytddmon' 'python2-snakefood'
- 'python-unittest-xml-reporting' 'python2-unittest-xml-reporting' 'python-pypandoc'
- 'python2-pypandoc' 'python-pyfix' 'python2-pyfix')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/pybuilder/pybuilder/archive/v$pkgver.tar.gz")
-sha512sums=('5004855a436b4dfc149aec77876b230a98a532495d3f76f34b28964c1046d06a14825aa3d38528bac1bf10a0d8a1b139ee85b35f42fd5fd2f36dfd551b76505c')
-
-prepare() {
- sed -i 's/"install_dependencies", //' pybuilder-$pkgver/setup.py
-
- cp -a pybuilder-$pkgver{,-py2}
-}
-
-check() {
- cd "$srcdir"/pybuilder-$pkgver
- python build.py -v analyze || warning "ignoring flake8 warnings"
-
- cd "$srcdir"/pybuilder-$pkgver-py2
- python2 build.py -v analyze || warning "ignoring flake8 warnings"
-}
-
-package_python-pybuilder() {
- depends=('python-pip' 'python-tblib' 'python-wheel')
-
- cd pybuilder-$pkgver
- python setup.py install --root="$pkgdir" -O1
-}
-
-package_python2-pybuilder() {
- depends=('python2-pip' 'python2-tblib' 'python2-wheel')
-
- cd pybuilder-$pkgver-py2
- python2 setup.py install --root="$pkgdir" -O1
-
- mv "$pkgdir"/usr/bin/pyb{,2}
- mv "$pkgdir"/usr/bin/pyb_{,2}
-}
Copied: python-pybuilder/repos/community-any/PKGBUILD (from rev 317290, python-pybuilder/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-04-22 08:13:44 UTC (rev 317291)
@@ -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=1
+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