openSUSE Commits
Threads by month
- ----- 2024 -----
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
March 2021
- 1 participants
- 2434 discussions
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package libpgf for openSUSE:Factory checked in at 2021-03-30 21:08:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libpgf (Old)
and /work/SRC/openSUSE:Factory/.libpgf.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libpgf"
Tue Mar 30 21:08:50 2021 rev:11 rq:875684 version:7.21.7
Changes:
--------
--- /work/SRC/openSUSE:Factory/libpgf/libpgf.changes 2019-04-30 13:02:21.870134355 +0200
+++ /work/SRC/openSUSE:Factory/.libpgf.new.2401/libpgf.changes 2021-03-30 21:08:52.177276211 +0200
@@ -1,0 +2,11 @@
+Sat Feb 27 23:18:17 UTC 2021 - Asterios Dramis <asterios.dramis(a)gmail.com>
+
+- Update to version 7.21.7:
+ * This bug fix is for ROI decoding only. This bug fix is
+ necessary if several Read() and ResetStreamPos() operations are
+ called with the same PGFimage object after a single Open()
+ call.
+ From version 7.21.2:
+ * Documentation and build tool update.
+
+-------------------------------------------------------------------
Old:
----
libPGF-codec-and-console-src.zip
New:
----
libpgf.zip
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libpgf.spec ++++++
--- /var/tmp/diff_new_pack.hXB5Rc/_old 2021-03-30 21:08:56.689281167 +0200
+++ /var/tmp/diff_new_pack.hXB5Rc/_new 2021-03-30 21:08:56.693281172 +0200
@@ -1,7 +1,7 @@
#
# spec file for package libpgf
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,13 +18,13 @@
%define so_ver 7
Name: libpgf
-Version: 7.19.3
+Version: 7.21.7
Release: 0
Summary: Progressive Graphics File Library
License: LGPL-2.1-or-later
Group: Productivity/Graphics/Other
-URL: http://www.libpgf.org/
-Source0: https://sourceforge.net/projects/%{name}/files/%{name}/%{version}-latest/li…
+URL: https://www.libpgf.org/
+Source0: https://sourceforge.net/projects/%{name}/files/%{name}/%{version}/libpgf.zip
BuildRequires: doxygen
BuildRequires: gcc-c++
BuildRequires: graphviz
@@ -52,26 +52,32 @@
libpgf is a library for working with PGF (Progresive Graphics File) images.
%prep
-%setup -q -n libPGF-codec-and-console-src
+%setup -q -n %{name}
+
+# Fix autogen.sh failure "wrong-file-end-of-line-encoding"
+find . -name Makefile.am | xargs sed -i 's/\r$//'
+sed -i 's/\r$//' config.h.in
+sed -i 's/\r$//' configure.ac
+sed -i 's/\r$//' autogen.sh
+
+# Fix autogen.sh failure
+touch README
-cd PGF/Codec/
# Add "libpgf-" prefix to all man pages to prevent conflicts with other packages
sed -i 's/\$(mandir)\/man3\/\$\$f/\$(mandir)\/man3\/libpgf-\$\$f/' doc/Makefile.am
# Fix rpmlint warning "wrong-file-end-of-line-encoding"
-sed -i 's/\r$//' README
+sed -i 's/\r$//' README.txt
# Remove build time references so build-compare can do its work
echo "HTML_TIMESTAMP = NO" >> doc/Doxyfile.in
%build
-cd PGF/Codec/
sh autogen.sh
%configure --disable-static
-make %{?_smp_mflags}
+%make_build
%install
-cd PGF/Codec/
%make_install DOC_DIR=%{buildroot}%{_docdir}/%{name}-devel/
# Remove libtool config files
@@ -81,8 +87,8 @@
%postun -n libpgf%{so_ver} -p /sbin/ldconfig
%files devel
-%license PGF/Codec/COPYING
-%doc PGF/Codec/README
+%license COPYING
+%doc README.txt
%doc %{_docdir}/%{name}-devel/
%{_includedir}/libpgf/
%{_libdir}/pkgconfig/libpgf.pc
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-PyMuPDF for openSUSE:Factory checked in at 2021-03-30 21:08:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-PyMuPDF (Old)
and /work/SRC/openSUSE:Factory/.python-PyMuPDF.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-PyMuPDF"
Tue Mar 30 21:08:41 2021 rev:14 rq:875642 version:1.18.9
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-PyMuPDF/python-PyMuPDF.changes 2021-02-23 20:22:15.863754343 +0100
+++ /work/SRC/openSUSE:Factory/.python-PyMuPDF.new.2401/python-PyMuPDF.changes 2021-03-30 21:08:44.209267457 +0200
@@ -1,0 +2,30 @@
+Sat Feb 27 00:04:25 UTC 2021 - John Vandenberg <jayvdb(a)gmail.com>
+
+- Revised License to be AGPL-3.0-only
+- Add %doc
+- Remove COPYING now provided in tarball
+- Update to v1.18.9
+ * Removed ambiguous statements concerning PyMuPDF's license,
+ which is now clearly stated to be GNU AGPL V3
+ * Fixed issue 895
+ * Since v1.17.6 PyMuPDF suppresses the font subset tags and only
+ reports the base fontname in text extraction outputs
+ "dict" / "json" / "rawdict" / "rawjson".
+ Now a new global parameter can request the old behaviour,
+ `Tools.set_subset_fontnames`.
+ * Pixmap creation now also works with filenames given as pathlib.
+ * Changed `Document.subset_fonts`: Text is not rewritten any more
+ and should therefore retain all its origial properties -- like
+ being hidden or being controlled by Optional Content mechanisms.
+ * `TextWriter.fill_textbox`, `TextWriter.append` now accept a new
+ boolean parameter `right_to_left`, which is *False* by default.
+ * Changed `TextWriter.fill_textbox` to return all lines of text,
+ that did not fit in the given rectangle. Also changed the default
+ of the `warn` parameter to no longer print a warning message
+ in overflow situations.
+ * Added a utility function `recover_quad`, which computes the
+ quadrilateral of a span. This function can be used when
+ quadrilaterals for text extracted with the "dict" or "rawdict"
+ options of `Page.get_text`.
+
+-------------------------------------------------------------------
Old:
----
COPYING
PyMuPDF-1.18.8.tar.gz
New:
----
PyMuPDF-1.18.9.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-PyMuPDF.spec ++++++
--- /var/tmp/diff_new_pack.QZHpyo/_old 2021-03-30 21:08:44.805268112 +0200
+++ /var/tmp/diff_new_pack.QZHpyo/_new 2021-03-30 21:08:44.809268116 +0200
@@ -21,21 +21,20 @@
%define skip_python2 1
%define pypi_name PyMuPDF
Name: python-%{pypi_name}
-Version: 1.18.8
+Version: 1.18.9
Release: 0
Summary: Python binding for MuPDF, a PDF and XPS viewer
-License: GPL-3.0-only AND AGPL-3.0-only
+License: AGPL-3.0-only
Group: Development/Libraries/Python
URL: https://github.com/pymupdf/PyMuPDF
Source: https://files.pythonhosted.org/packages/source/P/PyMuPDF/PyMuPDF-%{version}…
-Source1: https://raw.githubusercontent.com/pymupdf/PyMuPDF/master/COPYING
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: gcc
BuildRequires: jbig2dec-devel
-BuildRequires: mupdf-devel-static >= 1.18.0
BuildRequires: mupdf-devel-static < 1.19.0
+BuildRequires: mupdf-devel-static >= 1.18.0
BuildRequires: openSUSE-release
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
@@ -57,15 +56,14 @@
%prep
%setup -q -n %{pypi_name}-%{version}
-cp %{SOURCE1} .
%build
export CFLAGS="%{optflags} -I/usr/include/freetype2"
-
%python_build
%install
%python_install
+rm %{buildroot}%{_prefix}/{COPYING,README.md,changes.rst}
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
@@ -74,6 +72,7 @@
%files %{python_files}
%license COPYING
+%doc README.md changes.rst
%{python_sitearch}/*
%changelog
++++++ PyMuPDF-1.18.8.tar.gz -> PyMuPDF-1.18.9.tar.gz ++++++
++++ 3963 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package occt for openSUSE:Factory checked in at 2021-03-30 21:08:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/occt (Old)
and /work/SRC/openSUSE:Factory/.occt.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "occt"
Tue Mar 30 21:08:11 2021 rev:4 rq:876031 version:7.5.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/occt/occt.changes 2019-02-08 12:14:13.781450697 +0100
+++ /work/SRC/openSUSE:Factory/.occt.new.2401/occt.changes 2021-03-30 21:08:25.405246799 +0200
@@ -1,0 +2,56 @@
+Sat Feb 27 15:35:46 UTC 2021 - Stefan Br��ns <stefan.bruens(a)rwth-aachen.de>
+
+- enable glTF support, depends on RapidJSON.
+- Fix FreeCad crash with some fillets and chamfers
+ (https://tracker.freecadweb.org/view.php?id=4543), add
+ 0001-Add-error-checking-to-chamfer-and-fillet-code.patch
+
+-------------------------------------------------------------------
+Mon Feb 22 15:17:23 UTC 2021 - Stefan Br��ns <stefan.bruens(a)rwth-aachen.de>
+
+- update to version 7.5.1, for details see
+ https://www.opencascade.com/open-cascade-starts-supporting-maintenance-rele…
+- update to version 7.5.0, for details see
+ https://old.opencascade.com/sites/default/files/documents/release_notes_7.5…
+- update to version 7.4.0, for details see
+ https://old.opencascade.com/sites/default/files/documents/release_notes_7.4…
+- Packaging changes:
+ * Move resources referenced by the libraries to separate package
+ * Move drawexe resources to matching package
+ * Remove the mostly empty occt package
+- Drop use-local-mathjax.patch, use mathjax gendoc option
+- Drop enable-exceptions.patch,
+ use BUILD_RELEASE_DISABLE_EXCEPTIONS=false
+
+-------------------------------------------------------------------
+Mon Oct 21 09:19:23 UTC 2019 - Adrian Schr��ter <adrian(a)suse.de>
+
+- update to version 7.3.0p4
+ * bugfixes:
+ 0030760: Modeling Algorithms - Intersection fails in Occt 7.3.0
+ 0029711: General Fuse operation produces invalid result
+ 0030915: Visualization - AIS_ColorScale::FindColor() returns Wrong color for maximal value
+ 0030897: Modeling Algorithms - Crash in UnifySameDomain [Regression]
+ 0030534: Regression in the tool UnifySameDomain - the shape looses faces
+- adapt license tag to current definition (no license change)
+
+-------------------------------------------------------------------
+Fri Mar 1 10:57:15 UTC 2019 - Adrian Schr��ter <adrian(a)suse.de>
+
+- update to version 7.3.0p3
+ * needs to be fetch from git due to lack of tar ball
+ * bugfixes:
+ - 0030510: Application Framework - add missing NULL check within TDataStd_RealArray::ChangeArray()
+ - 0030363: BRepLib::SameParameter with option "forced" corrupts valid shape
+ - 0030174: ShapeUpgrade_UnifySameDomain does not unify cylindrical faces
+ - 0030186: BRepOffsetAPI_MakePipe Generated() method produces no results for the spine edges
+ - 0030204: BRepOffsetAPI_MakePipeShell crash
+ - 0030354: BOP Cut doesn't modify the attached face
+ - 0030143: Foundation Classes - provide operator[] alias for NCollection_Array1, NCollection_Vector
+ - 0029807: [Regression to 7.0.0] Impossible to cut cone from prism
+ - 0028949: BRepOffsetAPI_MakePipe Generated() method produces no result for spine edges
+ - 0029573: ConcatenateWireC0 crashes on two edges wire
+ - 0028085: Incorrect result of CUT operation
+ - 0027928: BOP common produces empty compound
+
+-------------------------------------------------------------------
Old:
----
enable-exceptions.patch
opencascade-7.3.0.tgz
use-local-mathjax.patch
New:
----
0001-Add-error-checking-to-chamfer-and-fillet-code.patch
_service
occt-7.5.1.obscpio
occt.obsinfo
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ occt.spec ++++++
--- /var/tmp/diff_new_pack.jx2ksC/_old 2021-03-30 21:08:28.973250719 +0200
+++ /var/tmp/diff_new_pack.jx2ksC/_new 2021-03-30 21:08:28.977250723 +0200
@@ -1,7 +1,7 @@
#
# spec file for package occt
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,19 +17,20 @@
Name: occt
-Version: 7.3.0
+Version: 7.5.1
Release: 0
%define soname 7
Summary: OpenCASCADE Official Edition
-License: LGPL-2.1 WITH OCCT-exception-1.0
+License: LGPL-2.1-only WITH OCCT-exception-1.0
Group: Productivity/Graphics/CAD
-Url: http://www.opencascade.org/
+URL: https://www.opencascade.com/open-cascade-technology/
# Password protected URL, factory validation will fail
-# https://www.opencascade.com/sites/default/files/private/occt/OCC_%{version}…
-Source0: opencascade-%{version}.tgz
+# https://www.opencascade.com/sites/default/files/private/occt/OCC_%%{version…
+# getting it from git for patch level releases not existing as tar ball
+Source0: occt-%{version}.tar.xz
Patch1: fix_build.patch
-Patch2: enable-exceptions.patch
-Patch3: use-local-mathjax.patch
+# PATCH-FIX-UPSTREAM - https://gitlab.com/blobfish/occt/-/commit/ad0ba55f55b36dc957f66192c4766ace8…
+Patch2: 0001-Add-error-checking-to-chamfer-and-fillet-code.patch
Provides: OpenCASCADE = %{version}
BuildRequires: bison
BuildRequires: cmake
@@ -40,15 +41,13 @@
BuildRequires: mathjax
BuildRequires: tcl-devel
BuildRequires: tk-devel
+BuildRequires: pkgconfig(RapidJSON)
+BuildRequires: pkgconfig(fontconfig)
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(gl)
-BuildRequires: pkgconfig(glu)
-BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xi)
BuildRequires: pkgconfig(xmu)
-BuildRequires: pkgconfig(xt)
-#Requires: tcsh
%description
OpenCASCADE is a suite for 3D surface and solid modeling, visualization, data
@@ -56,92 +55,79 @@
development of numerical simulation software including CAD/CAM/CAE, AEC and
GIS, as well as PDM applications.
+%package resources
+Summary: Binary resource files for %{name}
+Group: System/Libraries
+BuildArch: noarch
+
+%description resources
+This package contains resource files imported from the libraries.
+
%package devel
Summary: Development files for %{name}
Group: Development/Libraries/C and C++
Provides: OpenCASCADE-devel = %{version}
-Requires: %{name} = %{version}
-Requires: %{name}-DRAWEXE = %{version}
-Requires: freetype2-devel
Requires: libopencascade%{soname} = %{version}
Requires: tcl-devel
Requires: tk-devel
+Requires: pkgconfig(freetype2)
Requires: pkgconfig(gl)
-Requires: pkgconfig(glu)
-Requires: pkgconfig(x11)
Requires: pkgconfig(xext)
Requires: pkgconfig(xmu)
-Requires: pkgconfig(xt)
Conflicts: oce-devel
%description devel
This package contains the files needed for development with OpenCASCADE.
%package devel-doc
-BuildArch: noarch
Summary: Development files for %{name}
Group: Development/Libraries/C and C++
+BuildArch: noarch
%description devel-doc
Developer documentation for OpenCASCADE
%package -n libopencascade%{soname}
Summary: OpenCASCADE libraries
-Group: Development/Libraries/C and C++
+Group: System/Libraries
+Requires: %{name}-resources
%description -n libopencascade%{soname}
This package contain the needed libraries for OpenCASCADE
%package DRAWEXE
Summary: Development files for %{name}
-Group: Development/Libraries/C and C++
+Group: Productivity/Graphics/CAD
Conflicts: oce-DRAWEXE
%description DRAWEXE
This package contains the DRAWEXE executable of OpenCASCADE.
%prep
-%setup -q -n opencascade-%{version}
-%patch1 -p0
-%patch2 -p0
-%patch3 -p0
-# update patch if the path is not matching anymore
-[ -e /usr/share/javascript/mathjax/MathJax.js ] || exit 1
+%autosetup -p1
%build
-mkdir build && cd build
-cmake -DCMAKE_C_FLAGS:"STRING=$RPM_OPT_FLAGS" \
- -DCMAKE_CXX_FLAGS:"STRING=$RPM_OPT_FLAGS" \
- -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_SKIP_RPATH=ON \
- -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-%if "%{_libdir}" == "/usr/lib64"
- -DLIB_SUFFIX=64 \
-%endif
+%cmake \
+ -DCMAKE_POLICY_DEFAULT_CMP0083=NEW \
+ -DBUILD_RELEASE_DISABLE_EXCEPTIONS:BOOL=false \
+ -DUSE_RAPIDJSON:BOOL=true \
+ -DINSTALL_DIR_LIB=%{_lib} \
+ -DINSTALL_DIR_CMAKE=%{_lib}/cmake/%{name} \
..
-make %{?_smp_mflags}
+%cmake_build
cd ..
-./gendoc -refman
-# fix permission bits
-find doc README.txt LICENSE_LGPL_21.txt OCCT_LGPL_EXCEPTION.txt -type f | xargs chmod 0644
+# Sidestep gendoc error (#32156) by adding -pdf option
+./gendoc -refman -html -pdf -mathjax="%{_datadir}/javascript/mathjax"
%install
-cd build
-make install DESTDIR=%buildroot
+%cmake_install
+# Make scripts executable
chmod 0755 %buildroot/usr/bin/*
# fixing up broken files
-mv %buildroot/usr/lib/cmake/opencascade/OpenCASCADECompileDefinitionsAndFlags-relwithdebinfo.cmake/OpenCASCADECompileDefinitionsAndFlags-relwithdebinfo.cmake w
-rmdir %buildroot/usr/lib/cmake/opencascade/OpenCASCADECompileDefinitionsAndFlags-relwithdebinfo.cmake
-mv -v w %buildroot/usr/lib/cmake/opencascade/OpenCASCADECompileDefinitionsAndFlags-relwithdebinfo.cmake
-if [ "%_libdir" == "/usr/lib64" ] ;then
- mkdir -p %buildroot/usr/lib64
- mv %buildroot/usr/lib/lib* %buildroot/usr/lib64/
- sed -i -e 's,lib\\${OCCT_INSTALL_BIN_LETTER}/,lib64/,' %buildroot%{_prefix}/lib/cmake/*/*
-else
- sed -i -e 's,lib\\${OCCT_INSTALL_BIN_LETTER}/,lib/,' %buildroot%{_prefix}/lib/cmake/*/*
-fi
+sed -i -e 's,'%{_lib}'\\${OCCT_INSTALL_BIN_LETTER}/,'%{_lib}'/,' %buildroot%{_libdir}/cmake/*/*
rm -rf %buildroot/usr/share/doc
@@ -151,24 +137,27 @@
%postun -n libopencascade%{soname} -p /sbin/ldconfig
-%files
-%license LICENSE_LGPL_21.txt OCCT_LGPL_EXCEPTION.txt
-%doc README.txt
-
%files -n libopencascade%{soname}
+%license LICENSE_LGPL_21.txt OCCT_LGPL_EXCEPTION.txt
%_libdir/lib*.so.%{soname}*
+%files resources
+%dir %{_datadir}/opencascade
+%{_datadir}/opencascade/resources
+
%files DRAWEXE
-/usr/bin/DRAWEXE*
+%{_bindir}/custom*
+%{_bindir}/draw.sh
+%{_bindir}/env.sh
+%{_bindir}/DRAWEXE*
+%{_datadir}/opencascade/samples
+%{_datadir}/opencascade/data
%files devel
-/usr/bin/custom*
-/usr/bin/draw.sh
-/usr/bin/env.sh
-/usr/include/opencascade
-/usr/share/opencascade
-/usr/lib/cmake
-%_libdir/lib*.so
+%doc README.txt
+%{_includedir}/opencascade
+%{_libdir}/cmake
+%{_libdir}/lib*.so
%files devel-doc
%doc doc/refman/html
++++++ 0001-Add-error-checking-to-chamfer-and-fillet-code.patch ++++++
From ad0ba55f55b36dc957f66192c4766ace83f82b7e Mon Sep 17 00:00:00 2001
From: Chris Hennes <chennes(a)gmail.com>
Date: Sat, 30 Jan 2021 17:58:39 -0600
Subject: [PATCH] Add error-checking to chamfer and fillet code
Conflicts:
src/ChFi3d/ChFi3d_Builder_C1.cxx
---
src/ChFi3d/ChFi3d_Builder_0.cxx | 9 +++++++++
src/ChFi3d/ChFi3d_Builder_C1.cxx | 24 ++++++++++++++++++++++++
src/ChFi3d/ChFi3d_Builder_CnCrn.cxx | 14 +++++++++++++-
3 files changed, 46 insertions(+), 1 deletion(-)
diff --git a/src/ChFi3d/ChFi3d_Builder_0.cxx b/src/ChFi3d/ChFi3d_Builder_0.cxx
index de2ff457de..b089d3e4da 100644
--- a/src/ChFi3d/ChFi3d_Builder_0.cxx
+++ b/src/ChFi3d/ChFi3d_Builder_0.cxx
@@ -4394,6 +4394,9 @@ void ChFi3d_cherche_face1 (const TopTools_ListOfShape & map,
if (!Fcur.IsSame(F1)) {
F=Fcur;trouve=Standard_True;}
}
+ if (trouve == Standard_False) {
+ throw Standard_Failure("Failed to find element.");
+ }
}
//=======================================================================
//function : cherche_element
@@ -4433,6 +4436,9 @@ void ChFi3d_cherche_element(const TopoDS_Vertex & V,
}
}
}
+ if (trouve == Standard_False) {
+ throw Standard_Failure("Failed to find edge.");
+ }
}
//=======================================================================
//function : cherche_edge
@@ -4477,6 +4483,9 @@ void ChFi3d_cherche_edge(const TopoDS_Vertex & V,
}
}
}
+ if (trouve == Standard_False) {
+ throw Standard_Failure("Failed to find element.");
+ }
}
//=======================================================================
diff --git a/src/ChFi3d/ChFi3d_Builder_C1.cxx b/src/ChFi3d/ChFi3d_Builder_C1.cxx
index 09a2e10307..8b7e9b260d 100644
--- a/src/ChFi3d/ChFi3d_Builder_C1.cxx
+++ b/src/ChFi3d/ChFi3d_Builder_C1.cxx
@@ -338,6 +338,7 @@ static Standard_Boolean IntersUpdateOnSame(Handle(GeomAdaptor_HSurface)& HGs,
return Standard_False;
Handle(Geom2d_Curve) gpcprol = BRep_Tool::CurveOnSurface(Eprol,Fprol,uf,ul);
+ if (gpcprol.IsNull()) throw Standard_Failure("Failed to create curve.");
Handle(Geom2dAdaptor_HCurve) pcprol = new Geom2dAdaptor_HCurve(gpcprol);
Standard_Real partemp = BRep_Tool::Parameter(Vtx,Eprol);
@@ -822,11 +823,13 @@ void ChFi3d_Builder::PerformOneCorner(const Standard_Integer Index,
if (onsame && IFopArc == 1) pfac1 = p2dbout;
else {
Hc1 = BRep_Tool::CurveOnSurface(CV1.Arc(),Fv,Ubid,Ubid);
+ if (Hc1.IsNull()) throw Standard_Failure("Failed to create curve.");
pfac1 = Hc1->Value(CV1.ParameterOnArc());
}
if (onsame && IFopArc == 2) pfac2 = p2dbout;
else {
Hc2 = BRep_Tool::CurveOnSurface(CV2.Arc(),Fv,Ubid,Ubid);
+ if (Hc2.IsNull()) throw Standard_Failure("Failed to create curve.");
pfac2 = Hc2->Value(CV2.ParameterOnArc());
}
if (Fi1.LineIndex() != 0) {
@@ -868,6 +871,7 @@ void ChFi3d_Builder::PerformOneCorner(const Standard_Integer Index,
//Standard_Real Ubid,Vbid;
Handle (Geom_Curve) C=BRep_Tool::Curve(edgecouture,Ubid,Vbid);
+ if (C.IsNull()) throw Standard_Failure("Failed to create curve.");
Handle(Geom_TrimmedCurve) Ctrim=new Geom_TrimmedCurve (C,Ubid,Vbid);
GeomAdaptor_Curve cur1(Ctrim->BasisCurve());
GeomAdaptor_Curve cur2(Cc);
@@ -1050,6 +1054,7 @@ void ChFi3d_Builder::PerformOneCorner(const Standard_Integer Index,
Standard_Real first, last, prm1, prm2;
Standard_Boolean onfirst, FirstToPar;
Handle(Geom2d_Curve) Hc = BRep_Tool::CurveOnSurface( CV[i].Arc(), Fv, first, last );
+ if (Hc.IsNull()) throw Standard_Failure("Failed to create curve.");
pfac1 = Hc->Value( CV[i].ParameterOnArc() );
PcF = Pc->Value( Udeb );
PcL = Pc->Value( Ufin );
@@ -1101,6 +1106,7 @@ void ChFi3d_Builder::PerformOneCorner(const Standard_Integer Index,
TopoDS_Edge aLocalEdge = CV[i].Arc();
aLocalEdge.Reverse();
Handle(Geom2d_Curve) HcR = BRep_Tool::CurveOnSurface( aLocalEdge, Fv, first, last );
+ if (HcR.IsNull()) throw Standard_Failure("Failed to create curve.");
Interfc = ChFi3d_FilCurveInDS( indcurv, indface, HcR, aLocalEdge.Orientation() );
DStr.ChangeShapeInterferences(indface).Append( Interfc );
//modify degenerated edge
@@ -1126,6 +1132,7 @@ void ChFi3d_Builder::PerformOneCorner(const Standard_Integer Index,
{
Standard_Real fd, ld;
Handle(Geom2d_Curve) Cd = BRep_Tool::CurveOnSurface( Edeg, Fv, fd, ld );
+ if (Cd.IsNull()) throw Standard_Failure("Failed to create curve.");
Handle(Geom2d_TrimmedCurve) tCd = Handle(Geom2d_TrimmedCurve)::DownCast(Cd);
if (! tCd.IsNull())
Cd = tCd->BasisCurve();
@@ -1244,9 +1251,11 @@ void ChFi3d_Builder::PerformOneCorner(const Standard_Integer Index,
const ChFiDS_FaceInterference& Fiop = Fd->Interference(IFopArc);
gp_Pnt2d pop1, pop2, pv1, pv2;
Hc = BRep_Tool::CurveOnSurface(Arcprol,Fop,Ubid,Ubid);
+ if (Hc.IsNull()) throw Standard_Failure("Failed to create curve.");
pop1 = Hc->Value(parVtx);
pop2 = Fiop.PCurveOnFace()->Value(Fiop.Parameter(isfirst));
Hc = BRep_Tool::CurveOnSurface(Arcprol,Fv,Ubid,Ubid);
+ if (Hc.IsNull()) throw Standard_Failure("Failed to create curve.");
pv1 = Hc->Value(parVtx);
pv2 = p2dbout;
ChFi3d_Recale(Bs,pv1,pv2,1);
@@ -1436,6 +1445,9 @@ static void cherche_face (const TopTools_ListOfShape & map,
}
}
}
+ if (trouve == Standard_False) {
+ throw Standard_Failure("Failed to find face.");
+ }
}
//=======================================================================
@@ -1466,6 +1478,9 @@ static void cherche_edge1 (const TopoDS_Face & F1,
{Edge=Ecur1;trouve=Standard_True;}
}
}
+ if (trouve == Standard_False) {
+ throw Standard_Failure("Failed to find edge.");
+ }
}
//=======================================================================
@@ -2147,6 +2162,7 @@ void ChFi3d_Builder::PerformIntersectionAtEnd(const Standard_Integer Index)
if (nb==1) {
Hc1 = BRep_Tool::CurveOnSurface(Edge[0],Face[0],Ubid,Ubid);
+ if (Hc1.IsNull()) throw Standard_Failure("Failed to create curve.");
if (isOnSame1) {
// update interference param on Fi1 and point of CV1
if (prolface[0]) Bs.Initialize(faceprol[0], Standard_False);
@@ -2219,6 +2235,7 @@ void ChFi3d_Builder::PerformIntersectionAtEnd(const Standard_Integer Index)
Handle(Geom_Curve) C;
C=BRep_Tool::Curve(E2,Ubid,Vbid);
+ if (C.IsNull()) throw Standard_Failure("Failed to create curve.");
Handle(Geom_TrimmedCurve) Ctrim = new Geom_TrimmedCurve(C,Ubid,Vbid);
Standard_Real Utrim,Vtrim;
Utrim=Ctrim->BasisCurve()->FirstParameter();
@@ -2344,7 +2361,9 @@ void ChFi3d_Builder::PerformIntersectionAtEnd(const Standard_Integer Index)
paredge2=inters.Point(nbp).W();
if (!extend) {
cfacemoins1=BRep_Tool::CurveOnSurface(E2,F,u2,v2);
+ if (cfacemoins1.IsNull()) throw Standard_Failure("Failed to create curve.");
cface=BRep_Tool::CurveOnSurface(E2,Face[nb],u2,v2);
+ if (cface.IsNull()) throw Standard_Failure("Failed to create curve.");
cfacemoins1->D0(paredge2,pfac2);
cface->D0(paredge2,pint);
}
@@ -4010,11 +4029,13 @@ void ChFi3d_Builder::IntersectMoreCorner(const Standard_Integer Index)
if( IFopArc == 1) pfac1 = p2dbout;
else {
Hc1 = BRep_Tool::CurveOnSurface(CV1.Arc(),Fv,Ubid,Ubid);
+ if (Hc1.IsNull()) throw Standard_Failure("Failed to create curve.");
pfac1 = Hc1->Value(CV1.ParameterOnArc());
}
if(IFopArc == 2) pfac2 = p2dbout;
else {
Hc2 = BRep_Tool::CurveOnSurface(CV2.Arc(),Fv,Ubid,Ubid);
+ if (Hc2.IsNull()) throw Standard_Failure("Failed to create curve.");
pfac2 = Hc2->Value(CV2.ParameterOnArc());
}
if(Fi1.LineIndex() != 0){
@@ -4054,6 +4075,7 @@ void ChFi3d_Builder::IntersectMoreCorner(const Standard_Integer Index)
//Standard_Real Ubid,Vbid;
Handle (Geom_Curve) C=BRep_Tool::Curve(edgecouture,Ubid,Vbid);
+ if (C.IsNull()) throw Standard_Failure("Failed to create curve.");
Handle(Geom_TrimmedCurve) Ctrim=new Geom_TrimmedCurve (C,Ubid,Vbid);
GeomAdaptor_Curve cur1(Ctrim->BasisCurve());
GeomAdaptor_Curve cur2(Cc);
@@ -4284,9 +4306,11 @@ void ChFi3d_Builder::IntersectMoreCorner(const Standard_Integer Index)
// Modified by skv - Thu Aug 21 11:55:58 2008 OCC20222 End
//fin modif
Hc = BRep_Tool::CurveOnSurface(Arcprolbis,Fop,Ubid,Ubid);
+ if (Hc.IsNull()) throw Standard_Failure("Failed to create curve.");
pop1 = Hc->Value(parVtx);
pop2 = Fiop.PCurveOnFace()->Value(Fiop.Parameter(isfirst));
Hc = BRep_Tool::CurveOnSurface(Arcprol,Fv,Ubid,Ubid);
+ if (Hc.IsNull()) throw Standard_Failure("Failed to create curve.");
//modif
parVtx = BRep_Tool::Parameter(Vtx,Arcprol);
//fin modif
diff --git a/src/ChFi3d/ChFi3d_Builder_CnCrn.cxx b/src/ChFi3d/ChFi3d_Builder_CnCrn.cxx
index e8087c1cd7..a04497a6a2 100644
--- a/src/ChFi3d/ChFi3d_Builder_CnCrn.cxx
+++ b/src/ChFi3d/ChFi3d_Builder_CnCrn.cxx
@@ -291,6 +291,9 @@ static void cherche_edge1 (const TopoDS_Face & F1,
{Edge=Ecur1;trouve=Standard_True;}
}
}
+ if (trouve == Standard_False) {
+ throw Standard_Failure("Failed to find edge.");
+ }
}
//=======================================================================
@@ -332,6 +335,7 @@ static void CurveHermite (const TopOpeBRepDS_DataStructure& DStr,
Handle (Geom_Curve) c1,c2;
if (sharpicmoins) {
c1=BRep_Tool::Curve(Eviveicmoins,up1,up2);
+ if (c1.IsNull()) throw Standard_Failure("Failed to create curve.");
}
else {
if (jficmoins==1)
@@ -341,6 +345,7 @@ static void CurveHermite (const TopOpeBRepDS_DataStructure& DStr,
}
if (sharpicplus){
c2=BRep_Tool::Curve(Eviveicplus,up1,up2);
+ if (c2.IsNull()) throw Standard_Failure("Failed to create curve.");
}
else {
jfp=3-jficplus;
@@ -414,8 +419,10 @@ static void CurveHermite (const TopOpeBRepDS_DataStructure& DStr,
}
Eproj.Append(E1);
proj1=BRep_Tool::CurveOnSurface(E1,F,up1,up2);
+ if (proj1.IsNull()) throw Standard_Failure("Failed to create curve.");
proj2d.Append(new Geom2d_TrimmedCurve(proj1,up1,up2));
proj1c=BRep_Tool::Curve(E1,up1,up2);
+ if (proj1c.IsNull()) throw Standard_Failure("Failed to create curve.");
cproj.Append(new Geom_TrimmedCurve(proj1c,up1,up2));
if (error>BRep_Tool::Tolerance(E1)) error=BRep_Tool::Tolerance(E1);
}
@@ -2459,15 +2466,20 @@ void ChFi3d_Builder::PerformMoreThreeCorner(const Standard_Integer Jndex,
Pf=BRep_Tool::Pnt(Vf);
Pl=BRep_Tool::Pnt(Vl);
para=parcom.Value(nb);
- Pcom=BRep_Tool::Curve(TopoDS::Edge(Ecom.Value(nb)),up1,up2)->Value(para);
+ Handle(Geom_Curve) result = BRep_Tool::Curve(TopoDS::Edge(Ecom.Value(nb)),up1,up2);
+ if (result.IsNull()) throw Standard_Failure("Failed to create curve.");
+ Pcom=result->Value(para);
+
if (Pf.Distance(BRep_Tool::Pnt(V1))< Pl.Distance(BRep_Tool::Pnt(V1)))
orvt=TopAbs_FORWARD;
if (!Eproj.Value(nb).IsNull()) {
n3d++;
proj=BRep_Tool::CurveOnSurface(TopoDS::Edge(Eproj.Value(nb)),
TopoDS::Face(Fproj.Value(nb)),up1,up2);
+ if (proj.IsNull()) throw Standard_Failure("Failed to create curve.");
proj2d=new Geom2d_TrimmedCurve(proj,up1,up2);
projc=BRep_Tool::Curve(TopoDS::Edge(Eproj.Value(nb)),up1,up2);
+ if (projc.IsNull()) throw Standard_Failure("Failed to create curve.");
cproj=new Geom_TrimmedCurve(projc,up1,up2);
pardeb=cproj->FirstParameter();
parfin=cproj->LastParameter();
--
GitLab
++++++ _service ++++++
<services>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
</services>
++++++ fix_build.patch ++++++
--- /var/tmp/diff_new_pack.jx2ksC/_old 2021-03-30 21:08:29.013250763 +0200
+++ /var/tmp/diff_new_pack.jx2ksC/_new 2021-03-30 21:08:29.017250767 +0200
@@ -1,11 +1,11 @@
---- CMakeLists.txt.orig 2017-08-30 15:27:56.000000000 +0200
-+++ CMakeLists.txt 2017-09-01 11:35:42.325210630 +0200
+--- a/CMakeLists.txt.orig 2017-08-30 15:27:56.000000000 +0200
++++ b/CMakeLists.txt 2017-09-01 11:35:42.325210630 +0200
@@ -1056,7 +1056,7 @@
endforeach()
# install OpenCASCADE config file with compile definitions and C/C++ flags ONLY for current configuration
install (CODE "string (TOLOWER \"\${CMAKE_INSTALL_CONFIG_NAME}\" CMAKE_INSTALL_CONFIG_NAME_LOWER)")
-install (CODE "configure_file(\"${CMAKE_BINARY_DIR}/OpenCASCADECompileDefinitionsAndFlags-\${CMAKE_INSTALL_CONFIG_NAME_LOWER}.cmake\" \"${INSTALL_DIR}/${INSTALL_DIR_CMAKE}/OpenCASCADECompileDefinitionsAndFlags-\${CMAKE_INSTALL_CONFIG_NAME_LOWER}.cmake\" COPYONLY)")
-+install (CODE "file(INSTALL FILES \"${CMAKE_BINARY_DIR}/OpenCASCADECompileDefinitionsAndFlags-\${CMAKE_INSTALL_CONFIG_NAME_LOWER}.cmake\" DESTINATION \"${INSTALL_DIR}/${INSTALL_DIR_CMAKE}/OpenCASCADECompileDefinitionsAndFlags-\${CMAKE_INSTALL_CONFIG_NAME_LOWER}.cmake\" TYPE FILE)")
++install (CODE "file(INSTALL FILES \"${CMAKE_BINARY_DIR}/OpenCASCADECompileDefinitionsAndFlags-\${CMAKE_INSTALL_CONFIG_NAME_LOWER}.cmake\" DESTINATION \"${INSTALL_DIR}/${INSTALL_DIR_CMAKE}/\" TYPE FILE)")
foreach (OCCT_MODULE ${OCCT_MODULES})
if (BUILD_MODULE_${OCCT_MODULE})
++++++ occt.obsinfo ++++++
name: occt
version: 7.5.1
mtime: 1612255916
commit: 94c00556ea33f3895196b30c45b1fa901ad4c377
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-single-version for openSUSE:Factory checked in at 2021-03-30 21:08:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-single-version (Old)
and /work/SRC/openSUSE:Factory/.python-single-version.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-single-version"
Tue Mar 30 21:08:02 2021 rev:1 rq:875599 version:1.5.1
Changes:
--------
New Changes file:
--- /dev/null 2021-03-11 01:47:46.020784395 +0100
+++ /work/SRC/openSUSE:Factory/.python-single-version.new.2401/python-single-version.changes 2021-03-30 21:08:04.529223864 +0200
@@ -0,0 +1,4 @@
+-------------------------------------------------------------------
+Tue Feb 16 17:07:48 UTC 2021 - Luigi Baldoni <aloisio(a)gmx.com>
+
+- Initial package (v1.5.1)
New:
----
python-single-version.changes
python-single-version.spec
single-version-1.5.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-single-version.spec ++++++
#
# spec file for package python-single-version
#
# Copyright (c) 2021 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-single-version
Version: 1.5.1
Release: 0
Summary: Have a single source of version in your code base
License: MIT
URL: https://github.com/hongquan/single-version
Source0: https://pypi.io/packages/source/s/single-version/single-version-%{version}.…
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
Requires: python-importlib-metadata
Requires: python-first >= 2.0
BuildArch: noarch
%python_subpackages
%description
Utility to let you have a single source of version in your code base.
%prep
%autosetup -n single-version-%{version}
%build
%python_build
%install
%python_install
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/single_version
%{python_sitelib}/single_version-%{version}-py%{python_version}.egg-info
%changelog
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-kiss-headers for openSUSE:Factory checked in at 2021-03-30 21:07:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-kiss-headers (Old)
and /work/SRC/openSUSE:Factory/.python-kiss-headers.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-kiss-headers"
Tue Mar 30 21:07:49 2021 rev:1 rq:875598 version:2.3.0
Changes:
--------
New Changes file:
--- /dev/null 2021-03-11 01:47:46.020784395 +0100
+++ /work/SRC/openSUSE:Factory/.python-kiss-headers.new.2401/python-kiss-headers.changes 2021-03-30 21:07:52.709210879 +0200
@@ -0,0 +1,4 @@
+-------------------------------------------------------------------
+Wed Feb 17 08:16:28 UTC 2021 - Luigi Baldoni <aloisio(a)gmx.com>
+
+- Initial package (v2.3.0)
New:
----
kiss-headers-2.3.0.tar.gz
python-kiss-headers.changes
python-kiss-headers.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-kiss-headers.spec ++++++
#
# spec file for package python-kiss-headers
#
# Copyright (c) 2021 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-kiss-headers
Version: 2.3.0
Release: 0
Summary: Python package for HTTP/1.1 style headers. Parse headers to objects
License: MIT
URL: https://www.kiss-headers.tech/
Source0: https://pypi.io/packages/source/k/kiss-headers/kiss-headers-%{version}.tar.…
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%python_subpackages
%description
Python package for object oriented headers, HTTP/1.1 style. Parser and
serializer for http headers.
%prep
%autosetup -n kiss-headers-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# no test files available in the tarball
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/kiss_headers
%{python_sitelib}/kiss_headers-%{version}-py%{python_version}.egg-info
%changelog
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package edk2 for openSUSE:Factory checked in at 2021-03-30 21:07:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/edk2 (Old)
and /work/SRC/openSUSE:Factory/.edk2.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "edk2"
Tue Mar 30 21:07:37 2021 rev:1 rq:866853 version:202011
Changes:
--------
New Changes file:
--- /dev/null 2021-03-11 01:47:46.020784395 +0100
+++ /work/SRC/openSUSE:Factory/.edk2.new.2401/edk2.changes 2021-03-30 21:07:41.193198227 +0200
@@ -0,0 +1,146 @@
+-------------------------------------------------------------------
+Tue Jan 26 13:13:21 UTC 2021 - Guillaume GARDET <guillaume.gardet(a)opensuse.org>
+
+- Fix build with rpm 4.16
+
+-------------------------------------------------------------------
+Thu Jan 7 16:43:48 UTC 2021 - Guillaume GARDET <guillaume.gardet(a)opensuse.org>
+
+- Fix name when %{platform} is null to have 'edk2' instead of 'edk2-'
+
+-------------------------------------------------------------------
+Thu Dec 10 09:58:42 UTC 2020 - Guillaume GARDET <guillaume.gardet(a)opensuse.org>
+
+- Add SbsaQemu and Overdrive1000Board
+
+-------------------------------------------------------------------
+Thu Dec 10 08:19:14 UTC 2020 - Guillaume GARDET <guillaume.gardet(a)opensuse.org>
+
+- Update edk2 to 202011:
+ * changelog: https://github.com/tianocore/edk2/releases/tag/edk2-stable202011
+ Fix CVE-2019-14584
+ * changelog of 202008 (skipped):
+ https://github.com/tianocore/edk2/releases/tag/edk2-stable202008
+ Fix CVE-2019-11098
+ * changelog of 202005 (skipped):
+ https://github.com/tianocore/edk2/releases/tag/edk2-stable202005
+- Update edk2-platforms to version 0.0~20201209T010944~8f088a1224
+- Update edk2-non-osi to version 0.0~20201209T013638~659382a
+- Update openssl to 1.1.1g
+
+-------------------------------------------------------------------
+Thu Apr 23 15:22:50 UTC 2020 - Guillaume GARDET <guillaume.gardet(a)opensuse.org>
+
+- Add RPi4 platform
+
+-------------------------------------------------------------------
+Thu Apr 23 14:06:48 UTC 2020 - Guillaume GARDET <guillaume.gardet(a)opensuse.org>
+
+- Update edk2 to version 202002:
+ * changelog: https://github.com/tianocore/edk2/releases/tag/edk2-stable202002
+ * changelog of 201911 (skipped):
+ https://github.com/tianocore/edk2/releases/tag/edk2-stable201911
+- Update edk2-non-osi to version 0.0~20200421T141136~96ec764
+- Update edk2-platforms to version 0.0~20200421T131746~5a60c2de3c
+
+-------------------------------------------------------------------
+Thu Oct 24 13:49:18 UTC 2019 - Guillaume GARDET <guillaume.gardet(a)opensuse.org>
+
+- Update edk2 to version 201908:
+ * changelog: https://github.com/tianocore/edk2/releases/tag/edk2-stable201908
+- Update edk2-non-osi to version 0.0~20191021T153136~243e55f
+- Update edk2-platforms to version 0.0~20191021T153232~03f36b8fcf
+
+-------------------------------------------------------------------
+Thu Jun 27 12:42:48 UTC 2019 - Guillaume GARDET <guillaume.gardet(a)opensuse.org>
+
+- Update edk2-non-osi to version 0.0~20190610T165749~eb114ec
+- Update edk2-platforms to version 0.0~20190626T215631~1710027938
+
+-------------------------------------------------------------------
+Fri Jun 7 08:47:23 UTC 2019 - Guillaume GARDET <guillaume.gardet(a)opensuse.org>
+
+- Update edk2 to version 201905
+- Update edk2-platforms to version 0.0~20190604T211045~1098e7ec3e
+
+-------------------------------------------------------------------
+Tue May 28 12:31:53 UTC 2019 - Guillaume GARDET <guillaume.gardet(a)opensuse.org>
+
+- Switch to _multibuild
+
+-------------------------------------------------------------------
+Tue May 28 11:35:56 UTC 2019 - Guillaume GARDET <guillaume.gardet(a)opensuse.org>
+
+- Add Armada80x0McBin platform
+
+-------------------------------------------------------------------
+Mon May 13 08:51:09 UTC 2019 - Guillaume GARDET <guillaume.gardet(a)opensuse.org>
+
+- Update edk2 to version 201903
+- Update edk2-platforms to version 0.0~20190513T092206~ffac728623
+- Update edk2-non-osi to version 0.0~20190423T233527~596043f
+- Remove upstreamed patches:
+ * edk2-cve-2018-12181-1.patch
+ * edk2-cve-2018-12181-2.patch
+- Add RPi3 platform
+- Build in DEBUG mode by default
+
+-------------------------------------------------------------------
+Fri Mar 8 12:22:47 UTC 2019 - Guillaume GARDET <guillaume.gardet(a)opensuse.org>
+
+- Add patches to fix boo#1128503 (CVE 2018-12181):
+ * edk2-cve-2018-12181-1.patch
+ * edk2-cve-2018-12181-2.patch
+
+-------------------------------------------------------------------
+Mon Nov 26 15:06:50 UTC 2018 - Guillaume GARDET <guillaume.gardet(a)opensuse.org>
+
+- Switch to upstream edk2 release
+- Use a template file to add more platforms easily
+- Remove all patches:
+ * gcc7.diff
+ * edk2_genvtf_gcc8.patch
+ * edk2_genvtf_gcc8.diff
+ * ovmf-pie.patch
+
+-------------------------------------------------------------------
+Sun Jun 24 00:16:04 UTC 2018 - afaerber(a)suse.de
+
+- Revert to gcc7
+ gcc7.diff
+
+-------------------------------------------------------------------
+Tue Jun 12 23:52:51 UTC 2018 - afaerber(a)suse.de
+
+- Try to fix gcc8 build
+ edk2_genvtf_gcc8.patch
+ edk2_genvtf_gcc8.diff
+
+-------------------------------------------------------------------
+Thu May 31 20:58:04 UTC 2018 - afaerber(a)suse.de
+
+- Update sources
+
+-------------------------------------------------------------------
+Thu Feb 8 10:55:58 UTC 2018 - afaerber(a)suse.de
+
+- Update sources
+* Drop OpenPlatformPkg_uart_fifo.patch (upstream)
+
+-------------------------------------------------------------------
+Wed Feb 7 17:17:52 UTC 2018 - afaerber(a)suse.de
+
+- Build HiKey, too
+- Fix arrow keys (b9o#659)
+ OpenPlatformPkg_uart_fifo.patch
+
+-------------------------------------------------------------------
+Sun Jan 7 16:06:59 UTC 2018 - afaerber(a)suse.de
+
+- Update to edk2 2.5 + OpenPlatformPkg 1.3.4
+
+-------------------------------------------------------------------
+Mon Dec 26 08:01:27 UTC 2016 - afaerber(a)suse.de
+
+- Initial
+
New:
----
_multibuild
_service
edk2-non-osi-0.0~20201209T013638~659382a.tar.xz
edk2-platforms-0.0~20201209T010944~8f088a1224.tar.xz
edk2-stable202011.tar.gz
edk2.changes
edk2.spec
openssl-1.1.1g.tar.gz
openssl-1.1.1g.tar.gz.asc
openssl.keyring
submodule-BaseTools-Source-C-BrotliCompress-brotli.zip
submodule-MdeModulePkg-Library-BrotliCustomDecompressLib-brotli.zip
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ edk2.spec ++++++
#
# spec file for package edk2-hikey
#
# Copyright (c) 2018 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
# 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/
#
%define platform @BUILD_FLAVOR@%{nil}
%define edk2_platforms_version 0.0~20201209T010944~8f088a1224
%define edk2_non_osi_version 0.0~20201209T013638~659382a
%global openssl_version 1.1.1g
# Build with edk2-non-osi
%bcond_without edk2_non_osi
# Build in debug mode by default
%bcond_without edk2_debug
%if %{with edk2_debug}
%define build_mode DEBUG
%else
%define build_mode RELEASE
%endif
%if "%{platform}" != "%{nil}"
Name: edk2-%{platform}
%else
Name: edk2
%endif
Version: 202011
Release: 0
Summary: Firmware required to run the %{platform}
Url: https://github.com/tianocore/edk2
License: SUSE-Firmware
Group: System/Boot
Source0: https://github.com/tianocore/edk2/archive/edk2-stable%{version}.tar.gz
Source1: edk2-platforms-%{edk2_platforms_version}.tar.xz
Source2: edk2-non-osi-%{edk2_non_osi_version}.tar.xz
Source3: https://github.com/tianocore/edk2/releases/download/edk2-stable%{version}/s…
Source4: https://github.com/tianocore/edk2/releases/download/edk2-stable%{version}/s…
Source10: https://www.openssl.org/source/openssl-%{openssl_version}.tar.gz
Source11: https://www.openssl.org/source/openssl-%{openssl_version}.tar.gz.asc
Source12: openssl.keyring
#!BuildIgnore: gcc-PIE
%if "%{platform}" != "hikey" && "%{platform}" != "hikey960"
BuildRequires: acpica
%endif
BuildRequires: bc
BuildRequires: dos2unix
%if "%{platform}" == "Armada80x0McBin"
BuildRequires: dtc
%endif
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: libuuid-devel
BuildRequires: python3
BuildRequires: python
BuildRequires: unzip
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if "%{platform}" == ""
ExclusiveArch: do_not_build
%else
ExclusiveArch: aarch64
%endif
%description
Firmware required to run the %{platform}
%prep
%setup -q -n edk2-edk2-stable%{version} -a 1 -a 2 -a 3 -a 4
ln -sf edk2-platforms-%{edk2_platforms_version} edk2-platforms
ln -sf edk2-non-osi-%{edk2_non_osi_version} edk2-non-osi
# add openssl
pushd CryptoPkg/Library/OpensslLib/openssl
tar -xf %{SOURCE10} --strip 1
# Fix 1.1.1d error:
sed -i 's/return return 0;/return 0;/' crypto/threads_none.c
popd
%build
%if %{with edk2_non_osi}
export PACKAGES_PATH=$PWD:$PWD/edk2-platforms:$PWD/edk2-platforms/Drivers:$PWD/edk2-non-osi
%else
export PACKAGES_PATH=$PWD:$PWD/edk2-platforms:$PWD/edk2-platforms/Drivers
%endif
%if "%{platform}" == "hikey"
DSC_PATH="edk2-platforms/Platform/Hisilicon/HiKey/HiKey.dsc"
%endif
%if "%{platform}" == "hikey960"
DSC_PATH="edk2-platforms/Platform/Hisilicon/HiKey960/HiKey960.dsc"
%endif
%if "%{platform}" == "Armada80x0McBin"
DSC_PATH="edk2-platforms/Platform/SolidRun/Armada80x0McBin/Armada80x0McBin.dsc"
%endif
%if "%{platform}" == "RPi3"
DSC_PATH="edk2-platforms/Platform/RaspberryPi/RPi3/RPi3.dsc"
%endif
%if "%{platform}" == "RPi4"
DSC_PATH="edk2-platforms/Platform/RaspberryPi/RPi4/RPi4.dsc"
%endif
%if "%{platform}" == "Overdrive1000Board"
DSC_PATH="edk2-platforms/Platform/SoftIron/Overdrive1000Board/Overdrive1000Board.dsc"
%endif
%if "%{platform}" == "SbsaQemu"
DSC_PATH="edk2-platforms/Platform/Qemu/SbsaQemu/SbsaQemu.dsc"
%endif
BUILD_OPTIONS="-a AARCH64 -p $DSC_PATH -b %{build_mode} -t GCC5 %{?jobs:-n %jobs}"
# BaseTools does not support parallel builds, so no -jN here
ARCH=AARCH64 make -C BaseTools BUILD_CC=gcc BUILD_CXX=g++ BUILD_AS=gcc
. ./edksetup.sh
build $BUILD_OPTIONS
%install
# default outdir
%define outdir Build/%{platform}/%{build_mode}_GCC5
%if "%{platform}" == "hikey"
%if %{with edk2_non_osi}
install -D -m 0644 edk2-non-osi/Platform/Hisilicon/HiKey/mcuimage.bin %{buildroot}/boot/mcuimage.bin
%endif
%define outdir Build/HiKey/%{build_mode}_GCC5
%define fd_file BL33_AP_UEFI.fd
%endif
%if "%{platform}" == "hikey960"
%if %{with edk2_non_osi}
install -D -m 0644 edk2-non-osi/Platform/Hisilicon/HiKey960/lpm3.img %{buildroot}/boot/lpm3.img
%endif
%define outdir Build/HiKey960/%{build_mode}_GCC5
%define fd_file BL33_AP_UEFI.fd
%endif
%if "%{platform}" == "Armada80x0McBin"
%define outdir Build/Armada80x0McBin-AARCH64/%{build_mode}_GCC5
%define fd_file ARMADA_EFI.fd
%endif
%if "%{platform}" == "Overdrive1000Board"
%define outdir Build/Overdrive1000/%{build_mode}_GCC5
%define fd_file OVERDRIVE1000_ROM.fd
%endif
%if "%{platform}" == "RPi3"
%define fd_file RPI_EFI.fd
%endif
%if "%{platform}" == "RPi4"
%define fd_file RPI_EFI.fd
%endif
%if "%{platform}" == "SbsaQemu"
%define fd_file SBSA_FLASH[01].fd
truncate -s 256M %{outdir}/FV/%{fd_file}
%endif
find %{outdir} -name *.fd
pushd %{outdir}/FV
for file in %{fd_file}; do
install -D -m 0644 $file %{buildroot}/boot/$file
done
popd
%files
%defattr(-,root,root)
%if %{with edk2_non_osi}
%if "%{platform}" == "hikey"
/boot/mcuimage.bin
%endif
%if "%{platform}" == "hikey960"
/boot/lpm3.img
%endif
%endif
/boot/*.fd
%changelog
++++++ _multibuild ++++++
<multibuild>
<flavor>Armada80x0McBin</flavor>
<flavor>hikey</flavor>
<flavor>hikey960</flavor>
<flavor>Overdrive1000Board</flavor>
<flavor>RPi3</flavor>
<flavor>RPi4</flavor>
<flavor>SbsaQemu</flavor>
</multibuild>
++++++ _service ++++++
<services>
<service name="set_version" mode="disabled" />
<service name="tar_scm" mode="disabled">
<param name="url">https://github.com/tianocore/edk2-platforms</param>
<param name="scm">git</param>
<param name="filename">edk2-platforms</param>
<param name="versionformat">0.0~%ci~%h</param>
<param name="revision">8f088a1224ede7f3d1dd97d79399eac3fc40af8b</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*edk2-platforms*.tar</param>
<param name="compression">xz</param>
</service>
<service name="tar_scm" mode="disabled">
<param name="url">https://github.com/tianocore/edk2-non-osi</param>
<param name="scm">git</param>
<param name="filename">edk2-non-osi</param>
<param name="versionformat">0.0~%ci~%h</param>
<param name="revision">659382a8038dccb802e642800b5efa2ac24c67ed</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*edk2-non-osi*.tar</param>
<param name="compression">xz</param>
</service>
</services>
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package nvidia-texture-tools for openSUSE:Factory checked in at 2021-03-30 21:07:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nvidia-texture-tools (Old)
and /work/SRC/openSUSE:Factory/.nvidia-texture-tools.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nvidia-texture-tools"
Tue Mar 30 21:07:23 2021 rev:20 rq:874479 version:2.1.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/nvidia-texture-tools/nvidia-texture-tools.changes 2016-07-14 09:51:03.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.nvidia-texture-tools.new.2401/nvidia-texture-tools.changes 2021-03-30 21:07:31.929188049 +0200
@@ -1,0 +2,11 @@
+Mon Feb 22 19:47:09 UTC 2021 - Markus Ebner <info(a)ebner-markus.de>
+
+- Update to version 2.1.2
+- Remove nvidia-texture-tools-gcc47.patch
+ integrated upstream
+- Remove nvidia-texture-tools-gcc6.patch
+ integrated upstream
+- Remove nvidia-texture-tools-libpng15.patch
+ integrated upstream
+
+-------------------------------------------------------------------
Old:
----
nvidia-texture-tools-2.0.8.tar.gz
nvidia-texture-tools-gcc47.patch
nvidia-texture-tools-gcc6.patch
nvidia-texture-tools-libpng15.patch
New:
----
nvidia-texture-tools-2.1.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nvidia-texture-tools.spec ++++++
--- /var/tmp/diff_new_pack.rtUGgk/_old 2021-03-30 21:07:32.777188981 +0200
+++ /var/tmp/diff_new_pack.rtUGgk/_new 2021-03-30 21:07:32.781188985 +0200
@@ -1,7 +1,7 @@
#
# spec file for package nvidia-texture-tools
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,23 +12,19 @@
# 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/
#
Name: nvidia-texture-tools
-Version: 2.0.8
+Version: 2.1.2
Release: 0
Summary: NVIDIA Texture Tools
+# BuildRequires: cg-devel
License: MIT
Group: Development/Tools/Other
-# BuildRequires: cg-devel
-Url: https://github.com/castano/nvidia-texture-tools
+URL: https://github.com/castano/nvidia-texture-tools
Source0: https://github.com/castano/nvidia-texture-tools/archive/%{version}.tar.gz#/…
-Patch0: nvidia-texture-tools-gcc47.patch
-# patch libpng15 is upstreamed yet (http://code.google.com/p/nvidia-texture-tools/source/detail)
-Patch1: nvidia-texture-tools-libpng15.patch
-Patch2: nvidia-texture-tools-gcc6.patch
BuildRequires: Mesa-devel
BuildRequires: cmake
BuildRequires: dos2unix
@@ -60,17 +56,12 @@
%prep
%setup -q
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
%build
-export CFLAGS="%{optflags} -fPIC"
-export CXXFLAGS="%{optflags} -fPIC"
%cmake \
-DNVTT_SHARED=1 \
-DCMAKE_BUILD_TYPE=RelWithDebInfo
-make %{?_smp_mflags} VERBOSE=1
+%cmake_build
%install
%cmake_install
@@ -78,21 +69,30 @@
then
mv %{buildroot}%{_prefix}/lib %{buildroot}%{_prefix}/%{_lib}
fi
-dos2unix *.txt
+# remove installed doc-folder, let rpm decide on the correct paths
+rm -r %{buildroot}%{_datadir}/doc/nvtt
%files
%defattr(-, root, root)
-%doc NVIDIA_Texture_Tools_LICENSE.txt NVIDIA_Texture_Tools_README.txt ChangeLog
+%license LICENSE
+%doc ChangeLog README.md
%{_bindir}/nvassemble
%{_bindir}/nvcompress
%{_bindir}/nvddsinfo
%{_bindir}/nvdecompress
%{_bindir}/nvimgdiff
%{_bindir}/nvzoom
+%{_bindir}/nv-gnome-thumbnailer
+%{_bindir}/nvhdrtest
+%{_bindir}/nvtestsuite
%{_includedir}/nvtt
+%{_includedir}/squish.h
%{_libdir}/libnvcore.so
%{_libdir}/libnvimage.so
%{_libdir}/libnvmath.so
%{_libdir}/libnvtt.so
+%{_libdir}/libnvthread.so
+%{_libdir}/libsquish.so
+%{_libdir}/libsquish.so.0.0
%changelog
++++++ nvidia-texture-tools-2.0.8.tar.gz -> nvidia-texture-tools-2.1.2.tar.gz ++++++
/work/SRC/openSUSE:Factory/nvidia-texture-tools/nvidia-texture-tools-2.0.8.tar.gz /work/SRC/openSUSE:Factory/.nvidia-texture-tools.new.2401/nvidia-texture-tools-2.1.2.tar.gz differ: char 14, line 1
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pymol for openSUSE:Factory checked in at 2021-03-30 21:07:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pymol (Old)
and /work/SRC/openSUSE:Factory/.python-pymol.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pymol"
Tue Mar 30 21:07:11 2021 rev:8 rq:874400 version:2.4.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pymol/python-pymol.changes 2020-09-09 18:08:11.599539570 +0200
+++ /work/SRC/openSUSE:Factory/.python-pymol.new.2401/python-pymol.changes 2021-03-30 21:07:26.753182363 +0200
@@ -1,0 +2,11 @@
+Sun Feb 21 10:23:25 UTC 2021 - andy great <andythe_great(a)pm.me>
+
+- Skip python3.6 because numpy no longer support it.
+- Add mmtf-cpp-devel and use msgpackc.
+- Attempt to get the test to run.
+ * Use _service to download pymol-testing for test data.
+ * Use bcond to enable/disable testing arguments.
+ * Pymol seems to need itself to test.
+ * Add %check section.
+
+-------------------------------------------------------------------
New:
----
_service
pymol-testing-0.0+git.1613482680.a99b9c6.obscpio
pymol-testing.obsinfo
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pymol.spec ++++++
--- /var/tmp/diff_new_pack.OPiaPt/_old 2021-03-30 21:07:27.549183237 +0200
+++ /var/tmp/diff_new_pack.OPiaPt/_new 2021-03-30 21:07:27.553183241 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-pymol
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,12 @@
#
+%bcond_with test
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python36 1
%define oldpython python
%define modname pymol-open-source
+%define test_version 0.0+git.1613482680.a99b9c6
Name: python-pymol
Version: 2.4.0
Release: 0
@@ -26,26 +29,33 @@
License: Python-2.0
Group: Productivity/Scientific/Chemistry
URL: https://pymol.org/2/
-Source: https://github.com/schrodinger/%{modname}/archive/v%{version}/%{modname}-%{…
-# Source: %%{modname}-%%{version}.tar.xz
+Source0: https://github.com/schrodinger/%{modname}/archive/v%{version}/%{modname}-%{…
+Source1: pymol-testing-%{test_version}.tar.xz
# PATCH-FIX-OPENSUSE no-build-date.patch dhall(a)wustl.edu -- patch eliminates build date
Patch0: no-build-date.patch
# PATCH-FIX-OPENSUSE no-o3.patch tchvatal(a)suse.com -- do not add O3 to the code
Patch1: no-o3.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module numpy-devel}
+BuildRequires: %{python_module pytest}
BuildRequires: %{python_module qt5-devel}
BuildRequires: %{python_module setuptools}
+BuildRequires: Catch2-devel
BuildRequires: fdupes
BuildRequires: freetype2-devel
BuildRequires: gcc-c++
BuildRequires: glew-devel
BuildRequires: glm-devel
-BuildRequires: netcdf-devel
-# BuildRequires: libmsgpack-devel
+BuildRequires: libmsgpack-devel
BuildRequires: libpng-devel
BuildRequires: libxml2-devel
+BuildRequires: mmtf-cpp-devel
+BuildRequires: netcdf-devel
BuildRequires: python-rpm-macros
+# It needed itself for testing.
+%if %{with test}
+BuildRequires: %{python_module pymol}
+%endif
Requires: python-numpy
Requires: python-qt5
Requires(post): update-alternatives
@@ -74,12 +84,17 @@
%setup -q -n %{modname}-%{version}
%autopatch -p1
sed -i "1d" modules/pmg_tk/startup/apbs_tools.py # Remove she-bang line
+%if %{with test}
+# Unpack data for pymol-testing
+tar -xvf %{SOURCE1} -C %{_builddir}/%{modname}-%{version}
+# Use this to enable testing.
+sed -i 's/testing = False/testing = True/g' setup.py
+%endif
%build
export CXXFLAGS="%{optflags} -fno-strict-aliasing"
-# We cannot use msgpackc as we don't have mmtf-cpp packaged,
-# gh#schrodinger/pymol-open-source#17
-%python_build --use-msgpackc=no
+# Use --testing to enable testing.
+%python_build %{?with_test:--testing}%{!?with_test:}
%install
%python_install
@@ -92,6 +107,13 @@
%postun
%python_uninstall_alternative pymol
+%check
+# Use this to enable testing.
+# I think it use pymol itself to run test, I could not get pymol to run.
+%if %{with test}
+pymol -ckqy pymol-testing-%{test_version}/testing.py --run all
+%endif
+
%files %{python_files}
%doc README ChangeLog
%license LICENSE
++++++ _service ++++++
<services>
<service mode="localonly" name="obs_scm">
<param name="url">git://github.com/schrodinger/pymol-testing.git</param>
<param name="scm">git</param>
<param name="revision">a99b9c6</param>
<param name="versionprefix">0.0+git</param>
<param name="versionformat">%ct.%h</param>
</service>
<service mode="buildtime" name="tar" />
<service mode="buildtime" name="recompress">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
</services>
++++++ pymol-testing.obsinfo ++++++
name: pymol-testing
version: 0.0+git.1613482680.a99b9c6
mtime: 1613482680
commit: a99b9c66346dde4fe2fe6ad8d241679f98fb66d4
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package rakudo for openSUSE:Factory checked in at 2021-03-30 21:07:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rakudo (Old)
and /work/SRC/openSUSE:Factory/.rakudo.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rakudo"
Tue Mar 30 21:07:03 2021 rev:65 rq:881722 version:2021.03
Changes:
--------
--- /work/SRC/openSUSE:Factory/rakudo/rakudo.changes 2020-10-23 16:09:42.087773359 +0200
+++ /work/SRC/openSUSE:Factory/.rakudo.new.2401/rakudo.changes 2021-03-30 21:07:14.989169438 +0200
@@ -1,0 +2,64 @@
+Sun Mar 21 21:49:09 CET 2021 - nine(a)detonation.org
+
+- update to version 2021.03
+ + Implement space-delimited command line interface arguments
+ + Add a predicated wait for Lock::ConditionVariable
+ + The Pod::To::Text module's output supports rendering of multi-level lists now
+ + Remove utf32 from encodings lists for MoarVM, it was never supported before
+ + Make printf directive error more descriptive
+ + Make sorting and related infix operators about 2x as fast
+ + Optimize coercive parameter typechecking
+ + Make >>. construct faster
+ + Make BagHash.add a few percent faster
+ + Make xx on a constant value about 5% faster
+ + Fix single item assignment at List creation (my @l is List = 'foo' now produces a correct result)
+ + Kernel.signals no longer returns unwanted extraneous data
+ + Fixed .of method on type objects
+ + Set up proper precedence info for a number of infix operators
+ + Fix hypering on Map and when using next
+ + Fix containerization on hypering
+
+-------------------------------------------------------------------
+Thu Feb 25 08:55:13 CET 2021 - nine(a)detonation.org
+
+- update to version 2021.02.1
+ + Fix a regression of the 2021.02 release where a lazy iterable usage could suddenly
+ lead to a hang
+ + Fix calling list and iterator methods on Map and Array type objects
+ + Fix a minor memory leak in Rakudo runner
+- Remove fix-flapping-tests.diff fixed upstream
+
+-------------------------------------------------------------------
+Sun Feb 21 16:27:19 CET 2021 - nine(a)detonation.org
+
+- update to version 2021.02
+ + Introduce new coertion semantics.
+ + Add new method deterministic to Iterator role
+ + Introduce %*SUB-MAIN-OPTS<coerce-allomorphs-to> setting
+ + Implement MAIN parameter bundling via the %*SUB-MAIN-OPTS<bundling> option
+ + Add a new candidate to spurt routine and method.
+ + Add :emit-on-empty, :emit-timed and :emit-once-on-empty methods to Supply.batch method
+ + Make is DEPRECATED trait introspectable on Routine instances
+ + Implement the prefix:<||> operator in postcircumfixes for 6.e and later
+ + Add a flag to symlink allowing creation of relative symlinks
+ + Implement binding of array- and hash-slices
+ + Give raku -v a pure ASCII version
+ + Introduce is test-assertion trait for routines
+ + Make Whatever slice work on 1-dim native shaped arrays
+ + Handle :exists and :delete on 1-dim native shaped arrays with int index
+ + Introducing the Allomorph class
+ + Add cmp candidates for Code
+ + Add parameterizer methods for Metamodel::Primitives
+ + Set equality operators: (==) Unicode ��� and ���
+ + Add support for Supply.tail(*), Supply.tail(*-3) and .tail(Inf)
+ + Make Supply.head(*-3) consistent with List.head(*-3)
+ + Add IO::Path::Parts class
+ + Add support for printf($format, Junction)
+ + Add IO::Handle.do-not-close-automatically, Supply.rotate and Capture.EXISTS-POS methods
+ + Add RAKU_REPL_OUTPUT_METHOD environment variable
+ + Add :chomp named argument to Str.lines similar to the same named argument of IO::Handle.new
+ + Lots and lots of bug fixes and speedups
+- Backport fix-flapping-tests.diff
+- Get output of failing tests via rakudo-test-log.diff
+
+-------------------------------------------------------------------
Old:
----
rakudo-2020.05.1.tar.gz
New:
----
rakudo-2021.03.tar.gz
rakudo-test-log.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rakudo.spec ++++++
--- /var/tmp/diff_new_pack.tITcpg/_old 2021-03-30 21:07:15.717170238 +0200
+++ /var/tmp/diff_new_pack.tITcpg/_new 2021-03-30 21:07:15.717170238 +0200
@@ -1,7 +1,7 @@
#
# spec file for package rakudo
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,19 +17,21 @@
Name: rakudo
-Version: 2020.05.1
+Version: 2021.03
Release: 2.1
Summary: Raku (formerly Perl 6) implemenation that runs on MoarVM
License: Artistic-2.0
Group: Development/Languages/Other
URL: http://rakudo.org/
Source0: rakudo-%{version}.tar.gz
+Patch0: rakudo-test-log.diff
BuildRequires: fdupes
-BuildRequires: moarvm-devel >= 2020.05
-BuildRequires: nqp >= 2020.05
+BuildRequires: moarvm-devel >= 2021.03
+BuildRequires: nqp >= 2021.03
+BuildRequires: perl(YAML::Tiny)
Provides: perl6 = %{version}-%{release}
-Requires: moarvm >= 2020.05
-Requires: nqp >= 2020.05
+Requires: moarvm >= 2021.03
+Requires: nqp >= 2021.03
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -38,10 +40,11 @@
%prep
%setup -q
+%patch0 -p1
%build
perl Configure.pl --prefix="%{_prefix}"
-make
+VERBOSE_BUILD=1 make
%check
rm t/08-performance/99-misc.t
++++++ rakudo-2020.05.1.tar.gz -> rakudo-2021.03.tar.gz ++++++
++++ 269911 lines of diff (skipped)
++++++ rakudo-test-log.diff ++++++
diff --git a/tools/templates/Makefile-backend-common.in b/tools/templates/Makefile-backend-common.in
index 57396c6df..0688cbe59 100644
--- a/tools/templates/Makefile-backend-common.in
+++ b/tools/templates/Makefile-backend-common.in
@@ -126,7 +126,7 @@
@backend_prefix@-stresstest: @backend_prefix@-stresstest@bpm(HARNESS_TYPE)@
@backend_prefix@-coretest5: @backend_prefix@-all
- @bpm(HARNESS5)@ $(COMMON_TEST_DIRS) @bsm(SPECIFIC_TEST_DIRS)@
+ PERL5LIB=lib5 @bpm(HARNESS5)@ --archive=make-test.tar $(COMMON_TEST_DIRS) @bsm(SPECIFIC_TEST_DIRS)@ || { mkdir results && cd results && tar xf ../make-test.tar && find . -type f -exec echo '{}' \; -exec cat '{}' \; ; false ; }
# Run the spectests that we know work.
@backend_prefix@-spectest5: @backend_prefix@-testable $(SPECTEST_DATA)
diff --git a/lib5/TAP/Harness/Archive.pm b/lib5/TAP/Harness/Archive.pm
new file mode 100644
index 000000000..23810ba2d
--- /dev/null
+++ b/lib5/TAP/Harness/Archive.pm
@@ -0,0 +1,450 @@
+package TAP::Harness::Archive;
+use warnings;
+use strict;
+use base 'TAP::Harness';
+use Cwd ();
+use File::Basename ();
+use File::Temp ();
+use File::Spec ();
+use File::Path ();
+use File::Find ();
+use Archive::Tar ();
+use TAP::Parser ();
+use YAML::Tiny ();
+use TAP::Parser::Aggregator ();
+
+=head1 NAME
+
+TAP::Harness::Archive - Create an archive of TAP test results
+
+=cut
+
+our $VERSION = '0.18';
+
+=head1 SYNOPSIS
+
+ use TAP::Harness::Archive;
+ my $harness = TAP::Harness::Archive->new(\%args);
+ $harness->runtests(@tests);
+
+=head1 DESCRIPTION
+
+This module is a direct subclass of L<TAP::Harness> and behaves
+in exactly the same way except for one detail. In addition to
+outputting a running progress of the tests and an ending summary
+it can also capture all of the raw TAP from the individual test
+files or streams into an archive file (C<.tar> or C<.tar.gz>).
+
+=head1 METHODS
+
+All methods are exactly the same as our base L<TAP::Harness> except
+for the following.
+
+=head2 new
+
+In addition to the options that L<TAP::Harness> allow to this method,
+we also allow the following:
+
+=over
+
+=item archive
+
+This is the name of the archive file to generate. We use L<Archive::Tar>
+in the background so we only support C<.tar> and C<.tar.gz> archive file
+formats. This can optionally be an existing directory that will have
+the TAP archive's contents deposited therein without any file archiving
+(no L<Archive::Tar> involved).
+
+=item extra_files
+
+This is an array reference to extra files that you want to include in the TAP
+archive but which are not TAP files themselves. This is useful if you want to
+include some log files that contain useful information about the test run.
+
+=item extra_properties
+
+This is a hash reference of extra properties that you've collected during your
+test run. Some things you might want to include are the Perl version, the system's
+architecture, the operating system, etc.
+
+=back
+
+=cut
+
+my (%ARCHIVE_TYPES, @ARCHIVE_EXTENSIONS);
+BEGIN {
+ %ARCHIVE_TYPES = (
+ 'tar' => 'tar',
+ 'tar.gz' => 'tar.gz',
+ 'tgz' => 'tar.gz',
+ );
+ @ARCHIVE_EXTENSIONS = map { ".$_" } keys %ARCHIVE_TYPES;
+}
+
+sub new {
+ my ($class, $args) = @_;
+ $args ||= {};
+
+ # these can't be passed on to Test::Harness
+ my $archive = delete $args->{archive};
+ my $extra_files = delete $args->{extra_files};
+ my $extra_props = delete $args->{extra_properties};
+
+ $class->_croak("You must provide the name of the archive to create!")
+ unless $archive;
+
+ my $self = $class->SUPER::new($args);
+
+ my $is_directory = -d $archive ? 1 : 0;
+ if ($is_directory) {
+ $self->{__archive_is_directory} = $is_directory;
+ $self->{__archive_tempdir} = $archive;
+ } else {
+ my $format = $class->_get_archive_format_from_filename($archive);
+
+ # if it's not a format we understand, or it's not a directory
+ $class->_croak("Archive is not a known format type!")
+ unless $format && $ARCHIVE_TYPES{$format};
+
+ $self->{__archive_file} = $archive;
+ $self->{__archive_format} = $format;
+ $self->{__archive_tempdir} = File::Temp::tempdir();
+ }
+
+ # handle any extra files
+ if($extra_files) {
+ ref $extra_files eq 'ARRAY'
+ or $class->_croak("extra_files must be an array reference!");
+ foreach my $file (@$extra_files) {
+ $class->_croak("extra_file $file does not exist!") unless -e $file;
+ $class->_croak("extra_file $file is not readable!") unless -r $file;
+ }
+ $self->{__archive_extra_files} = $extra_files;
+ }
+
+ if($extra_props) {
+ ref $extra_props eq 'HASH'
+ or $class->_croak("extra_properties must be a hash reference!");
+ $self->{__archive_extra_props} = $extra_props;
+ }
+
+ return $self;
+}
+
+sub _get_archive_format_from_filename {
+ my ($self, $filename) = @_;
+
+ # try to guess it if we don't have one
+ my (undef, undef, $suffix) = File::Basename::fileparse($filename, @ARCHIVE_EXTENSIONS);
+ $suffix =~ s/^\.//;
+ return $ARCHIVE_TYPES{$suffix};
+}
+
+=head2 runtests
+
+Takes the same arguments as L<TAP::Harness>'s version and returns the
+same thing (a L<TAP::Parser::Aggregator> object). The only difference
+is that in addition to the normal test running and progress output
+we also create the TAP Archive when it's all done.
+
+=cut
+
+sub runtests {
+ my ($self, @files) = @_;
+
+ # tell TAP::Harness to put the raw tap someplace we can find it later
+ my $dir = $self->{__archive_tempdir};
+ $ENV{PERL_TEST_HARNESS_DUMP_TAP} = $dir;
+
+ # get some meta information about this run
+ my %meta = (
+ file_order => \@files,
+ start_time => time(),
+ );
+
+ my $aggregator = $self->SUPER::runtests(@files);
+
+ $meta{stop_time} = time();
+
+ my @parsers = $aggregator->parsers;
+ for ( my $i = 0; $i < @parsers; $i++ ) {
+ $parsers[ $i ] = {
+ start_time => $parsers[ $i ]->start_time,
+ end_time => $parsers[ $i ]->end_time,
+ description => $files[ $i ],
+ };
+ }
+ $meta{file_attributes} = \@parsers;
+
+ my $cwd = Cwd::getcwd();
+ my $is_dir = $self->{__archive_is_directory};
+ my ($archive, $output_file);
+ if( $is_dir ) {
+ $output_file = $self->{__archive_tempdir};
+ } else {
+ $output_file = $self->{__archive_file};
+
+ # go into the dir so that we can reference files
+ # relatively and put them in the archive that way
+ chdir($dir) or $self->_croak("Could not change to directory $dir: $!");
+
+ unless (File::Spec->file_name_is_absolute($output_file)) {
+ $output_file = File::Spec->catfile($cwd, $output_file);
+ }
+
+ # create the archive
+ $archive = Archive::Tar->new();
+ $archive->add_files($self->_get_all_tap_files);
+ chdir($cwd) or $self->_croak("Could not return to directory $cwd: $!");
+ }
+
+ # add in any extra files
+ if(my $x_files = $self->{__archive_extra_files}) {
+ my @rel_x_files;
+ foreach my $x_file (@$x_files) {
+ # handle both relative and absolute file names
+ my $rel_file;
+ if( File::Spec->file_name_is_absolute($x_file) ) {
+ $rel_file = File::Spec->abs2rel($x_file, $cwd);
+ } else {
+ $rel_file = $x_file;
+ }
+ push(@rel_x_files, $rel_file);
+ }
+ $archive->add_files(@rel_x_files) unless $is_dir;
+ $meta{extra_files} = \@rel_x_files;
+ }
+
+ # add any extra_properties to the meta
+ if(my $extra_props = $self->{__archive_extra_props}) {
+ $meta{extra_properties} = $extra_props;
+ }
+
+ # create the YAML meta file
+ my $yaml = YAML::Tiny->new();
+ $yaml->[0] = \%meta;
+ if( $is_dir ) {
+ my $meta_file = File::Spec->catfile($output_file, 'meta.yml');
+ open(my $out, '>', $meta_file) or die "Could not create meta.yml: $!";
+ print $out $yaml->write_string;
+ close($out);
+ } else {
+ $archive->add_data('meta.yml', $yaml->write_string);
+ $archive->write($output_file, $self->{__archive_format} eq 'tar.gz') or die $archive->error;
+ # be nice and clean up
+ File::Path::rmtree($dir);
+ }
+
+ print "\nTAP Archive created at $output_file\n" unless $self->verbosity < -1;
+
+ return $aggregator;
+}
+
+sub _get_all_tap_files {
+ my ($self, $dir, $meta) = @_;
+ $dir ||= $self->{__archive_tempdir};
+ my @files;
+ my %x_files;
+ if($meta && $meta->{extra_files}) {
+ %x_files = map { $_ => 1 } @{$meta->{extra_files}};
+ }
+
+ File::Find::find(
+ {
+ no_chdir => 1,
+ wanted => sub {
+ return if /^\./;
+ return if -d;
+ my $rel_name = File::Spec->abs2rel($_, $dir);
+ return if $rel_name eq 'meta.yml';
+ push(@files, $rel_name) unless $x_files{$rel_name};
+ },
+ },
+ $dir
+ );
+ return @files;
+}
+
+=head2 aggregator_from_archive
+
+This class method will return a L<TAP::Parser::Aggregator> object
+when given a TAP Archive to open and parse. It's pretty much the reverse
+of creating a TAP Archive from using C<new> and C<runtests>.
+
+It takes a hash of arguments which are as follows:
+
+=over
+
+=item archive
+
+The path to the archive file. This can also be a directory if you created
+the archive as a directory. This is required.
+
+=item parser_callbacks
+
+This is a hash ref containing callbacks for the L<TAP::Parser> objects
+that are created while parsing the TAP files. See the L<TAP::Parser>
+documentation for details about these callbacks.
+
+=item made_parser_callback
+
+This callback is executed every time a new L<TAP::Parser> object
+is created. It will be passed the new parser object, the name
+of the file to be parsed, and also the full (temporary) path of that file.
+
+=item meta_yaml_callback
+
+This is a subroutine that will be called if we find and parse a YAML
+file containing meta information about the test run in the archive.
+The structure of the YAML file will be passed in as an argument.
+
+=back
+
+ my $aggregator = TAP::Harness::Archive->aggregator_from_archive(
+ {
+ archive => 'my_tests.tar.gz',
+ parser_callbacks => {
+ plan => sub { warn "Nice to see you plan ahead..." },
+ unknown => sub { warn "Your TAP is bad!" },
+ },
+ made_parser_callback => sub {
+ my ($parser, $file, $full_path) = @_;
+ warn "$file is temporarily located at $full_path\n";
+ }
+
+ }
+ );
+
+=cut
+
+sub aggregator_from_archive {
+ my ($class, $args) = @_;
+ my $meta;
+
+ my $file = Cwd::abs_path( $args->{archive} )
+ or $class->_croak("You must provide the path to the archive!");
+
+ my $is_directory = -d $file;
+
+ # extract the files out into a temporary directory
+ my $dir = $is_directory ? $file : File::Temp::tempdir();
+ my $cwd = Cwd::getcwd();
+ chdir($dir) or $class->_croak("Could not change to directory $dir: $!");
+ my @files;
+
+ Archive::Tar->new()->extract_archive($file) unless $is_directory;
+ my @tap_files;
+
+ # do we have a meta.yml file in the archive?
+ my $yaml_file = File::Spec->catfile($dir, 'meta.yml');
+ if( -e $yaml_file) {
+
+ # parse it into a structure
+ if ($YAML::Tiny::VERSION < 1.57) {
+ $meta = YAML::Tiny->new()->read($yaml_file);
+ die "Could not read YAML $yaml_file: " . YAML::Tiny->errstr if YAML::Tiny->errstr;
+ } else {
+ $meta = eval {
+ YAML::Tiny->new()->read($yaml_file);
+ };
+ if ($@) {
+ die "Could not read YAML $yaml_file: ".$@;
+ }
+ }
+
+ if($args->{meta_yaml_callback}) {
+ $args->{meta_yaml_callback}->($meta);
+ }
+ $meta = $meta->[0];
+
+ if($meta->{file_order} && ref $meta->{file_order} eq 'ARRAY') {
+ foreach my $file (@{$meta->{file_order}}) {
+ push(@tap_files, $file) if -e $file;
+ }
+ }
+ }
+
+ # if we didn't get the files from the YAML file, just find them all
+ unless(@tap_files) {
+ @tap_files = $class->_get_all_tap_files($dir, $meta);
+ }
+
+ # now create the aggregator
+ my $aggregator = TAP::Parser::Aggregator->new();
+ foreach my $tap_file (@tap_files) {
+ open(my $fh, $tap_file) or die "Could not open $tap_file for reading: $!";
+ my $parser = TAP::Parser->new({source => $fh, callbacks => $args->{parser_callbacks}});
+ if($args->{made_parser_callback}) {
+ $args->{made_parser_callback}->($parser, $tap_file, File::Spec->catfile($dir, $tap_file));
+ }
+ $parser->run;
+ $aggregator->add($tap_file, $parser);
+ }
+
+ # be nice and clean up
+ chdir($cwd) or $class->_croak("Could not return to directory $cwd: $!");
+ File::Path::rmtree($dir) unless $is_directory;
+
+ return $aggregator;
+}
+
+=head1 AUTHOR
+
+Michael Peters, C<< <mpeters at plusthree.com> >>
+
+=head1 BUGS
+
+Please report any bugs or feature requests to
+C<bug-tap-harness-archive at rt.cpan.org>, or through the web interface at
+L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=TAP-Harness-Archive>.
+I will be notified, and then you'll automatically be notified of progress on
+your bug as I make changes.
+
+=head1 SUPPORT
+
+You can find documentation for this module with the perldoc command.
+
+ perldoc TAP::Harness::Archive
+
+You can also look for information at:
+
+=over 4
+
+=item * AnnoCPAN: Annotated CPAN documentation
+
+L<http://annocpan.org/dist/TAP-Harness-Archive>
+
+=item * CPAN Ratings
+
+L<http://cpanratings.perl.org/d/TAP-Harness-Archive>
+
+=item * RT: CPAN's request tracker
+
+L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=TAP-Harness-Archive>
+
+=item * Search CPAN
+
+L<http://search.cpan.org/dist/TAP-Harness-Archive>
+
+=back
+
+=head1 ACKNOWLEDGEMENTS
+
+=over
+
+=item * A big thanks to Plus Three, LP (L<http://www.plusthree.com>) for sponsoring my work on this module and other open source pursuits.
+
+=item * Andy Armstrong
+
+=back
+
+=head1 COPYRIGHT & LICENSE
+
+Copyright 2007 Michael Peters, all rights reserved.
+
+This program is free software; you can redistribute it and/or modify it
+under the same terms as Perl itself.
+
+=cut
+
+1; # End of TAP::Harness::Archive
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-traitsui for openSUSE:Factory checked in at 2021-03-30 21:06:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-traitsui (Old)
and /work/SRC/openSUSE:Factory/.python-traitsui.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-traitsui"
Tue Mar 30 21:06:53 2021 rev:7 rq:874882 version:7.1.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-traitsui/python-traitsui.changes 2020-09-08 22:50:37.991612920 +0200
+++ /work/SRC/openSUSE:Factory/.python-traitsui.new.2401/python-traitsui.changes 2021-03-30 21:07:07.281160970 +0200
@@ -1,0 +2,48 @@
+Tue Feb 23 19:50:25 UTC 2021 - Ben Greiner <code(a)bnavigator.de>
+
+- Update to 7.1.1
+ * Fix scrollable trait of a Group not being implemented on Qt
+ (#1406)
+ * Fix icon button's clickable area too small for FileEditor and
+ RangeEditor on Qt and OSX (#1383)
+ * Fix missing minimize and maximize buttons for dialogs opened
+ on certain Linux platforms (#1409)
+- Release 7.1.0
+ Highlights of this release
+ * A new traitsui.testing.api module has been introduced for
+ testing GUI applications built using TraitsUI. See Testing
+ TraitsUI Applications for an introduction. Builtin support has
+ been added for testing several TraitsUI editors. More support
+ will be added in the future.
+ * On OSX and Qt, there have been reports of missing UI view
+ updates after a push button is clicked. While this is
+ suspected to be a Qt issue, changes have been made to
+ ButtonEditor, SetEditor and ImageEnumEditor to mitigate the
+ situation.
+ * The internal logic for disposing an instance traitsui.ui.UI is
+ changed as an attempt to resolve AttributeError that occurs
+ while a nested UI is removed.
+ Notes on upgrading
+ * On the issue about Qt button not causing views to update on
+ OSX, projects that have been working around the issue by
+ adding GUI().process_events() (or similar) in their
+ applications may now try to remove those workarounds. However,
+ the change that mitigates the issue in a production
+ environment has implications for tests: The button's click
+ slot is no longer invoked immediately but always invoked by
+ the Qt GUI event loop. Tests that used to call the Qt button
+ click method directly and rely on the event to happen
+ immediately will now need to update their tests to ensure that
+ the click slot is processed by the Qt GUI event loop in the
+ same order as before. Consider using the new testing library
+ which automatically runs the GUI event loop after each
+ interaction (e.g. mouse click).
+ Future removals
+ * traitsui.image has been moved to pyface.image more than 3
+ years ago and has since been deprecated. Previously it was
+ scheduled to be removed in TraitsUI 6.0. This planned removal
+ is now deferred to TraitsUI 7.2.
+- use pytest-xvfb
+- Don't test numpy on python36
+
+-------------------------------------------------------------------
Old:
----
traitsui-7.0.1.tar.gz
New:
----
traitsui-7.1.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-traitsui.spec ++++++
--- /var/tmp/diff_new_pack.3qDS39/_old 2021-03-30 21:07:08.165161942 +0200
+++ /var/tmp/diff_new_pack.3qDS39/_new 2021-03-30 21:07:08.169161946 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-traitsui
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,10 +17,9 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define X_display ":98"
%define skip_python2 1
Name: python-traitsui
-Version: 7.0.1
+Version: 7.1.1
Release: 0
Summary: Traits-capable windowing framework
# Source code is under BSD but images are under different licenses
@@ -30,13 +29,12 @@
URL: https://github.com/enthought/traitsui
Source: https://files.pythonhosted.org/packages/source/t/traitsui/traitsui-%{versio…
BuildRequires: %{python_module configobj}
-BuildRequires: %{python_module numpy}
-BuildRequires: %{python_module pyface >= 6.0.0}
+BuildRequires: %{python_module pyface >= 7.1.0}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module traits >= 6}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-pyface >= 6.0.0
+Requires: python-pyface >= 7.1.0
Requires: python-traits >= 6
Recommends: python-configobj
Recommends: python-qt5
@@ -44,11 +42,12 @@
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module Pygments}
+BuildRequires: %{python_module pytest-xvfb}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module qt5}
BuildRequires: %{python_module wxPython >= 4}
BuildRequires: Mesa-dri
-BuildRequires: xorg-x11-server
+BuildRequires: %{python_module numpy if (%python-base without python36-base)}
# /SECTION
%python_subpackages
@@ -69,31 +68,20 @@
%install
%python_install
-%{python_expand %fdupes %{buildroot}%{$python_sitelib}
-$python -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/traitsui/wx/extra/
-$python -O -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/traitsui/wx/extra/
-$python -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/traitsui/wx/extra/windows/
-$python -O -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/traitsui/wx/extra/windows/
-%fdupes %{buildroot}%{$python_sitelib}
-}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+ln -sf examples/tutorials/doc_exmaples/default.css examples/tutorials/traitsui_4.0/default.css
%check
export LANG=en_US.UTF-8
-export DISPLAY=%{X_display}
-Xvfb %{X_display} >& Xvfb.log &
-trap "kill $! || true" EXIT
-sleep 10
-
-%{python_expand mkdir tester_%{$python_bin_suffix}
-pushd tester_%{$python_bin_suffix}
-export PYTHONPATH=%{buildroot}%{$python_sitelib}
-pytest-%{$python_bin_suffix} -v ../traitsui/tests -k 'not (wx or test_splitter_prefs_are_restored)'
-popd
-}
+# different splitters?
+donttest="test_splitter_prefs_are_restored"
+# segfault
+donttest+=" or test_html_editor"
+%pytest traitsui/tests -k "not ($donttest)"
%files %{python_files}
-%doc CHANGES.txt README.rst TODO.txt
-%doc docs/README.rst docs/traits*.*
+%doc README.rst
+%doc docs/traits*.*
%doc examples/
%license LICENSE.txt image_LICENSE*.txt
%{python_sitelib}/traitsui/
++++++ traitsui-7.0.1.tar.gz -> traitsui-7.1.1.tar.gz ++++++
++++ 45335 lines of diff (skipped)
1
0