[arch-commits] Commit in python-pybuilder/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Mar 16 14:33:30 UTC 2017


    Date: Thursday, March 16, 2017 @ 14:33:29
  Author: felixonmars
Revision: 216717

upgpkg: python-pybuilder 0.11.10-1

Modified:
  python-pybuilder/trunk/PKGBUILD

----------+
 PKGBUILD |   25 ++++++++++++-------------
 1 file changed, 12 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-16 14:24:10 UTC (rev 216716)
+++ PKGBUILD	2017-03-16 14:33:29 UTC (rev 216717)
@@ -5,9 +5,8 @@
 
 pkgbase=python-pybuilder
 pkgname=('python-pybuilder' 'python2-pybuilder')
-pkgver=0.11.9
-_commit=712c28954dbda6efb11293cc685a57e2a10c67da
-pkgrel=2
+pkgver=0.11.10
+pkgrel=1
 pkgdesc='An extensible, easy to use continuous build tool for Python'
 arch=('any')
 url='http://pybuilder.github.io'
@@ -16,22 +15,22 @@
              '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' 'git')
-checkdepends=('python-pyfix' 'python2-pyfix')
-source=("git+https://github.com/pybuilder/pybuilder.git#commit=$_commit")
-md5sums=('SKIP')
+             '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/setup.py
+  sed -i 's/"install_dependencies", //' pybuilder-$pkgver/setup.py
 
-  cp -a pybuilder{,-py2}
+  cp -a pybuilder-$pkgver{,-py2}
 }
 
 check() {
-  cd "$srcdir"/pybuilder
+  cd "$srcdir"/pybuilder-$pkgver
   python build.py -v analyze || warning "ignoring flake8 warnings"
 
-  cd "$srcdir"/pybuilder-py2
+  cd "$srcdir"/pybuilder-$pkgver-py2
   python2 build.py -v analyze || warning "ignoring flake8 warnings"
 }
 
@@ -38,7 +37,7 @@
 package_python-pybuilder() {
   depends=('python-pip' 'python-tblib' 'python-wheel')
 
-  cd pybuilder
+  cd pybuilder-$pkgver
   python setup.py install --root="$pkgdir" -O1
 }
 
@@ -45,7 +44,7 @@
 package_python2-pybuilder() {
   depends=('python2-pip' 'python2-tblib' 'python2-wheel')
 
-  cd pybuilder-py2
+  cd pybuilder-$pkgver-py2
   python2 setup.py install --root="$pkgdir" -O1
 
   mv "$pkgdir"/usr/bin/pyb{,2}



More information about the arch-commits mailing list