aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-unicodecsv/APKBUILD
blob: 5e526486c2d63aebc0b0ea50c11a9faa5ff120ab (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname="py3-unicodecsv"
_pkgname="python-unicodecsv"
pkgver="0.14.1"
pkgrel=1
pkgdesc="The unicodecsv is a csv module which supports unicode strings"
url="https://github.com/jdunck/python-unicodecsv"
arch="all"
license="BSD"
depends="python3"
makedepends="py3-setuptools"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/jdunck/python-unicodecsv/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
	install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/custom/${pkgname}/LICENSE
}

sha512sums="9135c0f3702d60d72b2544476feb9e924b8d592e06d21eca98cd10406de9ecca49bcde9e9bfa7baeb4358dddf86ad737e155355d8b927de5b93912201a8d87b0  py3-unicodecsv-0.14.1.tar.gz"