Hi team, This is a Python module for reading MaxMind DB files. The module includes both a pure Python reader and an optional C extension (requires net/libmaxminddb). MaxMind DB is a binary file format that stores data indexed by IP address subnets (IPv4 or IPv6). (https://dev.maxmind.com/)
I didn't test the C extension, went only Plain-Python.
All OK on amd64. Also works with a client outside ports/
py2 tests requires ipaddress and py3 tests requires
mock. There might be a better way to specify flavor specific
TEST_DEPENDS but this worked:
TEST_DEPENDS = devel/py-mock${MODPY_FLAVOR}\
net/py-ipaddress
Python 2.7.17, pytest-4.4.0, py-1.8.0, pluggy-0.11.0:
= 183 passed, 56 skipped
Python 3.7.6, pytest-4.4.0, py-1.8.0, pluggy-0.11.0
= 177 passed, 54 skipped
See attached for the complete tarball.
Comments? OK?
Thanks.
Regards,
--
clematis (0x7e96fd2400fe7b59)
databases_py-maxminddb-1.5.2.tar.gz
Description: application/tar-gz
