[136296] trunk/dports/math/liblinear/Portfile
Lawrence Velázquez
larryv at macports.org
Thu May 14 09:42:48 PDT 2015
Now users who had +python33 installed will upgrade and suddenly have +python27 instead. This will also happen for libsvm (r136297).
I added the legacy variants to provide an upgrade path. They should be left there for a year to provide a reasonable upgrade window; I even noted the end of the window in a comment. Can everyone please stop blindly removing them?
vq
> On May 14, 2015, at 7:00 AM, hum at macports.org wrote:
>
> Revision
> 136296 <https://trac.macports.org/changeset/136296>Author
> hum at macports.org <mailto:hum at macports.org>Date
> 2015-05-14 04:00:53 -0700 (Thu, 14 May 2015)
> Log Message
>
> liblinear: remove obsolete python variants and set default_variant +python27
> Modified Paths
>
> trunk/dports/math/liblinear/Portfile <x-msg://11/#trunkdportsmathliblinearPortfile>
> Diff
>
> <>Modified: trunk/dports/math/liblinear/Portfile (136295 => 136296)
>
> --- trunk/dports/math/liblinear/Portfile 2015-05-14 07:36:31 UTC (rev 136295)
> +++ trunk/dports/math/liblinear/Portfile 2015-05-14 11:00:53 UTC (rev 136296)
> @@ -5,7 +5,7 @@
>
> name liblinear
> version 1.96
> -revision 1
> +revision 2
> categories math
> maintainers hum openmaintainer
>
> @@ -59,27 +59,11 @@
> ${dest_py}
> }
>
> -# TODO: Remove after 2015-12-26.
> -variant python24 requires python27 description {Legacy variant} {}
> -variant python25 requires python27 description {Legacy variant} {}
> -variant python31 requires python34 description {Legacy variant} {}
> -variant python32 requires python34 description {Legacy variant} {}
> -
> -variant python26 description {Install Python 2.6 interface} {
> - depends_lib-append port:python26
> - post-destroot { install_py 2.6 }
> -}
> -
> variant python27 description {Install Python 2.7 interface} {
> depends_lib-append port:python27
> post-destroot { install_py 2.7 }
> }
>
> -variant python33 description {Install Python 3.3 interface} {
> - depends_lib-append port:python33
> - post-destroot { install_py 3.3 }
> -}
> -
> variant python34 description {Install Python 3.4 interface} {
> depends_lib-append port:python34
> post-destroot { install_py 3.4 }
> @@ -93,5 +77,7 @@
> xinstall -m 644 -W ${worksrcpath}/python liblinear.py liblinearutil.py ${dir}
> }
>
> +default_variants +python27
> +
> livecheck.type regex
> livecheck.regex {Version *([0-9.]+) *}
> _______________________________________________
> macports-changes mailing list
> macports-changes at lists.macosforge.org <mailto:macports-changes at lists.macosforge.org>
> https://lists.macosforge.org/mailman/listinfo/macports-changes <https://lists.macosforge.org/mailman/listinfo/macports-changes>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20150514/86fa2deb/attachment.html>
More information about the macports-dev
mailing list