[113797] trunk/dports/textproc/itstool

devans at macports.org devans at macports.org
Sat Nov 23 11:55:52 PST 2013


Revision: 113797
          https://trac.macports.org/changeset/113797
Author:   devans at macports.org
Date:     2013-11-23 11:55:51 -0800 (Sat, 23 Nov 2013)
Log Message:
-----------
itstool: update to version 2.0.1.

Modified Paths:
--------------
    trunk/dports/textproc/itstool/Portfile

Added Paths:
-----------
    trunk/dports/textproc/itstool/files/patch-configure.diff

Modified: trunk/dports/textproc/itstool/Portfile
===================================================================
--- trunk/dports/textproc/itstool/Portfile	2013-11-23 19:55:21 UTC (rev 113796)
+++ trunk/dports/textproc/itstool/Portfile	2013-11-23 19:55:51 UTC (rev 113797)
@@ -4,7 +4,7 @@
 PortSystem      1.0
 
 name            itstool
-version         1.2.0
+version         2.0.1
 license         GPL-3+
 set branch      [join [lrange [split ${version} .] 0 1] .]
 
@@ -22,26 +22,27 @@
 
 use_bzip2       yes
 
-checksums       rmd160  498e5a158665504514d456335256d2c3a5746216 \
-                sha256  46fed63fb89c72dbfc03097b4477084ff05ad6f171212d8f1f1546ea543978aa
+checksums       rmd160  6860c508606e5a8c2ba78fc69cf466ec798eb0aa \
+                sha256  ec6b1b32403cbe338b6ac63c61ab1ecd361f539a6e41ef50eae56a4f577234d1
 
 supported_archs noarch
 
 depends_build   port:gawk
 
-patchfiles      patch-itstool.in.diff
+patchfiles      patch-configure.diff \
+                patch-itstool.in.diff
 
 post-patch {
     reinplace "s|@@MP_PYTHON@@|${configure.python}|" ${worksrcpath}/itstool.in
 }
 
 variant python26 conflicts python27 description {Use Python 2.6} {
-    depends_run         port:py26-libxml2
+    depends_lib-append  port:py26-libxml2
     configure.python    ${prefix}/bin/python2.6
 }
 
 variant python27 conflicts python26 description {Use Python 2.7} {
-    depends_run         port:py27-libxml2
+    depends_lib-append  port:py27-libxml2
     configure.python    ${prefix}/bin/python2.7
 }
 

Added: trunk/dports/textproc/itstool/files/patch-configure.diff
===================================================================
--- trunk/dports/textproc/itstool/files/patch-configure.diff	                        (rev 0)
+++ trunk/dports/textproc/itstool/files/patch-configure.diff	2013-11-23 19:55:51 UTC (rev 113797)
@@ -0,0 +1,11 @@
+--- configure.orig	2013-11-23 11:46:13.000000000 -0800
++++ configure	2013-11-23 11:46:47.000000000 -0800
+@@ -2183,7 +2183,7 @@
+ py_module=libxml2
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python module $py_module" >&5
+ $as_echo_n "checking for python module $py_module... " >&6; }
+-echo "import $py_module" | python - &>/dev/null
++echo "import $py_module" | $PYTHON - &>/dev/null
+ if test $? -ne 0; then
+ 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
+ $as_echo "not found" >&6; }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131123/8c4b44df/attachment-0001.html>


More information about the macports-changes mailing list