[99847] trunk/dports/textproc/rst2pdf/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sun Nov 18 22:11:49 PST 2012
Revision: 99847
https://trac.macports.org/changeset/99847
Author: ryandesign at macports.org
Date: 2012-11-18 22:11:49 -0800 (Sun, 18 Nov 2012)
Log Message:
-----------
rst2pdf: update to 0.92; use python portgroup; use python 2.7; use python.link_binaries_suffix
Modified Paths:
--------------
trunk/dports/textproc/rst2pdf/Portfile
Modified: trunk/dports/textproc/rst2pdf/Portfile
===================================================================
--- trunk/dports/textproc/rst2pdf/Portfile 2012-11-19 06:04:12 UTC (rev 99846)
+++ trunk/dports/textproc/rst2pdf/Portfile 2012-11-19 06:11:49 UTC (rev 99847)
@@ -1,35 +1,41 @@
# $Id$
PortSystem 1.0
-PortGroup python26 1.0
+PortGroup python 1.0
+
name rst2pdf
-version 0.16
+version 0.92
categories textproc python
license MIT
maintainers nomaintainer
+supported_archs noarch
+
description Create PDF from reStructuredText
long_description ${description}
+python.versions 27
+
platforms darwin
homepage http://code.google.com/p/rst2pdf/
master_sites googlecode
-checksums md5 67b8bfac3ac55a85a09fc35ba98794d3 \
- sha1 297f9ad8e91baa706321dd50d99b21adfa1f1e66 \
- rmd160 1ddf23532507dfafbfae58c759978bdfd65dec4e
+checksums rmd160 c900a1a56c95660efdbdbfee049eb6146e690f50 \
+ sha256 bb84b457eb454bb1159547d09cd2071efc95a5036a2c5f98b21bec508838b511
-depends_lib-append port:py26-reportlab port:py26-docutils port:py26-distribute
-depends_run port:py26-pygments
+depends_lib-append port:py${python.version}-reportlab \
+ port:py${python.version}-docutils \
+ port:py${python.version}-distribute
-python.link_binaries no
+depends_run port:py${python.version}-pygments
+python.link_binaries_suffix
+
post-destroot {
- ln -s ${python.prefix}/bin/rst2pdf ${destroot}${prefix}/bin/rst2pdf
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} CHANGES.txt Contributors.txt LICENSE.txt \
README.txt ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 -W ${worksrcpath}/doc DEVELOPERS.txt manual.pdf \
+ xinstall -m 644 -W ${worksrcpath}/doc DEVELOPERS.txt manual.txt \
sampler.txt ${destroot}${prefix}/share/doc/${name}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121118/a27e2f6c/attachment.html>
More information about the macports-changes
mailing list