notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
All times are UTC
Ukraine
We just patched an SQL injection. There is no evidence it was exploited. That doesn’t mean it wasn’t. Please change your password. You might want to hold off on that change. We have a few more to fix.
Port details
python3 Meta-port for the Python interpreter 3.x
3_3 lang on this many watch lists=21 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 Version of this port present on the latest quarterly branch.
Maintainer: python@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2013-08-17 19:11:20
Last Update: 2022-09-07 21:58:51
Commit Hash: fb16dfe
People watching this port, also watch:: rsync, pkg, sqlite3, git, curl
Also Listed In: python
License: not specified in port
Description:
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb
pkg-plist: as obtained via: make generate-plist
Expand this list (6 items)
Collapse this list.
  1. bin/2to3-3
  2. bin/idle3
  3. bin/pydoc3
  4. bin/python3
  5. bin/python3-config
  6. libdata/pkgconfig/python3.pc
Collapse this list.
Dependency lines:
  • python3>0:lang/python3
To install the port:
cd /usr/ports/lang/python3/ && make install clean
To add the package, run one of these commands:
  • pkg install lang/python3
  • pkg install python3
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: python3
Flavors: there is no flavor information for this port.
distinfo:
There is no distinfo for this port.

Packages (timestamps in pop-ups are UTC):
python3
ABIlatestquarterly
FreeBSD:11:aarch643_33_3
FreeBSD:11:amd643_33_3
FreeBSD:11:armv63_33_3
FreeBSD:11:i3863_33_3
FreeBSD:11:mipspkg-falloutpkg-fallout
FreeBSD:11:mips643_33_3
FreeBSD:12:aarch643_33_3
FreeBSD:12:amd643_33_3
FreeBSD:12:armv63_33_3
FreeBSD:12:armv73_33_3
FreeBSD:12:i3863_33_3
FreeBSD:12:mipspkg-falloutpkg-fallout
FreeBSD:12:mips643_33_3
FreeBSD:12:powerpc64pkg-fallout3_3
FreeBSD:13:aarch643_33_3
FreeBSD:13:amd643_33_3
FreeBSD:13:armv63_33_3
FreeBSD:13:armv73_33_3
FreeBSD:13:i3863_33_3
FreeBSD:13:mipspkg-falloutpkg-fallout
FreeBSD:13:mips64pkg-falloutpkg-fallout
FreeBSD:13:powerpc643_33_3
FreeBSD:13:riscv64pkg-fallout3_3
FreeBSD:14:aarch643_3pkg-fallout
FreeBSD:14:amd643_3pkg-fallout
FreeBSD:14:armv63_3pkg-fallout
FreeBSD:14:armv73_3pkg-fallout
FreeBSD:14:i3863_3pkg-fallout
FreeBSD:14:mipspkg-falloutpkg-fallout
FreeBSD:14:mips64pkg-falloutpkg-fallout
FreeBSD:14:powerpc643_3pkg-fallout
FreeBSD:14:riscv643_3pkg-fallout
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Runtime dependencies:
  1. python3.9 : lang/python39
This port is required by:
for Build

Deleted ports which required this port:

Expand this list of 38 deleted ports
  1. accessibility/py3-atspi*
  2. audio/py3-pylast*
  3. deskutils/alacarte*
  4. devel/py3-asttokens*
  5. devel/py3-dbus*
  6. devel/py3-flake8*
  7. devel/py3-flake8-builtins*
  8. devel/py3-flake8-docstrings*
  9. devel/py3-flake8-import-order*
  10. devel/py3-flake8-polyfill*
  11. devel/py3-flake8-quotes*
  12. devel/py3-gobject3*
  13. devel/py3-hgtools*
  14. devel/py3-jsonschema*
  15. devel/py3-mccabe*
  16. devel/py3-protobuf*
  17. devel/py3-pycodestyle*
  18. devel/py3-pydocstyle*
  19. devel/py3-pyflakes*
  20. devel/py3-pytest-capturelog*
  21. devel/py3-pytest-runner*
  22. devel/py3-pytest-timeout*
  23. devel/py3-rubymarshal*
  24. devel/py3-setproctitle*
  25. devel/py3-voluptuous*
  26. devel/py3-xdg*
  27. dns/bind10*
  28. dns/py-dns3*
  29. graphics/py3-cairo*
  30. multimedia/mplayer2*
  31. print/py3-fonttools*
  32. security/py3-pbkdf2*
  33. security/py3-pyaes*
  34. textproc/py-beautifulsoup4*
  35. textproc/py3-libxml2*
  36. textproc/py3-qrcode*
  37. www/py3-aiohttp*
  38. www/py3-httplib2*
  39. Collapse this list of deleted ports.
