[97137] trunk/dports/python/py-geoip/Portfile

pixilla at macports.org pixilla at macports.org
Mon Aug 27 17:36:15 PDT 2012


Revision: 97137
          https://trac.macports.org/changeset/97137
Author:   pixilla at macports.org
Date:     2012-08-27 17:36:15 -0700 (Mon, 27 Aug 2012)
Log Message:
-----------
python/py-geoip:
- Taking advantage of maintainer timeout.
- Update version to 1.2.7.
- Fix livecheck.
- py26-geoip tested good.

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

Modified: trunk/dports/python/py-geoip/Portfile
===================================================================
--- trunk/dports/python/py-geoip/Portfile	2012-08-28 00:34:47 UTC (rev 97136)
+++ trunk/dports/python/py-geoip/Portfile	2012-08-28 00:36:15 UTC (rev 97137)
@@ -1,3 +1,4 @@
+# -*- 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
 # $Id$
 
 PortSystem 1.0
@@ -4,7 +5,7 @@
 PortGroup python 1.0
 
 name			py-geoip
-version			1.2.5
+version			1.2.7
 categories		python net
 license			LGPL-2.1+
 platforms		darwin
@@ -16,10 +17,11 @@
 master_sites	http://www.maxmind.com/download/geoip/api/python/
 distname		GeoIP-Python-${version}
 
-checksums		sha1    bb7d89425319a1ae517d9b4eacd7c22b19fcf195 \
-				rmd160  1e313f7c50cbb6f61843427046e1f2f812c5bbc8
+checksums		sha1    0af5f5d06bc81b5427019d28ba029e8c31dec9eb \
+				rmd160  4abb50a70ce15e8305e786593ddd2de15efed129
 
 python.versions	24 25 26 27
+python.default_version 24
 
 if {$subport != $name} {
 	depends_lib-append	port:libgeoip
@@ -33,5 +35,10 @@
             ${destroot}${prefix}/share/doc/${subport}
         xinstall -m 644 -W ${worksrcpath} test.py test_city.py test_org.py \
             ${destroot}${prefix}/share/doc/${subport}/examples
+	livecheck.type	none
     }
+} else {
+	livecheck.type	regex
+	livecheck.url	${master_sites}
+	livecheck.regex	"GeoIP-Python-(\\d+(\\.\\d+)+)${extract.suffix}"
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120827/caffec5c/attachment.html>


More information about the macports-changes mailing list