<pre style='margin:0'>
Clemens Lang (neverpanic) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/95a25574b6148bf92c00b339af0d34cbb670083a">https://github.com/macports/macports-ports/commit/95a25574b6148bf92c00b339af0d34cbb670083a</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 95a2557 py-geoip: update to 1.3.2
</span>95a2557 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 95a25574b6148bf92c00b339af0d34cbb670083a
</span>Author: Allan Que <allan.que@gmail.com>
AuthorDate: Thu Nov 10 18:01:33 2016 -0600
<span style='display:block; white-space:pre;color:#404040;'> py-geoip: update to 1.3.2
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> add support for python3, change master_sites to use pypi, remove obsolete Id
</span><span style='display:block; white-space:pre;color:#404040;'> tag, and reinplace the correct paths in example files.
</span>---
python/py-geoip/Portfile | 32 +++++++++++++-------------------
1 file changed, 13 insertions(+), 19 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-geoip/Portfile b/python/py-geoip/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index d7052b1..5eaa844 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-geoip/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-geoip/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,11 +1,10 @@
</span> # -*- 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 style='display:block; white-space:pre;background:#ffe0e0;'>-# $Id$
</span>
PortSystem 1.0
PortGroup python 1.0
name py-geoip
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.2.8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.3.2
</span> categories-append net
license LGPL-2.1+
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -14,31 +13,26 @@ maintainers nomaintainer
</span> description Python module for accessing the GeoIP C library
long_description ${description}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://www.maxmind.com/app/python
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites http://www.maxmind.com/download/geoip/api/python/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname GeoIP-Python-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage http://dev.maxmind.com/geoip/legacy/downloadable/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites pypi:g/geoip
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname GeoIP-${version}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 5311cb3553943a71e7335732c06d070a4bf2768f \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 8b946307355b60cb0f2b0be8ac90c1231286e0e79917509763267fce01a50e73
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 f5cf7a7f767d748827f432ab892bfa0b4d1272f4 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 a890da6a21574050692198f14b07aa4268a01371278dfc24f71cd9bc87ebf0e6
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 27
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 27 33 34 35 36
</span>
if {${name} ne ${subport}} {
depends_lib-append port:libgeoip
<span style='display:block; white-space:pre;background:#ffe0e0;'>- post-patch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/setup.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> post-destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 -W ${worksrcpath} ChangeLog LICENSE README \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 644 -W ${worksrcpath} LICENSE README.rst \
</span> ${destroot}${prefix}/share/doc/${subport}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 -W ${worksrcpath} test.py test_city.py test_org.py \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/share/doc/${subport}/examples
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach f [glob -type f -dir ${worksrcpath}/examples *] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s+/usr/bin/python$+/usr/bin/env python${python.branch}+g" ${f}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s+/usr/local+${prefix}+g" ${f}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 755 ${f} ${destroot}${prefix}/share/doc/${subport}/examples
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
livecheck.type none
<span style='display:block; white-space:pre;background:#ffe0e0;'>-} else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.type regex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.url ${master_sites}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.regex "GeoIP-Python-(\\d+(\\.\\d+)+)${extract.suffix}"
</span> }
</pre><pre style='margin:0'>
</pre>