[130090] trunk/dports/security/cfv/Portfile
larryv at macports.org
larryv at macports.org
Fri Dec 26 18:06:29 PST 2014
Revision: 130090
https://trac.macports.org/changeset/130090
Author: larryv at macports.org
Date: 2014-12-26 18:06:29 -0800 (Fri, 26 Dec 2014)
Log Message:
-----------
cfv: Use Python 2.7 always
Upstream development seems to have ceased, and the code does not work
with Python 3.4, so let's not pretend it does.
Modified Paths:
--------------
trunk/dports/security/cfv/Portfile
Modified: trunk/dports/security/cfv/Portfile
===================================================================
--- trunk/dports/security/cfv/Portfile 2014-12-27 01:32:02 UTC (rev 130089)
+++ trunk/dports/security/cfv/Portfile 2014-12-27 02:06:29 UTC (rev 130090)
@@ -5,7 +5,7 @@
name cfv
version 1.18.3
-revision 2
+revision 3
categories security
platforms darwin
supported_archs noarch
@@ -20,6 +20,8 @@
storage of data.
homepage http://cfv.sourceforge.net/
+depends_lib port:python27
+
master_sites sourceforge
checksums rmd160 d239e5fe212b2458f5a3612b55591c7625a2318d
@@ -27,30 +29,10 @@
patch-cfv.diff
post-patch {
reinplace "s|@PREFIX@|${prefix}|" ${worksrcpath}/Makefile
+ reinplace "s|@PYTHON@|${prefix}/bin/python2.7|" \
+ ${worksrcpath}/Makefile ${worksrcpath}/cfv
}
use_configure no
build {}
-
-if {![variant_isset python27] && ![variant_isset python32]} {
- default_variants +python27
-}
-
-variant python27 conflicts python32 description {Use Python 2.7} {
- depends_lib port:python27
-
- post-patch {
- reinplace "s|@PYTHON@|${prefix}/bin/python2.7|" \
- ${worksrcpath}/Makefile ${worksrcpath}/cfv
- }
-}
-
-variant python32 conflicts python27 description {Use Python 3.2} {
- depends_lib port:python32
-
- post-patch {
- reinplace "s|@PYTHON@|${prefix}/bin/python3.2|" \
- ${worksrcpath}/Makefile ${worksrcpath}/cfv
- }
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141226/15cc90e6/attachment.html>
More information about the macports-changes
mailing list