pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/py-GeoIP Update net/py-GeoIP to 1.3.2
details: https://anonhg.NetBSD.org/pkgsrc/rev/e8fdd6282f14
branches: trunk
changeset: 354078:e8fdd6282f14
user: fhajny <fhajny%pkgsrc.org@localhost>
date: Wed Oct 19 13:31:17 2016 +0000
description:
Update net/py-GeoIP to 1.3.2
1.3.2
- The description for org_by_name incorrectly directed people to
use name_by_addr rather than name_by_name.
- Previously GeoIP.country_names was populated from
GeoIP_country_name in the libGeoIP C API. Some versions of the
libGeoIP include non-ASCII ISO-8859-1 characters in these names,
causing encoding errors under Python. When installed under
Python 3, this API now uses UTF-8 country names to populate
this dict.
1.3.1
- Strings with non-ASCII characters would throw a UTF-8 decoding
error. In Python 3, all strings from the database are in UTF-8
and using set_charset to set the character set to something
other than UTF-8 will throw an ValueError exception.
1.3.0
- Python 3 support and significant code cleanup.
- The methods name_by_addr, name_by_addr_v6, name_by_name, and
name_by_name_v6 were added for ISP, Org, and ASNum lookups.
- Portability fixes.
- Expose GEOIP_MMAP_CACHE from the C library.
- Unit tests were added.
1.2.9
- Packaging fix. PyPI-only release.
1.2.8
- Remove unused code.
- Fix low memory error handling and refcount issues on error
reported by Matt Domsch
1.2.7
- Add example test_netspeedcell.py
diffstat:
net/py-GeoIP/Makefile | 19 ++++++++++++-------
net/py-GeoIP/PLIST | 7 +++++--
net/py-GeoIP/distinfo | 10 +++++-----
3 files changed, 22 insertions(+), 14 deletions(-)
diffs (60 lines):
diff -r 8ecfea3bd4d0 -r e8fdd6282f14 net/py-GeoIP/Makefile
--- a/net/py-GeoIP/Makefile Wed Oct 19 13:17:20 2016 +0000
+++ b/net/py-GeoIP/Makefile Wed Oct 19 13:31:17 2016 +0000
@@ -1,17 +1,22 @@
-# $NetBSD: Makefile,v 1.17 2016/07/09 13:03:59 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2016/10/19 13:31:17 fhajny Exp $
-DISTNAME= GeoIP-Python-1.2.7
-PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/Python-//}
+DISTNAME= geoip-api-python-1.3.2
+PKGNAME= ${PYPKGPREFIX}-GeoIP-${DISTNAME:S/geoip-api-python-//}
CATEGORIES= net python geography
-MASTER_SITES= http://geolite.maxmind.com/download/geoip/api/python/
+MASTER_SITES= ${MASTER_SITE_GITHUB:=maxmind/}
MAINTAINER= bartosz.kuzma%gmail.com@localhost
-HOMEPAGE= http://www.maxmind.com/app/python
-COMMENT= GeoIP support for Python
+HOMEPAGE= https://github.com/maxmind/geoip-api-python/
+COMMENT= GeoIP Legacy Python API
LICENSE= gnu-lgpl-v2.1
+GITHUB_PROJECT= geoip-api-python
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
PYTHON_VERSIONS_INCOMPATIBLE= 34 35 # not yet ported as of 1.2.7
-.include "../../lang/python/distutils.mk"
+EGG_NAME= GeoIP-${PKGVERSION_NOREV}
+
+.include "../../lang/python/egg.mk"
.include "../../net/GeoIP/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 8ecfea3bd4d0 -r e8fdd6282f14 net/py-GeoIP/PLIST
--- a/net/py-GeoIP/PLIST Wed Oct 19 13:17:20 2016 +0000
+++ b/net/py-GeoIP/PLIST Wed Oct 19 13:31:17 2016 +0000
@@ -1,3 +1,6 @@
-@comment $NetBSD: PLIST,v 1.3 2012/04/08 20:21:52 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2016/10/19 13:31:17 fhajny Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/GeoIP.so
-${PYSITELIB}/${EGG_FILE}
diff -r 8ecfea3bd4d0 -r e8fdd6282f14 net/py-GeoIP/distinfo
--- a/net/py-GeoIP/distinfo Wed Oct 19 13:17:20 2016 +0000
+++ b/net/py-GeoIP/distinfo Wed Oct 19 13:31:17 2016 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2015/11/04 00:35:29 agc Exp $
+$NetBSD: distinfo,v 1.7 2016/10/19 13:31:17 fhajny Exp $
-SHA1 (GeoIP-Python-1.2.7.tar.gz) = 0af5f5d06bc81b5427019d28ba029e8c31dec9eb
-RMD160 (GeoIP-Python-1.2.7.tar.gz) = 4abb50a70ce15e8305e786593ddd2de15efed129
-SHA512 (GeoIP-Python-1.2.7.tar.gz) = 9f6b37f781f1f1676394b472051790143cbff2a12770f2dfe1652238805cc1109259a2e3e80e376ec1165244b73f875f5dbd03db9c4f40869200e307fbd0a20c
-Size (GeoIP-Python-1.2.7.tar.gz) = 15938 bytes
+SHA1 (geoip-api-python-1.3.2.tar.gz) = caf93ed2dcd6ae43cc49691ea51d33ad2bcf7c0d
+RMD160 (geoip-api-python-1.3.2.tar.gz) = 622df285ec8d7270a5fe2f57774f5a387e944818
+SHA512 (geoip-api-python-1.3.2.tar.gz) = 284209a6894d55ef95844c5c4c7aafff99ebcb13996e5ff64a0c31b38677e13c11d51fd8b0250d0fa097f15805c27b572d5aa12c2b217a839afe3cdd0851c414
+Size (geoip-api-python-1.3.2.tar.gz) = 35674 bytes
Home |
Main Index |
Thread Index |
Old Index