[146834] trunk/dports/science/pymol/Portfile
raimue at macports.org
raimue at macports.org
Fri Mar 18 10:34:45 PDT 2016
Revision: 146834
https://trac.macports.org/changeset/146834
Author: raimue at macports.org
Date: 2016-03-18 10:34:45 -0700 (Fri, 18 Mar 2016)
Log Message:
-----------
science/pymol:
Update to 1.8.1.0 by maintainer, closes #50780
Modified Paths:
--------------
trunk/dports/science/pymol/Portfile
Modified: trunk/dports/science/pymol/Portfile
===================================================================
--- trunk/dports/science/pymol/Portfile 2016-03-18 17:33:29 UTC (rev 146833)
+++ trunk/dports/science/pymol/Portfile 2016-03-18 17:34:45 UTC (rev 146834)
@@ -7,7 +7,7 @@
PortGroup compilers 1.0
name pymol
-version 1.7.7.2
+version 1.8.1.0
revision 1
categories science chemistry
license PSF
@@ -24,13 +24,23 @@
master_sites sourceforge
fetch.type svn
svn.url https://svn.code.sf.net/p/pymol/code/trunk/pymol
-svn.revision 4141
+svn.revision 4152
worksrcdir pymol
compilers.choose cc cxx
compilers.setup
-python.default_version 27
+variant python27 conflicts python34 python35 description {Use Python 2.7} {}
+variant python34 conflicts python27 python35 description {Use Python 3.4} {}
+variant python35 conflicts python27 python34 description {Use Python 3.5} {}
+if {[variant_isset python34]} {
+ python.default_version 34
+} elseif {[variant_isset python35]} {
+ python.default_version 35
+} else {
+ default_variants +python27
+ python.default_version 27
+}
python.link_binaries no
depends_lib-append port:freeglut \
@@ -50,8 +60,7 @@
# py-scipy is not universal
universal_variant no
-patchfiles setup_py.diff \
- pymol_shell.diff \
+patchfiles pymol_shell.diff \
pmg_tk_platform.patch \
apbs-psize.patch
@@ -75,7 +84,7 @@
build {}
pre-destroot {
- destroot.env CC="${configure.cc}" CXX="${configure.cxx}"
+ destroot.env CC="${configure.cc}" CXX="${configure.cxx}" PREFIX_PATH="${prefix}"
}
post-destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160318/c4ffe17b/attachment-0001.html>
More information about the macports-changes
mailing list