[133088] trunk/dports/python/py-unidecode/Portfile

larryv at macports.org larryv at macports.org
Thu Feb 19 20:48:38 PST 2015


Revision: 133088
          https://trac.macports.org/changeset/133088
Author:   larryv at macports.org
Date:     2015-02-19 20:48:37 -0800 (Thu, 19 Feb 2015)
Log Message:
-----------
py-unidecode: Pull "Unidecode" out into a variable

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

Modified: trunk/dports/python/py-unidecode/Portfile
===================================================================
--- trunk/dports/python/py-unidecode/Portfile	2015-02-20 04:48:36 UTC (rev 133087)
+++ trunk/dports/python/py-unidecode/Portfile	2015-02-20 04:48:37 UTC (rev 133088)
@@ -5,6 +5,7 @@
 PortGroup           python 1.0
 
 name                py-unidecode
+set realName Unidecode
 version             0.04.14
 platforms           darwin
 license             GPL-2+
@@ -19,10 +20,10 @@
                     be near what a human with a US keyboard would \
                     choose. This is a Python port of Text::Unidecode \
                     Perl module by Sean M. Burke.
-homepage            https://pypi.python.org/pypi/Unidecode/
+homepage            https://pypi.python.org/pypi/$realName/
 
-master_sites        https://pypi.python.org/packages/source/U/Unidecode/
-distname            Unidecode-${version}
+master_sites        https://pypi.python.org/packages/source/U/$realName/
+distname            $realName-${version}
 checksums           rmd160  a1743f2c737a99ba47eb5ddd00fafe6006623fc2 \
                     sha256  a66f8a527ee0709742caa16745cc882b85d6cfc12b37fa2f56024d07031f230c
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150219/3eb5727b/attachment.html>


More information about the macports-changes mailing list