notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)

Two new features

Two two features were added on 2020-05-30:
  1. Repology links - each port now has a link to repology.org. See issue 148 for details.
  2. Ports I maintain report - port maintainers can now subscribe to a daily report of commits to the ports they maintain. See Watch ports I maintain at Report Subscriptions. Details at issue 138
Port details
python2 The "meta-port" for version 2 of the Python interpreter
2_3 lang on this many watch lists=35 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. 2_3Version of this port present on the latest quarterly branch.
Deprecated DEPRECATED: EOLed upstream
Expiration Date EXPIRATION DATE: 2020-12-31
Maintainer: python@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2013-08-17 19:11:20
Last Update: 2020-01-09 13:33:04
SVN Revision: 522488

People watching this port, also watch: python27, pkg, dialog4ports, expat, ca_root_nss

Also Listed In: python
License: not specified in port
Description:
SVNWeb : Homepage
pkg-plist: as obtained via: make generate-plist
Expand this list (6 items)
  1. bin/2to3-2
  2. bin/idle2
  3. bin/pydoc2
  4. bin/python2
  5. bin/python2-config
  6. libdata/pkgconfig/python2.pc
Collapse this list.
Dependency lines:
  • python2>0:lang/python2
To install the port: cd /usr/ports/lang/python2/ && make install clean
To add the package: pkg install python2
PKGNAME: python2
Flavors: there is no flavor information for this port.
distinfo:
There is no distinfo for this port.
Packages:
python2
ABIlatestquarterly
FreeBSD:11:aarch642_32_3
FreeBSD:11:amd642_32_3
FreeBSD:11:armv62_32_3
FreeBSD:11:i3862_32_3
FreeBSD:11:mips2_32_3
FreeBSD:11:mips642_32_3
FreeBSD:12:aarch642_32_3
FreeBSD:12:amd642_32_3
FreeBSD:12:armv62_32_3
FreeBSD:12:armv72_32_3
FreeBSD:12:i3862_32_3
FreeBSD:12:mips2_32_3
FreeBSD:12:mips642_32_3
FreeBSD:12:powerpc642_32_3
FreeBSD:13:aarch642_3-
FreeBSD:13:amd642_3-
FreeBSD:13:armv62_3-
FreeBSD:13:armv72_3-
FreeBSD:13:i3862_3-
FreeBSD:13:mips2_3-
FreeBSD:13:mips64--
FreeBSD:13:powerpc642_3-
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Runtime dependencies:
  1. python2.7 : lang/python27
