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

Andrzej Giniewicz aginiewicz at archlinux.org
Wed Oct 5 18:50:26 UTC 2016


    Date: Wednesday, October 5, 2016 @ 18:50:25
  Author: aginiewicz
Revision: 191419

upgpkg: python-openpyxl 2.4.0-1

python-openpyxl: new upstream release

Modified:
  python-openpyxl/trunk/PKGBUILD

----------+
 PKGBUILD |   23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-05 18:42:20 UTC (rev 191418)
+++ PKGBUILD	2016-10-05 18:50:25 UTC (rev 191419)
@@ -5,7 +5,8 @@
 
 pkgbase=python-openpyxl
 pkgname=('python2-openpyxl' 'python-openpyxl')
-pkgver=2.3.5
+pkgver=2.4.0
+_pkgtag='571d0a60d874'
 pkgrel=1
 pkgdesc="A Python library to read/write Excel 2007 xlsx/xlsm files"
 arch=('any')
@@ -12,15 +13,15 @@
 url="http://openpyxl.readthedocs.org/"
 license=('MIT')
 makedepends=('python2-setuptools' 'python-setuptools' 'python-jdcal' 'python2-jdcal' 'python-et-xmlfile' 'python2-et-xmlfile')
-source=("https://pypi.python.org/packages/source/o/openpyxl/openpyxl-${pkgver}.tar.gz"
+source=("https://bitbucket.org/openpyxl/openpyxl/get/${pkgver}.tar.bz2"
         "LICENCE")
-md5sums=('425a8aee5dc9fcc25e6ffd8d4babb93a'
+md5sums=('30085e87610e6e4fc0e4c68364b52365'
          'c8afe530744e932b892358e6eb5bea9b')
 
 prepare() {
   cd "$srcdir"
-  cp -a openpyxl-${pkgver} openpyxl-py2-${pkgver}
-  cd openpyxl-py2-${pkgver}
+  cp -a openpyxl-openpyxl-${_pkgtag} openpyxl-openpyxl-py2-${_pkgtag}
+  cd openpyxl-openpyxl-py2-${_pkgtag}
 
   sed -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
       -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
@@ -30,19 +31,19 @@
 
 build() {
   msg "Building Python2"
-  cd "$srcdir"/openpyxl-py2-${pkgver}
+  cd "$srcdir"/openpyxl-openpyxl-py2-${_pkgtag}
   python2 setup.py build
 
   msg "Building Python3"
-  cd "$srcdir"/openpyxl-${pkgver}
+  cd "$srcdir"/openpyxl-openpyxl-${_pkgtag}
   python setup.py build
 }
 
 package_python2-openpyxl() {
-  depends=('python2' 'python2-jdcal' 'python2-et-xmlfile')
+  depends=('python2-jdcal' 'python2-et-xmlfile')
   optdepends=('python2-pillow: needed to include images')
 
-  cd "$srcdir"/openpyxl-py2-${pkgver}
+  cd "$srcdir"/openpyxl-openpyxl-py2-${_pkgtag}
 
   python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
 
@@ -50,10 +51,10 @@
 }
 
 package_python-openpyxl() {
-  depends=('python' 'python-jdcal' 'python-et-xmlfile')
+  depends=('python-jdcal' 'python-et-xmlfile')
   optdepends=('python-pillow: needed to include images')
 
-  cd "$srcdir"/openpyxl-${pkgver}
+  cd "$srcdir"/openpyxl-openpyxl-${_pkgtag}
 
   python setup.py install --skip-build --root="$pkgdir" --optimize=1
 



More information about the arch-commits mailing list