Commit graph

22 commits

Author SHA1 Message Date
fhajny
8b8eddef31 net/py-GeoIP now Python3 compatible. 2016-10-19 14:28:45 +00:00
fhajny
1cba58d95c 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
2016-10-19 13:31:17 +00:00
wiz
ad0031c15e Remove python33: adapt all packages that refer to it. 2016-07-09 13:03:30 +00:00
adam
7f3b4730ad Extend PYTHON_VERSIONS_INCOMPATIBLE to 35 2015-12-05 21:25:27 +00:00
agc
203292f73e Add SHA512 digests for distfiles for net category
Problems found with existing digests:
	Package haproxy distfile haproxy-1.5.14.tar.gz
	159f5beb8fdc6b8059ae51b53dc935d91c0fb51f [recorded]
	da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated]

Problems found locating distfiles:
	Package bsddip: missing distfile bsddip-1.02.tar.Z
	Package citrix_ica: missing distfile citrix_ica-10.6.115659/en.linuxx86.tar.gz
	Package djbdns: missing distfile djbdns-1.05-test25.diff.bz2
	Package djbdns: missing distfile djbdns-cachestats.patch
	Package djbdns: missing distfile 0002-dnscache-cache-soa-records.patch
	Package gated: missing distfile gated-3-5-11.tar.gz
	Package owncloudclient: missing distfile owncloudclient-2.0.2.tar.xz
	Package poink: missing distfile poink-1.6.tar.gz
	Package ra-rtsp-proxy: missing distfile rtspd-src-1.0.0.0.tar.gz
	Package ucspi-ssl: missing distfile ucspi-ssl-0.70-ucspitls-0.1.patch
	Package waste: missing distfile waste-source.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 00:34:51 +00:00
wiz
3ec156f142 Improve EGG_NAME default to work for packages with '-' in their name.
Remove now unnecessary overrides in various packages.
2014-12-31 13:57:25 +00:00
wiz
c1b44346cd Mark packages that are not ready for python-3.3 also not ready for 3.4,
until proven otherwise.
2014-05-09 07:36:53 +00:00
wiz
66b66405f5 Add geography to CATEGORIES.
Mark as not ready for python-3.x.
2014-01-25 09:08:32 +00:00
asau
e059e7e469 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-23 17:18:07 +00:00
wiz
c595076396 All supported python versions in pkgsrc support eggs, so remove
${PLIST.eggfile} from PLISTs and support code from lang/python.
2012-04-08 20:21:41 +00:00
obache
056cf50b80 Update py-GeoIP to 1.2.7.
while here, let to register egg-info.

1.2.7	2011-08-23
        * Add example test_netspeedcell.py ( Boris Zentner )
1.2.6	2011-06-06
	* Add new methods record_by_name_v6 and record_by_addr_v6 to support
		GeoIPCityv6 databases. ( Boris Zentner )
1.2.5	2011-05-10
	* Remove Confidence and Accuracy Database it is unsued anyway. ( Boris
		Zentner )
	* Add new methods enable_teredo, teredo, time_zone_by_country_and_region
		and lib_version ( Boris Zentner )
	* Add support for Confidence and Accuracy Database.
	* Add support for Netspeed Database. via:
		id_by_addr
		id_by_name
	* Add IPv6 glue *** needs libGeoIP 1.4.7 ***
		country_code_by_name_v6
		country_name_by_name_v6
		country_code_by_addr_v6
		country_name_by_addr_v6 ( Boris Zentner )
2011-10-31 09:08:55 +00:00
obache
747841268e 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 13:45:57 +00:00
zafer
dcf0be5791 update master_sites. 2009-10-18 19:54:52 +00:00
joerg
25a80fb4ab Remove PYBINMODULE. All it did was mark some packages as not available
on some platforms that lacked shared library support in the past. The
list hasn't been maintained at all and the gain is very limited, so just
get rid of it.
2009-03-05 18:51:26 +00:00
joerg
ba171a91fa Add DESTDIR support. 2008-06-12 02:14:13 +00:00
obache
55e1bd491d Update py-GeoIP to 1.2.1.
Patch provided by maintainer, Bartosz Kuzma in PR 36642.

Changes since 1.2.0:

1.2.1	2005-06-28
	* Added support for GeoIP Region
2007-07-13 07:31:54 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
b12d62efb5 Add RMD160 digests. 2005-02-24 12:13:41 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
recht
4150812b27 add python as category
ok'd a while back at pkgsrcCon by agc and wiz
2004-07-22 09:15:59 +00:00
minskim
ecf34db8e5 Initial import of py-GeoIP. Provided by Bartosz Kuzma in PR pkg/23911,
and slightly modified by me.

Python binding for GeoIP, which enables the user to find the country
that any IP address or hostname originates from.
2004-03-07 18:45:42 +00:00