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
commit0019ff8c37ab7cf7f3bb577457d1ed38fb1a50ad (patch)
tree83f1326ec285729927298e2add7abda5e2d275f9 /net
parent97a1cb488497aafe772e60b4a3edeb3cf2578f18 (diff)
downloadpkgsrc-0019ff8c37ab7cf7f3bb577457d1ed38fb1a50ad.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