diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2019-07-18 07:58:51 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2019-07-18 10:13:59 +0000 |
commit | c5822fe9f994efe9af12dfb36a8978dc707cd72d (patch) | |
tree | abd69470ae5d6fa888bd3bbd703a3bbe191767c8 /community/py3-unicodecsv | |
parent | a9d546c69813c74cf86279a8f3b9f57912f71748 (diff) | |
download | aports-c5822fe9f994efe9af12dfb36a8978dc707cd72d.tar.bz2 aports-c5822fe9f994efe9af12dfb36a8978dc707cd72d.tar.xz |
community/py3-unicodecsv: new aport. Dependency of recon-ng
Diffstat (limited to 'community/py3-unicodecsv')
-rw-r--r-- | community/py3-unicodecsv/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/community/py3-unicodecsv/APKBUILD b/community/py3-unicodecsv/APKBUILD new file mode 100644 index 0000000000..68af7ab073 --- /dev/null +++ b/community/py3-unicodecsv/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname="py3-unicodecsv" +_pkgname="python-unicodecsv" +pkgver="0.14.1" +pkgrel=0 +pkgdesc="The unicodecsv is a csv module which supports unicode strings" +url="https://github.com/jdunck/python-unicodecsv" +arch="all" +license="custom" +depends="python3" +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" |