<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/310ac7a245ea60f78ecb009cbdc35327171ed301">https://github.com/macports/macports-ports/commit/310ac7a245ea60f78ecb009cbdc35327171ed301</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 310ac7a245ea60f78ecb009cbdc35327171ed301
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Wed Apr 17 22:27:56 2019 -0400
<span style='display:block; white-space:pre;color:#404040;'> py-wordnet: obsolete, replaced_by py-nltk
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Upstream says:
</span><span style='display:block; white-space:pre;color:#404040;'> PyWordNet was contributed to the NLTK project in 2006. Refer to that
</span><span style='display:block; white-space:pre;color:#404040;'> software for a more recent implementation of Python/WordNet that has
</span><span style='display:block; white-space:pre;color:#404040;'> been updated to Wordnet 2.1 and extended with some of the Wordnet
</span><span style='display:block; white-space:pre;color:#404040;'> similarity scoring algorithms.
</span>---
python/py-wordnet/Portfile | 56 ++++++---------------------
python/py-wordnet/files/patch-wordnet.py.diff | 14 -------
2 files changed, 11 insertions(+), 59 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-wordnet/Portfile b/python/py-wordnet/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index fe941da..b97e11a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-wordnet/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-wordnet/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,48 +1,14 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup python 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-name py-wordnet
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-license Artistic-1 MIT
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin freebsd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-supported_archs noarch
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-description Python interface to the (included) WordNet database
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description PyWordNet is a Python interface to the WordNet \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- database of word meanings and lexical relationships. \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Version 1.7.1 or WordNet - the most recent version of \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- WordNet working with py-wordnet - is included.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup obsolete 1.0
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://pywordnet.sourceforge.net/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites sourceforge:pywordnet:source \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- http://wordnetcode.princeton.edu/1.7.1:data
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name py-wordnet
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+replaced_by py-nltk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories python
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license Artistic-1 MIT
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 27
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${name} ne ${subport}} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- distfiles pywordnet-${version}${extract.suffix}:source \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- WordNet-1.7.1${extract.suffix}:data
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums pywordnet-${version}${extract.suffix} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- md5 791c796699d4c2cd6bd37ec32a232561 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- WordNet-1.7.1${extract.suffix} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- md5 5c8e569339cf7d8e727d884234365508
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles patch-wordnet.py.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- worksrcdir pywordnet-${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- post-patch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/wordnet.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- post-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d -m 755 ${destroot}${prefix}/share/${subport}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 -W ${workpath}/WordNet-1.7.1/dict adj.exc adv.exc \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- cntlist cntlist.rev data.adj data.adv data.noun data.verb \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- index.adj index.adv index.noun index.sense index.verb lexnames \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- noun.exc sentidx.vrb sents.vrb verb.exc \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/share/${subport}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 -W ${build.dir} CHANGES.txt INSTALL.txt LICENSE.txt \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- README.txt index.html ${destroot}${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport py27-wordnet " replaced_by py27-nltk "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# remove after April 17, 2020
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-wordnet/files/patch-wordnet.py.diff b/python/py-wordnet/files/patch-wordnet.py.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0554e34..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-wordnet/files/patch-wordnet.py.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,14 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- wordnet.py.new Fri Apr 23 13:03:04 2004
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ wordnet.py Fri Apr 23 13:03:47 2004
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -49,9 +49,9 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Configuration variables
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--WNHOME = environ.get('WNHOME', {'mac': ":", 'dos': "C:\wn16", 'nt': "C:\wn16"}.get(os.name, "/usr/local/wordnet1.6"))
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--WNSEARCHDIR = environ.get('WNSEARCHDIR', os.path.join(WNHOME, {'mac': "Database"}.get(os.name, "dict")))
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+WNSEARCHDIR="__PREFIX__/share/py-wordnet/"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ReadableRepresentations = 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- """If true, repr(word), repr(sense), and repr(synset) return
</span></pre><pre style='margin:0'>
</pre>