summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-03-07 18:45:42 +0000
committerminskim <minskim@pkgsrc.org>2004-03-07 18:45:42 +0000
commitecf34db8e549e26946dd572b5b8c9aa94692938c (patch)
tree83f1326ec285729927298e2add7abda5e2d275f9 /net
parent4399951777e60d1a7554dd4ca43c772fe086b5d6 (diff)
downloadpkgsrc-ecf34db8e549e26946dd572b5b8c9aa94692938c.tar.gz
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.
Diffstat (limited to 'net')
-rw-r--r--net/py-GeoIP/DESCR2
-rw-r--r--net/py-GeoIP/Makefile19
-rw-r--r--net/py-GeoIP/PLIST2
-rw-r--r--net/py-GeoIP/distinfo4
4 files changed, 27 insertions, 0 deletions
diff --git a/net/py-GeoIP/DESCR b/net/py-GeoIP/DESCR
new file mode 100644
index 00000000000..a08fe9b5dac
--- /dev/null
+++ b/net/py-GeoIP/DESCR
@@ -0,0 +1,2 @@
+Python binding for GeoIP, which enables the user to find the country
+that any IP address or hostname originates from.
diff --git a/net/py-GeoIP/Makefile b/net/py-GeoIP/Makefile
new file mode 100644
index 00000000000..0290614ece2
--- /dev/null
+++ b/net/py-GeoIP/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/03/07 18:45:42 minskim Exp $
+#
+
+DISTNAME= GeoIP-Python-1.2.0
+PKGNAME= ${PYPKGPREFIX}-GeoIP-1.2.0
+CATEGORIES= net
+MASTER_SITES= http://www.maxmind.com/download/geoip/api/python/
+
+MAINTAINER= bartosz@atom.eu.org
+HOMEPAGE= http://www.maxmind.com/app/python
+COMMENT= GeoIP support for Python
+
+USE_BUILDLINK3= yes
+PYDISTUTILSPKG= yes
+PYBINMODULE= yes
+
+.include "../../lang/python/extension.mk"
+.include "../../net/GeoIP/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/py-GeoIP/PLIST b/net/py-GeoIP/PLIST
new file mode 100644
index 00000000000..d3d50ca9385
--- /dev/null
+++ b/net/py-GeoIP/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/03/07 18:45:42 minskim Exp $
+${PYSITELIB}/GeoIP.so
diff --git a/net/py-GeoIP/distinfo b/net/py-GeoIP/distinfo
new file mode 100644
index 00000000000..5e53d91a382
--- /dev/null
+++ b/net/py-GeoIP/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/03/07 18:45:42 minskim Exp $
+
+SHA1 (GeoIP-Python-1.2.0.tar.gz) = ac9b253403fb4db2fdc8fd4c578af837e4f3c8fa
+Size (GeoIP-Python-1.2.0.tar.gz) = 9622 bytes