Compiler blacklist 'shorthand'

2018-05-05 Thread Craig Treleaven
Hi: A couple of times recently, I’ve noticed boilerplate in ports that require C++14. After including the compiler_blacklist_versions portgroup, they then do some gymnastics like: compiler.blacklist *gcc-3.* *gcc-4.* {*gcc-5.[0-3]} \ {clang < 800} macports-

Re: Compiler blacklist 'shorthand'

2018-05-05 Thread Marcus Calhoun-Lopez
There is some code written to do something like this. The PortGroup is: https://github.com/macports/macports-ports/blob/master/_resources/port1.0/group/languages-1.0.tcl The associated ticket is: https://trac.macports.org/ticket/55139 PortGroup languages 1.0 compiler.cxx_standard 2014 I have be

Re: Compiler blacklist 'shorthand'

2018-05-06 Thread Ryan Schmidt
On May 5, 2018, at 19:36, Craig Treleaven wrote: > A couple of times recently, I’ve noticed boilerplate in ports that require > C++14. After including the compiler_blacklist_versions portgroup, they then > do some gymnastics like: > > compiler.blacklist *gcc-3.* *gcc-4.* {*gcc-5.[0-3

Re: Compiler blacklist 'shorthand'

2018-05-06 Thread Rainer Müller
On 2018-05-06 12:07, Ryan Schmidt wrote: > > On May 5, 2018, at 19:36, Craig Treleaven wrote: > >> A couple of times recently, I’ve noticed boilerplate in ports that require >> C++14. After including the compiler_blacklist_versions portgroup, they then >> do some gymnastics like: >> >> compile

Re: Compiler blacklist 'shorthand'

2018-05-06 Thread Ryan Schmidt
On May 6, 2018, at 05:18, Rainer Müller wrote: > On 2018-05-06 12:07, Ryan Schmidt wrote: >> >> On May 5, 2018, at 19:36, Craig Treleaven wrote: >> >>> A couple of times recently, I’ve noticed boilerplate in ports that require >>> C++14. After including the compiler_blacklist_versions portgro

Re: Compiler blacklist 'shorthand'

2018-05-06 Thread Chris Jones
> On 6 May 2018, at 11:19 am, Ryan Schmidt wrote: > > >> On May 6, 2018, at 05:18, Rainer Müller wrote: >> >>> On 2018-05-06 12:07, Ryan Schmidt wrote: >>> On May 5, 2018, at 19:36, Craig Treleaven wrote: A couple of times recently, I’ve noticed boilerplate in ports that requ

Re: Compiler blacklist 'shorthand'

2018-05-06 Thread Ryan Schmidt
On May 6, 2018, at 05:27, Chris Jones wrote: > On 6 May 2018, at 11:19 am, Ryan Schmidt wrote: > >> On May 6, 2018, at 05:18, Rainer Müller wrote: >> >>> On 2018-05-06 12:07, Ryan Schmidt wrote: >>> On May 5, 2018, at 19:36, Craig Treleaven wrote: > A couple of times recently, I

Re: Compiler blacklist 'shorthand'

2018-05-06 Thread Chris Jones
> On 6 May 2018, at 11:28 am, Ryan Schmidt wrote: > > >> On May 6, 2018, at 05:27, Chris Jones wrote: >> >>> On 6 May 2018, at 11:19 am, Ryan Schmidt wrote: >>> On May 6, 2018, at 05:18, Rainer Müller wrote: > On 2018-05-06 12:07, Ryan Schmidt wrote: > >> On May 5, 20