mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
- 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.
This commit is contained in:
parent
9e0ef82bb2
commit
a109e33441
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=175092
1
MOVED
1
MOVED
@ -2490,3 +2490,4 @@ sysutils/gnomesu|security/libgnomesu|2006-10-08|Was broken, similar functionalit
|
||||
databases/java-db||2006-10-08|Duplicate with java/berkeley-db
|
||||
devel/cscout-devel||2006-10-09|Has expired: The (long overdue) release of 2.2 has made this port obsolete. Use devel/cscout
|
||||
sysutils/cfengine2|sysutils/cfengine|2006-10-09|moved to systuils/cfengine
|
||||
lang/python-devel|lang/python25|2006-10-09|moved to lang/python25
|
||||
|
@ -7,7 +7,7 @@
|
||||
.if !defined(_POSTMKINCLUDED) && !defined(Python_Pre_Include)
|
||||
|
||||
Python_Pre_Include= bsd.python.mk
|
||||
Python_Include_MAINTAINER= perky@FreeBSD.org
|
||||
Python_Include_MAINTAINER= python@FreeBSD.org
|
||||
|
||||
# This file contains some variable definitions that are supposed to
|
||||
# make your life easier when dealing with ports related to the Python
|
||||
@ -159,8 +159,8 @@ Python_Include_MAINTAINER= perky@FreeBSD.org
|
||||
# specific version of zope.
|
||||
#
|
||||
|
||||
_PYTHON_PORTBRANCH= 2.4
|
||||
_PYTHON_ALLBRANCHES= 2.4 2.3 2.2 2.1 2.5 # preferred first
|
||||
_PYTHON_PORTBRANCH= 2.5
|
||||
_PYTHON_ALLBRANCHES= 2.5 2.4 2.3 2.2 2.1 # preferred first
|
||||
_ZOPE_PORTBRANCH= 2.7
|
||||
_ZOPE_ALLBRANCHES= 2.7 2.8 2.9 3.2
|
||||
|
||||
@ -309,15 +309,15 @@ PYTHON_PORTVERSION= ${_PYTHON_PORTVERSION}
|
||||
|
||||
# Python-2.5
|
||||
.if ${PYTHON_VERSION} == "python2.5"
|
||||
PYTHON_PORTVERSION?=2.5.c2
|
||||
PYTHON_PORTSDIR= ${PORTSDIR}/lang/python-devel
|
||||
PYTHON_PORTVERSION?=2.5
|
||||
PYTHON_PORTSDIR= ${PORTSDIR}/lang/python25
|
||||
PYTHON_REL= 250
|
||||
PYTHON_SUFFIX= 25
|
||||
|
||||
# Python-2.4
|
||||
.elif ${PYTHON_VERSION} == "python2.4"
|
||||
PYTHON_PORTVERSION?=2.4.3
|
||||
PYTHON_PORTSDIR= ${PORTSDIR}/lang/python
|
||||
PYTHON_PORTSDIR= ${PORTSDIR}/lang/python24
|
||||
PYTHON_REL= 243
|
||||
PYTHON_SUFFIX= 24
|
||||
|
||||
@ -358,22 +358,15 @@ check-makevars::
|
||||
@${ECHO} " python2.1"
|
||||
@${ECHO} " python2.2"
|
||||
@${ECHO} " python2.3"
|
||||
@${ECHO} " python2.4 (default)"
|
||||
@${ECHO} " python2.5"
|
||||
@${ECHO} " python2.4"
|
||||
@${ECHO} " python2.5 (default)"
|
||||
@${FALSE}
|
||||
.endif
|
||||
|
||||
.if defined(PYTHON_REL) && ${PYTHON_REL} == 250
|
||||
PYTHON_MASTER_SITES= ${MASTER_SITE_PYTHON}
|
||||
PYTHON_MASTER_SITE_SUBDIR= ftp/python/2.5
|
||||
PYTHON_DISTFILE= Python-${PYTHON_PORTVERSION:S/5.c/5c/}.tgz
|
||||
PYTHON_WRKSRC= ${WRKDIR}/Python-${PYTHON_PORTVERSION:S/5.c/5c/}
|
||||
.else
|
||||
PYTHON_MASTER_SITES= ${MASTER_SITE_PYTHON}
|
||||
PYTHON_MASTER_SITE_SUBDIR= ftp/python/${PYTHON_PORTVERSION}
|
||||
PYTHON_DISTFILE= Python-${PYTHON_PORTVERSION}.tgz
|
||||
PYTHON_WRKSRC= ${WRKDIR}/Python-${PYTHON_PORTVERSION}
|
||||
.endif # defined(PYTHON_REL) && ${PYTHON_REL} == 250
|
||||
|
||||
PYTHON_INCLUDEDIR= ${PYTHONBASE}/include/${PYTHON_VERSION}
|
||||
PYTHON_LIBDIR= ${PYTHONBASE}/lib/${PYTHON_VERSION}
|
||||
|
10
UPDATING
10
UPDATING
@ -6,6 +6,16 @@ You should get into the habit of checking this file for changes each
|
||||
time you update your ports collection, before attempting any port
|
||||
upgrades.
|
||||
|
||||
20041202:
|
||||
AFFECTS: users of any ports using Python
|
||||
AUTHOR: perky@FreeBSD.org
|
||||
|
||||
After upgrading of lang/python, you must rebuild all its consumer
|
||||
ports to make them get ready to Python 2.5.
|
||||
|
||||
To do this, you will need to:
|
||||
pkgdb -uf && cd /usr/ports/lang/python && make upgrade-site-packages
|
||||
|
||||
20061007:
|
||||
AFFECTS: users of security/p5-openxpki
|
||||
AUTHOR: svysh@cryptocom.ru
|
||||
|
Loading…
Reference in New Issue
Block a user