[127530] trunk/dports/python
stromnov at macports.org
stromnov at macports.org
Wed Oct 29 02:27:43 PDT 2014
Revision: 127530
https://trac.macports.org/changeset/127530
Author: stromnov at macports.org
Date: 2014-10-29 02:27:43 -0700 (Wed, 29 Oct 2014)
Log Message:
-----------
py{24,25,26,31,32,33}-pygments: Replace with py{27,34}-pygments
Modified Paths:
--------------
trunk/dports/python/py-graveyard/Portfile
trunk/dports/python/py-pygments/Portfile
Modified: trunk/dports/python/py-graveyard/Portfile
===================================================================
--- trunk/dports/python/py-graveyard/Portfile 2014-10-29 08:42:16 UTC (rev 127529)
+++ trunk/dports/python/py-graveyard/Portfile 2014-10-29 09:27:43 UTC (rev 127530)
@@ -132,6 +132,7 @@
pyepl 1.0.29_2 26
pyface 4.4.0_2 26
pygccxml 1.6.1_1 26 31 32 33
+pygments 1.6_1 24 25 26 31 32 33
pylibpcap 0.6.4_1 24 25 26
pylons 1.0.1rc1_1 26
pymacs 0.25_1 25 26
Modified: trunk/dports/python/py-pygments/Portfile
===================================================================
--- trunk/dports/python/py-pygments/Portfile 2014-10-29 08:42:16 UTC (rev 127529)
+++ trunk/dports/python/py-pygments/Portfile 2014-10-29 09:27:43 UTC (rev 127530)
@@ -12,7 +12,7 @@
license BSD
supported_archs noarch
-python.versions 24 25 26 27 31 32 33 34
+python.versions 27 34
maintainers stromnov openmaintainer
@@ -33,7 +33,7 @@
sha256 799ed4caf77516e54440806d8d9cd82a7607dfdf4e4fb643815171a4b5c921c0
if {${name} ne ${subport}} {
- depends_lib port:py${python.version}-setuptools
+ depends_lib-append port:py${python.version}-setuptools
post-destroot {
set docdir ${prefix}/share/doc/${subport}
@@ -42,20 +42,16 @@
${destroot}${docdir}
copy ${worksrcpath}/docs/build ${destroot}${docdir}/html
- if {${python.version} >= 26} {
- set man1 ${python.prefix}/share/man/man1
- xinstall -d ${destroot}${man1}
- xinstall -m 644 ${worksrcpath}/docs/pygmentize.1 ${destroot}${man1}
- ln -sf ${man1}/pygmentize.1 \
- ${destroot}${prefix}/share/man/man1/pygmentize-${python.branch}.1
- } else {
- xinstall -m 644 ${worksrcpath}/docs/pygmentize.1 \
- ${destroot}${prefix}/share/man/man1/pygmentize-${python.branch}.1
- }
+ set man1 ${python.prefix}/share/man/man1
+ xinstall -d ${destroot}${man1}
+ xinstall -m 644 ${worksrcpath}/docs/pygmentize.1 ${destroot}${man1}
+ ln -sf ${man1}/pygmentize.1 \
+ ${destroot}${prefix}/share/man/man1/pygmentize-${python.branch}.1
}
- livecheck.type none
+
+ livecheck.type none
} else {
- livecheck.type regex
- livecheck.url ${master_sites}
- livecheck.regex {Pygments-(\d+(?:\.\d+)*)}
+ livecheck.type regex
+ livecheck.url ${master_sites}
+ livecheck.regex {Pygments-(\d+(?:\.\d+)*)}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141029/b69b09a9/attachment.html>
More information about the macports-changes
mailing list