[109632] trunk/dports/devel/eric4/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Aug 18 18:10:47 PDT 2013


Revision: 109632
          https://trac.macports.org/changeset/109632
Author:   ryandesign at macports.org
Date:     2013-08-18 18:10:47 -0700 (Sun, 18 Aug 2013)
Log Message:
-----------
eric4: update to 4.5.13; use python27 instead of python26; install to ${applications_dir} instead of violating the mtree (#40164)

Modified Paths:
--------------
    trunk/dports/devel/eric4/Portfile

Modified: trunk/dports/devel/eric4/Portfile
===================================================================
--- trunk/dports/devel/eric4/Portfile	2013-08-19 00:55:25 UTC (rev 109631)
+++ trunk/dports/devel/eric4/Portfile	2013-08-19 01:10:47 UTC (rev 109632)
@@ -4,8 +4,7 @@
 PortSystem      1.0
 
 name            eric4
-version         4.5.5
-revision        2
+version         4.5.13
 categories      devel
 platforms       darwin
 maintainers     nomaintainer
@@ -24,13 +23,24 @@
 homepage        http://eric-ide.python-projects.org/index.html
 master_sites    sourceforge:project/eric-ide/${name}/stable/${version}/
 
-checksums           md5     f864c741dd7d46c35d11b481db307624 \
-                    sha1    61a3ca02ec5e8b408a8c1891c6cfd72e38815f9b \
-                    rmd160  55c66d58a29069ea7dc293056d3a8aece0d44b09
+checksums       rmd160  0b01bb4c46c4ac959b5f45f037caeece624c504d \
+                sha256  7032ff5758455b89fe733b41956e8ea60e215c4381603e897116cd15bb29da65
 
-depends_lib     port:python26 port:py26-pyqt4 port:py26-qscintilla \
-                port:py26-pysvn port:py26-rope port:py26-pylint port:py26-cx_Freeze port:py26-enchant
+depends_lib     port:python27 \
+                port:py27-pyqt4 \
+                port:py27-qscintilla \
+                port:py27-pysvn \
+                port:py27-rope \
+                port:py27-pylint \
+                port:py27-cx_Freeze \
+                port:py27-enchant
 
+patchfiles      patch-install.py.diff
+
+post-patch {
+    reinplace "s|@APPLICATIONS_DIR@|${destroot}${applications_dir}|g" ${worksrcpath}/install.py
+}
+
 use_configure   no
 
 build {
@@ -38,7 +48,7 @@
 }
 
 destroot {
-    system "cd '${worksrcpath}'; ${prefix}/bin/python2.6 install.py -b '${prefix}/bin' -i '${destroot}'"
+    system -W ${worksrcpath} "${prefix}/bin/python2.7 install.py -b '${prefix}/bin' -i '${destroot}'"
 }
 
 livecheck.type  regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130818/2d29a7a3/attachment.html>


More information about the macports-changes mailing list