This port is required by:
for Build

    Deleted ports which required this port:

    Expand this list of 135 deleted ports
    1. accessibility/at-spi*
    2. audio/py-eyed3-06*
    3. audio/pysol-sound-server*
    4. audio/ruby-xmms2*
    5. audio/sonice*
    6. converters/py-bencode*
    7. databases/grass*
    8. databases/grass6*
    9. databases/mysql-workbench52*
    10. databases/postgresql84-plpython*
    11. databases/py-MySQLdb51*
    12. databases/py-memcached*
    13. databases/py-mssql*
    14. databases/py-sqlkit*
    15. databases/py-swiftclient*
    16. deskutils/ontv*
    17. devel/clint*
    18. devel/eric4*
    19. devel/llvm31*
    20. devel/llvm32*
    21. devel/py-Jinja*
    22. devel/py-cmdln*
    23. devel/py-gyp-devel*
    24. devel/py-ode*
    25. devel/py-pyparsing15*
    26. devel/py-snack*
    27. devel/py-turbojson*
    28. devel/py-twisted152*
    29. devel/py-twistedCore*
    30. devel/py-twistedRunner*
    31. devel/ros*
    32. devel/ros-common_msgs*
    33. devel/ros-documentation*
    34. devel/ros-nxt*
    35. devel/ros_comm*
    36. dns/py-twistedNames*
    37. editors/zim*
    38. emulators/qemu-cheri128*
    39. emulators/qemu-cheri128m*
    40. emulators/virtualbox-ose-legacy*
    41. finance/tryton*
    42. french/eric4*
    43. games/libretro-cores*
    44. german/eric4*
    45. graphics/dri*
    46. graphics/gbm*
    47. graphics/libEGL*
    48. graphics/libGL*
    49. graphics/libglapi*
    50. graphics/libglesv2*
    51. graphics/py-pyggel*
    52. graphics/pyggel*
    53. irc/weechat-devel*
    54. lang/pypy-devel*
    55. lang/pypy3-devel*
    56. mail/py-turbomail*
    57. mail/py-twistedMail*
    58. mail/rss2email*
    59. multimedia/clive1*
    60. multimedia/plexhometheater*
    61. multimedia/xbmc*
    62. multimedia/xbmc-pvr*
    63. net/cyphesis*
    64. net/py-ldap2*
    65. net/py-soappy-devel*
    66. net/py-twistedPair*
    67. net/samba4*
    68. net/samba41*
    69. net/samba42*
    70. net/samba43*
    71. net/xorp-devel*
    72. net-im/pwytter*
    73. net-im/py-twistedWords*
    74. news/py-twistedNews*
    75. ports-mgmt/gnome-packagekit*
    76. print/py-reportlab2*
    77. russian/eric4*
    78. security/py-pyme*
    79. security/py-twistedConch*
    80. security/py-yara-editor*
    81. sysutils/py-iocage*
    82. sysutils/py-salt-api*
    83. sysutils/py-salt-cloud*
    84. textproc/py-4suite*
    85. textproc/py-stripogram*
    86. textproc/py-twistedLore*
    87. www/closure-linter*
    88. www/iojs*
    89. www/mod_wsgi2*
    90. www/node-devel*
    91. www/node010*
    92. www/node012*
    93. www/node5*
    94. www/node7*
    95. www/npm012*
    96. www/py-GinGin*
    97. www/py-Lightbox*
    98. www/py-django-app-plugins*
    99. www/py-django-pipeline12*
    100. www/py-django-pipeline13*
    101. www/py-django-pipeline14*
    102. www/py-django14*
    103. www/py-feedfinder*
    104. www/py-openssl-proxy*
    105. www/py-postmarkup*
    106. www/py-turbogears*
    107. www/py-twistedWeb*
    108. www/py-utidy*
    109. www/py-webware*
    110. www/py-webware-component*
    111. www/quixote*
    112. www/reviewboard*
    113. www/session2*
    114. www/trac-addcomment*
    115. www/trac-batchmodify*
    116. www/trac-calendar*
    117. www/trac-codetags*
    118. www/trac-down*
    119. www/trac-hierwiki*
    120. www/trac-macropost*
    121. www/trac-nav*
    122. www/trac-pagelist*
    123. www/trac-pagetopdf*
    124. www/trac-pendingticket*
    125. www/trac-remind*
    126. www/trac-robotstxt*
    127. www/trac-simpleticket*
    128. www/trac-wantedpages*
    129. www/trac-wikinegotiator*
    130. www/varnish-libvmod-header*
    131. www/varnish-libvmod-saintmode*
    132. x11/gnome-panel*
    133. x11/hotwire-shell*
    134. x11-clocks/gdesklets-clock*
    135. x11-toolkits/py-gnome-desktop*
    136. Collapse this list of deleted ports.
