24 lines
820 B
Bash
24 lines
820 B
Bash
# Template file for 'python3-pdfminer.six'
|
|
pkgname=python3-pdfminer.six
|
|
version=20221105
|
|
revision=2
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3-charset-normalizer python3-cryptography python3-Pillow"
|
|
checkdepends="$depends python3-pytest-xdist"
|
|
short_desc="Tool for extracting information from PDF documents"
|
|
maintainer="Bleznudd <bleznudd@pm.me>"
|
|
license="MIT"
|
|
homepage="https://github.com/pdfminer/pdfminer.six"
|
|
changelog="https://raw.githubusercontent.com/pdfminer/pdfminer.six/master/CHANGELOG.md"
|
|
distfiles="https://github.com/pdfminer/pdfminer.six/archive/refs/tags/${version}.tar.gz"
|
|
checksum=820242f661589edb1ec8e110423a7cd06d776c54d9a0efdef17d3a4e61c01fa7
|
|
|
|
post_patch() {
|
|
vsed -i pdfminer/__init__.py -e "s/__VERSION__/${version}/g"
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|