Hello community, here is the log from the commit of package python-pymol for openSUSE:Factory checked in at 2019-01-05 14:42:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pymol (Old) and /work/SRC/openSUSE:Factory/.python-pymol.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pymol" Sat Jan 5 14:42:32 2019 rev:4 rq:662740 version:2.2.0+git.1544795767.c481a7c1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pymol/python-pymol.changes 2018-08-31 10:43:31.899137274 +0200 +++ /work/SRC/openSUSE:Factory/.python-pymol.new.28833/python-pymol.changes 2019-01-05 14:42:34.132469510 +0100 @@ -1,0 +2,16 @@ +Thu Jan 03 22:17:20 UTC 2019 - [email protected] + +- Update to version 2.2.0+git.1544795767.c481a7c1: + * fix SettingUniqueFromPyList w/ float3 + * remove pymol::Image::Image(T&& vec, ...) + * refactor: pymol::Image tweaks + * rewrite "get_raw_alignment" + * refactor: pymol::vla::operator->() usage + * fix #16 pymol::vla::operator[] for VS2015 32bit + * fix pymol::vla::operator+ for VS2015 + * pymol::Image::pixels() + * fix build + * fix macOS build +- Switch off msgpackc as we don't have mmtf-cpp packaged. + +------------------------------------------------------------------- Old: ---- v2.2.0.tar.gz New: ---- _service _servicedata pymol-open-source-2.2.0+git.1544795767.c481a7c1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pymol.spec ++++++ --- /var/tmp/diff_new_pack.0EUwvR/_old 2019-01-05 14:42:34.832468916 +0100 +++ /var/tmp/diff_new_pack.0EUwvR/_new 2019-01-05 14:42:34.832468916 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pymol # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,20 +12,22 @@ # 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/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python +%define modname pymol-open-source Name: python-pymol -Version: 2.2.0 +Version: 2.2.0+git.1544795767.c481a7c1 Release: 0 Summary: A Molecular Viewer License: Python-2.0 Group: Productivity/Scientific/Chemistry URL: http://pymol.org -Source: https://github.com/schrodinger/pymol-open-source/archive/v%{version}.tar.gz +# Source: https://github.com/schrodinger/%%{modname}/archive/v%%{version}/%%{modname}-%%{version}.tar.gz +Source: %{modname}-%{version}.tar.xz # PATCH-FIX-OPENSUSE no-build-date.patch [email protected] -- patch eliminates build date Patch0: no-build-date.patch # PATCH-FIX-OPENSUSE no-o3.patch [email protected] -- do not add O3 to the code @@ -40,7 +42,7 @@ BuildRequires: gcc-c++ BuildRequires: glew-devel BuildRequires: glm-devel -BuildRequires: libmsgpack-devel +# BuildRequires: libmsgpack-devel BuildRequires: libpng-devel BuildRequires: libxml2-devel BuildRequires: python-rpm-macros @@ -70,14 +72,15 @@ ChemDraw, CCP4 maps, XPLOR maps and Gaussian cube maps. %prep -%setup -q -n pymol-open-source-%{version} -%patch0 -%patch1 -p1 +%setup -q -n %{modname}-%{version} +%autopatch -p1 sed -i "1d" modules/pmg_tk/startup/apbs_tools.py # Remove she-bang line %build export CXXFLAGS="%{optflags} -fno-strict-aliasing" -%python_build +# We cannot use msgpackc as we don't have mmtf-cpp packaged, +# gh#schrodinger/pymol-open-source#17 +%python_build --use-msgpackc=no %install %python_install ++++++ _service ++++++ <services> <service name="tar_scm" mode="disabled"> <param name="versionprefix">2.2.0+git</param> <param name="url">https://github.com/schrodinger/pymol-open-source</param> <param name="scm">git</param> <param name="exclude">.git*</param> <!--param name="revision">lsp-support</param--> <param name="changesgenerate">enable</param> </service> <service name="recompress" mode="disabled"> <param name="compression">xz</param> <param name="file">*.tar</param> </service> <service name="set_version" mode="disabled" /> </services> ++++++ _servicedata ++++++ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/schrodinger/pymol-open-source</param> <param name="changesrevision">c481a7c104e81dd56fe278b95ecaaad8d47a5074</param></service></servicedata>++++++ no-build-date.patch ++++++ --- /var/tmp/diff_new_pack.0EUwvR/_old 2019-01-05 14:42:34.884468871 +0100 +++ /var/tmp/diff_new_pack.0EUwvR/_new 2019-01-05 14:42:34.884468871 +0100 @@ -10,11 +10,9 @@ create_shadertext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -Index: create_shadertext.py -=================================================================== ---- create_shadertext.py.bkup 2016-02-08 14:47:13.283417598 -0500 -+++ create_shadertext.py 2016-02-08 14:47:23.679428451 -0500 -@@ -112,7 +112,7 @@ +--- a/create_shadertext.py ++++ b/create_shadertext.py +@@ -141,7 +141,7 @@ def create_buildinfo(outputdir, pymoldir #define _PyMOL_BUILD_DATE %d #define _PYMOL_BUILD_GIT_SHA "%s" #define _PyMOL_BUILD_SVN_REV %d ++++++ no-o3.patch ++++++ --- /var/tmp/diff_new_pack.0EUwvR/_old 2019-01-05 14:42:34.892468865 +0100 +++ /var/tmp/diff_new_pack.0EUwvR/_new 2019-01-05 14:42:34.892468865 +0100 @@ -1,15 +1,13 @@ -Index: pymol-open-source-2.2.0/setup.py -=================================================================== ---- pymol-open-source-2.2.0.orig/setup.py -+++ pymol-open-source-2.2.0/setup.py -@@ -275,11 +275,6 @@ ext_comp_args = [ +--- a/setup.py ++++ b/setup.py +@@ -261,11 +261,6 @@ ext_comp_args = [ + "-Wno-narrowing", # legacy stuff - '-Wno-unused-function', '-Wno-char-subscripts', - # optimizations - "-ffast-math", - "-funroll-loops", -- "-O3", +- "-O0" if DEBUG else "-O3", - "-fcommon", ] ext_link_args = []
