[128284] trunk/dports/python
Lawrence Velázquez
larryv at macports.org
Tue Nov 18 07:16:42 PST 2014
Please do not add new subports for anything other than Python 2.7 and 3.4. We are in the process of deprecating the older series.
vq
> On Nov 18, 2014, at 10:11 AM, hum at macports.org wrote:
>
> Revision
> 128284 <https://trac.macports.org/changeset/128284>Author
> hum at macports.org <mailto:hum at macports.org>Date
> 2014-11-18 07:11:25 -0800 (Tue, 18 Nov 2014)
> Log Message
>
> py-nltk: update to 3.0.0
> Modified Paths
>
> trunk/dports/python/py-nltk/Portfile <x-msg://1/#trunkdportspythonpynltkPortfile>
> trunk/dports/python/py-nltk3/Portfile <x-msg://1/#trunkdportspythonpynltk3Portfile>
> Removed Paths
>
> trunk/dports/python/py-nltk/files/
> Diff
>
> <>Modified: trunk/dports/python/py-nltk/Portfile (128283 => 128284)
>
> --- trunk/dports/python/py-nltk/Portfile 2014-11-18 14:17:34 UTC (rev 128283)
> +++ trunk/dports/python/py-nltk/Portfile 2014-11-18 15:11:25 UTC (rev 128284)
> @@ -5,7 +5,7 @@
> PortGroup github 1.0
> PortGroup python 1.0
>
> -github.setup nltk nltk 2.0.4
> +github.setup nltk nltk 3.0.0
> name py-nltk
> categories-append textproc
> platforms darwin
> @@ -17,10 +17,10 @@
> long_description NLTK is Python modules for research and development in natural language processing
> homepage http://www.nltk.org/ <http://www.nltk.org/>
>
> -checksums rmd160 3471f1228d21eca5811bb90159b90a64edad43fa \
> - sha256 790df52ffc0db5aaa24e43b943e4ee63d275cae603d813dc5e03a0daf8afeb8a
> +checksums rmd160 acf1c137d2447a7358ff3c3f42e615384a719ecb \
> + sha256 e7bac4c515661f92f5c8bd4d698cee1a7f96e50bdf0bd7655ec0fd5aed84319b
>
> -python.versions 26 27
> +python.versions 26 27 32 33 34
>
> if {${name} ne ${subport}} {
> depends_build port:py${python.version}-setuptools
> @@ -28,22 +28,16 @@
> port:py${python.version}-yaml \
> port:py${python.version}-matplotlib
>
> - patchfiles patch-setup.py.diff
> -
> post-destroot {
> set docdir ${prefix}/share/doc/${subport}
> xinstall -d ${destroot}${docdir}
> xinstall -m 644 -W ${worksrcpath} \
> ChangeLog \
> LICENSE.txt \
> - NOTICE.txt \
> README.md \
> README.txt \
> ${destroot}${docdir}
> }
>
> livecheck.type none
> -} else {
> - livecheck.type regex
> - livecheck.regex archive/[join ${github.tag_prefix} ""](2\[^"\]+)${extract.suffix}
> }
> <>Modified: trunk/dports/python/py-nltk3/Portfile (128283 => 128284)
>
> --- trunk/dports/python/py-nltk3/Portfile 2014-11-18 14:17:34 UTC (rev 128283)
> +++ trunk/dports/python/py-nltk3/Portfile 2014-11-18 15:11:25 UTC (rev 128284)
> @@ -6,10 +6,21 @@
>
> name py-nltk3
> version 3.0a4
> +revision 1
> categories-append textproc
> maintainers hum openmaintainer
> supported_archs noarch
>
> +replaced_by py${python.version}-nltk
> +livecheck.type none
> +
> +pre-configure {
> + ui_error "Please do not install this port since it has been replaced by 'py${python.version}-ntlk'."
> + return -code error
> +}
> +
> +distfiles
> +
> description Natural Language Toolkit supporting Python 3
> long_description NLTK 3 (${description}) is Python modules for research and development \
> in natural language processing
> @@ -17,37 +28,3 @@
> homepage http://www.nltk.org/nltk3-alpha/ <http://www.nltk.org/nltk3-alpha/>
> platforms darwin
> license Apache-2.0
> -
> -master_sites ${homepage}
> -checksums rmd160 2c372ef8eb09070e3d57e3bb254e09db26229a00 \
> - sha256 7fe72c386c2d3d050e3f5ffc80741906dbae9767a21558fd85e4208330dfb03e
> -
> -distname nltk-${version}
> -dist_subdir py-nltk
> -
> -python.versions 26 27 32 33 34
> -
> -if {![info exists python.version]} {
> - set python.version ""
> -}
> -conflicts py${python.version}-nltk
> -
> -if {$subport != $name} {
> - depends_lib port:py${python.version}-yaml \
> - port:py${python.version}-numpy \
> - port:py${python.version}-matplotlib
> -
> - post-destroot {
> - set docdir ${prefix}/share/doc/${subport}
> - xinstall -d ${destroot}${docdir}
> - xinstall -m 644 -W ${worksrcpath} \
> - LICENSE.txt \
> - README.txt \
> - ${destroot}${docdir}
> - }
> -
> - livecheck.type none
> -} else {
> - livecheck.type regex
> - livecheck.regex "nltk-(\\d+(?:\\.\\d+)*(\[ab\]\\d+)?(-p\\d+)?)${extract.suffix} <smb://d+(?://.//d+)*(/[ab/]//d+)?(-p//d+)?)${extract.suffix}>"
> -}
> _______________________________________________
> macports-changes mailing list
> macports-changes at lists.macosforge.org <mailto:macports-changes at lists.macosforge.org>
> https://lists.macosforge.org/mailman/listinfo/macports-changes <https://lists.macosforge.org/mailman/listinfo/macports-changes>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20141118/ba580c06/attachment-0001.html>
More information about the macports-dev
mailing list