From owner-svn-ports-all@freebsd.org Sat Jul 28 12:05:30 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 01EA6104E6C0; Sat, 28 Jul 2018 12:05:30 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AC1118A24F; Sat, 28 Jul 2018 12:05:29 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8E85B266B6; Sat, 28 Jul 2018 12:05:29 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w6SC5TZ4066465; Sat, 28 Jul 2018 12:05:29 GMT (envelope-from miwi@FreeBSD.org) Received: (from miwi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6SC5SjZ066461; Sat, 28 Jul 2018 12:05:28 GMT (envelope-from miwi@FreeBSD.org) Message-Id: <201807281205.w6SC5SjZ066461@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: miwi set sender to miwi@FreeBSD.org using -f From: Martin Wilke Date: Sat, 28 Jul 2018 12:05:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r475531 - in head/textproc: . py-pdfminer.six X-SVN-Group: ports-head X-SVN-Commit-Author: miwi X-SVN-Commit-Paths: in head/textproc: . py-pdfminer.six X-SVN-Commit-Revision: 475531 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jul 2018 12:05:30 -0000 Author: miwi Date: Sat Jul 28 12:05:28 2018 New Revision: 475531 URL: https://svnweb.freebsd.org/changeset/ports/475531 Log: PDFMiner.six is a fork of PDFMiner using six for Python 2 + 3 compatibility. PDFMiner is a tool for extracting information from PDF documents. Unlike other PDF-related tools, it focuses entirely on getting and analyzing text data. PDFMiner allows one to obtain the exact location of text in a page, as well as other information such as fonts or lines. It includes a PDF converter that can transform PDF files into other text formats (such as HTML). It has an extensible PDF parser that can be used for other purposes than text analysis. Features: - Parse, analyze, and convert PDF documents. - PDF-1.7 specification support. (well, almost) - CJK languages and vertical writing scripts support. - Various font types (Type1, TrueType, Type3, and CID) support. - Basic encryption (RC4) support. - Outline (TOC) extraction. - Tagged contents extraction. - Automatic layout analysis. WWW: https://github.com/pdfminer/pdfminer.six PR: 229447 Submitted by: freebsd_ports@k-worx.org Sponsored by: iXsystems Inc. Added: head/textproc/py-pdfminer.six/ head/textproc/py-pdfminer.six/Makefile (contents, props changed) head/textproc/py-pdfminer.six/distinfo (contents, props changed) head/textproc/py-pdfminer.six/pkg-descr (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Sat Jul 28 12:04:22 2018 (r475530) +++ head/textproc/Makefile Sat Jul 28 12:05:28 2018 (r475531) @@ -1340,6 +1340,7 @@ SUBDIR += py-parsimonious SUBDIR += py-parso SUBDIR += py-pdfminer + SUBDIR += py-pdfminer.six SUBDIR += py-pdfminer3k SUBDIR += py-pdfrw SUBDIR += py-pss Added: head/textproc/py-pdfminer.six/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-pdfminer.six/Makefile Sat Jul 28 12:05:28 2018 (r475531) @@ -0,0 +1,32 @@ +# $FreeBSD$ + +PORTNAME= pdfminer.six +PORTVERSION= 20170720 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= freebsd_ports@k-worx.org +COMMENT= PDF parser and analyzer + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pycryptodome>=0:security/py-pycryptodome@${PY_FLAVOR} + +USES= python shebangfix dos2unix +USE_PYTHON= distutils concurrent autoplist +SHEBANG_FILES= tools/dumppdf.py tools/pdf2txt.py tools/latin2ascii.py +DOS2UNIXGLOB= *.py + +CONFLICTS_INSTALL= py??-pdfminer-* py??-pdfminer3k-* +NO_ARCH= yes + +.include + +.if ${PYTHON_REL} >= 3000 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}chardet>=0:textproc/py-chardet@${PY_FLAVOR} +.endif + +.include Added: head/textproc/py-pdfminer.six/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-pdfminer.six/distinfo Sat Jul 28 12:05:28 2018 (r475531) @@ -0,0 +1,3 @@ +TIMESTAMP = 1530196324 +SHA256 (pdfminer.six-20170720.tar.gz) = a37c6348a8d903cf5f7d50346b0569a7c669afdb625b1ee25056f01fb82bd3e0 +SIZE (pdfminer.six-20170720.tar.gz) = 11992116 Added: head/textproc/py-pdfminer.six/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-pdfminer.six/pkg-descr Sat Jul 28 12:05:28 2018 (r475531) @@ -0,0 +1,22 @@ +PDFMiner.six is a fork of PDFMiner using six for Python 2 + 3 compatibility. + +PDFMiner is a tool for extracting information from PDF documents. Unlike other +PDF-related tools, it focuses entirely on getting and analyzing text data. + +PDFMiner allows one to obtain the exact location of text in a page, as well as +other information such as fonts or lines. It includes a PDF converter that can +transform PDF files into other text formats (such as HTML). It has an extensible +PDF parser that can be used for other purposes than text analysis. + +Features: + +- Parse, analyze, and convert PDF documents. +- PDF-1.7 specification support. (well, almost) +- CJK languages and vertical writing scripts support. +- Various font types (Type1, TrueType, Type3, and CID) support. +- Basic encryption (RC4) support. +- Outline (TOC) extraction. +- Tagged contents extraction. +- Automatic layout analysis. + +WWW: https://github.com/pdfminer/pdfminer.six