aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-xlwt/APKBUILD
blob: 2b152707585d8c0746283cef5ed3b7f4c0171409 (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-xlwt
_pkgname=xlwt
pkgver=1.3.0
pkgrel=3
pkgdesc="A library to create spreadsheet files"
url="https://pypi.org/project/xlwt"
arch="noarch"
license="BSD-3-Clause BSD-4-Clause LGPL-2.1-or-later"
replaces="py-xlwt" # for backwards compatibility
provides="py-xlwt=$pkgver-r$pkgrel" # for backwards compatibility
depends="py3-six"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="e09c515bda7edadb9624b842796a537316c1e2e06f3e74aca5440a5797dbc259036539fd64ea61648a30894f4091d3be829411d36e6170894980728c798c5963  xlwt-1.3.0.tar.gz"