void-packages/srcpkgs/python3-pdfminer.six/template

24 lines
858 B
Bash

# Template file for 'python3-pdfminer.six'
pkgname=python3-pdfminer.six
version=20240706
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-poetry-core"
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=b8b50609fa59c7e949f7efd58af8d250a51d39697d464b5b93bef4a27534ebda
post_patch() {
vsed -i pdfminer/__init__.py -e "s/version(\"pdfminer.six\")/\"${version}\"/g"
}
post_install() {
vlicense LICENSE
}