aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-xlsxwriter/APKBUILD
blob: f2ed2729df6419e9d9c75bc28130095f3dec8d17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py-xlsxwriter
_pkgname="XlsxWriter"
pkgver=0.8.7
pkgrel=0
pkgdesc="A Python module for creating Excel XLSX files"
url="https://github.com/jmcnamara/XlsxWriter"
arch="noarch"
license="BSD"
depends=""
depends_dev=""
makedepends="$depends_dev python-dev py-setuptools"
install=""
subpackages=""
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

builddir="$srcdir"/$_pkgname-$pkgver
build() {
	cd "$builddir"
	python setup.py build || return 1
}

package() {
	cd "$builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="7fdb824bc81a4853f3d6ca4503802bd7  XlsxWriter-0.8.7.tar.gz"
sha256sums="47557c7e7e5eb36afb6fcbf0ca45f4b375462b29137d3055043bb3b42089c779  XlsxWriter-0.8.7.tar.gz"
sha512sums="c5a51ebe603bbfff08e37f46ce5e76b87f5c05133dfd58c78254dac172462263b5bd5814e32d9dd7667f4e200a4dbdafaa87886ef8db251094db9c0ecef08a39  XlsxWriter-0.8.7.tar.gz"