[115778] trunk/dports/python/py-nltk/Portfile

hum at macports.org hum at macports.org
Fri Jan 10 18:59:14 PST 2014


Revision: 115778
          https://trac.macports.org/changeset/115778
Author:   hum at macports.org
Date:     2014-01-10 18:59:14 -0800 (Fri, 10 Jan 2014)
Log Message:
-----------
py-nltk: update to 2.0.4; take joint maintainership; add license and livecheck; see #41938.

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

Modified: trunk/dports/python/py-nltk/Portfile
===================================================================
--- trunk/dports/python/py-nltk/Portfile	2014-01-11 02:00:46 UTC (rev 115777)
+++ trunk/dports/python/py-nltk/Portfile	2014-01-11 02:59:14 UTC (rev 115778)
@@ -2,39 +2,45 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           github 1.0
 PortGroup           python 1.0
 
+github.setup        nltk nltk 2.0.4
 name                py-nltk
-version             2.0.1rc1
-revision            1
-categories          python textproc
+categories-append   textproc
 platforms           darwin
-maintainers         gmail.com:stevenbird1
+maintainers         hum gmail.com:stevenbird1 openmaintainer
 supported_archs     noarch
+license             Apache-2.0
 
 description         Natural Language Toolkit
 long_description    NLTK is Python modules for research and development in natural language processing
 homepage            http://www.nltk.org/
-master_sites        googlecode:nltk
-distname            nltk-${version}
 
-checksums           sha1    4cd2b834875db6df2662a86a35f90d1e9bb8c1ce \
-                    rmd160  2ae4a490b73a7d0dc49412a621ed8223761619ec
+checksums           rmd160  3471f1228d21eca5811bb90159b90a64edad43fa \
+                    sha256  790df52ffc0db5aaa24e43b943e4ee63d275cae603d813dc5e03a0daf8afeb8a
 
 python.versions     26 27
 
 if {${name} ne ${subport}} {
-    depends_lib         port:py${python.version}-numpy \
-                        port:py${python.version}-yaml \
-                        port:py${python.version}-matplotlib
+    depends_lib     port:py${python.version}-numpy \
+                    port:py${python.version}-yaml \
+                    port:py${python.version}-matplotlib
 
     post-destroot {
-        set docdir ${destroot}${prefix}/share/doc/${subport}
-        xinstall -d ${docdir}
+        set docdir ${prefix}/share/doc/${subport}
+        xinstall -d ${destroot}${docdir}
         xinstall -m 644 -W ${worksrcpath} \
+            ChangeLog \
             LICENSE.txt \
+            NOTICE.txt \
+            README.md \
             README.txt \
-            INSTALL.txt \
-            ${docdir}
+            ${destroot}${docdir}
     }
+
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.regex     archive/[join ${github.tag_prefix} ""](2\[^"\]+)${extract.suffix}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140110/dfff3306/attachment-0001.html>


More information about the macports-changes mailing list