[108379] trunk/dports/python
larryv at macports.org
larryv at macports.org
Sun Jul 21 20:17:16 PDT 2013
Revision: 108379
https://trac.macports.org/changeset/108379
Author: larryv at macports.org
Date: 2013-07-21 20:17:15 -0700 (Sun, 21 Jul 2013)
Log Message:
-----------
py2{5,6,7}-pdfrw: New port (#37570).
Added Paths:
-----------
trunk/dports/python/py-pdfrw/
trunk/dports/python/py-pdfrw/Portfile
Added: trunk/dports/python/py-pdfrw/Portfile
===================================================================
--- trunk/dports/python/py-pdfrw/Portfile (rev 0)
+++ trunk/dports/python/py-pdfrw/Portfile 2013-07-22 03:17:15 UTC (rev 108379)
@@ -0,0 +1,46 @@
+# -*- 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
+# $Id$
+
+PortSystem 1.0
+PortGroup python 1.0
+
+name py-pdfrw
+version 0.1
+categories-append graphics
+platforms darwin
+supported_archs noarch
+license MIT
+maintainers nomaintainer
+
+description Pure Python PDF file reader/writer library
+long_description pdfrw lets you read and write PDF files, including \
+ compositing multiple pages together (e.g. to do \
+ watermarking, or to copy an image or diagram from \
+ one PDF to another), and can output by itself, or \
+ in conjunction with reportlab.
+homepage http://code.google.com/p/pdfrw
+
+master_sites googlecode:pdfrw
+distname pdfrw_${version}
+checksums rmd160 108ebcbc7c422b663aa917306a6c6bd3f066f679 \
+ sha256 4dbb4017b179f1ecee947501d178a90e1ff0aaf6444ef24b5a630ee68e884919
+
+python.versions 25 26 27
+
+if {${subport} ne ${name}} {
+ # Set this conditionally, or the stub port picks up an unnecessary
+ # extract dependency.
+ use_zip yes
+
+ post-destroot {
+ xinstall -m 755 -d \
+ ${destroot}${prefix}/share/doc/${subport} \
+ ${destroot}${prefix}/share/examples
+ xinstall -m 644 -W ${worksrcpath} LICENSE.txt README.txt \
+ ${destroot}${prefix}/share/doc/${subport}
+ copy ${worksrcpath}/examples \
+ ${destroot}${prefix}/share/examples/${subport}
+ }
+
+ livecheck.type none
+}
Property changes on: trunk/dports/python/py-pdfrw/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130721/0473f59e/attachment.html>
More information about the macports-changes
mailing list