summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2022-08-24 12:54:28 +0000
committerwiz <wiz@pkgsrc.org>2022-08-24 12:54:28 +0000
commit53ea8822feefbb9a5b3f59f5793e69b62c20e276 (patch)
treee07d7862d192b25271cd2cf72fc4bee1bd161bd6
parent46b5b90b976c0059f5c870444aa7d642a27ae1ea (diff)
downloadpkgsrc-53ea8822feefbb9a5b3f59f5793e69b62c20e276.tar.gz
geography/py-geoip2: import py-geoip2-4.6.0
This package provides an API for the GeoIP2 and GeoLite2 web services and databases.
-rw-r--r--geography/py-geoip2/DESCR2
-rw-r--r--geography/py-geoip2/Makefile24
-rw-r--r--geography/py-geoip2/PLIST31
-rw-r--r--geography/py-geoip2/distinfo5
4 files changed, 62 insertions, 0 deletions
diff --git a/geography/py-geoip2/DESCR b/geography/py-geoip2/DESCR
new file mode 100644
index 00000000000..b22e5953b44
--- /dev/null
+++ b/geography/py-geoip2/DESCR
@@ -0,0 +1,2 @@
+This package provides an API for the GeoIP2 and GeoLite2 web services
+and databases.
diff --git a/geography/py-geoip2/Makefile b/geography/py-geoip2/Makefile
new file mode 100644
index 00000000000..f07310cdc90
--- /dev/null
+++ b/geography/py-geoip2/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2022/08/24 12:54:28 wiz Exp $
+
+DISTNAME= geoip2-4.6.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= geography python
+MASTER_SITES= ${MASTER_SITE_PYPI:=g/geoip2/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.maxmind.com/
+COMMENT= MaxMind GeoIP2 API
+LICENSE= apache-2.0
+
+DEPENDS+= ${PYPKGPREFIX}-aiohttp>=3.6.2:../../www/py-aiohttp
+DEPENDS+= ${PYPKGPREFIX}-maxminddb>=2.2.0:../../geography/py-maxminddb
+DEPENDS+= ${PYPKGPREFIX}-requests>=2.24.0:../../devel/py-requests
+DEPENDS+= ${PYPKGPREFIX}-urllib3>=1.25.2:../../www/py-urllib3
+TEST_DEPENDS+= ${PYPKGPREFIX}-mocket>3.8.9:../../devel/py-mocket
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/geography/py-geoip2/PLIST b/geography/py-geoip2/PLIST
new file mode 100644
index 00000000000..24d658aa5e6
--- /dev/null
+++ b/geography/py-geoip2/PLIST
@@ -0,0 +1,31 @@
+@comment $NetBSD: PLIST,v 1.1 2022/08/24 12:54:28 wiz Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/geoip2/__init__.py
+${PYSITELIB}/geoip2/__init__.pyc
+${PYSITELIB}/geoip2/__init__.pyo
+${PYSITELIB}/geoip2/database.py
+${PYSITELIB}/geoip2/database.pyc
+${PYSITELIB}/geoip2/database.pyo
+${PYSITELIB}/geoip2/errors.py
+${PYSITELIB}/geoip2/errors.pyc
+${PYSITELIB}/geoip2/errors.pyo
+${PYSITELIB}/geoip2/mixins.py
+${PYSITELIB}/geoip2/mixins.pyc
+${PYSITELIB}/geoip2/mixins.pyo
+${PYSITELIB}/geoip2/models.py
+${PYSITELIB}/geoip2/models.pyc
+${PYSITELIB}/geoip2/models.pyo
+${PYSITELIB}/geoip2/py.typed
+${PYSITELIB}/geoip2/records.py
+${PYSITELIB}/geoip2/records.pyc
+${PYSITELIB}/geoip2/records.pyo
+${PYSITELIB}/geoip2/types.py
+${PYSITELIB}/geoip2/types.pyc
+${PYSITELIB}/geoip2/types.pyo
+${PYSITELIB}/geoip2/webservice.py
+${PYSITELIB}/geoip2/webservice.pyc
+${PYSITELIB}/geoip2/webservice.pyo
diff --git a/geography/py-geoip2/distinfo b/geography/py-geoip2/distinfo
new file mode 100644
index 00000000000..88081b8a71d
--- /dev/null
+++ b/geography/py-geoip2/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/08/24 12:54:28 wiz Exp $
+
+BLAKE2s (geoip2-4.6.0.tar.gz) = fe1604bf2f03553c3dc1822941eb17f2eabb76677a908698f05421ccaa5c2bcb
+SHA512 (geoip2-4.6.0.tar.gz) = 5b3b2f7ce181f762a896b3d17b6ccd7506ed55522ae6381d3a94e9084f0738e3d0d288b22eeed0e1fee6969c94745b7046c9914ac2f785e1a29630fa78ea947e
+Size (geoip2-4.6.0.tar.gz) = 355989 bytes