for Run
  1. lang/python

Deleted ports which required this port:

Expand this list of 37 deleted ports
  1. accessibility/py3-atspi*
  2. audio/py3-pylast*
  3. deskutils/alacarte*
  4. devel/py3-asttokens*
  5. devel/py3-dbus*
  6. devel/py3-flake8*
  7. devel/py3-flake8-builtins*
  8. devel/py3-flake8-docstrings*
  9. devel/py3-flake8-import-order*
  10. devel/py3-flake8-polyfill*
  11. devel/py3-flake8-quotes*
  12. devel/py3-gobject3*
  13. devel/py3-hgtools*
  14. devel/py3-jsonschema*
  15. devel/py3-mccabe*
  16. devel/py3-meson*
  17. devel/py3-protobuf*
  18. devel/py3-pycodestyle*
  19. devel/py3-pydocstyle*
  20. devel/py3-pyflakes*
  21. devel/py3-pytest-capturelog*
  22. devel/py3-pytest-runner*
  23. devel/py3-pytest-timeout*
  24. devel/py3-rubymarshal*
  25. devel/py3-setproctitle*
  26. devel/py3-voluptuous*
  27. devel/py3-xdg*
  28. dns/bind10*
  29. dns/py-dns3*
  30. graphics/py3-cairo*
  31. print/py3-fonttools*
  32. security/py3-pbkdf2*
  33. security/py3-pyaes*
  34. textproc/py-beautifulsoup4*
  35. textproc/py3-libxml2*
  36. www/py3-aiohttp*
  37. www/py3-httplib2*
  38. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
Options name:
USES:
FreshPorts was unable to extract/find any pkg message
Master Sites:
  1. There is no master site for this port.
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2017-11-30
    Affects: */py*
    Author: mat@FreeBSD.org
    Reason: 
      Ports using Python via USES=python are now flavored.  All the py3-* ports
      have been removed and folded into their py-* master ports.
    
      People using Poudriere 3.2+ and binary packages do not have to do anything.
    
      For other people, to build the Python 3.6 version of, for example,
      databases/py-gdbm, you need to run:
    
        # make FLAVOR=py36 install
    
    
