Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jul 2019 07:43:35 +0000 (UTC)
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r505731 - head/textproc/py-pdfminer.six
Message-ID:  <201907030743.x637hZDX092082@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kai
Date: Wed Jul  3 07:43:35 2019
New Revision: 505731
URL: https://svnweb.freebsd.org/changeset/ports/505731

Log:
  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

Modified:
  head/textproc/py-pdfminer.six/Makefile
  head/textproc/py-pdfminer.six/distinfo

Modified: head/textproc/py-pdfminer.six/Makefile
==============================================================================
--- head/textproc/py-pdfminer.six/Makefile	Wed Jul  3 07:31:01 2019	(r505730)
+++ head/textproc/py-pdfminer.six/Makefile	Wed Jul  3 07:43:35 2019	(r505731)
@@ -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-*
@@ -28,5 +31,11 @@ NO_ARCH=		yes
 .if ${PYTHON_REL} >= 3000
 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>

Modified: head/textproc/py-pdfminer.six/distinfo
==============================================================================
--- head/textproc/py-pdfminer.six/distinfo	Wed Jul  3 07:31:01 2019	(r505730)
+++ head/textproc/py-pdfminer.six/distinfo	Wed Jul  3 07:43:35 2019	(r505731)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907030743.x637hZDX092082>