Commit 2df9d969 authored by Leo's avatar Leo
Browse files

main/py-olefile: fix license, dep on py-setuptools

parent 81a73dad
......@@ -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() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment