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

Chih-Hsuan Yen yan12125 at gemini.archlinux.org
Mon May 30 04:24:02 UTC 2022


    Date: Monday, May 30, 2022 @ 04:24:02
  Author: yan12125
Revision: 1214778

upgpkg: python-openpyxl 3.0.10-1; adopt, update and various improvements

* Adopt as aginiewicz is no longer a Trusted User [1]
* jdcal is no longer a dependency since 3.0.7 [2]
* Add check(). python-defusedxml is not in checkdepends as relevant
  tests are skipped anyway when lxml is installed [3]

[1] https://gitlab.archlinux.org/archlinux/infrastructure/-/issues/453
[2] https://foss.heptapod.net/openpyxl/openpyxl/-/blob/branch/3.0/doc/changes.rst
[3] https://foss.heptapod.net/openpyxl/openpyxl/-/blob/3.0.10/conftest.py#L23

Modified:
  python-openpyxl/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-30 04:07:28 UTC (rev 1214777)
+++ PKGBUILD	2022-05-30 04:24:02 UTC (rev 1214778)
@@ -1,22 +1,24 @@
-# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+# Contributor: Andrzej Giniewicz <gginiu at gmail.com>
 # Contributor: Nishit Joseph (reachjlight at gmail dot com)
 # Contributor: Martin Corley <Martin.Corley at ed.ac.uk>
 
 pkgname=python-openpyxl
-pkgver=3.0.9
-pkgrel=3
+pkgver=3.0.10
+pkgrel=1
 pkgdesc="A Python library to read/write Excel 2007 xlsx/xlsm files"
 arch=('any')
 url="https://openpyxl.readthedocs.org/"
 license=('MIT')
-depends=('python-jdcal' 'python-et-xmlfile')
+depends=('python-et-xmlfile')
 makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-lxml' 'python-pandas' 'python-pillow')
 optdepends=('python-pillow: needed to include images'
             'python-lxml: alternative XML backend'
             'python-defusedxml: guard against various XML vulnerabilities'
             'python-pandas: for iteration over Pandas DataFrames')
 source=("https://foss.heptapod.net/openpyxl/openpyxl/-/archive/${pkgver}/openpyxl-${pkgver}.tar.bz2")
-sha256sums=('351d38f1bba45a4a3cdcdc626d6c3f815677f5f0bc218315664678efe47e4e3f')
+sha256sums=('265ae51674a0b30d5394a437a2c96c520c6cfcaf479a4d3e0f75d829d172664e')
 
 build() {
   cd "$srcdir"/openpyxl-${pkgver}
@@ -23,6 +25,11 @@
   python setup.py build
 }
 
+check() {
+  cd "$srcdir"/openpyxl-${pkgver}
+  pytest
+}
+
 package() {
   cd "$srcdir"/openpyxl-${pkgver}
   python setup.py install --skip-build --root="$pkgdir" --optimize=1



More information about the arch-commits mailing list