[144344] trunk/dports/science/pymol-devel

dstrubbe at macports.org dstrubbe at macports.org
Wed Jan 6 14:56:40 PST 2016


Revision: 144344
          https://trac.macports.org/changeset/144344
Author:   dstrubbe at macports.org
Date:     2016-01-06 14:56:40 -0800 (Wed, 06 Jan 2016)
Log Message:
-----------
pymol-devel: Declare obsolete.

There is a pymol port, which is a newer version of the same software. It is not clear what, if any, purpose pymol-devel serves, though years ago it was a newer version than the pymol port (no clear reason was stated at the time for why this was useful, either). pymol-devel has had no maintainer since 3 years ago (r105836). Since that time it has not been updated, and only received maintenance commits. The confusing nature of this port was discussed in this ticket a year and a half ago: http://trac.macports.org/ticket/42860

Revision Links:
--------------
    https://trac.macports.org/changeset/105836

Modified Paths:
--------------
    trunk/dports/science/pymol-devel/Portfile

Removed Paths:
-------------
    trunk/dports/science/pymol-devel/files/

Modified: trunk/dports/science/pymol-devel/Portfile
===================================================================
--- trunk/dports/science/pymol-devel/Portfile	2016-01-06 22:37:15 UTC (rev 144343)
+++ trunk/dports/science/pymol-devel/Portfile	2016-01-06 22:56:40 UTC (rev 144344)
@@ -2,97 +2,16 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python 1.0
 
+# This port can be removed on 6 Jan 2017
+replaced_by         pymol
+PortGroup           obsolete 1.0
+
 name                pymol-devel
-conflicts           pymol
 svn.revision        4007
-revision            2
 version             1.5.0.3.r${svn.revision}
-# license is equivalent to the 3-clause BSD (https://svn.code.sf.net/p/pymol/code/trunk/pymol/LICENSE)
 license             BSD
-revision            4
+revision            5
 categories          science chemistry
 maintainers         nomaintainer
-description         Molecular graphics system
-long_description    PyMOL is a molecular graphics system with an embedded Python interpreter \
-                    designed for real-time visualization and rapid generation of high-quality \
-                    molecular graphics images and animations.
-
-platforms           darwin
-
 homepage            http://www.pymol.org/
-
-master_sites        sourceforge
-fetch.type          svn
-svn.url             https://svn.code.sf.net/p/pymol/code/trunk/pymol/
-worksrcdir          pymol
-
-python.default_version  27
-
-depends_lib-append  port:freetype port:libpng port:py${python.version}-pmw port:py${python.version}-numpy port:py${python.version}-scipy port:mesa port:glew port:py${python.version}-tkinter port:freeglut
-depends_run         port:xdpyinfo
-
-pre-fetch {
-    set i [lindex [registry_active "tcl"] 0]
-    set regref [registry_open [lindex $i 0] [lindex $i 1] [lindex $i 2] [lindex $i 3] [lindex $i 5]]
-    set variants [registry_prop_retr $regref variants]
-    if {[regexp "\\+corefoundation(\\+|-|$)" ${variants}]} {
-        ui_debug "Port '${name}' is incompatible with the 'corefoundation' variant of the 'tcl' port."
-        return -code error "incompatible variant in dependent port"
-    }
-}
-
-# py*-scipy is not universal
-universal_variant   no
-
-patchfiles          pymol_shell.diff pmg_tk_platform.patch apbs-psize.patch
-
-post-patch {
-    reinplace  "s|@PREFIX@|${prefix}|g" ${worksrcpath}/setup.py
-    reinplace  "s|@@PYTHON_PKGDIR@@|${python.pkgd}|g" ${worksrcpath}/setup/pymol_macports
-    reinplace  "s|@@PYTHON_BINARY@@|${python.bin}|g" ${worksrcpath}/setup/pymol_macports
-}
-
-use_parallel_build yes
-
-variant gcc43 description conflicts gcc44 gcc45 gcc46 gcc47 description {build using macports-gcc-4.3} {
-    python.add_archflags   no
-    configure.compiler  macports-gcc-4.3
-}
-
-variant gcc44 description conflicts gcc43 gcc45 gcc46 gcc47 description {build using macports-gcc-4.4} {
-    python.add_archflags   no
-    configure.compiler  macports-gcc-4.4
-}
-
-variant gcc45 description conflicts gcc43 gcc44 gcc46 gcc47 description {build using macports-gcc-4.5} {
-    python.add_archflags   no
-    configure.compiler  macports-gcc-4.5
-}
-
-variant gcc46 description conflicts gcc43 gcc44 gcc45 gcc47 description {build using macports-gcc-4.6} {
-    python.add_archflags   no
-    configure.compiler  macports-gcc-4.6
-}
-
-variant gcc47 description conflicts gcc43 gcc44 gcc45 gcc46 description {build using macports-gcc-4.7} {
-    python.add_archflags   no
-    configure.compiler  macports-gcc-4.7
-}
-
-build {
-}
-
-pre-destroot {
-    destroot.env CC="${configure.cc}" CXX="${configure.cxx}"
-}
-
-post-destroot {
-     file copy ${worksrcpath}/setup/pymol_macports ${destroot}${prefix}/bin/pymol
-     file attributes ${destroot}${prefix}/bin/pymol -permissions a+x
-     ln -s ${python.pkgd}/pymol ${destroot}${python.pkgd}/pymol/pymol_path
-     foreach d {data modules examples test scripts} {
-        copy ${worksrcpath}/${d} ${destroot}${python.pkgd}/pymol
-    }
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160106/25ad69e2/attachment.html>


More information about the macports-changes mailing list