for Run

    Deleted ports which required this port:

    Expand this list of 120 deleted ports
    1. accessibility/at-spi*
    2. audio/py-eyed3-06*
    3. audio/pysol-sound-server*
    4. audio/sonice*
    5. chinese/ydict*
    6. converters/py-bencode*
    7. databases/grass*
    8. databases/grass6*
    9. databases/mysql-workbench52*
    10. databases/postgresql84-plpython*
    11. databases/py-MySQLdb51*
    12. databases/py-memcached*
    13. databases/py-mssql*
    14. databases/py-sqlkit*
    15. databases/py-swiftclient*
    16. deskutils/ontv*
    17. devel/clint*
    18. devel/eric4*
    19. devel/llvm32*
    20. devel/py-Jinja*
    21. devel/py-cmdln*
    22. devel/py-gyp-devel*
    23. devel/py-ode*
    24. devel/py-pyparsing15*
    25. devel/py-snack*
    26. devel/py-turbojson*
    27. devel/py-twisted152*
    28. devel/py-twistedCore*
    29. devel/py-twistedRunner*
    30. devel/ros*
    31. devel/ros-common_msgs*
    32. devel/ros-documentation*
    33. devel/ros-nxt*
    34. devel/ros_comm*
    35. dns/py-twistedNames*
    36. editors/zim*
    37. emulators/virtualbox-ose-legacy*
    38. finance/tryton*
    39. french/eric4*
    40. games/libretro-cores*
    41. german/eric4*
    42. graphics/py-pyggel*
    43. graphics/pyggel*
    44. irc/weechat-devel*
    45. mail/gml*
    46. mail/py-turbomail*
    47. mail/py-twistedMail*
    48. mail/rss2email*
    49. multimedia/clive1*
    50. multimedia/plexhometheater*
    51. multimedia/xbmc*
    52. multimedia/xbmc-pvr*
    53. net/cyphesis*
    54. net/py-ldap2*
    55. net/py-soappy-devel*
    56. net/py-twistedPair*
    57. net/samba4*
    58. net/samba41*
    59. net/samba42*
    60. net/samba43*
    61. net-im/pwytter*
    62. net-im/py-twistedWords*
    63. news/py-twistedNews*
    64. print/py-reportlab2*
    65. russian/eric4*
    66. security/py-pyme*
    67. security/py-twistedConch*
    68. security/py-yara-editor*
    69. sysutils/py-iocage*
    70. sysutils/py-salt-api*
    71. sysutils/py-salt-cloud*
    72. textproc/py-4suite*
    73. textproc/py-stripogram*
    74. textproc/py-twistedLore*
    75. www/closure-linter*
    76. www/iojs*
    77. www/mod_wsgi2*
    78. www/node-devel*
    79. www/node010*
    80. www/node012*
    81. www/node5*
    82. www/npm012*
    83. www/py-GinGin*
    84. www/py-Lightbox*
    85. www/py-django-app-plugins*
    86. www/py-django-pipeline12*
    87. www/py-django-pipeline13*
    88. www/py-django-pipeline14*
    89. www/py-django14*
    90. www/py-feedfinder*
    91. www/py-openssl-proxy*
    92. www/py-postmarkup*
    93. www/py-turbogears*
    94. www/py-twistedWeb*
    95. www/py-utidy*
    96. www/py-webware*
    97. www/py-webware-component*
    98. www/quixote*
    99. www/reviewboard*
    100. www/session2*
    101. www/trac-addcomment*
    102. www/trac-batchmodify*
    103. www/trac-calendar*
    104. www/trac-codetags*
    105. www/trac-down*
    106. www/trac-hierwiki*
    107. www/trac-macropost*
    108. www/trac-nav*
    109. www/trac-pagelist*
    110. www/trac-pagetopdf*
    111. www/trac-pendingticket*
    112. www/trac-remind*
    113. www/trac-robotstxt*
    114. www/trac-simpleticket*
    115. www/trac-wantedpages*
    116. www/trac-wikinegotiator*
    117. x11/gnome-panel*
    118. x11/hotwire-shell*
    119. x11-clocks/gdesklets-clock*
    120. x11-toolkits/py-gnome-desktop*
    121. 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

USES:

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
    
    
  • 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.
    
    

Number of commits found: 20

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
09 Jan 2020 13:33:08
Original commit files touched by this commit  2_3
Revision:522489
mat search for other commits by this committer
Garbage collecte unusable things from lang/python{,2,3} metaports.
09 Jan 2020 13:33:04
Original commit files touched by this commit  2_3
Revision:522488
mat search for other commits by this committer
Simplify the lang/python{2,3} metaports.

Reviewed by:	antoine
01 Jan 2020 16:21:17
Original commit files touched by this commit  2_3
Revision:521726
antoine search for other commits by this committer
Deprecate python2

