[114106] trunk/dports/python/py-levenshtein/Portfile
stromnov at macports.org
stromnov at macports.org
Fri Nov 29 09:34:39 PST 2013
Revision: 114106
https://trac.macports.org/changeset/114106
Author: stromnov at macports.org
Date: 2013-11-29 09:34:39 -0800 (Fri, 29 Nov 2013)
Log Message:
-----------
py-levenshtein: update to version 0.11.1
Modified Paths:
--------------
trunk/dports/python/py-levenshtein/Portfile
Modified: trunk/dports/python/py-levenshtein/Portfile
===================================================================
--- trunk/dports/python/py-levenshtein/Portfile 2013-11-29 15:02:09 UTC (rev 114105)
+++ trunk/dports/python/py-levenshtein/Portfile 2013-11-29 17:34:39 UTC (rev 114106)
@@ -5,12 +5,14 @@
PortGroup python 1.0
name py-levenshtein
-version 0.10.2
+version 0.11.1
revision 0
categories-append textproc
-license GPL-2+
platforms darwin freebsd
+license GPL-2+
+python.versions 24 25 26 27 33
+
maintainers stromnov openmaintainer
description Python module for fast computation of Levensthein distances.
@@ -22,38 +24,21 @@
averaging, string sequence and set similarity. It \
supports both normal and Unicode strings.
-homepage http://github.com/miohtama/python-Levenshtein
-master_sites http://pypi.python.org/packages/source/p/python-Levenshtein
+homepage http://github.com/ztane/python-Levenshtein
+master_sites http://pypi.python.org/packages/source/p/python-Levenshtein/
distname python-Levenshtein-${version}
-checksums rmd160 a08ebd7edc92cfb34ea822cbb6d87f4cd23b8581 \
- sha256 49a3b3c3210157e2070eb46c0713e64f409efc8c9a7520632ddf16f8a9508bed
+checksums rmd160 4fc678edfd53c545a87a9efa980c94efd79a6e29 \
+ sha256 7c194ae48457951b42e66188d9315ac28ed43d68ecc995fd82c1975ed1fbdd0e
-python.versions 24 25 26 27
+if {$subport ne $name} {
+ depends_build-append \
+ port:py${python.version}-setuptools
-if {$subport != $name} {
- depends_build port:py${python.version}-setuptools
-
- post-destroot {
- set realname levenshtein
- if {$subport == "py24-${realname}" || $subport == "py25-${realname}"} {
- xinstall -d ${destroot}${prefix}/share/doc/${subport}/examples
- xinstall -m 644 -W ${worksrcpath} COPYING NEWS README.rst \
- ${destroot}${prefix}/share/doc/${subport}
- xinstall -m 644 ${worksrcpath}/StringMatcher.py \
- ${destroot}${prefix}/share/doc/${subport}/examples
- } else {
- xinstall -d ${destroot}${python.prefix}/share/doc/${realname}/examples
- xinstall -m 644 -W ${worksrcpath} COPYING NEWS README.rst \
- ${destroot}${python.prefix}/share/doc/${realname}
- xinstall -m 644 ${worksrcpath}/StringMatcher.py \
- ${destroot}${python.prefix}/share/doc/${realname}/examples
- }
- }
livecheck.type none
} else {
livecheck.type regex
livecheck.url ${master_sites}
- livecheck.regex "python-Levenshtein-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+ livecheck.regex {python-Levenshtein-(\d+(?:\.\d+)*)\.[tz]}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131129/7bcc0731/attachment.html>
More information about the macports-changes
mailing list