aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-xlsxwriter/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-05-06 00:39:11 -0300
committerprspkt <prspkt@protonmail.com>2019-05-06 12:42:19 +0300
commita67498fe862ed521e5890b0047dd37105f33d66b (patch)
tree41465b168a66a7eb691c1d191ee87d5b0d452757 /community/py-xlsxwriter/APKBUILD
parent0cc57eede2afed14a9ed0b2267e0cb31384c617a (diff)
downloadaports-a67498fe862ed521e5890b0047dd37105f33d66b.tar.gz
aports-a67498fe862ed521e5890b0047dd37105f33d66b.tar.bz2
aports-a67498fe862ed521e5890b0047dd37105f33d66b.tar.xz
community/py-xlsxwriter: upgrade to 1.1.8
- Fix license - Switch to GitHub tarball so we actually get a testsuite - Lighten load on makedepends - Use modern style
Diffstat (limited to 'community/py-xlsxwriter/APKBUILD')
-rw-r--r--community/py-xlsxwriter/APKBUILD20
1 files changed, 9 insertions, 11 deletions
diff --git a/community/py-xlsxwriter/APKBUILD b/community/py-xlsxwriter/APKBUILD
index 47c6852402..d33ecb95db 100644
--- a/community/py-xlsxwriter/APKBUILD
+++ b/community/py-xlsxwriter/APKBUILD
@@ -1,21 +1,20 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py-xlsxwriter
-_pkgname="XlsxWriter"
-pkgver=1.1.7
+_pkgname=XlsxWriter
+pkgver=1.1.8
pkgrel=0
pkgdesc="A Python module for creating Excel XLSX files"
url="https://github.com/jmcnamara/XlsxWriter"
arch="noarch"
-license="BSD"
-makedepends="python2-dev py-setuptools python3-dev"
+license="BSD-2-Clause"
+makedepends="py-setuptools py3-setuptools"
subpackages="py3-${pkgname/py-/}:_py3 py2-${pkgname/py-/}:_py2"
-source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+source="$pkgname-$pkgver.tar.gz::https://github.com/jmcnamara/XlsxWriter/archive/RELEASE_${pkgver}.tar.gz"
-builddir="$srcdir"/$_pkgname-$pkgver
+builddir="$srcdir"/$_pkgname-RELEASE_$pkgver
build() {
- cd "$builddir"
python2 setup.py build
python3 setup.py build
}
@@ -25,9 +24,8 @@ package() {
}
check() {
- cd "$builddir"
- python2 setup.py check
- python3 setup.py check
+ python2 -m unittest discover
+ python3 -m unittest discover
}
_py() {
@@ -48,4 +46,4 @@ _py3() {
}
-sha512sums="8a91bedd85c20b5f3f1d8b6f8cd66fcb5762e2bbf92813a365ecd1414635ae6d4213a48159ec5241e716f9ba640996f73530d1f004876ae552fef03759719b68 XlsxWriter-1.1.7.tar.gz"
+sha512sums="760bc14a9325edf0c1030220a2dd89d812bd08c61f07314f6b86a4efea191cdeebf433f39ad28e11776c60be471d1387d5c7f036205aa65f68734e9390f282ee py-xlsxwriter-1.1.8.tar.gz"