# -*- 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-pypdf version 6.1.2 revision 0 categories-append devel platforms {darwin any} supported_archs noarch license BSD maintainers {reneeotten @reneeotten} openmaintainer description A utility to read and write pdfs with Python long_description A Pure-Python PDF toolkit. It is capable of \ extracting document information, splitting \ documents page by page, merging documents page \ by page, cropping pages, merging multiple pages \ into a single page, and encrypting and \ decrypting PDF files. homepage https://github.com/py-pdf/pypdf checksums rmd160 48fbdacbb556a1fcb3aa1434b1b62f97fe467f37 \ sha256 ba49efa39c9c5d14cb84efc4b7be75fca92d7ed1d1d74546db95c2dad99ed5d3 \ size 5075141 python.versions 39 310 311 312 313 314 python.pep517_backend flit if {${name} ne ${subport}} { if {${python.version} < 311} { depends_lib-append \ port:py${python.version}-typing_extensions } post-destroot { xinstall -d ${destroot}${prefix}/share/doc/${subport} xinstall -m 0644 -W ${worksrcpath} LICENSE README.md \ ${destroot}${prefix}/share/doc/${subport} } depends_test-append \ port:py${python.version}-pytest-timeout \ port:py${python.version}-yaml test.run yes # Don't run tests that rely on test data not included in the distfile. test.args -o addopts="-m 'not enable_socket and not samples'" }