Ticket #16863 (closed enhancement: fixed)
python25 2.5.2 puredarwin variant
| Reported by: | afb@… | Owned by: | mww@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.6.0 |
| Keywords: | Cc: | probono@…, egall@… | |
| Port: | python25 |
Description
Patch to include a +puredarwin variant so that the resulting binary can run on PureDarwin, where proprietary frameworks and libraries are not available
Attachments
Change History
comment:2 Changed 5 years ago by macsforever2000@…
- Owner changed from macports-tickets@… to mww@…
- Type changed from defect to enhancement
- Port set to python25
comment:3 Changed 5 years ago by probono@…
Close, but somehow it still wants to run frameworkinstallapps...
/usr/bin/install -s ../python.exe "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python25/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python"
DYLD_FRAMEWORK_PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python25/work/Python-2.5.2: ../python.exe ./scripts/BuildApplet.py \
--destroot "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python25/work/destroot" \
--python /opt/local/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python \
--output "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python25/work/destroot/Applications/MacPorts/MacPython 2.5/Build Applet.app" \
./scripts/BuildApplet.py
Traceback (most recent call last):
File "./scripts/BuildApplet.py", line 14, in <module>
import MacOS
ImportError: No module named MacOS
make[1]: *** [install_BuildApplet] Error 1
make: *** [frameworkinstallapps] Error 2
comment:4 Changed 5 years ago by afb@…
Switching back to the regular "lib" structure is probably for the best ?
platform puredarwin {
configure.args-delete --enable-framework=${prefix}/Library/Frameworks
configure.args-append --disable-toolbox-glue --disable-framework
destroot.target install maninstall
}
comment:5 Changed 5 years ago by afb@…
Added a small patch to make sure that libpython2.5.dylib is built the same as libpython2.5.a
comment:6 Changed 5 years ago by afb@…
Added a similar variant for python24 too, since that's currently used by the rpm port.
comment:10 Changed 4 years ago by anonymous
- Milestone Port Enhancements deleted
Milestone Port Enhancements deleted
Note: See
TracTickets for help on using
tickets.


Cc Me!