summaryrefslogtreecommitdiff
path: root/geography
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2022-08-24 11:07:22 +0000
committerwiz <wiz@pkgsrc.org>2022-08-24 11:07:22 +0000
commitf09acc00102482c9ea05ce5c2f32bffb744aeddd (patch)
treea441343b253cecdd21104f2120627db7b6e6800c /geography
parent9e4e3aa0b069d611828786811abaf9a97ed2adab (diff)
downloadpkgsrc-f09acc00102482c9ea05ce5c2f32bffb744aeddd.tar.gz
geography/py-maxminddb: import py-maxminddb-2.2.0
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).
Diffstat (limited to 'geography')
-rw-r--r--geography/py-maxminddb/DESCR5
-rw-r--r--geography/py-maxminddb/Makefile17
-rw-r--r--geography/py-maxminddb/PLIST29
-rw-r--r--geography/py-maxminddb/distinfo5
4 files changed, 56 insertions, 0 deletions
diff --git a/geography/py-maxminddb/DESCR b/geography/py-maxminddb/DESCR
new file mode 100644
index 00000000000..9cbaae377b0
--- /dev/null
+++ b/geography/py-maxminddb/DESCR
@@ -0,0 +1,5 @@
+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).
diff --git a/geography/py-maxminddb/Makefile b/geography/py-maxminddb/Makefile
new file mode 100644
index 00000000000..7432c571f54
--- /dev/null
+++ b/geography/py-maxminddb/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2022/08/24 11:07:22 wiz Exp $
+
+DISTNAME= maxminddb-2.2.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= geography
+MASTER_SITES= ${MASTER_SITE_PYPI:=m/maxminddb/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://pypi.org/project/maxminddb/
+COMMENT= Reader for the MaxMind DB format
+LICENSE= apache-2.0
+
+TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
+
+.include "../../geography/libmaxminddb/buildlink3.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/geography/py-maxminddb/PLIST b/geography/py-maxminddb/PLIST
new file mode 100644
index 00000000000..ece2edd9e37
--- /dev/null
+++ b/geography/py-maxminddb/PLIST
@@ -0,0 +1,29 @@
+@comment $NetBSD: PLIST,v 1.1 2022/08/24 11:07:22 wiz Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/maxminddb/__init__.py
+${PYSITELIB}/maxminddb/__init__.pyc
+${PYSITELIB}/maxminddb/__init__.pyo
+${PYSITELIB}/maxminddb/const.py
+${PYSITELIB}/maxminddb/const.pyc
+${PYSITELIB}/maxminddb/const.pyo
+${PYSITELIB}/maxminddb/decoder.py
+${PYSITELIB}/maxminddb/decoder.pyc
+${PYSITELIB}/maxminddb/decoder.pyo
+${PYSITELIB}/maxminddb/errors.py
+${PYSITELIB}/maxminddb/errors.pyc
+${PYSITELIB}/maxminddb/errors.pyo
+${PYSITELIB}/maxminddb/extension.pyi
+${PYSITELIB}/maxminddb/extension.so
+${PYSITELIB}/maxminddb/file.py
+${PYSITELIB}/maxminddb/file.pyc
+${PYSITELIB}/maxminddb/file.pyo
+${PYSITELIB}/maxminddb/py.typed
+${PYSITELIB}/maxminddb/reader.py
+${PYSITELIB}/maxminddb/reader.pyc
+${PYSITELIB}/maxminddb/reader.pyo
+${PYSITELIB}/maxminddb/types.py
+${PYSITELIB}/maxminddb/types.pyc
+${PYSITELIB}/maxminddb/types.pyo
diff --git a/geography/py-maxminddb/distinfo b/geography/py-maxminddb/distinfo
new file mode 100644
index 00000000000..276443647aa
--- /dev/null
+++ b/geography/py-maxminddb/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/08/24 11:07:22 wiz Exp $
+
+BLAKE2s (maxminddb-2.2.0.tar.gz) = d8f5db2e6143a25328fcdcb447bd84175c6aa8a6aba5d4133edcdbeb03ef535f
+SHA512 (maxminddb-2.2.0.tar.gz) = b5526bfe37a846aa9ff49dde0daa87eeef491fd16f6c275efc22eb194bb71dfc9f4fabccb553d575827cd1e2aff20d796a0d6a2ac6b74c54ffbf48401b935bbd
+Size (maxminddb-2.2.0.tar.gz) = 330865 bytes