Commit graph

181 commits

Author SHA1 Message Date
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Mathieu Arnold
3b90c52bf1 Garbage collecte unusable things from lang/python{,2,3} metaports. 2020-01-09 13:33:08 +00:00
Baptiste Daroussin
7eab0ea11d Drop the ipv6 virtual category for l* category as it is not relevant anymore 2019-10-09 11:53:57 +00:00
Sunpoet Po-Chuan Hsieh
dbf62a0d48 Update WWW 2019-01-26 12:43:47 +00:00
Sunpoet Po-Chuan Hsieh
c45ffb8006 Simplify Makefile
- Simplify RUN_DEPENDS
- Use bsd.port.mk instead of bsd.port.pre.mk + bsd.port.post.mk
2017-01-22 15:29:45 +00:00
Sunpoet Po-Chuan Hsieh
337594ad28 Fix symbolic links of idle and pydoc
- Bump PORTREVISION for package change
- While I'm here:
  - Remove leading definite article from COMMENT
  - Fix indent
  - Add NO_ARCH

PR:		216310
Submitted by:	Jose M. Alcaide <josemaria.alcaide@ehu.eus>
MFH:		2017Q1
2017-01-20 19:38:18 +00:00
Mathieu Arnold
a9dcad2fff Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:08:37 +00:00
Bryan Drewery
90991cead8 Remove dead PYTHON_NO_DEPENDS. It has not been needed or supported since
USES=python was added in r364450.
2015-05-15 03:48:06 +00:00
Marcus von Appen
734b63302e - Convert ports of irc/ and lang/ to new USES=python
Approved by:	portmgr (implicit)
2014-10-20 17:52:16 +00:00
Baptiste Daroussin
d96aa38d95 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
2014-09-01 13:03:25 +00:00
Marcus von Appen
9db59e2125 - Fix and remove stale symlinks after the lang/python* cleanup
Reported by:	Scott Allendorf <scott-allendorf@uiowa.edu>
2014-08-04 05:49:35 +00:00
Marcus von Appen
a5ec927724 - Do not use absolute source paths for the symlinks to the stagedir
Noticed by:	danfe
2014-01-25 09:15:12 +00:00
Marcus von Appen
8fd329e5db - Enable stagedir support 2014-01-25 08:46:11 +00:00
William Grzybowski
a82c6f046d lang/python: use python default version
- This package should track python default version and not be based on the port

With hat on:	python
2013-11-03 15:24:26 +00:00
Baptiste Daroussin
888ab73a81 Add NO_STAGE all over the place in preparation for the staging support (cat: lang) 2013-09-20 19:53:09 +00:00
Li-Wen Hsu
06a297bd4a - Bump PORTREVISION of lang/python since the package changed
- Refine UPDATING instruction

Approved by:	mva
2013-08-26 14:34:21 +00:00
Marcus von Appen
50bb471eff - Avoid circular dependencies due to the previous bsd.python.mk change 2013-08-18 15:25:24 +00:00
Marcus von Appen
7452555915 - 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.
2013-08-17 19:10:59 +00:00
Sofian Brabez
4beca75f6c - Add pkgng support 2012-10-03 09:18:51 +00:00
Sofian Brabez
f070977bbf - Speed up upgrade-site-packages [1]
- Use make modifiers [2]

PR:		ports/155970
Submitted by:	Julien Laffaye <kimelto at gmail.com> [1], sbz (myself) [2]
Exp-run by:	beat
2012-09-27 13:52:53 +00:00
Li-Wen Hsu
29d695a4dd - Remove distinfo, same informaion can (and should) be retrieved from
${PORTSDIR}/lang/python${PYTHON_SUFFIX}/distinfo
- Use ${SYSCTL}
2009-07-08 19:07:04 +00:00
Wesley Shields
d9c1200f52 - Add support for portmaster to upgrade-site-packages.
Approved by:	miwi
2009-06-11 13:29:23 +00:00
Alexander Botero-Lowry
923bd8b2f8 - use PORTUPGRADE_CMD instead of PORTUPGRADE so as not to confict with the
portupgrade env variable

Pointed out by:	Miroslav Lachman <000.fbsd@quip.cz>
2007-07-31 16:28:32 +00:00
Alexander Botero-Lowry
4942ce5a7d - Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with
   Python Eggs and the easy_install system

