python3-pdfminer.six: update to 20240706.

This commit is contained in:
Andrew Benson 2024-08-08 12:53:35 -05:00
parent 4d7f8b26cf
commit ada07752ea
2 changed files with 19 additions and 6 deletions

View File

@ -0,0 +1,13 @@
--- a/setup.py
+++ b/setup.py
@@ -19,10 +19,6 @@
setup(
name="pdfminer.six",
- setuptools_git_versioning={
- "enabled": True,
- },
- setup_requires=["setuptools-git-versioning<3"],
packages=["pdfminer"],
package_data={"pdfminer": ["cmap/*.pickle.gz", "py.typed"]},
install_requires=[

View File

@ -1,9 +1,9 @@
# Template file for 'python3-pdfminer.six'
pkgname=python3-pdfminer.six
version=20221105
revision=2
build_style=python3-module
hostmakedepends="python3-setuptools"
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"
@ -12,10 +12,10 @@ 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
checksum=b8b50609fa59c7e949f7efd58af8d250a51d39697d464b5b93bef4a27534ebda
post_patch() {
vsed -i pdfminer/__init__.py -e "s/__VERSION__/${version}/g"
vsed -i pdfminer/__init__.py -e "s/version(\"pdfminer.six\")/\"${version}\"/g"
}
post_install() {