# -*- 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.4.0 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 026b8b08310a0b50707c4f91c1005d43cc6c532f \ sha256 4769d471f8ddc3341193ecc5d6560fa44cf8cd0abfabf21af4e195cc0c224072 \ size 5276661 python.versions 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'" }