Port details
py-iso3166 Standalone ISO 3166-1 country definitions
3.0.0 textproc Σ=0 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 2.1.1_1Version of this port present on the latest quarterly branch.
Maintainer: takefu@airport.fm search for ports maintained by this maintainer
Port Added: 2020-06-02 13:14:58
Last Update: 2026-11-05 18:51:39
Commit Hash: 3da4bc9
Also Listed In: python
License: MIT
WWW:
https://pypi.python.org/pypi/iso3166
Description: #
ISO 3166-1 defines two-letter, three-letter, and three-digit country codes. python-iso3166 is a self-contained module that converts between these codes and the corresponding country name.
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.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}iso3166>0:textproc/py-iso3166@${PY_FLAVOR}
To install the port: #
cd /usr/ports/textproc/py-iso3166/ && make install clean
To add the package, run one of these commands:
  • pkg install textproc/py-iso3166
  • pkg install py312-iso3166
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 py312-iso3166 listed in the above command, you can pick from the names under the Packages section.
To download the package and its dependencies for another FreeBSD version or architecture, without installing it:
  • pkg -o ABI=FreeBSD:15:$(pkg config abi | cut -d: -f3) fetch -d -o . py312-iso3166
Change 15 to the FreeBSD major version you want; the rest keeps your current architecture. The files are saved under ./All/. Copy them to the other machine and install them there with pkg add. Ignore any warning that suggests pkg bootstrap -f. The quarterly or latest branch comes from your own repository configuration, not from this page.
PKGNAME: py312-iso3166
Package flavors (<flavor>: <package>) #
  • py312: py312-iso3166
distinfo: #
TIMESTAMP = 1788445671 SHA256 (iso3166-3.0.0.tar.gz) = e567b55d169211d4d499c73307350da15df5d38248e60bae559609570c42ef55 SIZE (iso3166-3.0.0.tar.gz) = 10295

Packages (timestamps in pop-ups are UTC): #
py311-iso3166
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest---2.1.1_1-
FreeBSD:14:quarterly---2.1.1_1-
FreeBSD:15:latest--n/a2.1.1_1n/a
FreeBSD:15:quarterly--n/a-n/a
FreeBSD:16:latest CURRENT--n/a-n/a
 

py312-iso3166
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest3.0.03.0.0--3.0.0
FreeBSD:14:quarterly2.1.1_12.1.1_1--2.1.1_1
FreeBSD:15:latest3.0.03.0.0n/a-n/a
FreeBSD:15:quarterly2.1.1_12.1.1_1n/a-n/a
FreeBSD:16:latest CURRENT3.0.03.0.0n/a-n/a
 

Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. py312-uv-build>=0.12.5 : devel/py-uv-build@py312
  2. python3.12 : lang/python312
  3. py312-build>=0 : devel/py-build@py312
  4. py312-installer>=0 : devel/py-installer@py312
Test dependencies: #
  1. py312-pytest>=7,1 : devel/py-pytest@py312
  2. python3.12 : lang/python312
Runtime dependencies: #
  1. python3.12 : lang/python312
This port is required by: #
for Run #
  1. www/web2ldap

Configuration Options: #
No options to configure
Options name: #
textproc_py-iso3166
USES: #
python
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/i/iso3166/
  2. https://pypi.org/packages/source/i/iso3166/
Collapse this list.

Number of commits found: 11 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
3.0.0
05 Nov 2026 18:51:39
commit hash: 3da4bc9fc70c1dcd1e51a23a6f9fe96029846f34commit hash: 3da4bc9fc70c1dcd1e51a23a6f9fe96029846f34commit hash: 3da4bc9fc70c1dcd1e51a23a6f9fe96029846f34commit hash: 3da4bc9fc70c1dcd1e51a23a6f9fe96029846f34 files touched by this commit
Yusuf Yaman (nxjoseph) search for other commits by this committer
Author: takefu
textproc/py-iso3166: Update 2.1.1 => 3.0.0

Changelog:
* Migrate build system to uv.
* Update test matrix for current versions of Python 3.
* Entry "Nauru" changed to "Naoero" (effective 2026-08-26).
https://github.com/deactivated/python-iso3166/blob/master/CHANGES

PR:		300529
Approved by:	osa, vvd (mentors, implicit)
2.1.1_1
08 Mar 2025 04:05:21
commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal

Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
2.1.1
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>
2.1.1
11 Jan 2023 15:58:34
commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
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)
2.1.1
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)
2.1.1
13 Jul 2022 10:05:49
commit hash: c8c35c6d24bf110a38b4894f45113cfe80f7dd76commit hash: c8c35c6d24bf110a38b4894f45113cfe80f7dd76commit hash: c8c35c6d24bf110a38b4894f45113cfe80f7dd76commit hash: c8c35c6d24bf110a38b4894f45113cfe80f7dd76 files touched by this commit
Nuno Teixeira (eduardo) search for other commits by this committer
Author: Takefu
textproc/py-iso3166: Update to 2.1.1

 - switch to DISTVERSION

ChangeLog:
https://github.com/deactivated/python-iso3166/blob/master/CHANGES

PR:		265187
1.0.1
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
1.0.1
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.
1.0.1
28 Dec 2020 23:02:15
Revision:559531commit hash: aa7a6c429ea62d972467d6755fa7a6f52256b452commit hash: aa7a6c429ea62d972467d6755fa7a6f52256b452commit hash: aa7a6c429ea62d972467d6755fa7a6f52256b452commit hash: aa7a6c429ea62d972467d6755fa7a6f52256b452Original commit files touched by this commit
antoine search for other commits by this committer
Drop python 2.7 support from a few ports

With hat:	portmgr
1.0.1
02 Jun 2020 13:12:22
Revision:537548commit hash: 089344e3687a5782bfcb928c1fc5c28b2299ce3fcommit hash: 089344e3687a5782bfcb928c1fc5c28b2299ce3fcommit hash: 089344e3687a5782bfcb928c1fc5c28b2299ce3fcommit hash: 089344e3687a5782bfcb928c1fc5c28b2299ce3fOriginal commit files touched by this commit
mandree search for other commits by this committer
New port: textproc/py-iso3166: Standalone ISO 3166-1 country definitions

Self-contained ISO 3166-1 country definitions.

WWW: https://pypi.python.org/pypi/iso3166

First user: multimedia/streamlink

(kevans@ asked me to handle the commit on Sat May 30 via IRC,
I missed it, and he asked again today.)

PR:		241565
Submitted by:	takefu@airport.fm (maintainer)
Reviewed by:	koobs@, vvd@unislabs.com

Number of commits found: 11