Expand this list (7 items)
  • 2016-10-14
    Affects: users of lang/python3
    Author: antoine@FreeBSD.org
    Reason: 
      The default version of python3 has changed from 3.4 to 3.5.
      If you wish to stick with older version, add "python3=3.4" to your
      DEFAULT_VERSIONS variable in /etc/make.conf.  To upgrade:
    
      If using portupgrade:
      # portupgrade -o lang/python35 lang/python34
    
      If using portmaster:
      # portmaster -o lang/python35 lang/python34
    
    
  • 2015-01-11
    Affects: users of lang/python3
    Author: demon@FreeBSD.org
    Reason: 
      The default version of python3 has changed from 3.3 to 3.4.
      If you wish to stick with older version, add "python3=3.3" to your
      DEFAULT_VERSIONS variable in /etc/make.conf.  To upgrade:
    
      If using portupgrade:
      # portupgrade -o lang/python34 lang/python33
    
      If using portmaster:
      # portmaster -o lang/python34 lang/python33
    
    
  • 2013-10-03
    Affects: users of lang/python* and ports
    Author: mva@FreeBSD.org
    Reason: 
      The default versions of lang/python* have been changed to support the
      new DEFAULT_VERSIONS variable.
    
      PYTHON_DEFAULT_VERSION, PYTHON2_DEFAULT_VERSION and
      PYTHON3_DEFAULT_VERSION are deprecated. If you have set them in your
      make.conf, you should change them something like
    
      DEFAULT_VERSIONS=python=2.7 python2=2.7 python3=3.3
    
    
  • 2013-08-17
    Affects: users of lang/python*
    Author: mva@FreeBSD.org
    Reason: 
      The lang/python* ports do not install links to 2to3, idle, pydoc, python
      and other binaries anymore. Those were moved into the lang/python2 and
      lang/python3 ports respectively. This change brings us closer to the goal
      of making Python ports usable with different Python versions at the same
      time.
    
      If you have lang/python2* or lang/python3* installed, please also install
      the associated lang/python2 or lang/python3 port.
    
      1. update lang/python2* and/or lang/python3*
      2. install lang/python2 and/or lang/python3
      3. install/update lang/python
    
    
  • 2011-09-25
    Affects: users of lang/python*
    Author: lwhsu@FreeBSD.org
    Reason: 
      The HUGE_STACK_SIZE option has been removed, now Python will use default
      thread stack size of the system.  If you want to change it, specify it
      with -DTHREAD_STACK_SIZE=<size> in CFLAGS.
    
    
  • 2011-03-04
    Affects: users of lang/python* and py-*
    Author: miwi@FreeBSD.org
    Reason: 
      The default version of Python has been changed from 2.6.x to 2.7.x.
      If you have 2.6.x installed, perform an upgrade of lang/python26 to
      lang/python27 with one of the following commands:
    
      If using portupgrade:
      # portupgrade -o lang/python27 lang/python26
    
      If using portmaster:
      # portmaster -o lang/python27 lang/python26
    
      If you want to retain 2.6.x as default Python version, set the
      PYTHON_DEFAULT_VERSION variable to 'python2.6' (without quotes) in
      /etc/make.conf, then go to lang/python and perform the following
      command:
    
      # portupgrade -R python
    
      Once the installed Python has been updated to 2.7, by using the
      method above, it is required to run the upgrade-site-packages target in
      lang/python to assure that site-packages are made available to the new
      Python version.
    
      If using portupgrade:
      # cd /usr/ports/lang/python && make upgrade-site-packages
    
      If using portmaster:
      # cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER
    
      The portmaster case can take quite some time to complete due to the lack of
      cached information that the portupgrade suite uses (specifically pkg_which).
      This is not the fault of portmaster.
    
    
  • 2009-06-08
    Affects: users of lang/python* and py-*
    Author: miwi@FreeBSD.org
    Reason: 
      The default version of Python has been changed from 2.5.x to 2.6.x.
      If you have 2.5.x installed, perform an upgrade of lang/python25 to
      lang/python26 with one of the following commands:
    
      If using portupgrade:
      # portupgrade -o lang/python26 lang/python25
    
      If using portmaster:
      # portmaster -o lang/python26 lang/python25
    
      If you want to retain 2.5.x as default Python version, set the
      PYTHON_DEFAULT_VERSION variable to 'python2.5' (without quotes) in
      /etc/make.conf, then go to lang/python and perform the following
      command:
    
      # portupgrade -R python
    
      Once the installed Python has been updated to 2.6, by using the
      method above, it is required to run the upgrade-site-packages target in
      lang/python to assure that site-packages are made available to the new
      Python version.
    
      If using portupgrade:
      # cd /usr/ports/lang/python && make upgrade-site-packages
    
      If using portmaster:
      # cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER
    
      The portmaster case can take quite some time to complete due to the lack of
      cached information that the portupgrade suite uses (specifically pkg_which).
      This is not the fault of portmaster.
    
    
  • Collapse this list.

Number of commits found: 24

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
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)
3_3
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)
3_3
24 Jul 2021 20:23:06
commit hash:a0e02daf64cc89ceb2b068c143bcca27d67e0a21commit hash:a0e02daf64cc89ceb2b068c143bcca27d67e0a21commit hash:a0e02daf64cc89ceb2b068c143bcca27d67e0a21commit hash:a0e02daf64cc89ceb2b068c143bcca27d67e0a21 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
lang/python3: Clean up

- Remove leading definite article from COMMENT
- Update USES=python
- Remove unneeded use of PYTHON_MAJOR_VER because this is for python 3.x
- Merge the symbolic link of 2to3 and python to the .for loop
3_3
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
3_3
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.
3_3
09 Jan 2020 13:33:08
Revision:522489Original commit files touched by this commit
mat search for other commits by this committer
Garbage collecte unusable things from lang/python{,2,3} metaports.
3_3
09 Jan 2020 13:33:04
Revision:522488Original commit files touched by this commit
mat search for other commits by this committer
Simplify the lang/python{2,3} metaports.

