blob: 8bbf7e93a2dab0bb4bbf386501f20c498f248e88 (
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
34
|
# Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org>
pkgname=py3-pdfminer
_pyname=pdfminer.six
pkgver=20181108
pkgrel=0
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
python3-dev
"
_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="6683323d2217f6dd64a7b9c8304f3e924c4d7b392c357179cc30387d9d68dead9da77ab259a5e5f86d620a75c1d9d9e95fa398d981dd99a1b5cadbcf4e583efd pdfminer.six-20181108.tar.gz"
|