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
This commit is contained in:
Kai Knoblich 2019-07-03 07:43:35 +00:00
parent ac16e5c894
commit 6f4bf04484
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=505731
2 changed files with 15 additions and 6 deletions

View File

@ -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>

View File

@ -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