[arch-commits] Commit in python-openpyxl/trunk (PKGBUILD)
Andrzej Giniewicz
aginiewicz at archlinux.org
Sun Jun 28 17:58:22 UTC 2020
Date: Sunday, June 28, 2020 @ 17:58:22
Author: aginiewicz
Revision: 655146
upgpkg: python-openpyxl 3.0.4-1: python-openpyxl: new upstream release
Modified:
python-openpyxl/trunk/PKGBUILD
----------+
PKGBUILD | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-06-28 17:52:44 UTC (rev 655145)
+++ PKGBUILD 2020-06-28 17:58:22 UTC (rev 655146)
@@ -3,8 +3,7 @@
# Contributor: Martin Corley <Martin.Corley at ed.ac.uk>
pkgname=python-openpyxl
-pkgver=3.0.3
-_pkgtag='ca7b1baf75f2'
+pkgver=3.0.4
pkgrel=1
pkgdesc="A Python library to read/write Excel 2007 xlsx/xlsm files"
arch=('any')
@@ -16,18 +15,16 @@
'python-lxml: alternative XML backend'
'python-defusedxml: guard against various XML vulnerabilities'
'python-pandas: for iteration over Pandas DataFrames')
-source=("https://bitbucket.org/openpyxl/openpyxl/get/${pkgver}.tar.bz2"
- "LICENCE")
-sha256sums=('dd7bc438e5ed138fa48297539dd8b68726ecebb07605d7c95bf144960a59449d'
- '0c84bb42f5d367e5ebf9fc2dde35b16141df5ee0fdc189250858bc6c5560f69e')
+source=("https://foss.heptapod.net/openpyxl/openpyxl/-/archive/${pkgver}/openpyxl-${pkgver}.tar.bz2")
+sha256sums=('7ea77692a8f733452496473675b0d0457813e9a7c3341ae76d44234ea5b977ee')
build() {
- cd "$srcdir"/openpyxl-openpyxl-${_pkgtag}
+ cd "$srcdir"/openpyxl-${pkgver}
python setup.py build
}
package() {
- cd "$srcdir"/openpyxl-openpyxl-${_pkgtag}
+ cd "$srcdir"/openpyxl-${pkgver}
python setup.py install --skip-build --root="$pkgdir" --optimize=1
- install -Dm644 "$srcdir"/LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENCE
+ install -Dm644 LICENCE.rst "$pkgdir"/usr/share/licenses/$pkgname/LICENCE
}
More information about the arch-commits
mailing list