Hello community, here is the log from the commit of package pymol for openSUSE:Factory checked in at 2017-10-13 14:14:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pymol (Old) and /work/SRC/openSUSE:Factory/.pymol.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pymol" Fri Oct 13 14:14:43 2017 rev:50 rq:533131 version:1.8.7.0.svn4177 Changes: -------- --- /work/SRC/openSUSE:Factory/pymol/pymol.changes 2017-05-18 20:48:07.088970905 +0200 +++ /work/SRC/openSUSE:Factory/.pymol.new/pymol.changes 2017-10-13 14:14:45.327743191 +0200 @@ -1,0 +2,46 @@ +Wed Sep 20 18:39:35 UTC 2017 - [email protected] + +- update to svn rev 4177 + * expose "oneletter" to label/iterate + * sequence viewer: MSE=M SEC=U + * wire/licorice rep aliases + * menu: A > copy to object + * new commands: copy_to, uniquify + * fix slow 'extract' performance + +------------------------------------------------------------------- +Wed Aug 16 21:30:00 UTC 2017 - [email protected] + +- obsolete and provide pymol + +------------------------------------------------------------------- +Fri Aug 4 16:49:23 UTC 2017 - [email protected] + +- move to python singlespec + +------------------------------------------------------------------- +Fri Aug 4 15:47:20 UTC 2017 - [email protected] + +- 1.8.7.0 + * support "not ..." and "enabled" in name patterns (e.g.: delete not enabled) + * improve/fix unicode+utf-8 handling for labels + * iterate color settings: type int (e.g.: iterate all, print(s.sphere_color)) + * fix cmd.load with contents https://sf.net/p/pymol/mailman/message/35966326/ + * fix ray tracing of stick_ball + valence https://sf.net/p/pymol/mailman/message/35928857/ + * web.pymolhttpd -> pymol.pymolhttpd + Generic "web" name conflicts with webpy + https://sf.net/p/pymol/bugs/148/ + * make build reproducible + https://sf.net/p/pymol/patches/12/ + * delete obsolete packaging files + * internal command line: consistent behavior across platforms + * new "label" selection operator + * alter_state: remove restriction on x/y/z/flags + * iterate/label: expose "state" for discrete atoms + * CTRL+L drag/click -> move/center in 3-Button-Viewing mode + * auto-detect $PREFIX/share/pymol as $PYMOL_PATH + * locale LC_NUMERIC=C float parsing/formatting + * Python 3: fix wrong PyCapsule_New destructor + * PSE compatibility between Python 2 and 3 + +------------------------------------------------------------------- Old: ---- pymol-1.8.6.1.svn4172.tar.xz New: ---- pymol-1.8.7.0.svn4177.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pymol.spec ++++++ --- /var/tmp/diff_new_pack.YSCcGf/_old 2017-10-13 14:14:46.723681811 +0200 +++ /var/tmp/diff_new_pack.YSCcGf/_new 2017-10-13 14:14:46.727681635 +0200 @@ -16,8 +16,10 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define oldpython python Name: pymol -Version: 1.8.6.1.svn4172 +Version: 1.8.7.0.svn4177 Release: 0 Url: http://pymol.org Summary: A Molecular Viewer @@ -25,8 +27,11 @@ Group: Productivity/Scientific/Chemistry Source: %{name}-%{version}.tar.xz # PATCH-FIX-OPENSUSE no-build-date.patch [email protected] -- patch eliminates build date -Patch: no-build-date.patch +Patch0: no-build-date.patch +# PATCH-FIX-OPENSUSE python3.patch [email protected] -- patch names bin/pymol as bin/pymol3 in python3 BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: %{python_module devel} +BuildRequires: %{python_module numpy-devel} BuildRequires: freeglut-devel BuildRequires: freetype2-devel BuildRequires: gcc-c++ @@ -34,17 +39,17 @@ BuildRequires: libmsgpack-devel BuildRequires: libpng-devel BuildRequires: libxml2-devel -BuildRequires: python-devel -BuildRequires: python-numpy-devel +BuildRequires: python-rpm-macros Requires: glew Requires: python-numpy Requires: python-pmw -%if 0%{?suse_version} -%py_requires -%if 0%{?suse_version} > 1010 BuildRequires: fdupes -%endif -%endif +Obsoletes: pymol < %{version} +Provides: pymol = %{version} +Requires(post): update-alternatives +Requires(postun): update-alternatives + +%python_subpackages %description PyMOL is a molecular graphics system targetted at medium to large @@ -64,23 +69,29 @@ %prep %setup -q -%patch +%patch0 sed -i "1d" modules/pmg_tk/startup/apbs_tools.py # Remove she-bang line %build +%python_build %install -CFLAGS="%{optflags}" python setup.py install --prefix=%{_prefix} --root=%{buildroot} -%if 0%{?suse_version} > 1010 +%python_install +%python_clone -a %{buildroot}%{_bindir}/pymol %fdupes %{buildroot}%{_prefix} -%endif + +%post +%python_install_alternative pymol + +%postun +%python_uninstall_alternative pymol %clean rm -rf %{buildroot} -%files -%defattr(-,root,root) -%{_bindir}/pymol +%files %python_files +%defattr(-,root,root,-) +%python_alternative %{_bindir}/pymol %{python_sitearch}* %changelog ++++++ no-build-date.patch ++++++ --- /var/tmp/diff_new_pack.YSCcGf/_old 2017-10-13 14:14:46.747680756 +0200 +++ /var/tmp/diff_new_pack.YSCcGf/_new 2017-10-13 14:14:46.751680580 +0200 @@ -1,4 +1,4 @@ -From: David Hall <[email protected]> +From: David Hall <[email protected]> Date: 2013-11-11 12:41:00 -0500 Subject: do not include build date in package References: ++++++ pymol-1.8.6.1.svn4172.tar.xz -> pymol-1.8.7.0.svn4177.tar.xz ++++++ /work/SRC/openSUSE:Factory/pymol/pymol-1.8.6.1.svn4172.tar.xz /work/SRC/openSUSE:Factory/.pymol.new/pymol-1.8.7.0.svn4177.tar.xz differ: char 25, line 1
