diff options
author | prspkt <prspkt@protonmail.com> | 2019-03-26 10:04:45 +0200 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-03-26 10:25:30 +0200 |
commit | 7c96cefd1f935a9265fe2b5214b304cc23079bea (patch) | |
tree | 695ced6f1500c15a674c80c7bcd41c0ffd417913 /testing/py3-xlwt | |
parent | c06984f22d95f3c857ead7ef5683da4e58f63a3d (diff) | |
download | aports-7c96cefd1f935a9265fe2b5214b304cc23079bea.tar.bz2 aports-7c96cefd1f935a9265fe2b5214b304cc23079bea.tar.xz |
testing/py3-xlwt: clarify license, modernize
Diffstat (limited to 'testing/py3-xlwt')
-rw-r--r-- | testing/py3-xlwt/APKBUILD | 27 |
1 files changed, 7 insertions, 20 deletions
diff --git a/testing/py3-xlwt/APKBUILD b/testing/py3-xlwt/APKBUILD index f6f3a779f2..6fb96bb770 100644 --- a/testing/py3-xlwt/APKBUILD +++ b/testing/py3-xlwt/APKBUILD @@ -5,37 +5,24 @@ _pkgname=xlwt pkgver=0.7.5 pkgrel=0 pkgdesc="A library to create spreadsheet files" -url="http://pypi.python.org/pypi/xlwt/" +url="https://pypi.org/project/xlwt" arch="noarch" -license="BSD" +license="BSD-3-Clause BSD-4-Clause LGPL-2.1-or-later" provides="py-xlwt" # for backwards compatibility replaces="py-xlwt=$pkgver-r$pkgrel" # for backwards compatibility depends="python3" -depends_dev="" makedepends="py3-setuptools python3-dev" -install="" -subpackages="" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$_pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir"/$_pkgname-$pkgver build() { - cd "$_builddir" - python3 setup.py build || return 1 + cd "$builddir" + python3 setup.py build } package() { - cd "$_builddir" - python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1 + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="d385c36c80002998891dd93d4ebcdd962239463ee089965961d3b8955d4783bbcdec96920891a252ee6cb076eab6b13ffad83e7758c179dcbc684e82fa8dfe35 xlwt-0.7.5.tar.gz" |