View | Details | Raw Unified | Return to bug 229447
Collapse All | Expand All

(-)py-pdfminer.six/Makefile (+32 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	pdfminer.six
4
PORTVERSION=	20170720
5
CATEGORIES=	textproc python
6
MASTER_SITES=	CHEESESHOP
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
9
MAINTAINER=	freebsd_ports@k-worx.org
10
COMMENT=	PDF parser and analyzer
11
12
LICENSE=	MIT
13
LICENSE_FILE=	${WRKSRC}/LICENSE
14
15
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \
16
		${PYTHON_PKGNAMEPREFIX}pycryptodome>=0:security/py-pycryptodome@${PY_FLAVOR}
17
18
USES=		python shebangfix dos2unix
19
USE_PYTHON=	distutils concurrent autoplist
20
SHEBANG_FILES=	tools/dumppdf.py tools/pdf2txt.py tools/latin2ascii.py
21
DOS2UNIXGLOB=	*.py
22
23
CONFLICTS_INSTALL=	py??-pdfminer-* py??-pdfminer3k-*
24
NO_ARCH=		yes
25
26
.include <bsd.port.pre.mk>
27
28
.if ${PYTHON_REL} >= 3000
29
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}chardet>=0:textproc/py-chardet@${PY_FLAVOR}
30
.endif
31
32
.include <bsd.port.post.mk>
(-)py-pdfminer.six/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1530196324
2
SHA256 (pdfminer.six-20170720.tar.gz) = a37c6348a8d903cf5f7d50346b0569a7c669afdb625b1ee25056f01fb82bd3e0
3
SIZE (pdfminer.six-20170720.tar.gz) = 11992116
(-)py-pdfminer.six/pkg-descr (+22 lines)
Line 0 Link Here
1
PDFMiner.six is a fork of PDFMiner using six for Python 2 + 3 compatibility.
2
3
PDFMiner is a tool for extracting information from PDF documents. Unlike other
4
PDF-related tools, it focuses entirely on getting and analyzing text data.
5
6
PDFMiner allows one to obtain the exact location of text in a page, as well as
7
other information such as fonts or lines. It includes a PDF converter that can
8
transform PDF files into other text formats (such as HTML). It has an extensible
9
PDF parser that can be used for other purposes than text analysis.
10
11
Features:
12
13
- Parse, analyze, and convert PDF documents.
14
- PDF-1.7 specification support. (well, almost)
15
- CJK languages and vertical writing scripts support.
16
- Various font types (Type1, TrueType, Type3, and CID) support.
17
- Basic encryption (RC4) support.
18
- Outline (TOC) extraction.
19
- Tagged contents extraction.
20
- Automatic layout analysis.
21
22
WWW: https://github.com/pdfminer/pdfminer.six

Return to bug 229447