diff --git a/srcpkgs/python3-pdfminer.six/patches/dep.patch b/srcpkgs/python3-pdfminer.six/patches/dep.patch new file mode 100644 index 00000000000..c5c7186184f --- /dev/null +++ b/srcpkgs/python3-pdfminer.six/patches/dep.patch @@ -0,0 +1,26 @@ +--- ./CHANGELOG.md ++++ ./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 + +--- ./setup.py ++++ ./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 new file mode 100644 index 00000000000..753dbfb9b81 --- /dev/null +++ b/srcpkgs/python3-pdfminer.six/template @@ -0,0 +1,19 @@ +# Template file for 'python3-pdfminer.six' +pkgname=python3-pdfminer.six +version=20201018 +revision=1 +wrksrc=pdfminer.six-${version} +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 python3-cryptography python3-chardet" +checkdepends="$depends tox python3-nose" +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 + +post_install() { + vlicense LICENSE +}