Index: databases/Makefile =================================================================== --- databases/Makefile +++ databases/Makefile @@ -736,6 +736,7 @@ SUBDIR += py-htsql-pgsql SUBDIR += py-kyotocabinet SUBDIR += py-leveldb + SUBDIR += py-maxminddb SUBDIR += py-memcached SUBDIR += py-mssql SUBDIR += py-mysql-connector-python Index: databases/py-maxminddb/Makefile =================================================================== --- /dev/null +++ databases/py-maxminddb/Makefile @@ -0,0 +1,21 @@ +# Created by: Alfred Perlstein +# $FreeBSD$ + +PORTNAME= maxminddb +PORTVERSION= 0.3.3 +CATEGORIES= databases python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= alfred@freebsd.org +COMMENT= Python extension for reading the MaxMind DB format + +LICENSE= MIT + +CFLAGS+= -I${PREFIX}/include +LDFLAGS+= -L${LOCALBASE}/lib + +USES= python +USE_PYTHON= distutils autoplist + +.include Index: databases/py-maxminddb/distinfo =================================================================== --- /dev/null +++ databases/py-maxminddb/distinfo @@ -0,0 +1,2 @@ +SHA256 (maxminddb-0.3.3.tar.gz) = d207434cb16030e877e19a268495f78e37f8de6588ea3ffc22f977a28dfa35fd +SIZE (maxminddb-0.3.3.tar.gz) = 1171870 Index: databases/py-maxminddb/pkg-descr =================================================================== --- /dev/null +++ databases/py-maxminddb/pkg-descr @@ -0,0 +1,9 @@ +MaxMind DB Python Module + +This is a Python module for reading MaxMind DB files. The module includes both +a pure Python reader and an optional C extension. + +MaxMind DB is a binary file format that stores data indexed by IP address +subnets (IPv4 or IPv6). + +WWW: https://pypi.python.org/pypi/maxminddb