aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-xlsxwriter/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-10-24 01:32:38 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-10-24 01:32:38 +0000
commit5e7c60f19efe3cf13ba30f84b19cac1f998fed5d (patch)
tree1400dfca0d7a8da0c9a9914758feebaa1ea753b0 /community/py-xlsxwriter/APKBUILD
parent957f3a3c6a17342fe22aa147994b7827d5d37b44 (diff)
downloadaports-5e7c60f19efe3cf13ba30f84b19cac1f998fed5d.tar.gz
aports-5e7c60f19efe3cf13ba30f84b19cac1f998fed5d.tar.bz2
aports-5e7c60f19efe3cf13ba30f84b19cac1f998fed5d.tar.xz
community/py-xlsxwriter: upgrade to 1.0.2, added check(), modernize APKBUILD
Diffstat (limited to 'community/py-xlsxwriter/APKBUILD')
-rw-r--r--community/py-xlsxwriter/APKBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/community/py-xlsxwriter/APKBUILD b/community/py-xlsxwriter/APKBUILD
index 07499c9bd1..442091ffb8 100644
--- a/community/py-xlsxwriter/APKBUILD
+++ b/community/py-xlsxwriter/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py-xlsxwriter
_pkgname="XlsxWriter"
-pkgver=1.0.0
+pkgver=1.0.2
pkgrel=0
pkgdesc="A Python module for creating Excel XLSX files"
url="https://github.com/jmcnamara/XlsxWriter"
@@ -18,14 +18,19 @@ builddir="$srcdir"/$_pkgname-$pkgver
build() {
cd "$builddir"
- python2 setup.py build || return 1
- python3 setup.py build || return 1
+ python2 setup.py build
+ python3 setup.py build
}
package() {
mkdir -p "$pkgdir"
}
+check() {
+ python2 setup.py check
+ python3 setup.py check
+}
+
_py() {
local python=$1
pkgdesc="$pkgdesc - $python"
@@ -44,4 +49,4 @@ _py3() {
}
-sha512sums="bf6dec1bd877dad38fcdedc317d3196c4df95957d5b0caa985a367fd5131a0f487f915968453dc6108aa45ab0dfc20ddfae2cea43c5758e1dc761a9563806929 XlsxWriter-1.0.0.tar.gz"
+sha512sums="9b3d8f67a979a5b531b0255da809ed9211eb692b290d7d862cb37a690fc2d2dd0767526f4056e80c0cb6a3a1b5d9535edb2b85e71415fba88656c4b24e38fd4c XlsxWriter-1.0.2.tar.gz"