Re: different versions of port for different versions of OS X

2014-04-22 Thread Ryan Schmidt

On Apr 22, 2014, at 08:42, Mark Moll wrote:

> 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 \
>sha15e0b1c215ecd76191a82c745df0fac17e33bfb09 \
>rmd160  23f52640ab4dfaea1d5b6432a1b5c8293deedbc5
> 
> if {${os.major} <= 12 && ${os.platform} eq "darwin"} {
>version 2.2.26
>distname${realname}-${version}
>checksums   md5 317b29de0d3ef715fdc9281e078cfb17 \
>sha1108be4cf6212eb6886f172ea03813187f73e4c3c \
>rmd160  cd2e8506522821750d70a97b951254f0a133d218
> }

Do we want to allow this now? We used to consider changing the port version 
based on OS version an antipattern, and recommended instead that a separate 
port should be created. But ld64 and cctools already do it.

It does cause cosmetic problems when a single PortIndex is shared across OS 
versions, such as a port showing up as outdated in “port outdated” when it’s 
really not. I run into this on my test machines which have multiple OS X boot 
partitions but share a single MacPorts ports directory (and distfiles 
directory) on a data partition. Granted this is not something most users will 
do.



___
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev


Re: different versions of port for different versions of OS X

2014-04-22 Thread Joshua Root
On 2014-4-23 00:14 , Joshua Root wrote:
> And I notice that the linked build is from r119271, which is before you
> added the distname inside the if block. AFAICT it works fine after r119280.

You were probably fooled by the fact that
 failed
again. But it did so for a completely different reason.

checking whether the Boost::Graph library is available... no
configure: error: No usable boost::graph found

- Josh
___
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev


Re: different versions of port for different versions of OS X

2014-04-22 Thread Joshua Root
On 2014-4-22 23:50 , Joshua Root wrote:
> On 2014-4-22 23:42 , Mark Moll wrote:
>> 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 \
>> sha15e0b1c215ecd76191a82c745df0fac17e33bfb09 \
>> rmd160  23f52640ab4dfaea1d5b6432a1b5c8293deedbc5
>>
>> if {${os.major} <= 12 && ${os.platform} eq "darwin"} {
>> version 2.2.26
>> distname${realname}-${version}
>> checksums   md5 317b29de0d3ef715fdc9281e078cfb17 \
>> sha1108be4cf6212eb6886f172ea03813187f73e4c3c \
>> 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?
> 
> Try moving your python.versions to before you change anything.

That actually doesn't make any difference locally...

And I notice that the linked build is from r119271, which is before you
added the distname inside the if block. AFAICT it works fine after r119280.

- Josh
___
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev


Re: different versions of port for different versions of OS X

2014-04-22 Thread Joshua Root
On 2014-4-22 23:42 , Mark Moll wrote:
> 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 \
> sha15e0b1c215ecd76191a82c745df0fac17e33bfb09 \
> rmd160  23f52640ab4dfaea1d5b6432a1b5c8293deedbc5
> 
> if {${os.major} <= 12 && ${os.platform} eq "darwin"} {
> version 2.2.26
> distname${realname}-${version}
> checksums   md5 317b29de0d3ef715fdc9281e078cfb17 \
> sha1108be4cf6212eb6886f172ea03813187f73e4c3c \
> 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?

Try moving your python.versions to before you change anything.

- Josh
___
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev


different versions of port for different versions of OS X

2014-04-22 Thread Mark Moll
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 \
sha15e0b1c215ecd76191a82c745df0fac17e33bfb09 \
rmd160  23f52640ab4dfaea1d5b6432a1b5c8293deedbc5

if {${os.major} <= 12 && ${os.platform} eq "darwin"} {
version 2.2.26
distname${realname}-${version}
checksums   md5 317b29de0d3ef715fdc9281e078cfb17 \
sha1108be4cf6212eb6886f172ea03813187f73e4c3c \
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



___
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev