This repository was archived by the owner on May 20, 2023. It is now read-only.
File tree 2 files changed +12
-28
lines changed 2 files changed +12
-28
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- # Maintainer: Andrzej Giniewicz <[email protected] >
1
+ # Maintainer: Chih-Hsuan Yen <[email protected] >
2
+ # Contributor: Andrzej Giniewicz <[email protected] >
2
3
# Contributor: Nishit Joseph (reachjlight at gmail dot com)
3
4
# Contributor: Martin Corley <[email protected] >
4
5
5
6
pkgname=python-openpyxl
6
- pkgver=3.0.9
7
- pkgrel=3
7
+ pkgver=3.0.10
8
+ pkgrel=1
8
9
pkgdesc=" A Python library to read/write Excel 2007 xlsx/xlsm files"
9
10
arch=(' any' )
10
11
url=" https://openpyxl.readthedocs.org/"
11
12
license=(' MIT' )
12
- depends=(' python-jdcal ' ' python- et-xmlfile' )
13
+ depends=(' python-et-xmlfile' )
13
14
makedepends=(' python-setuptools' )
15
+ checkdepends=(' python-pytest' ' python-lxml' ' python-pandas' ' python-pillow' )
14
16
optdepends=(' python-pillow: needed to include images'
15
17
' python-lxml: alternative XML backend'
16
18
' python-defusedxml: guard against various XML vulnerabilities'
17
19
' python-pandas: for iteration over Pandas DataFrames' )
18
20
source=(" https://foss.heptapod.net/openpyxl/openpyxl/-/archive/${pkgver} /openpyxl-${pkgver} .tar.bz2" )
19
- sha256sums=(' 351d38f1bba45a4a3cdcdc626d6c3f815677f5f0bc218315664678efe47e4e3f ' )
21
+ sha256sums=(' 265ae51674a0b30d5394a437a2c96c520c6cfcaf479a4d3e0f75d829d172664e ' )
20
22
21
23
build () {
22
24
cd " $srcdir " /openpyxl-${pkgver}
23
25
python setup.py build
24
26
}
25
27
28
+ check () {
29
+ cd " $srcdir " /openpyxl-${pkgver}
30
+ pytest
31
+ }
32
+
26
33
package () {
27
34
cd " $srcdir " /openpyxl-${pkgver}
28
35
python setup.py install --skip-build --root=" $pkgdir " --optimize=1
You can’t perform that action at this time.
0 commit comments