Ticket #34659: Portfile.diff
File Portfile.diff, 1.4 KB (added by lockhart (Thomas Lockhart), 12 years ago) |
---|
-
Portfile
old new 1 # -*- 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 1 2 # $Id: Portfile 95185 2012-07-06 15:04:52Z jmr@macports.org $ 2 3 3 4 PortSystem 1.0 4 5 PortGroup python 1.0 5 6 6 7 name py-geoip 7 version 1.2. 58 version 1.2.7 8 9 categories python net 9 10 license LGPL-2.1+ 10 11 platforms darwin … … 16 17 master_sites http://www.maxmind.com/download/geoip/api/python/ 17 18 distname GeoIP-Python-${version} 18 19 19 checksums sha1 bb7d89425319a1ae517d9b4eacd7c22b19fcf195\20 rmd160 1e313f7c50cbb6f61843427046e1f2f812c5bbc820 checksums sha1 0af5f5d06bc81b5427019d28ba029e8c31dec9eb \ 21 rmd160 4abb50a70ce15e8305e786593ddd2de15efed129 21 22 22 23 python.versions 24 25 26 27 24 python.default_version 24 23 25 24 26 if {$subport != $name} { 25 27 depends_lib-append port:libgeoip … … 33 35 ${destroot}${prefix}/share/doc/${subport} 34 36 xinstall -m 644 -W ${worksrcpath} test.py test_city.py test_org.py \ 35 37 ${destroot}${prefix}/share/doc/${subport}/examples 38 livecheck.type none 36 39 } 40 } else { 41 livecheck.type regex 42 livecheck.url ${master_sites} 43 livecheck.regex "GeoIP-Python-(\\d+(\\.\\d+)+)${extract.suffix}" 37 44 }