notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
py-GeoIP2 MaxMind GeoIP2 Python API
4.7.0 net on this many watch lists=3 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 4.7.0Version of this port present on the latest quarterly branch.
Maintainer: olivier@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2015-05-15 18:15:41
Last Update: 2023-06-27 19:34:34
Commit Hash: 3d9a815
People watching this port, also watch:: p5-Encode-IMAPUTF7, memcached, py311-APScheduler, autoconf, p5-Sort-Naturally
Also Listed In: geography python
License: APACHE20
WWW:
https://github.com/maxmind/GeoIP2-python
Description:
Python API to the GeoIP2 library for obtaining the country, region, city, latitude, and longitude of any IP address.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}GeoIP2>0:net/py-GeoIP2@${PY_FLAVOR}
To install the port:
cd /usr/ports/net/py-GeoIP2/ && make install clean
To add the package, run one of these commands:
  • pkg install net/py-GeoIP2
  • pkg install py39-GeoIP2
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py39-GeoIP2 listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py39-GeoIP2
Package flavors (<flavor>: <package>)
  • py39: py39-GeoIP2
distinfo:
TIMESTAMP = 1683814585 SHA256 (maxmind-GeoIP2-python-v4.7.0_GH0.tar.gz) = c4d3004da3d0c4f0aa43e068c3aad3892daedf9902f41b5b06179841c295fff0 SIZE (maxmind-GeoIP2-python-v4.7.0_GH0.tar.gz) = 40541

Packages (timestamps in pop-ups are UTC):
py37-GeoIP2
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--4.1.0---4.1.0-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
 
py39-GeoIP2
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--4.7.0--4.7.04.7.04.7.0
FreeBSD:14:latest--4.6.0--4.7.0-4.7.0
FreeBSD:14:quarterly-----4.7.04.7.04.7.0
FreeBSD:15:latest--n/a-n/a4.7.04.7.04.7.0
 
py311-GeoIP2
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest4.7.04.7.0-4.7.04.7.0---
FreeBSD:13:quarterly4.7.04.7.0-4.7.04.7.0---
FreeBSD:14:latest4.7.04.7.0-4.7.04.7.0---
FreeBSD:14:quarterly4.7.04.7.0-4.7.04.7.0---
FreeBSD:15:latest4.7.04.7.0n/a4.7.0n/a---
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  2. python3.9 : lang/python39
Test dependencies:
  1. python3.9 : lang/python39
Runtime dependencies:
  1. py39-aiohttp>=3.6.2 : www/py-aiohttp@py39
  2. py39-maxminddb>=2.0.0 : net/py-maxminddb@py39
  3. py39-requests>=2.24.0 : www/py-requests@py39
  4. py39-urllib3>=1.25.2 : net/py-urllib3@py39
  5. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  6. python3.9 : lang/python39
This port is required by:
for Build
  1. net/dshell
for Run
  1. dns/py-dns-crawler
  2. finance/odoo
  3. irc/py-sopel
  4. net/dshell

Configuration Options:
No options to configure
Options name:
net_py-GeoIP2
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/maxmind/GeoIP2-python/tar.gz/v4.7.0?dummy=/
Collapse this list.

Number of commits found: 27

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
4.7.0
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
4.7.0
11 May 2023 20:45:17
commit hash: a3ada6ecdacfea64e19b7a6413c551fddb1aa72acommit hash: a3ada6ecdacfea64e19b7a6413c551fddb1aa72acommit hash: a3ada6ecdacfea64e19b7a6413c551fddb1aa72acommit hash: a3ada6ecdacfea64e19b7a6413c551fddb1aa72a files touched by this commit
Olivier Cochard (olivier) search for other commits by this committer
net/py-GeoIP2: Update to 4.7.0
4.6.0
11 Oct 2022 13:42:18
commit hash: 68a9f0f6427260b2f7f9f790038c8161adabc6dfcommit hash: 68a9f0f6427260b2f7f9f790038c8161adabc6dfcommit hash: 68a9f0f6427260b2f7f9f790038c8161adabc6dfcommit hash: 68a9f0f6427260b2f7f9f790038c8161adabc6df files touched by this commit
Olivier Cochard (olivier) search for other commits by this committer
net/py-GeoIP2: Update to 4.6.0

Reported by:	jadawin
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
4.2.0
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
4.2.0
20 Jul 2022 14:22:37
commit hash: 6a378e5659b93de6dbe8956246fb3bf971677624commit hash: 6a378e5659b93de6dbe8956246fb3bf971677624commit hash: 6a378e5659b93de6dbe8956246fb3bf971677624commit hash: 6a378e5659b93de6dbe8956246fb3bf971677624 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
net: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  <ports@c0decafe.net>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Straup Cope <ascope@cpan.org>
  *  Aaron Zauner <az_mail@gmx.at>
  *  Adam Jette <jettea46@yahoo.com>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Alan Eldridge <alane@geeksrus.net>
  *  Alex Bakhtin <Alex.Bakhtin@gmail.com>
  *  Alex Deiter <Alex.Deiter@Gmail.COM>
  *  Alex Dupre <ale@FreeBSD.org>
  *  Alex Dupre <sysadmin@alexdupre.com>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
