pkgsrc/net/py-GeoIP/Makefile

21 lines
598 B
Makefile
Raw Normal View History

2016-10-19 16:28:45 +02:00
# $NetBSD: Makefile,v 1.19 2016/10/19 14:28:45 fhajny Exp $
DISTNAME= geoip-api-python-1.3.2
PKGNAME= ${PYPKGPREFIX}-GeoIP-${DISTNAME:S/geoip-api-python-//}
CATEGORIES= net python geography
MASTER_SITES= ${MASTER_SITE_GITHUB:=maxmind/}
MAINTAINER= bartosz.kuzma@gmail.com
HOMEPAGE= https://github.com/maxmind/geoip-api-python/
COMMENT= GeoIP Legacy Python API
Update py-GeoIP to 1.2.4. Based on PR#42657 by Wen Heping. 1.2.4 2008-12-16 * Add charset and set_charset methods , as well as the new attributes GeoIP.GEOIP_CHARSET_ISO_8859_1 and GeoIP.GEOIP_CHARSET_UTF8 ( Boris Zentner ) * Add test_city_charset.py script showing howto use charset and set_charset ( Boris Zentner ) * Add last_netmask ( Boris Zentner ) * Fix compile warnings ( Boris Zentner ) * fix small memoryleak in database_info, org_by_name and org_by_addr ( Boris Zentner ) * fix version number in setup.py ( Boris Zentner ) * remove dma_code from test_city.py example ( Boris Zentner ) 1.2.3 2008-09-11 * update test.py - replace www.government.de with www.bundestag.de. Add range_by_ip example. ( Boris Zentner ) * Add range_by_ip - returns largest start and stop ip for any ip. Remember to use a IP not a name ( Boris Zentner ) * Add metro_code as a alias for the depreciated dma_code ( Boris Zentner ) 1.2.2 2008-08-13 * Update test_city.py and test_region.py ( Boris Zentner ) * Add region_name to GeoIPRegion ( Boris Zentner ) * Add database_info and database_edition attributes to GeoIP object (James Henstridge) * Add region_name and time_zone keys to GeoIPRecord wrapper (James Henstridge). * Export the country list, country code -> country name mapping, and country->continent mapping ( Ignacio Vazquez-Abrams ) * Raise country code counter from 251 to 253 ( Boris Zentner ) !! record_by_addr and record_by_name return None instead of throwing a exception. See test_city.py ( Boris Zentner ) * Add a py_geoip.error Exception object. (Boris Zentner) * Export the country list, country code -> country name mapping, and country->continent mapping ( Ignacio Vazquez-Abrams ) * Changed license to LGPL from GPL
2010-01-22 14:45:57 +01:00
LICENSE= gnu-lgpl-v2.1
GITHUB_PROJECT= geoip-api-python
GITHUB_TAG= v${PKGVERSION_NOREV}
EGG_NAME= GeoIP-${PKGVERSION_NOREV}
.include "../../lang/python/egg.mk"
.include "../../net/GeoIP/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"