| CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Sun, 11 Jan 2026 20:17:04 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20091118185846
location: https://web.archive.org/web/20091118185846/https://python25.darwinports.com/
server-timing: captures_list;dur=0.591869, exclusion.robots;dur=0.035511, exclusion.robots.policy;dur=0.027349, esindex;dur=0.009466, cdx.remote;dur=6.611851, LoadShardBlock;dur=109.420586, PetaboxLoader3.datanode;dur=86.092108, PetaboxLoader3.resolve;dur=19.722894
x-app-server: wwwb-app218-dc8
x-ts: 302
x-tr: 143
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app218; path=/
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Sun, 11 Jan 2026 20:17:05 GMT
content-type: text/html
x-archive-orig-date: Wed, 18 Nov 2009 18:47:13 GMT
x-archive-orig-server: Apache
x-archive-orig-vary: Accept-Encoding
x-archive-orig-connection: close
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: iso-8859-1
memento-datetime: Wed, 18 Nov 2009 18:58:46 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 51_12_20091118062443_crawl102-c/51_12_20091118185832_crawl103.arc.gz
server-timing: captures_list;dur=0.545461, exclusion.robots;dur=0.020134, exclusion.robots.policy;dur=0.008863, esindex;dur=0.009601, cdx.remote;dur=8.772744, LoadShardBlock;dur=172.469197, PetaboxLoader3.datanode;dur=312.779165, PetaboxLoader3.resolve;dur=89.318523, load_resource;dur=281.553004
x-app-server: wwwb-app218-dc8
x-ts: 200
x-tr: 536
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
Python25 version 2.5.4 - How to Download and Install on Mac OS X
|
|||||||||
Wednesday the 18th of November, 2009 |
|||||||||
python25 most recent diffversion 2.5.4
Scroll down toward the bottom of the page to get installation instructions for python25. The raw portfile for python25 2.5.4 is located here: https://python25.darwinports.com/dports/lang/python25/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/python25 The python25 Portfile 59156 2009-10-10 15:16:11Z macsforever2000 PortSystem 1.0 PortGroup select 1.0 Name: python25 Version: 2.5.4 Revision: 8 set branch [join [lrange [split ${version} .] 0 1] .] Category: lang Platform: darwin Maintainers: mww Description: An interpreted, object-oriented programming language Long Description: Python is an interpreted, interactive, object-oriented programming language. Homepage: https://www.python.org/ Master Sites: https://ftp.python.org/ftp/python/${version}/ distname Python-${version} use_bzip2 yes Checksums: md5 394a5f56a5ce811fb0f023197ec0833e sha1 0f2e819d6381f72f26c734e00a6780b3933ea404 rmd160 3a76c83464c3b1c38a60351ab054e33ac7195663 # patch-Lib-distutils-dist.py.diff comes from # <https://bugs.python.org/issue1180> Patch Files: patch-Makefile.pre.in.diff patch-Lib-cgi.py.diff patch-Lib-distutils-dist.py.diff patch-setup.py.diff patch-configure-badcflags.diff patch-configure-arch_only.diff patch-64bit.diff depends_lib port:gettext port:zlib port:openssl port:tk port:sqlite3 port:db46 port:bzip2 port:gdbm port:readline port:ncurses configure.args --enable-shared --enable-framework=${frameworks_dir} --mandir=${prefix}/share/man --enable-ipv6 --with-cxx=${configure.cxx} configure.cppflags-append -I${prefix}/include/ncurses post-patch { reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/Lib/cgi.py ${worksrcpath}/setup.py reinplace "s|/Applications/MacPython|${applications_dir}/MacPython|g" ${worksrcpath}/Mac/Makefile.in ${worksrcpath}/Mac/IDLE/Makefile.in ${worksrcpath}/Mac/Tools/Doc/setup.py ${worksrcpath}/Mac/PythonLauncher/Makefile.in ${worksrcpath}/Mac/BuildScript/build-installer.py reinplace "s|xargs -0 rm -r|xargs -0 rm -rf|g" ${worksrcpath}/Mac/PythonLauncher/Makefile.in } build.target all # TODO: From python24, do we still need this? # Workaround for case-sensitive file systems post-build { if { ![file exists ${worksrcpath}/python.exe] } { ln -s python ${worksrcpath}/python.exe } } test.run yes test.target test destroot.target frameworkinstall maninstall # ensure that correct compiler is used build.args-append MAKE="${build.cmd}" CC="${configure.cc}" destroot.args-append MAKE="${destroot.cmd}" CC="${configure.cc}" select.group python select.file ${filespath}/python[string map {. {}} ${branch}] platform macosx { post-destroot { set framewpath ${frameworks_dir}/Python.framework set framewdir ${framewpath}/Versions/${branch} # Without this, LINKFORSHARED is set to # ... $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK) # (this becomes Python.framework/Versions/2.5/Python) which doesn't # quite work (see ticket #15099); instead specifically list the # full path to the proper Python framework file (which becomes # ${prefix}/Library/Frameworks/Python.framework/Versions/2.5/Python) reinplace {s|^\(LINKFORSHARED=.*\)$(PYTHONFRAMEWORKDIR).*$|\1 $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)|} ${destroot}${framewdir}/lib/python${branch}/config/Makefile foreach dir { lib include } { file rename ${destroot}${framewdir}/${dir}/python${branch} ${destroot}${prefix}/${dir} ln -s ${prefix}/${dir}/python${branch} ${destroot}${framewdir}/${dir}/python${branch} } ln -s ${prefix}/share ${destroot}${framewdir}/share ln -s ${framewdir}/Python ${destroot}${prefix}/lib/libpython${branch}.dylib file rename ${destroot}${prefix}/share/man/man1/python.1 ${destroot}${prefix}/share/man/man1/python${branch}.1 # delete symlinks without version suffix, use python_select instead to choose version foreach bin { python pythonw idle pydoc smtpd.py python-config } { file delete ${destroot}${prefix}/bin/${bin} } foreach bin [list python${branch} pythonw${branch} idle${branch} pydoc${branch} smtpd${branch}.py python${branch}-config] { file rename -force ${destroot}${framewdir}/bin/${bin} ${destroot}${prefix}/bin ln -s ${prefix}/bin/${bin} ${destroot}${framewdir}/bin/${bin} } foreach dir { Headers Resources Python Versions/Current } { file delete ${destroot}${framewpath}/${dir} } # Fix incorrectly-pointed libpython2.5.a symlink, see # https://trac.macports.org/ticket/19906 set python_staticlink ${destroot}${prefix}/lib/python${branch}/config/libpython${branch}.a file delete ${python_staticlink} ln -s ${framewdir}/Python ${python_staticlink} } } post-activate { ui_msg "\nTo fully complete your installation and make python $branch the default, please run \n\tsudo port install python_select \n\tsudo python_select $name\n" } platform darwin 8 { patchfiles-append patch-FSIORefNum.diff } platform darwin 9 { configure.cppflags-append -D__DARWIN_UNIX03 } platform darwin 10 { configure.cppflags-append -D_DARWIN_C_SOURCE patchfiles-append patch-pyconfig.h.in.diff } platform puredarwin { patchfiles-append patch-Modules-posixmodule.c.diff configure.args-delete --enable-framework=${frameworks_dir} configure.args-append --disable-toolbox-glue --disable-framework destroot.target install maninstall post-build { # thin dynamic library to have the same arch as static lib, even after -lSystemStubs system "lipo ${worksrcpath}/libpython${branch}.dylib -output ${worksrcpath}/libpython${branch}.dylib -thin `lipo -info ${worksrcpath}/libpython${branch}.a | tail -n 1 | sed -e 's/.*architecture: \\(.*\\)/\\1/'`" } post-destroot { # delete symlinks without version suffix, use python_select instead to choose version foreach bin { python pythonw idle pydoc smtpd.py python-config } { file delete ${destroot}${prefix}/bin/${bin} } file rename ${destroot}${prefix}/share/man/man1/python.1 ${destroot}${prefix}/share/man/man1/python${branch}.1 # install select file for python_select xinstall -m 755 -d ${destroot}${prefix}/etc/select/python xinstall -m 644 ${filespath}/python[string map {. {}} ${branch}] ${destroot}${prefix}/etc/select/python/ } } Variant: universal { if {${macosx_version} == "10.4" && ${os.arch} == "powerpc"} { configure.args-append --enable-universalsdk=${developer_dir}/SDKs/MacOSX10.4u.sdk } else { configure.args-append --enable-universalsdk=/ } } livecheck.type regex livecheck.url ${homepage}download/releases/ livecheck.regex Python (${branch}.\[0-9\]+) If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page. Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:
% cd /opt/local/bin/portslocation/dports/python25You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to: - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using python25 with these commands: % man python25 Where to find more information:
This website is back-ended by DB5, the best database in the business,
|
![]() |
![]()
Order Snow Leopard MacOSX 10.6 for only $29!
Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
accounting
amusements aqua archivers audio benchmarks biology blinkenlights cad chat chinese comms compression cross crypto databases devel editors education electronics emacs emulators erlang finance fonts framework fuse games genealogy gis gnome gnustep graphics gtk haskell iphone irc japanese java kde kde4 lang macports math mercurial ml mono multimedia net network news ocaml office palm parallel perl php pim project python reporting rox ruby russian scheme science security shells spelling squeak sysutils tcl tex textproc tk unicode vnc win32 wsn www x11 x11-font x11-wm xfce zope
Current SVN DownloadsDarwin Ports Current :nightly SVN snapshot SSH Key Gen See also: GNU-Darwin Ports for GNU-only software |
|||||||
| |




