mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
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)
This commit is contained in:
parent
30e47c7797
commit
e18b838fd9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=175244
@ -159,8 +159,8 @@ Python_Include_MAINTAINER= python@FreeBSD.org
|
||||
# specific version of zope.
|
||||
#
|
||||
|
||||
_PYTHON_PORTBRANCH= 2.5
|
||||
_PYTHON_ALLBRANCHES= 2.5 2.4 2.3 2.2 2.1 # preferred first
|
||||
_PYTHON_PORTBRANCH= 2.4
|
||||
_PYTHON_ALLBRANCHES= 2.4 2.5 2.3 2.2 2.1 # preferred first
|
||||
_ZOPE_PORTBRANCH= 2.7
|
||||
_ZOPE_ALLBRANCHES= 2.7 2.8 2.9 3.2
|
||||
|
||||
@ -358,8 +358,8 @@ check-makevars::
|
||||
@${ECHO} " python2.1"
|
||||
@${ECHO} " python2.2"
|
||||
@${ECHO} " python2.3"
|
||||
@${ECHO} " python2.4"
|
||||
@${ECHO} " python2.5 (default)"
|
||||
@${ECHO} " python2.4 (default)"
|
||||
@${ECHO} " python2.5"
|
||||
@${FALSE}
|
||||
.endif
|
||||
|
||||
|
@ -6,7 +6,8 @@
|
||||
#
|
||||
|
||||
PORTNAME= python
|
||||
PORTVERSION= 2.5
|
||||
PORTVERSION= 2.4.3
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= lang python ipv6
|
||||
MASTER_SITES= # empty
|
||||
DISTFILES= # empty
|
||||
@ -16,7 +17,7 @@ MAINTAINER= python@FreeBSD.org
|
||||
COMMENT= The "meta-port" for the stable version of Python interpreter
|
||||
|
||||
USE_PYTHON_RUN= yes
|
||||
PYTHON_VERSION= python2.5
|
||||
PYTHON_VERSION= python2.4
|
||||
NO_BUILD= yes
|
||||
|
||||
do-install: # empty
|
||||
@ -26,13 +27,13 @@ PORTUPGRADE?= ${LOCALBASE}/sbin/portupgrade
|
||||
PKG_WHICH?= ${LOCALBASE}/sbin/pkg_which
|
||||
upgrade-site-packages:
|
||||
@if [ -x ${PORTUPGRADE} ]; then \
|
||||
for ver in 2.1 2.2 2.3 2.4; do \
|
||||
for ver in 2.1 2.2 2.3 2.5; do \
|
||||
if [ -d ${PREFIX}/lib/python$$ver ]; then \
|
||||
UPD=`${FIND} ${PREFIX}/lib/python$$ver \
|
||||
-type f -print0 | \
|
||||
${XARGS} -0 ${PKG_WHICH} | \
|
||||
${GREP} -Fv '?' | \
|
||||
${EGREP} -v '^python2?[0-4]?-2' | \
|
||||
${EGREP} -v '^python2?[0-5]?-2' | \
|
||||
${SORT} -u`; \
|
||||
if [ "$$UPD" ]; then \
|
||||
${PORTUPGRADE} -f $$UPD; \
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= python24
|
||||
PORTVERSION= 2.4.3
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= lang python ipv6
|
||||
MASTER_SITES= ${PYTHON_MASTER_SITES}
|
||||
MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR}
|
||||
@ -23,8 +23,8 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||
CONFIGURE_ENV= OPT="${CFLAGS}"
|
||||
MAKE_ENV= VPATH="${WRKSRC}"
|
||||
INSTALLS_SHLIB= yes
|
||||
INSTALL_TARGET= altinstall
|
||||
MAN1= ${PYTHON_VERSION}.1
|
||||
INSTALL_TARGET= install
|
||||
MAN1= python.1 ${PYTHON_VERSION}.1
|
||||
|
||||
USE_PYTHON= yes
|
||||
PYTHON_VERSION= python2.4
|
||||
@ -181,6 +181,8 @@ post-install:
|
||||
${INSTALL_PROGRAM} \
|
||||
${SHARED_WRKSRC}/${PYTHON_VERSION:S/thon/thon-shared/} \
|
||||
${PREFIX}/bin
|
||||
cd ${PREFIX}/bin; \
|
||||
${LN} -f ${PYTHON_VERSION:S/thon/thon-shared/} python-shared
|
||||
|
||||
@# additional files installing by ports
|
||||
@${MKDIR} ${MANPREFIX}/man/man1
|
||||
|
@ -27,13 +27,3 @@
|
||||
curses_libs = ['ncursesw']
|
||||
exts.append( Extension('_curses', ['_cursesmodule.c'],
|
||||
libraries = curses_libs) )
|
||||
@@ -1187,8 +1187,7 @@
|
||||
ext_modules=[Extension('struct', ['structmodule.c'])],
|
||||
|
||||
# Scripts to install
|
||||
- scripts = ['Tools/scripts/pydoc', 'Tools/scripts/idle',
|
||||
- 'Lib/smtpd.py']
|
||||
+ scripts = []
|
||||
)
|
||||
|
||||
# --install-platlib
|
||||
|
@ -1,8 +1,13 @@
|
||||
bin/idle
|
||||
bin/idle%%PYVER%%
|
||||
bin/pydoc
|
||||
bin/pydoc%%PYVER%%
|
||||
bin/python
|
||||
bin/python%%PYVER%%
|
||||
bin/python-shared
|
||||
bin/python-shared%%PYVER%%
|
||||
bin/smtpd%%PYVER%%.py
|
||||
bin/smtpd.py
|
||||
%%PYTHON_INCLUDEDIR%%/Python.h
|
||||
%%PYTHON_INCLUDEDIR%%/abstract.h
|
||||
%%PYTHON_INCLUDEDIR%%/bitset.h
|
||||
|
@ -6,6 +6,7 @@
|
||||
|
||||
PORTNAME= python25
|
||||
PORTVERSION= 2.5
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= lang python ipv6
|
||||
MASTER_SITES= ${PYTHON_MASTER_SITES}
|
||||
MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR}
|
||||
@ -23,13 +24,12 @@ CONFIGURE_SCRIPT= ../configure # must be relative
|
||||
CONFIGURE_ENV= OPT="${CFLAGS}" SVNVERSION="echo freebsd"
|
||||
MAKE_ENV= VPATH="${PYTHON_WRKSRC}"
|
||||
INSTALLS_SHLIB= yes
|
||||
INSTALL_TARGET= install
|
||||
MAN1= python.1 ${PYTHON_VERSION}.1
|
||||
INSTALL_TARGET= altinstall
|
||||
MAN1= ${PYTHON_VERSION}.1
|
||||
|
||||
USE_PYTHON= yes
|
||||
PYTHON_VERSION= python2.5
|
||||
PYTHON_NO_DEPENDS= yes
|
||||
LATEST_LINK= ${PYTHON_VERSION:S/.//}
|
||||
|
||||
SHARED_WRKSRC= ${PYTHON_WRKSRC}/portbld.shared
|
||||
PLIST= ${WRKDIR}/PLIST
|
||||
@ -203,10 +203,6 @@ post-install:
|
||||
${INSTALL_PROGRAM} \
|
||||
${SHARED_WRKSRC}/${PYTHON_VERSION:S/thon/thon-shared/} \
|
||||
${PREFIX}/bin
|
||||
cd ${PREFIX}/bin; \
|
||||
${LN} -f ${PYTHON_VERSION:S/thon/thon-shared/} python-shared; \
|
||||
${LN} -f ${PYTHON_VERSION:S/thon/thon-shared/}-config \
|
||||
python-shared-config; \
|
||||
|
||||
@# additional files installing by ports
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/pydoc2.5 ${WRKDIR}/idle2.5 \
|
||||
|
@ -27,3 +27,13 @@
|
||||
curses_libs = ['ncursesw']
|
||||
# Bug 1464056: If _curses.so links with ncursesw,
|
||||
# _curses_panel.so must link with panelw.
|
||||
-@@ -1498,8 +1500,7 @@
|
||||
- ext_modules=[Extension('_struct', ['_struct.c'])],
|
||||
-
|
||||
- # Scripts to install
|
||||
-- scripts = ['Tools/scripts/pydoc', 'Tools/scripts/idle',
|
||||
-- 'Lib/smtpd.py']
|
||||
-+ scripts = []
|
||||
- )
|
||||
-
|
||||
- # --install-platlib
|
||||
|
@ -1,17 +1,10 @@
|
||||
bin/idle
|
||||
bin/idle%%PYVER%%
|
||||
bin/pydoc
|
||||
bin/pydoc%%PYVER%%
|
||||
bin/python
|
||||
bin/python%%PYVER%%
|
||||
bin/python%%PYVER%%-config
|
||||
bin/python-config
|
||||
bin/python-shared
|
||||
bin/python-shared%%PYVER%%
|
||||
bin/python-shared%%PYVER%%-config
|
||||
bin/python-shared-config
|
||||
bin/smtpd%%PYVER%%.py
|
||||
bin/smtpd.py
|
||||
%%PYTHON_INCLUDEDIR%%/Python-ast.h
|
||||
%%PYTHON_INCLUDEDIR%%/Python.h
|
||||
%%PYTHON_INCLUDEDIR%%/abstract.h
|
||||
|
@ -6,6 +6,7 @@
|
||||
|
||||
PORTNAME= python25
|
||||
PORTVERSION= 2.5
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= lang python ipv6
|
||||
MASTER_SITES= ${PYTHON_MASTER_SITES}
|
||||
MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR}
|
||||
@ -23,13 +24,12 @@ CONFIGURE_SCRIPT= ../configure # must be relative
|
||||
CONFIGURE_ENV= OPT="${CFLAGS}" SVNVERSION="echo freebsd"
|
||||
MAKE_ENV= VPATH="${PYTHON_WRKSRC}"
|
||||
INSTALLS_SHLIB= yes
|
||||
INSTALL_TARGET= install
|
||||
MAN1= python.1 ${PYTHON_VERSION}.1
|
||||
INSTALL_TARGET= altinstall
|
||||
MAN1= ${PYTHON_VERSION}.1
|
||||
|
||||
USE_PYTHON= yes
|
||||
PYTHON_VERSION= python2.5
|
||||
PYTHON_NO_DEPENDS= yes
|
||||
LATEST_LINK= ${PYTHON_VERSION:S/.//}
|
||||
|
||||
SHARED_WRKSRC= ${PYTHON_WRKSRC}/portbld.shared
|
||||
PLIST= ${WRKDIR}/PLIST
|
||||
@ -203,10 +203,6 @@ post-install:
|
||||
${INSTALL_PROGRAM} \
|
||||
${SHARED_WRKSRC}/${PYTHON_VERSION:S/thon/thon-shared/} \
|
||||
${PREFIX}/bin
|
||||
cd ${PREFIX}/bin; \
|
||||
${LN} -f ${PYTHON_VERSION:S/thon/thon-shared/} python-shared; \
|
||||
${LN} -f ${PYTHON_VERSION:S/thon/thon-shared/}-config \
|
||||
python-shared-config; \
|
||||
|
||||
@# additional files installing by ports
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/pydoc2.5 ${WRKDIR}/idle2.5 \
|
||||
|
@ -27,3 +27,13 @@
|
||||
curses_libs = ['ncursesw']
|
||||
# Bug 1464056: If _curses.so links with ncursesw,
|
||||
# _curses_panel.so must link with panelw.
|
||||
-@@ -1498,8 +1500,7 @@
|
||||
- ext_modules=[Extension('_struct', ['_struct.c'])],
|
||||
-
|
||||
- # Scripts to install
|
||||
-- scripts = ['Tools/scripts/pydoc', 'Tools/scripts/idle',
|
||||
-- 'Lib/smtpd.py']
|
||||
-+ scripts = []
|
||||
- )
|
||||
-
|
||||
- # --install-platlib
|
||||
|
@ -1,17 +1,10 @@
|
||||
bin/idle
|
||||
bin/idle%%PYVER%%
|
||||
bin/pydoc
|
||||
bin/pydoc%%PYVER%%
|
||||
bin/python
|
||||
bin/python%%PYVER%%
|
||||
bin/python%%PYVER%%-config
|
||||
bin/python-config
|
||||
bin/python-shared
|
||||
bin/python-shared%%PYVER%%
|
||||
bin/python-shared%%PYVER%%-config
|
||||
bin/python-shared-config
|
||||
bin/smtpd%%PYVER%%.py
|
||||
bin/smtpd.py
|
||||
%%PYTHON_INCLUDEDIR%%/Python-ast.h
|
||||
%%PYTHON_INCLUDEDIR%%/Python.h
|
||||
%%PYTHON_INCLUDEDIR%%/abstract.h
|
||||
|
@ -6,6 +6,7 @@
|
||||
|
||||
PORTNAME= python25
|
||||
PORTVERSION= 2.5
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= lang python ipv6
|
||||
MASTER_SITES= ${PYTHON_MASTER_SITES}
|
||||
MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR}
|
||||
@ -23,13 +24,12 @@ CONFIGURE_SCRIPT= ../configure # must be relative
|
||||
CONFIGURE_ENV= OPT="${CFLAGS}" SVNVERSION="echo freebsd"
|
||||
MAKE_ENV= VPATH="${PYTHON_WRKSRC}"
|
||||
INSTALLS_SHLIB= yes
|
||||
INSTALL_TARGET= install
|
||||
MAN1= python.1 ${PYTHON_VERSION}.1
|
||||
INSTALL_TARGET= altinstall
|
||||
MAN1= ${PYTHON_VERSION}.1
|
||||
|
||||
USE_PYTHON= yes
|
||||
PYTHON_VERSION= python2.5
|
||||
PYTHON_NO_DEPENDS= yes
|
||||
LATEST_LINK= ${PYTHON_VERSION:S/.//}
|
||||
|
||||
SHARED_WRKSRC= ${PYTHON_WRKSRC}/portbld.shared
|
||||
PLIST= ${WRKDIR}/PLIST
|
||||
@ -203,10 +203,6 @@ post-install:
|
||||
${INSTALL_PROGRAM} \
|
||||
${SHARED_WRKSRC}/${PYTHON_VERSION:S/thon/thon-shared/} \
|
||||
${PREFIX}/bin
|
||||
cd ${PREFIX}/bin; \
|
||||
${LN} -f ${PYTHON_VERSION:S/thon/thon-shared/} python-shared; \
|
||||
${LN} -f ${PYTHON_VERSION:S/thon/thon-shared/}-config \
|
||||
python-shared-config; \
|
||||
|
||||
@# additional files installing by ports
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/pydoc2.5 ${WRKDIR}/idle2.5 \
|
||||
|
@ -27,3 +27,13 @@
|
||||
curses_libs = ['ncursesw']
|
||||
# Bug 1464056: If _curses.so links with ncursesw,
|
||||
# _curses_panel.so must link with panelw.
|
||||
-@@ -1498,8 +1500,7 @@
|
||||
- ext_modules=[Extension('_struct', ['_struct.c'])],
|
||||
-
|
||||
- # Scripts to install
|
||||
-- scripts = ['Tools/scripts/pydoc', 'Tools/scripts/idle',
|
||||
-- 'Lib/smtpd.py']
|
||||
-+ scripts = []
|
||||
- )
|
||||
-
|
||||
- # --install-platlib
|
||||
|
@ -1,17 +1,10 @@
|
||||
bin/idle
|
||||
bin/idle%%PYVER%%
|
||||
bin/pydoc
|
||||
bin/pydoc%%PYVER%%
|
||||
bin/python
|
||||
bin/python%%PYVER%%
|
||||
bin/python%%PYVER%%-config
|
||||
bin/python-config
|
||||
bin/python-shared
|
||||
bin/python-shared%%PYVER%%
|
||||
bin/python-shared%%PYVER%%-config
|
||||
bin/python-shared-config
|
||||
bin/smtpd%%PYVER%%.py
|
||||
bin/smtpd.py
|
||||
%%PYTHON_INCLUDEDIR%%/Python-ast.h
|
||||
%%PYTHON_INCLUDEDIR%%/Python.h
|
||||
%%PYTHON_INCLUDEDIR%%/abstract.h
|
||||
|
@ -6,6 +6,7 @@
|
||||
|
||||
PORTNAME= python25
|
||||
PORTVERSION= 2.5
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= lang python ipv6
|
||||
MASTER_SITES= ${PYTHON_MASTER_SITES}
|
||||
MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR}
|
||||
@ -23,13 +24,12 @@ CONFIGURE_SCRIPT= ../configure # must be relative
|
||||
CONFIGURE_ENV= OPT="${CFLAGS}" SVNVERSION="echo freebsd"
|
||||
MAKE_ENV= VPATH="${PYTHON_WRKSRC}"
|
||||
INSTALLS_SHLIB= yes
|
||||
INSTALL_TARGET= install
|
||||
MAN1= python.1 ${PYTHON_VERSION}.1
|
||||
INSTALL_TARGET= altinstall
|
||||
MAN1= ${PYTHON_VERSION}.1
|
||||
|
||||
USE_PYTHON= yes
|
||||
PYTHON_VERSION= python2.5
|
||||
PYTHON_NO_DEPENDS= yes
|
||||
LATEST_LINK= ${PYTHON_VERSION:S/.//}
|
||||
|
||||
SHARED_WRKSRC= ${PYTHON_WRKSRC}/portbld.shared
|
||||
PLIST= ${WRKDIR}/PLIST
|
||||
@ -203,10 +203,6 @@ post-install:
|
||||
${INSTALL_PROGRAM} \
|
||||
${SHARED_WRKSRC}/${PYTHON_VERSION:S/thon/thon-shared/} \
|
||||
${PREFIX}/bin
|
||||
cd ${PREFIX}/bin; \
|
||||
${LN} -f ${PYTHON_VERSION:S/thon/thon-shared/} python-shared; \
|
||||
${LN} -f ${PYTHON_VERSION:S/thon/thon-shared/}-config \
|
||||
python-shared-config; \
|
||||
|
||||
@# additional files installing by ports
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/pydoc2.5 ${WRKDIR}/idle2.5 \
|
||||
|
@ -27,3 +27,13 @@
|
||||
curses_libs = ['ncursesw']
|
||||
# Bug 1464056: If _curses.so links with ncursesw,
|
||||
# _curses_panel.so must link with panelw.
|
||||
-@@ -1498,8 +1500,7 @@
|
||||
- ext_modules=[Extension('_struct', ['_struct.c'])],
|
||||
-
|
||||
- # Scripts to install
|
||||
-- scripts = ['Tools/scripts/pydoc', 'Tools/scripts/idle',
|
||||
-- 'Lib/smtpd.py']
|
||||
-+ scripts = []
|
||||
- )
|
||||
-
|
||||
- # --install-platlib
|
||||
|
@ -1,17 +1,10 @@
|
||||
bin/idle
|
||||
bin/idle%%PYVER%%
|
||||
bin/pydoc
|
||||
bin/pydoc%%PYVER%%
|
||||
bin/python
|
||||
bin/python%%PYVER%%
|
||||
bin/python%%PYVER%%-config
|
||||
bin/python-config
|
||||
bin/python-shared
|
||||
bin/python-shared%%PYVER%%
|
||||
bin/python-shared%%PYVER%%-config
|
||||
bin/python-shared-config
|
||||
bin/smtpd%%PYVER%%.py
|
||||
bin/smtpd.py
|
||||
%%PYTHON_INCLUDEDIR%%/Python-ast.h
|
||||
%%PYTHON_INCLUDEDIR%%/Python.h
|
||||
%%PYTHON_INCLUDEDIR%%/abstract.h
|
||||
|
@ -6,6 +6,7 @@
|
||||
|
||||
PORTNAME= python25
|
||||
PORTVERSION= 2.5
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= lang python ipv6
|
||||
MASTER_SITES= ${PYTHON_MASTER_SITES}
|
||||
MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR}
|
||||
@ -23,13 +24,12 @@ CONFIGURE_SCRIPT= ../configure # must be relative
|
||||
CONFIGURE_ENV= OPT="${CFLAGS}" SVNVERSION="echo freebsd"
|
||||
MAKE_ENV= VPATH="${PYTHON_WRKSRC}"
|
||||
INSTALLS_SHLIB= yes
|
||||
INSTALL_TARGET= install
|
||||
MAN1= python.1 ${PYTHON_VERSION}.1
|
||||
INSTALL_TARGET= altinstall
|
||||
MAN1= ${PYTHON_VERSION}.1
|
||||
|
||||
USE_PYTHON= yes
|
||||
PYTHON_VERSION= python2.5
|
||||
PYTHON_NO_DEPENDS= yes
|
||||
LATEST_LINK= ${PYTHON_VERSION:S/.//}
|
||||
|
||||
SHARED_WRKSRC= ${PYTHON_WRKSRC}/portbld.shared
|
||||
PLIST= ${WRKDIR}/PLIST
|
||||
@ -203,10 +203,6 @@ post-install:
|
||||
${INSTALL_PROGRAM} \
|
||||
${SHARED_WRKSRC}/${PYTHON_VERSION:S/thon/thon-shared/} \
|
||||
${PREFIX}/bin
|
||||
cd ${PREFIX}/bin; \
|
||||
${LN} -f ${PYTHON_VERSION:S/thon/thon-shared/} python-shared; \
|
||||
${LN} -f ${PYTHON_VERSION:S/thon/thon-shared/}-config \
|
||||
python-shared-config; \
|
||||
|
||||
@# additional files installing by ports
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/pydoc2.5 ${WRKDIR}/idle2.5 \
|
||||
|
@ -27,3 +27,13 @@
|
||||
curses_libs = ['ncursesw']
|
||||
# Bug 1464056: If _curses.so links with ncursesw,
|
||||
# _curses_panel.so must link with panelw.
|
||||
-@@ -1498,8 +1500,7 @@
|
||||
- ext_modules=[Extension('_struct', ['_struct.c'])],
|
||||
-
|
||||
- # Scripts to install
|
||||
-- scripts = ['Tools/scripts/pydoc', 'Tools/scripts/idle',
|
||||
-- 'Lib/smtpd.py']
|
||||
-+ scripts = []
|
||||
- )
|
||||
-
|
||||
- # --install-platlib
|
||||
|
@ -1,17 +1,10 @@
|
||||
bin/idle
|
||||
bin/idle%%PYVER%%
|
||||
bin/pydoc
|
||||
bin/pydoc%%PYVER%%
|
||||
bin/python
|
||||
bin/python%%PYVER%%
|
||||
bin/python%%PYVER%%-config
|
||||
bin/python-config
|
||||
bin/python-shared
|
||||
bin/python-shared%%PYVER%%
|
||||
bin/python-shared%%PYVER%%-config
|
||||
bin/python-shared-config
|
||||
bin/smtpd%%PYVER%%.py
|
||||
bin/smtpd.py
|
||||
%%PYTHON_INCLUDEDIR%%/Python-ast.h
|
||||
%%PYTHON_INCLUDEDIR%%/Python.h
|
||||
%%PYTHON_INCLUDEDIR%%/abstract.h
|
||||
|
@ -6,6 +6,7 @@
|
||||
|
||||
PORTNAME= python25
|
||||
PORTVERSION= 2.5
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= lang python ipv6
|
||||
MASTER_SITES= ${PYTHON_MASTER_SITES}
|
||||
MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR}
|
||||
@ -23,13 +24,12 @@ CONFIGURE_SCRIPT= ../configure # must be relative
|
||||
CONFIGURE_ENV= OPT="${CFLAGS}" SVNVERSION="echo freebsd"
|
||||
MAKE_ENV= VPATH="${PYTHON_WRKSRC}"
|
||||
INSTALLS_SHLIB= yes
|
||||
INSTALL_TARGET= install
|
||||
MAN1= python.1 ${PYTHON_VERSION}.1
|
||||
INSTALL_TARGET= altinstall
|
||||
MAN1= ${PYTHON_VERSION}.1
|
||||
|
||||
USE_PYTHON= yes
|
||||
PYTHON_VERSION= python2.5
|
||||
PYTHON_NO_DEPENDS= yes
|
||||
LATEST_LINK= ${PYTHON_VERSION:S/.//}
|
||||
|
||||
SHARED_WRKSRC= ${PYTHON_WRKSRC}/portbld.shared
|
||||
PLIST= ${WRKDIR}/PLIST
|
||||
@ -203,10 +203,6 @@ post-install:
|
||||
${INSTALL_PROGRAM} \
|
||||
${SHARED_WRKSRC}/${PYTHON_VERSION:S/thon/thon-shared/} \
|
||||
${PREFIX}/bin
|
||||
cd ${PREFIX}/bin; \
|
||||
${LN} -f ${PYTHON_VERSION:S/thon/thon-shared/} python-shared; \
|
||||
${LN} -f ${PYTHON_VERSION:S/thon/thon-shared/}-config \
|
||||
python-shared-config; \
|
||||
|
||||
@# additional files installing by ports
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/pydoc2.5 ${WRKDIR}/idle2.5 \
|
||||
|
@ -27,3 +27,13 @@
|
||||
curses_libs = ['ncursesw']
|
||||
# Bug 1464056: If _curses.so links with ncursesw,
|
||||
# _curses_panel.so must link with panelw.
|
||||
-@@ -1498,8 +1500,7 @@
|
||||
- ext_modules=[Extension('_struct', ['_struct.c'])],
|
||||
-
|
||||
- # Scripts to install
|
||||
-- scripts = ['Tools/scripts/pydoc', 'Tools/scripts/idle',
|
||||
-- 'Lib/smtpd.py']
|
||||
-+ scripts = []
|
||||
- )
|
||||
-
|
||||
- # --install-platlib
|
||||
|
@ -1,17 +1,10 @@
|
||||
bin/idle
|
||||
bin/idle%%PYVER%%
|
||||
bin/pydoc
|
||||
bin/pydoc%%PYVER%%
|
||||
bin/python
|
||||
bin/python%%PYVER%%
|
||||
bin/python%%PYVER%%-config
|
||||
bin/python-config
|
||||
bin/python-shared
|
||||
bin/python-shared%%PYVER%%
|
||||
bin/python-shared%%PYVER%%-config
|
||||
bin/python-shared-config
|
||||
bin/smtpd%%PYVER%%.py
|
||||
bin/smtpd.py
|
||||
%%PYTHON_INCLUDEDIR%%/Python-ast.h
|
||||
%%PYTHON_INCLUDEDIR%%/Python.h
|
||||
%%PYTHON_INCLUDEDIR%%/abstract.h
|
||||
|
Loading…
Reference in New Issue
Block a user