24 lines
820 B
Bash
24 lines
820 B
Bash
# Template file for 'python3-pdfminer.six'
|
|
pkgname=python3-pdfminer.six
|
|
version=20220524
|
|
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=a036227ecd6c140ac270870f9e59b104024232939cc199d79703447e976d389e
|
|
|
|
post_patch() {
|
|
vsed -i pdfminer/__init__.py -e "s/__VERSION__/${version}/g"
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|