[127442] trunk/dports/textproc/itstool
devans at macports.org
devans at macports.org
Tue Oct 28 08:38:57 PDT 2014
Revision: 127442
https://trac.macports.org/changeset/127442
Author: devans at macports.org
Date: 2014-10-28 08:38:57 -0700 (Tue, 28 Oct 2014)
Log Message:
-----------
itstool: drop python variants, use python27, remove unused patch file.
Modified Paths:
--------------
trunk/dports/textproc/itstool/Portfile
Removed Paths:
-------------
trunk/dports/textproc/itstool/files/patch-itstool.in.diff
Modified: trunk/dports/textproc/itstool/Portfile
===================================================================
--- trunk/dports/textproc/itstool/Portfile 2014-10-28 15:34:35 UTC (rev 127441)
+++ trunk/dports/textproc/itstool/Portfile 2014-10-28 15:38:57 UTC (rev 127442)
@@ -5,7 +5,7 @@
name itstool
version 2.0.2
-revision 1
+revision 2
license GPL-3+
set branch [join [lrange [split ${version} .] 0 1] .]
@@ -30,22 +30,12 @@
depends_build port:gawk
+depends_lib port:py27-libxml2
+
patchfiles patch-configure.diff
-variant python26 conflicts python27 description {Use Python 2.6} {
- depends_lib-append port:py26-libxml2
- configure.python ${prefix}/bin/python2.6
-}
+configure.python ${prefix}/bin/python2.7
-variant python27 conflicts python26 description {Use Python 2.7} {
- depends_lib-append port:py27-libxml2
- configure.python ${prefix}/bin/python2.7
-}
-
-if {![variant_isset python26]} {
- default_variants +python27
-}
-
livecheck.type regex
livecheck.url http://itstool.org/download/
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Deleted: trunk/dports/textproc/itstool/files/patch-itstool.in.diff
===================================================================
--- trunk/dports/textproc/itstool/files/patch-itstool.in.diff 2014-10-28 15:34:35 UTC (rev 127441)
+++ trunk/dports/textproc/itstool/files/patch-itstool.in.diff 2014-10-28 15:38:57 UTC (rev 127442)
@@ -1,8 +0,0 @@
---- itstool.in.orig 2013-05-06 11:16:20.000000000 -0700
-+++ itstool.in 2013-05-06 11:17:13.000000000 -0700
-@@ -1,4 +1,4 @@
--#!/usr/bin/python -s
-+#!@@MP_PYTHON@@ -s
- #
- # Copyright (c) 2010-2011 Shaun McCance <shaunm at gnome.org>
- #
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141028/b7dae6d8/attachment.html>
More information about the macports-changes
mailing list