Tested by:	pointyhat runs
Approved by:	pav (portmgr)
Most work by:	perky
Thanks to:	pav
2007-07-30 09:42:28 +00:00
Xin LI
f523e0e7b2 Update to Python 2.4.4.
Approved by:	maintainer timeout, alexbl (python@)
Tested by:	pointyhat
PR:		ports/105901
2007-02-14 06:07:29 +00:00
Pav Lucistnik
0d0d56457b Populate a new ports-mgmt category. List of moved ports:
devel/portcheckout -> ports-mgmt/portcheckout
  devel/portlint -> ports-mgmt/portlint
  devel/portmk -> ports-mgmt/portmk
  devel/porttools -> ports-mgmt/porttools
  misc/instant-tinderbox -> ports-mgmt/instant-tinderbox
  misc/porteasy -> ports-mgmt/porteasy
  misc/portell -> ports-mgmt/portell
  misc/portless -> ports-mgmt/portless
  misc/tinderbox -> ports-mgmt/tinderbox
  security/jailaudit -> ports-mgmt/jailaudit
  security/portaudit -> ports-mgmt/portaudit
  security/portaudit-db -> ports-mgmt/portaudit-db
  security/vulnerability-test-port -> ports-mgmt/vulnerability-test-port
  sysutils/barry -> ports-mgmt/barry
  sysutils/bpm -> ports-mgmt/bpm
  sysutils/kports -> ports-mgmt/kports
  sysutils/managepkg -> ports-mgmt/managepkg
  sysutils/newportsversioncheck -> ports-mgmt/newportsversioncheck
  sysutils/pib -> ports-mgmt/pib
  sysutils/pkgfe -> ports-mgmt/pkgfe
  sysutils/pkg-orphan -> ports-mgmt/pkg-orphan
  sysutils/pkg_cutleaves -> ports-mgmt/pkg_cutleaves
  sysutils/pkg_install -> ports-mgmt/pkg_install
  sysutils/pkg_install-devel -> ports-mgmt/pkg_install-devel
  sysutils/pkg_remove -> ports-mgmt/pkg_remove
  sysutils/pkg_rmleaves -> ports-mgmt/pkg_rmleaves
  sysutils/pkg_trackinst -> ports-mgmt/pkg_trackinst
  sysutils/pkg_tree -> ports-mgmt/pkg_tree
  sysutils/portbrowser -> ports-mgmt/portbrowser
  sysutils/portconf -> ports-mgmt/portconf
  sysutils/portdowngrade -> ports-mgmt/portdowngrade
  sysutils/portcheck -> ports-mgmt/portcheck
  sysutils/portmanager -> ports-mgmt/portmanager
  sysutils/portmaster -> ports-mgmt/portmaster
  sysutils/portscout -> ports-mgmt/portscout
  sysutils/portsearch -> ports-mgmt/portsearch
  sysutils/portsman -> ports-mgmt/portsman
  sysutils/portsnap -> ports-mgmt/portsnap
  sysutils/portsopt -> ports-mgmt/portsopt
  sysutils/portupgrade -> ports-mgmt/portupgrade
  sysutils/portupgrade-devel -> ports-mgmt/portupgrade-devel
  sysutils/port-authoring-tools -> ports-mgmt/port-authoring-tools
  sysutils/port-maintenance-tools -> ports-mgmt/port-maintenance-tools
  sysutils/psearch -> ports-mgmt/psearch
  sysutils/p5-FreeBSD-Portindex -> ports-mgmt/p5-FreeBSD-Portindex
  sysutils/qtpkg -> ports-mgmt/qtpkg
  textproc/p5-FreeBSD-Ports -> ports-mgmt/p5-FreeBSD-Ports

Repocopies by:	marcus
2007-02-05 01:08:46 +00:00
Hye-Shik Chang
e18b838fd9 Revert the default version of Python to 2.4 for the ports freeze
period.  Python 2.5 brought a vast range of incompatibility to a
large number of ports, so the python@ team will do more basic
compatibility work in a private repository and merge it later.
Sorry for the inconvenience.

Approved by:	portmgr (kris)
2006-10-13 07:16:45 +00:00
Hye-Shik Chang
2af3fdd8cf - Restrict a dependency to the real interpreter to _RUN only. This
allows portupgrade to upgrade lang/python from 2.4 flawlessly.
- So remove obsolete instruction.
2006-10-09 15:51:28 +00:00
Hye-Shik Chang
83086e8ab8 Fix version number to 2.5 even if 2.4 is in the system. 2006-10-09 14:53:35 +00:00
Hye-Shik Chang
1d18bb4fff - Update the main python version to 2.5.
- Now, lang/python is just a meta-port which depends on lang/python25.
  - And all versions of Python ports have short version identifier in its
    package name; python25-2.5, python24-2.4.3 and etc.
  - Also you must upgrade all python modules after lang/python updated,
     cd /usr/ports/lang/python && make upgrade-site-packages

- Give maintainership of Python ports to the new python@ group which
  includes me, alexbl@ and others.
2006-10-09 14:29:18 +00:00
Simon L. B. Nielsen
a1560e82eb Fix buffer overrun when performing repr() on a unicode string in a build
with wide unicode (UCS-4) support.

