blob: ea4f44c280c7badf34bc6efa02713ddc669d2cd8 (
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
31
32
33
|
# Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org>
pkgname=py3-pdfminer
_pyname=pdfminer.six
pkgver=20191020
pkgrel=1
pkgdesc="Python PDF Parser"
url="https://github.com/pdfminer/pdfminer.six"
arch="noarch"
license="MIT"
depends="
python3
py3-chardet
py3-sortedcontainers
py3-six
py3-pycryptodome
"
makedepends="
py3-setuptools
"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
options="!check" # has no check
build() {
python3 setup.py build
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="2fc999643fdf88aee5366d5676fbfe7dbcf231e5bc3e3fcdf0d8dbb0a2979fcb55a783e8f1d088e2a88004ff404dd1e49352a47d353d95f497adf8309a238ce2 pdfminer.six-20191020.tar.gz"
|