Hello community,

here is the log from the commit of package pymol for openSUSE:Factory
checked in at Mon Sep 19 21:25:52 CEST 2011.



--------
New Changes file:

--- /dev/null   2010-08-26 16:28:41.000000000 +0200
+++ /mounts/work_src_done/STABLE/pymol/pymol.changes    2011-09-16 
04:26:07.000000000 +0200
@@ -0,0 +1,76 @@
+-------------------------------------------------------------------
+Fri Sep 16 01:54:16 UTC 2011 - dh...@wustl.edu
+
+- update to svn rev 3965
+  * Fixed a conversion bug in util.cbc; thanks Hongbo.
+  * Added A > Compute > Molecular Weight and cleaned up the compute menu in 
general
+  * Fixed click-flash that happens when middle-clicking when showing the 
background
+    gradient (thanks, Blaine)
+  * Added A > Generate > Selection > polar, non_polar, acceptor/donator options
+
+-------------------------------------------------------------------
+Fri Aug  5 22:22:56 UTC 2011 - dh...@wustl.edu
+
+- update to svn rev 3962:
+  * code cleanup
+  * fix opengl from python
+  * read and importing fixes
+
+-------------------------------------------------------------------
+Thu Jul  7 19:32:39 UTC 2011 - dh...@wustl.edu
+
+- Small state bugfix
+- Feedback bugfix
+- Updated TNT to 3.0b
+
+-------------------------------------------------------------------
+Sun Jul  3 13:44:10 UTC 2011 - sasc...@gmx.de
+
+- Spec file cleanup:
+  * Added proper license header
+  * Removed authors from description
+
+-------------------------------------------------------------------
+Fri Jun 17 13:51:09 UTC 2011 - dh...@wustl.edu
+
+- have just one package rather than pymol+python-pymol, maybe chempy
+will split out later
+
+-------------------------------------------------------------------
+Thu Jun 16 21:56:32 UTC 2011 - dh...@wustl.edu
+
+- update to svn version 3955
+- fixed stick coloring
+- fixed save mol file
+- fixed shading/fog
+- fixed volume shaders
+- supress guess valences
+
+-------------------------------------------------------------------
+Thu Jun  2 19:02:45 UTC 2011 - dh...@wustl.edu
+
+- update to svn version 3951
+- fix clipped group names
+- much faster ribbons
+
+-------------------------------------------------------------------
+Tue May 10 20:02:06 UTC 2011 - dh...@wustl.edu
+
+- move pymol_path stuff into python module
+
+-------------------------------------------------------------------
+Tue May 10 19:42:45 UTC 2011 - dh...@wustl.edu
+
+- fix dependencies
+- mark file as executable
+
+-------------------------------------------------------------------
+Tue May 10 17:49:20 UTC 2011 - dh...@wustl.edu
+
+correct separation between pymol and python-pymol- 
+
+-------------------------------------------------------------------
+Tue May 10 16:25:06 UTC 2011 - dh...@wustl.edu
+
+Initial checkin of pymol 1.4.1- 
+

calling whatdependson for head-i586


New:
----
  1_rpmroot.patch
  pymol-1.4.1.svn3965.tar.bz2
  pymol.changes
  pymol.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pymol.spec ++++++
#
# spec file for package pymol
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

Name:           pymol
Version:        1.4.1.svn3965
Release:        0
Url:            http://pymol.org
Summary:        A Molecular Viewer
License:        CNRI Python License
Group:          Productivity/Scientific/Chemistry
Source:         %{name}-%{version}.tar.bz2
Patch0:         1_rpmroot.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python-devel
BuildRequires:  freeglut-devel
BuildRequires:  gcc-c++
BuildRequires:  glew-devel
BuildRequires:  libpng-devel
Requires:       glew
Requires:       python-pmw
%if 0%{?suse_version}
%py_requires
%if 0%{?suse_version} > 1010
BuildRequires:  fdupes
%endif
%endif

%description
PyMOL is a molecular graphics system targetted at medium to large
biomolecules like proteins. It can generate high-quality
publication-ready molecular graphics images and animations. 

Features include:

* Visualization of molecules, molecular trajectories and surfaces
  of crystallography data or orbitals
* Molecular builder and sculptor
* Internal raytracer and movie generator
* Fully extensible and scriptable via a python interface

File formats PyMOL can read include PDB, XYZ, CIF, MDL Molfile,
ChemDraw, CCP4 maps, XPLOR maps and Gaussian cube maps. 

%prep
%setup -q
%patch0
sed -i "1d" modules/pmg_tk/startup/apbs_tools.py # Remove she-bang line

%build
CFLAGS="%{optflags}" python setup.py build

%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
PYTHONPATH=%{buildroot}%{py_sitedir} python setup2.py install 
--root=%{buildroot}
install -D pymol %{buildroot}%{_bindir}/pymol
%if 0%{?suse_version} > 1010
%fdupes %{buildroot}%{_prefix}
%endif

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%{_bindir}/pymol
%{python_sitearch}*

%changelog
++++++ 1_rpmroot.patch ++++++
--- setup2.py.orig      2009-04-17 09:57:26.887027924 +0200
+++ setup2.py   2009-04-17 11:57:39.835033241 +0200
@@ -36,16 +36,24 @@
 else:
    uninstall = 0
    
+
 try:
    pymol_launch = 3
    import pymol
+   import getopt
    
    if not (os.path.exists("data") and os.path.exists("LICENSE")):
       print ' Please run "python setup2.py" from the PyMOL source directory.'
    else:
+      rpm_root = ""
+      opts, args = getopt.gnu_getopt(sys.argv[1:], "r:", ["root="])
+      for opt, arg in opts:
+        if opt in ("-r", "--root"):
+          rpm_root = arg
       pymol_file = sys.modules['pymol'].__file__
       if pymol_file[-4:]==".pyc":
          pymol_file = pymol_file[0:-1]
+      inst_pymol_file = re.sub("^" + rpm_root,"/",pymol_file)
 
       site_packages = os.path.split(os.path.split(pymol_file)[0])[0]
 
@@ -107,7 +115,7 @@
          if python_exe[0:2]=="./":
             python_exe=os.getcwd()+"/"+python_exe[2:]
          if sys.platform!='win32':
-            f.write(python_exe+" "+pymol_file+" \"$@\"\n")
+            f.write(python_exe+" "+inst_pymol_file+" \"$@\"\n")
          else:
             f.write('"%s" "%s" %%1 %%2 %%3 %%4 %%5 %%6 %%7 %%8 
%%9\n'%(python_exe,pymol_file))
          f.close()

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to