[127976] trunk/dports/python/py-pygments/Portfile

stromnov at macports.org stromnov at macports.org
Sun Nov 9 13:25:15 PST 2014


Revision: 127976
          https://trac.macports.org/changeset/127976
Author:   stromnov at macports.org
Date:     2014-11-09 13:25:15 -0800 (Sun, 09 Nov 2014)
Log Message:
-----------
py-pygments: update to version 2.0

Modified Paths:
--------------
    trunk/dports/python/py-pygments/Portfile

Modified: trunk/dports/python/py-pygments/Portfile
===================================================================
--- trunk/dports/python/py-pygments/Portfile	2014-11-09 21:19:21 UTC (rev 127975)
+++ trunk/dports/python/py-pygments/Portfile	2014-11-09 21:25:15 UTC (rev 127976)
@@ -5,7 +5,7 @@
 PortGroup           python 1.0
 
 name                py-pygments
-version             1.6
+version             2.0
 revision            0
 categories-append   devel
 platforms           darwin
@@ -25,12 +25,12 @@
     HTML or LaTeX, comes with many builtin styles.
 
 homepage            http://pygments.org/
-master_sites        http://pypi.python.org/packages/source/P/Pygments/
+master_sites        https://pypi.python.org/packages/source/P/Pygments/
 
 distname            Pygments-${version}
 
-checksums           rmd160  81dbd690f646efe0cc9d1efb505eb83be4d2b1bf \
-                    sha256  799ed4caf77516e54440806d8d9cd82a7607dfdf4e4fb643815171a4b5c921c0
+checksums           rmd160  0cb0091dd2580f465a073c99d0133eca0ccfd7d8 \
+                    sha256  4de23e88eeb7570e0425270d1013deff6343d78776dd38aeaf26c98ec3552421
 
 if {${name} ne ${subport}} {
     depends_lib-append  port:py${python.version}-setuptools
@@ -40,11 +40,9 @@
         xinstall -d ${destroot}${docdir}
         xinstall -m 644 -W ${worksrcpath} AUTHORS CHANGES LICENSE TODO \
             ${destroot}${docdir}
-        copy ${worksrcpath}/docs/build ${destroot}${docdir}/html
-
         set man1 ${python.prefix}/share/man/man1
         xinstall -d ${destroot}${man1}
-        xinstall -m 644 ${worksrcpath}/docs/pygmentize.1 ${destroot}${man1}
+        xinstall -m 644 ${worksrcpath}/doc/pygmentize.1 ${destroot}${man1}
         ln -sf ${man1}/pygmentize.1 \
             ${destroot}${prefix}/share/man/man1/pygmentize-${python.branch}.1
     }
@@ -53,5 +51,5 @@
 } else {
     livecheck.type      regex
     livecheck.url       ${master_sites}
-    livecheck.regex     {Pygments-(\d+(?:\.\d+)*)}
+    livecheck.regex     {Pygments-(\d+(?:\.\d+)*)\.[tz]}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141109/49aec8b2/attachment.html>


More information about the macports-changes mailing list