Revision: 108751 https://trac.macports.org/changeset/108751 Author: larryv@macports.org Date: 2013-07-31 17:18:03 -0700 (Wed, 31 Jul 2013) Log Message: ----------- py*-pypdf2: New port for fork of pyPdf (#39937). I couldn't tell what the lone patch in py-pypdf was for, so I removed it. Modified Paths: -------------- trunk/dports/python/py-pypdf2/Portfile Added Paths: ----------- trunk/dports/python/py-pypdf2/ Removed Paths: ------------- trunk/dports/python/py-pypdf2/files/ Modified: trunk/dports/python/py-pypdf2/Portfile =================================================================== --- trunk/dports/python/py-pypdf/Portfile 2013-07-31 19:14:12 UTC (rev 108729) +++ trunk/dports/python/py-pypdf2/Portfile 2013-08-01 00:18:03 UTC (rev 108751) @@ -2,17 +2,18 @@ PortSystem 1.0 PortGroup python 1.0 +PortGroup github 1.0 -name py-pypdf -version 1.13 -revision 1 +github.setup mstamy2 PyPDF2 15340960b59b7eadd43f54819e579a7680ef6bc1 +name py-pypdf2 +version 1.17 categories-append devel license BSD platforms darwin -maintainers landonf openmaintainer +maintainers nomaintainer supported_archs noarch -description A Pure-Python PDF toolkit. +description A utility to read and write pdfs with Python long_description \ A Pure-Python PDF toolkit. \ @@ -21,16 +22,21 @@ cropping pages, merging multiple pages into a single page, \ and encrypting and decrypting PDF files. -checksums md5 7a75ef56f227b78ae62d6e38d4b6b1da \ - sha1 ba7aed11cf21a2c218df2e3979be5eb90992dcbe \ - rmd160 0669d4a93c20fcd899d15ff42cb1b8b908f28e3b +checksums rmd160 85b1c22e20e5df953d2581c3ab8b7228a74c20db \ + sha256 80eb70616cf07c29eb2a7db74e94ae96a10bad712b7283b228b3591bb4e8dadc -homepage http://pybrary.net/pyPdf/ -master_sites ${homepage} -distname pyPdf-${version} +python.versions 25 26 27 32 33 -python.versions 25 26 27 - -if {$subport != $name} { - patchfiles patch-pyPdf-pdf.py.diff +if {${subport} ne ${name}} { + post-destroot { + xinstall -d -m 755 ${destroot}${prefix}/share/doc/${subport} + xinstall -m 644 -W ${worksrcpath} CHANGELOG LICENSE README \ + ${destroot}${prefix}/share/doc/${subport} + } + livecheck.type none +} else { + livecheck.type regex + livecheck.url https://raw.github.com/${github.author}/${github.project}/master/CHANGELOG + livecheck.version ${version} + livecheck.regex {Version (\d+\.\d+)} }