aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-pdfminer.six
diff options
context:
space:
mode:
authorKai Knoblich <kai@FreeBSD.org>2019-07-03 07:43:35 +0000
committerKai Knoblich <kai@FreeBSD.org>2019-07-03 07:43:35 +0000
commit6f4bf0448417940e35dbd5289cb6f4a28f711fce (patch)
tree78519039abeb17555f0ea73f1bc72e687b6e8948 /textproc/py-pdfminer.six
parentac16e5c894bf414487bc454b01dee4b907d9d789 (diff)
downloadports-6f4bf0448417940e35dbd5289cb6f4a28f711fce.tar.gz
ports-6f4bf0448417940e35dbd5289cb6f4a28f711fce.zip
textproc/py-pdfminer.six: Update to 20181108
* Switch to GitHub for a while as no tarballs of the current version are available at PyPI. * Add a test target to make future QA somewhat easier. Changelog: https://github.com/pdfminer/pdfminer.six/releases/tag/20181108
Notes
Notes: svn path=/head/; revision=505731
Diffstat (limited to 'textproc/py-pdfminer.six')
-rw-r--r--textproc/py-pdfminer.six/Makefile15
-rw-r--r--textproc/py-pdfminer.six/distinfo6
2 files changed, 15 insertions, 6 deletions
diff --git a/textproc/py-pdfminer.six/Makefile b/textproc/py-pdfminer.six/Makefile
index 47d3775be82c..73d5c36be9d8 100644
--- a/textproc/py-pdfminer.six/Makefile
+++ b/textproc/py-pdfminer.six/Makefile
@@ -1,10 +1,8 @@
# $FreeBSD$
PORTNAME= pdfminer.six
-PORTVERSION= 20170720
-PORTREVISION= 1
+PORTVERSION= 20181108
CATEGORIES= textproc python
-MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= kai@FreeBSD.org
@@ -14,10 +12,15 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}sortedcontainers>=0:devel/py-sortedcontainers@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pycryptodome>=0:security/py-pycryptodome@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR}
USES= python shebangfix dos2unix
+USE_GITHUB= yes
+GH_ACCOUNT= pdfminer
USE_PYTHON= distutils concurrent autoplist
+
SHEBANG_FILES= tools/dumppdf.py tools/pdf2txt.py tools/latin2ascii.py
CONFLICTS_INSTALL= py??-pdfminer-* py??-pdfminer3k-*
@@ -29,4 +32,10 @@ NO_ARCH= yes
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}chardet>=0:textproc/py-chardet@${PY_FLAVOR}
.endif
+# Following tests always fail:
+# - test_tools_dumppdf.TestDumpPDF.test_2
+# - test_tools_pdf2txt.TestDumpPDF.test_{1,2,4,5,8}
+do-test:
+ @(cd ${WRKSRC} && ${PYTHON_CMD} -m nose -v --nologcapture)
+
.include <bsd.port.post.mk>
diff --git a/textproc/py-pdfminer.six/distinfo b/textproc/py-pdfminer.six/distinfo
index f1ab6eeda2fc..af19fa8eebe4 100644
--- a/textproc/py-pdfminer.six/distinfo
+++ b/textproc/py-pdfminer.six/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1530196324
-SHA256 (pdfminer.six-20170720.tar.gz) = a37c6348a8d903cf5f7d50346b0569a7c669afdb625b1ee25056f01fb82bd3e0
-SIZE (pdfminer.six-20170720.tar.gz) = 11992116
+TIMESTAMP = 1558443307
+SHA256 (pdfminer-pdfminer.six-20181108_GH0.tar.gz) = 99b2bf8e2154e617c88bba7ea4f3fd02fb7d5b7be6b441a9001ca29d54d255f4
+SIZE (pdfminer-pdfminer.six-20181108_GH0.tar.gz) = 10420358