From 8b53b9dcf90dec2e338f691669ac3aa1c4e18599 Mon Sep 17 00:00:00 2001 From: icp Date: Tue, 13 Sep 2022 22:36:10 +0530 Subject: [PATCH] python3-pdfminer.six: update to 20220524. --- .../python3-pdfminer.six/patches/dep.patch | 26 ------------------- srcpkgs/python3-pdfminer.six/template | 17 +++++++----- 2 files changed, 11 insertions(+), 32 deletions(-) delete mode 100644 srcpkgs/python3-pdfminer.six/patches/dep.patch diff --git a/srcpkgs/python3-pdfminer.six/patches/dep.patch b/srcpkgs/python3-pdfminer.six/patches/dep.patch deleted file mode 100644 index 4cbc19d8d312..000000000000 --- a/srcpkgs/python3-pdfminer.six/patches/dep.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- a/CHANGELOG.md -+++ b/CHANGELOG.md -@@ -3,6 +3,11 @@ All notable changes in pdfminer.six will be documented in this file. - - The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - -+## [Unreleased] -+ -+### Removed -+- Unused dependency on `sortedcontainers` package ([#525](https://github.com/pdfminer/pdfminer.six/pull/525)) -+ - ## [20201018] - - ### Deprecated - ---- a/setup.py -+++ b/setup.py -@@ -15,7 +15,6 @@ - install_requires=[ - 'chardet ; python_version > "3.0"', - 'cryptography', -- 'sortedcontainers', - ], - extras_require={ - "dev": ["nose", "tox"], - diff --git a/srcpkgs/python3-pdfminer.six/template b/srcpkgs/python3-pdfminer.six/template index 4b7abb3370ab..c17b684f3c59 100644 --- a/srcpkgs/python3-pdfminer.six/template +++ b/srcpkgs/python3-pdfminer.six/template @@ -1,18 +1,23 @@ # Template file for 'python3-pdfminer.six' pkgname=python3-pdfminer.six -version=20201018 -revision=2 +version=20220524 +revision=1 wrksrc=pdfminer.six-${version} build_style=python3-module hostmakedepends="python3-setuptools" -depends="python3 python3-cryptography python3-chardet" -checkdepends="$depends tox python3-nose" +depends="python3-charset-normalizer python3-cryptography python3-Pillow" +checkdepends="$depends python3-pytest-xdist" short_desc="Tool for extracting information from PDF documents" maintainer="Bleznudd " license="MIT" homepage="https://github.com/pdfminer/pdfminer.six" -distfiles="${homepage}/archive/refs/tags/${version}.tar.gz" -checksum=0e9c8b0a9c40c2aee044c3091ad6b18b5e6279722e64b6b975f8aedc26bf8e38 +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 + +do_patch() { + vsed -i pdfminer/__init__.py -e "s/__VERSION__/${version}/g" +} post_install() { vlicense LICENSE