4.2.0
23 May 2021 20:10:51
commit hash: 8c11fd9d43be692debfe316e2d46cdaee901ddfbcommit hash: 8c11fd9d43be692debfe316e2d46cdaee901ddfbcommit hash: 8c11fd9d43be692debfe316e2d46cdaee901ddfbcommit hash: 8c11fd9d43be692debfe316e2d46cdaee901ddfb files touched by this commit
Olivier Cochard (olivier) search for other commits by this committer
net/py-GeoIP2: update to 4.2.0

PR:	250923
4.1.0
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
4.1.0
02 Oct 2020 13:34:06
Revision:551207Original commit files touched by this commit
olivier search for other commits by this committer
Update to 4.1.0

Reported by:	portscout
4.0.2
02 Aug 2020 16:48:58
Revision:543977Original commit files touched by this commit
olivier search for other commits by this committer
Update to 4.0.2

Reported by:	portscout
3.0.0
24 Jul 2020 21:07:23
Revision:543380Original commit files touched by this commit
antoine search for other commits by this committer
Unbreak bulk -a
3.0.0
03 Feb 2020 21:50:51
Revision:525100Original commit files touched by this commit
olivier search for other commits by this committer
Update to 3.0.0

PR:		243842
Submitted by:	Andrea Venturoli <ml@netfence.it>
2.9.0
28 Jun 2018 13:46:13
Revision:473496Original commit files touched by this commit
olivier search for other commits by this committer
Update to 2.9.0
2.8.0
20 Jun 2018 17:05:44
Revision:472884Original commit files touched by this commit
mat search for other commits by this committer
Use PY_FLAVOR for dependencies.

FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2.8.0
13 Apr 2018 06:56:07
Revision:467210Original commit files touched by this commit
olivier search for other commits by this committer
Update to 2.8.0
2.7.0
13 Mar 2018 22:12:31
Revision:464436Original commit files touched by this commit
olivier search for other commits by this committer
Update to 2.7.0
2.6.0
30 Nov 2017 15:50:34
Revision:455210Original commit files touched by this commit Sanity Test Failure
mat search for other commits by this committer
Convert Python ports to FLAVORS.

  Ports using USE_PYTHON=distutils are now flavored.  They will
  automatically get flavors (py27, py34, py35, py36) depending on what
  versions they support.

  There is also a USE_PYTHON=flavors for ports that do not use distutils
  but need FLAVORS to be set.  A USE_PYTHON=noflavors can be set if
  using distutils but flavors are not wanted.

  A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
  added to cope with Python ports that did not have the Python
  PKGNAMEPREFIX but are flavored.

  USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.6.0
31 Oct 2017 06:32:46
Revision:453216Original commit files touched by this commit
olivier search for other commits by this committer
Update to 2.6.0
2.5.0
10 May 2017 09:29:15
Revision:440550Original commit files touched by this commit
olivier search for other commits by this committer
Update to 2.5.0

Sponsored by:	Orange
2.4.2
16 Dec 2016 13:44:01
Revision:428679Original commit files touched by this commit
olivier search for other commits by this committer
Update to 2.4.2

Approved by:	tabthorpe
Differential Revision:	https://reviews.freebsd.org/D8800
2.4.0
15 Jun 2016 19:15:07
Revision:416934Original commit files touched by this commit
olivier search for other commits by this committer
Update to 2.4.0

Approved by:	jadawin (mentor)
Differential Revision:	https://reviews.freebsd.org/D6839
2.2.0
01 Apr 2016 14:16:20
Revision:412348Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.

With hat:	portmgr
Sponsored by:	Absolight
2.2.0
17 Feb 2016 10:42:08
Revision:409034Original commit files touched by this commit
olivier search for other commits by this committer
Update my email for ports I maintain

Approved by:	jadawin
Differential Revision:	https://reviews.freebsd.org/D5309
2.2.0
29 Nov 2015 09:54:26
Revision:402588Original commit files touched by this commit
sunpoet search for other commits by this committer
- Update to 2.2.0
- Update and sort RUN_DEPENDS
- Add NO_ARCH

Changes:	https://github.com/maxmind/GeoIP2-python/releases
PR:		204870
Submitted by:	sunpoet (myself)
Approved by:	Olivier Cochard-Labbe <olivier@cochard.me> (maintainer)
2.1.0
15 May 2015 20:24:49
Revision:386478Original commit files touched by this commit
xmj search for other commits by this committer
net/py-maxminddb: add port

Python module for reading MaxMind DB files. The module includes both a pure
Python reader and a C extension.

WWW: https://github.com/maxmind/MaxMind-DB-Reader-pytho

While there, add this port as run-dependency  for net/py-GeoIP2.

PR:		199814
Submitted by:	Olivier Cochard-Labbe <olivier@cochard.me>
2.1.0
15 May 2015 18:37:58
Revision:386470Original commit files touched by this commit
mat search for other commits by this committer
Don't define DISTNAME with USE_GITHUB.

Sponsored by:	Absolight
2.1.0
15 May 2015 18:08:36
Revision:386466Original commit files touched by this commit
xmj search for other commits by this committer
net/py-GeoIP2: add port

Python API to the GeoIP2 library for obtaining the country, region, city,
latitude, and longitude of any IP address.

WWW: https://github.com/maxmind/GeoIP2-python

PR:		199815
Submitted by:	Olivier Cochard-Labbe <olivier@cochard.me>

Number of commits found: 27