Obtained from:	Python SVN (#51466)
Security:	CVE-2006-4980
With hat:	secteam
2006-10-08 06:48:01 +00:00
Edwin Groothuis
75ab390ea5 [PATCH] lang/python: Some portlint fixes
- Fix tab/space issues

PR:		ports/95779
Submitted by:	Alexander Botero-Lowry <alex@foxybanana.com>
Approved by:	maintainer timeout
2006-05-14 01:17:03 +00:00
Edwin Groothuis
7c6393360c Remove USE_REINPLACE from the categories starting with L 2006-05-09 20:52:24 +00:00
Hye-Shik Chang
5c0873479e Update to Python 2.4.3. 2006-03-30 09:40:13 +00:00
Hye-Shik Chang
332512a476 Add a CONFLICT to lang/python-mode.el. 2005-11-02 13:40:51 +00:00
Hye-Shik Chang
08a19a2887 - Update to Python 2.4.2. [1]
- Allow to override a command passing to distutils using
  PYDISTUTILS_{CONFIGURE,BUILD,INSTALL}_TARGET [2]
- Allow to specify BUILD/RUN dependency separatedly. [3]
- Replace shell executions with regex replacement on bsd.python.mk. [3]
- Remove thread serialization from socket.getaddrinfo() on FreeBSD 5.3
  and later versions because we've got thread-safe implementation. [4]
- Add a workaround to avoid curses.h problem of FreeBSD base.

PR:		86685 [1]
Submitted by:	Soeren Straarup <xride@x12.dk> [1],
		lioux [2], vsevolod [3], sobomax [4]
Obtained from:	Python CVS [4]
2005-10-02 14:31:39 +00:00
Hye-Shik Chang
b185b497ae Fix fcntl.ioctl argument parsing to accept termios.TIOCGWINSZ.
Submitted by:	jkim
Obtained from:	Python CVS
2005-07-28 06:23:56 +00:00
Hye-Shik Chang
ecd685d3d6 Backport support for FreeBSD 7 and drop support for FreeBSD 3.
Fixes for other versions of python will be followed tomorrow.

Submitted by:	nork
Obtained from:	Python CVS
2005-07-18 12:44:08 +00:00
Hye-Shik Chang
814a29cb2b - Disable "fpectl" base module on non-i386 platforms to fix build
on the recent -CURRENT i386 base. [1]
- Fix package build on NO_NIS base. [2]

PR:		81806 [1]
Submitted by:	Li-Lun Wang (Leland Wang) <llwang@infor.org> [1],
		ache [2]
2005-06-19 11:34:56 +00:00
Hye-Shik Chang
92e02ee037 - Make FPECTL support optional and turn it off by default because
the feature brings huge overheads for floating point arithmetics
  and integer divisions. [1]
- Fix plist
- Bump PORTREVISION

Requested by:	Ewan Todd <ewan@mathcode.net> [1]
2005-05-12 01:49:54 +00:00
David E. O'Brien
c3d8037aeb At Kris's request, back out the MACHINE_ARCH spelling correction until
after 5.4-RELEASE.
2005-04-12 03:26:56 +00:00
David E. O'Brien
f2fc2d60ae Assist getting more ports working on AMD64 by obeying the
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
2005-04-11 08:04:41 +00:00
Hye-Shik Chang
88c5d79c02 Update to Python 2.4.1 2005-04-03 13:55:44 +00:00
Hye-Shik Chang
d19bc113cf Add a patch from PSF-2005-001 which fixes SimpleXMLRPCServer
vulnerability.

PR:		77078
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
Security:	CAN-2005-0089
Security:	http://www.vuxml.org/freebsd/6afa87d3-764b-11d9-b0e7-0000e249a0a2.html
Security:	SimpleXMLRPCServer.py allows unrestricted traversal
2005-02-04 04:13:41 +00:00
Hye-Shik Chang
2339b74306 Add new utility target named 'upgrade-site-packages' to upgrade
site-packages which was built on previous version of python.
2004-12-06 05:28:34 +00:00
Hye-Shik Chang
cbee63519e - Update lang/python to 2.4 final release.
- Finish repocopy lang/python -> lang/python23 for Python 2.3.4
2004-12-01 15:04:05 +00:00
FUJISHIMA Satsuki
a787f0b075 farewell to libxpg4. 2004-11-15 05:19:30 +00:00
Hye-Shik Chang
6dbe12234a Fix package build on 4-STABLE.
Submitted by:	kstewart <kstewart@owt.com>
2004-08-21 11:13:41 +00:00
Hye-Shik Chang
d918a1e17c - Add support for FreeBSD 6.
- Remove support for FreeBSD 2.

Spotted by:	marcus, kris
Obtained from:	Python CVS
2004-08-20 23:56:16 +00:00
Hye-Shik Chang
f0c20c8b69 - Allow to disable IPv6 support [1]
- Add checksum for 2.4a2

PR:		69950 [1]
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
2004-08-07 07:00:18 +00:00