You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
57 lines
2.3 KiB
Tcl
57 lines
2.3 KiB
Tcl
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
PortGroup python 1.0
|
|
|
|
name py-pdfminer
|
|
version 20260107
|
|
revision 0
|
|
|
|
python.versions 310 311 312 313 314
|
|
|
|
platforms {darwin any}
|
|
supported_archs noarch
|
|
license MIT
|
|
maintainers {eborisch @eborisch} \
|
|
openmaintainer
|
|
homepage https://pdfminersix.readthedocs.io/
|
|
description Python pdf extraction package
|
|
|
|
long_description \
|
|
Pdfminer.six is a community maintained fork of the \
|
|
original PDFMiner. It is a tool for extracting \
|
|
information from PDF documents. It focuses on getting \
|
|
and analyzing text data. Pdfminer.six extracts the text \
|
|
from a page directly from the sourcecode of the PDF. It \
|
|
can also be used to get the exact location, font or \
|
|
color of the text. It is built in a modular way such \
|
|
that each component of pdfminer.six can be replaced \
|
|
easily. You can implement your own interpreter or \
|
|
rendering device to use the power of pdfminer.six for \
|
|
other purposes that text analysis.
|
|
|
|
python.rootname pdfminer_six
|
|
checksums rmd160 38bd761f2d8b9714c54967627deebf43eccca686 \
|
|
sha256 96bfd431e3577a55a0efd25676968ca4ce8fd5b53f14565f85716ff363889602 \
|
|
size 8512094
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build port:py${python.version}-setuptools_scm \
|
|
port:py${python.version}-setuptools-git-versioning
|
|
depends_lib port:py${python.version}-charset-normalizer \
|
|
port:py${python.version}-cryptography
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 0644 -W ${worksrcpath} \
|
|
LICENSE \
|
|
cmaprsrc/README.txt \
|
|
README.md \
|
|
${destroot}${docdir}
|
|
}
|
|
|
|
notes-append "To enable image support in $subport, you can\
|
|
install py${python.version}-Pillow."
|
|
}
|