With hat:	portmgr
09 Oct 2019 11:53:57
Original commit files touched by this commit  2_3
Revision:514140
bapt search for other commits by this committer
Drop the ipv6 virtual category for l* category as it is not relevant anymore
08 Mar 2019 07:20:40
Original commit files touched by this commit  2_3
Revision:495025
antoine search for other commits by this committer
Add a not to a few meta ports: do not depend on these ports
01 Feb 2019 21:42:24
Original commit files touched by this commit  2_3
Revision:491863
sunpoet search for other commits by this committer
Add NO_ARCH
26 Jan 2019 12:43:52
Original commit files touched by this commit  2_3
Revision:491285
sunpoet search for other commits by this committer
Update WWW
21 Jan 2018 10:51:29
Original commit files touched by this commit  2_3
Revision:459584
mat search for other commits by this committer
Remove PYTHON*_DEFAULT_VERSION.
15 May 2015 03:48:07
Original commit files touched by this commit  2_3
Revision:386379
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.
20 Oct 2014 17:52:17
Original commit files touched by this commit  2_3
Revision:371288
mva search for other commits by this committer
- Convert ports of irc/ and lang/ to new USES=python

Approved by:	portmgr (implicit)
01 Sep 2014 13:03:25
Original commit files touched by this commit  2_3
Revision:366875
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
04 Aug 2014 05:49:36
Original commit files touched by this commit  2_3
Revision:363965
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>
25 Jan 2014 09:15:12
Original commit files touched by this commit  2_2
Revision:340997
mva search for other commits by this committer
- Do not use absolute source paths for the symlinks to the stagedir

Noticed by:	danfe
25 Jan 2014 08:46:11
Original commit files touched by this commit  2_2
Revision:340996
mva search for other commits by this committer
- Enable stagedir support
12 Dec 2013 08:12:14
Original commit files touched by this commit  2_2
Revision:336250
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@)
20 Sep 2013 19:53:10
Original commit files touched by this commit  2_1
Revision:327741
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
lang)
15 Sep 2013 12:52:28
Original commit files touched by this commit  2_1
Revision:327339
mva search for other commits by this committer
- Introduce PYTHON2_DEFAULT_VERSION, the version of the default python2
  binary in $PATH. It can be set in case the user wants to use a
  specific python2 version as a default. Its behaviour is similar
  to the existing PYTHON3_DEFAULT_VERSION and fixes a small issue with
  package builds for different python versions.
- Outline that PYTHON_DEFAULT_VERSION always takes precedence for a
  specific python major version.
- Update lang/python2 to use PYTHON2_DEFAULT_VERSION and bump the
  PORTREVISION to let the installed port catch up with the change.
- Allow PYTHON3_DEFAULT_VERSION to overriden by a user choice, if
  PYTHON_DEFAULT_VERSION is not set to a python3 port.

Reported by:	David Demelier <demelier.david@gmail.com>
Reviewed by:	koobs@, sbz@
With hat on:	python@
01 Sep 2013 15:43:35
Original commit files touched by this commit  2
Revision:325867
mva search for other commits by this committer
- improve the python meta port descriptions

Requested by:	demon@
Reviewed by:	demon@
18 Aug 2013 15:25:24
Original commit files touched by this commit  2
Revision:324925
mva search for other commits by this committer
- Avoid circular dependencies due to the previous bsd.python.mk change
17 Aug 2013 19:10:59
Original commit files touched by this commit  2
Revision:324864
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: 20

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
gitlab-ceJun 04
gnutlsJun 04
py-django22Jun 04
libnghttp2Jun 03
nghttp2Jun 03
rubygem-websocket-extensionsJun 03
giteaMay 31
powerdns-recursor*May 29
gitlab-ceMay 28
rubygem-kaminari-coreMay 28
sane-backendsMay 28
sympaMay 26
chromiumMay 24
piwigoMay 23
drupal7May 22

17 vulnerabilities affecting 90 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2020-06-04 18:54:31


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 39487
Broken 95
Deprecated 630
Ignore 338
Forbidden 5
Restricted 147
No CDROM 76
Vulnerable 23
Expired 14
Set to expire 580
Interactive 0
new 24 hours 7
new 48 hours11
new 7 days39
new fortnight71
new month181

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2020 Dan Langille. All rights reserved.