[arch-commits] Commit in python-pdfminer/trunk (PKGBUILD)

Bruno Pagani archange at gemini.archlinux.org
Sat Oct 16 23:40:36 UTC 2021


    Date: Saturday, October 16, 2021 @ 23:40:36
  Author: archange
Revision: 1030607

FS#71774 backport dep removal

Modified:
  python-pdfminer/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-10-16 23:37:07 UTC (rev 1030606)
+++ PKGBUILD	2021-10-16 23:40:36 UTC (rev 1030607)
@@ -3,7 +3,7 @@
 _pkg=pdfminer
 pkgname=python-${_pkg}
 pkgver=20201018
-pkgrel=3
+pkgrel=4
 pkgdesc="Python PDF Parser"
 arch=(any)
 url="https://github.com/pdfminer/pdfminer.six"
@@ -13,9 +13,16 @@
 checkdepends=(python-nose)
 # Provided tarballs do not include tests
 #source=(${url}/releases/download/${pkgver}/${_pkg}.six-${pkgver}.tar.gz)
-source=(${url}/archive/${pkgver}/${_pkg}-${pkgver}.tar.gz)
-sha256sums=('0e9c8b0a9c40c2aee044c3091ad6b18b5e6279722e64b6b975f8aedc26bf8e38')
+source=(${url}/archive/${pkgver}/${_pkg}-${pkgver}.tar.gz
+        ${pkgname}-drop-sortedcontainers.patch::https://github.com/pdfminer/pdfminer.six/commit/61300eef70bf2b32d300005f011bdf9b48660740.patch)
+sha256sums=('0e9c8b0a9c40c2aee044c3091ad6b18b5e6279722e64b6b975f8aedc26bf8e38'
+            'ffe04581c39be2535ef813a48673c9bfe8ca3c333e3381fd26446154e2fe4007')
 
+prepare() {
+  cd ${_pkg}.six-${pkgver}
+  patch -p1 < ../${pkgname}-drop-sortedcontainers.patch
+}
+
 build() {
   cd ${_pkg}.six-${pkgver}
   python setup.py build



More information about the arch-commits mailing list