[128462] trunk/dports/python/py-nltk3/Portfile

hum at macports.org hum at macports.org
Fri Nov 21 13:17:53 PST 2014


Revision: 128462
          https://trac.macports.org/changeset/128462
Author:   hum at macports.org
Date:     2014-11-21 13:17:53 -0800 (Fri, 21 Nov 2014)
Log Message:
-----------
py-nltk3: fix replace_by for the main port and subports; see https://lists.macosforge.org/pipermail/macports-dev/2014-November/028800.html; Thanks

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

Modified: trunk/dports/python/py-nltk3/Portfile
===================================================================
--- trunk/dports/python/py-nltk3/Portfile	2014-11-21 21:08:01 UTC (rev 128461)
+++ trunk/dports/python/py-nltk3/Portfile	2014-11-21 21:17:53 UTC (rev 128462)
@@ -6,12 +6,19 @@
 
 name                py-nltk3
 version             3.0a4
-revision            1
+revision            2
 categories-append   textproc
 maintainers         hum openmaintainer
 supported_archs     noarch
 
-replaced_by         py${python.version}-nltk
+python.versions     26 27 32 33 34
+
+if {${name} ne ${subport}} {
+    replaced_by     py${python.version}-nltk
+} else {
+    replaced_by     py-nltk
+}
+
 livecheck.type      none
 
 pre-configure {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141121/7f47f9da/attachment.html>


More information about the macports-changes mailing list