On my testing on 10.7, the package that is generated from 'port pkg' doesn't contain any version info, so it looks like Mac OS X treats it as a 1.0 package.

Given I don't know anything about Mac OS X packaging and need this for an internal project, where is the appropriate place to put a version number?

Here's the contents of Distribution:

<?xml version="1.0" encoding="utf-8"?>
<installer-gui-script minSpecVersion="1">
    <title>py27-nose</title>
    <options customize="never"/>
    <allowed-os-versions><os-version min="10.7"/></allowed-os-versions>
<background file="background.tiff" mime-type="image/tiff" alignment="bottomleft" scaling="none"/>
    <welcome mime-type="text/html" file="Welcome.html"/>
    <choices-outline>
        <line choice="default">
            <line choice="org.macports.py27-nose"/>
        </line>
    </choices-outline>
    <choice id="default"/>
    <choice id="org.macports.py27-nose" visible="false">
        <pkg-ref id="org.macports.py27-nose"/>
    </choice>
    <pkg-ref id="org.macports.py27-nose">py27-nose-1.2.1-component.pkg</pkg-ref>
</installer-gui-script>


Here is PackageInfo:

<pkg-info install-location="/" relocatable="false" auth="root">
</pkg-info>


And the commands that are run:


DEBUG: Running command line: PMResourceLocale=English /Applications/PackageMaker.app/Contents/MacOS/PackageMaker --root /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-nose/py27-nose/work/destroot --out /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-nose/py27-nose/work/py27-nose-1.2.1.pkg --scripts /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-nose/py27-nose/work/pkg_scripts --info /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-nose/py27-nose/work/PackageInfo --target 10.5 --domain system --id org.macports.py27-nose --no-relocate


DEBUG: Running command line: /usr/bin/productbuild --resources /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-nose/py27-nose/work/pkg_resources --identifier org.macports.py27-nose --distribution /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-nose/py27-nose/work/Distribution --package-path /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-nose/py27-nose/work /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-nose/py27-nose/work/py27-nose-1.2.1.pkg



Thanks,
Blair
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to