Reviewed by:	antoine
3_3
09 Oct 2019 11:53:57
Revision:514140Original commit files touched by this commit
bapt search for other commits by this committer
Drop the ipv6 virtual category for l* category as it is not relevant anymore
3_3
08 Mar 2019 07:20:40
Revision:495025Original commit files touched by this commit
antoine search for other commits by this committer
Add a not to a few meta ports: do not depend on these ports
3_3
01 Feb 2019 21:42:29
Revision:491864Original commit files touched by this commit
sunpoet search for other commits by this committer
Add NO_ARCH
3_3
26 Jan 2019 12:43:57
Revision:491286Original commit files touched by this commit
sunpoet search for other commits by this committer
Update WWW
3_3
21 Jan 2018 10:51:29
Revision:459584Original commit files touched by this commit
mat search for other commits by this committer
Remove PYTHON*_DEFAULT_VERSION.
3_3
15 May 2015 03:48:07
Revision:386379Original commit files touched by this commit
bdrewery search for other commits by this committer
Remove dead PYTHON_NO_DEPENDS. It has not been needed or supported since
USES=python was added in r364450.
3_3
10 Jan 2015 23:15:28
Revision:376731Original commit files touched by this commit
demon search for other commits by this committer
Switch default python3 version from 3.3 to 3.4.
Bump PORTREVISIONs for the affected ports.

Exp-run by:	antoine
3_2
20 Oct 2014 17:52:17
Revision:371288Original commit files touched by this commit
mva search for other commits by this committer
- Convert ports of irc/ and lang/ to new USES=python

Approved by:	portmgr (implicit)
3_2
01 Sep 2014 13:03:25
Revision:366875Original commit files touched by this commit
bapt search for other commits by this committer
Remove support for pkg_install
Merge back bsd.pkgng.mk into bsd.port.mk
Add a note about @stopdaemon not being supported anymore

With hat:	portmgr
Differential Revision:	https://reviews.freebsd.org/D693
3_2
04 Aug 2014 05:49:36
Revision:363965Original commit files touched by this commit
mva search for other commits by this committer
- Fix and remove stale symlinks after the lang/python* cleanup

Reported by:	Scott Allendorf <scott-allendorf@uiowa.edu>
3_1
25 Jan 2014 09:15:12
Revision:340997Original commit files touched by this commit
mva search for other commits by this committer
- Do not use absolute source paths for the symlinks to the stagedir

Noticed by:	danfe
3_1
25 Jan 2014 08:46:11
Revision:340996Original commit files touched by this commit
mva search for other commits by this committer
- Enable stagedir support
3_1
12 Dec 2013 08:12:14
Revision:336250Original commit files touched by this commit
kwm search for other commits by this committer
Install python[23].pc files for the lang/python[23] ports.

Discussed with:	koobs@
Approved by:	python@ (wg@)
3
20 Sep 2013 19:53:10
Revision:327741Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
lang)
3
01 Sep 2013 15:43:35
Revision:325867Original commit files touched by this commit
mva search for other commits by this committer
- improve the python meta port descriptions

Requested by:	demon@
Reviewed by:	demon@
3
18 Aug 2013 15:25:24
Revision:324925Original commit files touched by this commit
mva search for other commits by this committer
- Avoid circular dependencies due to the previous bsd.python.mk change
3
17 Aug 2013 19:10:59
Revision:324864Original commit files touched by this commit
mva search for other commits by this committer
- Move the symlink magic for the default python version into lang/python
  and lang/python2 and lang/python3. This change brings us closer to the goal
  of making Python ports usable with different Python versions at the same
  time.
- Add a new lang/python2 port to handle the symlinks for bin/python2,
  bin/idle2, bin/pydoc2 and so on.
- Add a new lang/python3 port to handle the symlinks for bin/python3,
  bin/idle3, bin/pydoc3 and so on.
- Bump the PORTREVISION on all lang/python* ports.

Number of commits found: 24