diff options
| author | Leo <thinkabit.ukim@gmail.com> | 2020-03-11 11:12:17 -0300 |
|---|---|---|
| committer | Leo <thinkabit.ukim@gmail.com> | 2020-03-11 11:12:17 -0300 |
| commit | 2df9d969d3af11478d4155b99aedf47262e5fa9d (patch) | |
| tree | e82ab2a03e8833dd76d257bfac68a017ded65c25 | |
| parent | 81a73dad70151069829836b67cf0b2d808f9437f (diff) | |
| download | aports-2df9d969d3af11478d4155b99aedf47262e5fa9d.tar.bz2 aports-2df9d969d3af11478d4155b99aedf47262e5fa9d.tar.xz | |
main/py-olefile: fix license, dep on py-setuptools
| -rw-r--r-- | main/py-olefile/APKBUILD | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/main/py-olefile/APKBUILD b/main/py-olefile/APKBUILD index 29ca96d05b..fab7886614 100644 --- a/main/py-olefile/APKBUILD +++ b/main/py-olefile/APKBUILD @@ -2,23 +2,20 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=py-olefile pkgver=0.46 -pkgrel=2 -pkgdesc="A Python module to read/write MS OLE2 files" +pkgrel=3 +pkgdesc="Python module to read/write MS OLE2 files" url="http://www.decalage.info/olefile" arch="noarch" -license="custom" -depends="" -makedepends="python2-dev py-setuptools python3-dev" -install="" +license="BSD-2-Clause" +makedepends="python2-dev py-setuptools python3-dev py3-setuptools" subpackages="py3-${pkgname/py-/}:_py3 py2-${pkgname/py-/}:_py2" -source="https://github.com/decalage2/${pkgname/py-/}/releases/download/v$pkgver/${pkgname/py-/}-$pkgver.tar.gz" +source="https://github.com/decalage2/olefile/releases/download/v$pkgver/olefile-$pkgver.tar.gz" builddir="$srcdir"/${pkgname/py-/}-$pkgver build() { - cd "$builddir" - python2 setup.py build || return 1 - python3 setup.py build || return 1 + python2 setup.py build + python3 setup.py build } package() { |
