different versions of port for different versions of OS X

Mark Moll mmoll at macports.org
Tue Apr 22 06:42:21 PDT 2014


I maintain a port, py-graph-tool, for which the latest versions only work on 10.9. I want to specify that older versions of OS X should use an older version of this port. This is what I have:

version             2.2.31
epoch               20140421
distname            ${realname}-${version}
checksums           md5     5c2f66d90f77824b924b2b81f5043822 \
                    sha1    5e0b1c215ecd76191a82c745df0fac17e33bfb09 \
                    rmd160  23f52640ab4dfaea1d5b6432a1b5c8293deedbc5

if {${os.major} <= 12 && ${os.platform} eq "darwin"} {
    version         2.2.26
    distname        ${realname}-${version}
    checksums       md5     317b29de0d3ef715fdc9281e078cfb17 \
                    sha1    108be4cf6212eb6886f172ea03813187f73e4c3c \
                    rmd160  cd2e8506522821750d70a97b951254f0a133d218
}

The build bot, however, is still picking up the wrong distname, as the following snippet shows:

--->  Attempting to fetch py27-graph-tool-2.2.26_0.darwin_11.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/py27-graph-tool
--->  Fetching distfiles for py27-graph-tool
--->  graph-tool-2.2.31.tar.bz2 doesn't seem to exist in /opt/local/var/macports/distfiles/py-graph-tool
--->  Attempting to fetch graph-tool-2.2.31.tar.bz2 from http://distfiles.macports.org/py-graph-tool

(Full log at https://build.macports.org/builders/buildports-lion-x86_64/builds/19772/steps/compile/logs/stdio)

Any ideas what’s going on?

-- 
Mark Moll





More information about the macports-dev mailing list