source: trunk/dports/python/py-pypdf2/Portfile

Last change on this file was 147488, checked in by adfernandes@…, 21 months ago

py-pypdf2: trivial update to 1.25.1, add py35 version

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
RevLine 
[108752]1# -*- 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
[75821]2# $Id: Portfile 147488 2016-04-05 14:13:06Z ryandesign@macports.org $
3
[108752]4PortSystem              1.0
5PortGroup               python 1.0
6PortGroup               github 1.0
[75821]7
[130979]8github.setup            mstamy2 PyPDF2 2f499c55d575be976c0984a5e1047f99a6f7667f
[108752]9name                    py-pypdf2
[147488]10version                 1.25.1
[108752]11categories-append       devel
12platforms               darwin
13supported_archs         noarch
14license                 BSD
15maintainers             nomaintainer
[79917]16
[108752]17description             A utility to read and write pdfs with Python
18long_description        A Pure-Python PDF toolkit. It is capable of \
19                        extracting document information, splitting \
20                        documents page by page, merging documents page \
21                        by page, cropping pages, merging multiple pages \
22                        into a single page, and encrypting and \
23                        decrypting PDF files.
[75821]24
[130979]25checksums               rmd160  15953f4bc160a060ec5e9772dec4e802c7e22415 \
26                        sha256  f007889cbaa19f9fd4c69b37eb2f28a8ddc995ad29a1c906546529b9a80f6373
[75821]27
[147488]28python.versions         26 27 34 35
[75821]29
[114324]30if {${name} ne ${subport}} {
[108751]31    post-destroot {
32        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${subport}
[130979]33        xinstall -m 644 -W ${worksrcpath} CHANGELOG LICENSE README.md \
[108751]34            ${destroot}${prefix}/share/doc/${subport}
35    }
36    livecheck.type      none
37} else {
38    livecheck.type      regex
[108835]39    livecheck.url       ${github.raw}/master/CHANGELOG
[108751]40    livecheck.version   ${version}
41    livecheck.regex     {Version (\d+\.\d+)}
[100443]42}
Note: See TracBrowser for help on using the repository browser.