Hello community,

here is the log from the commit of package uranium for openSUSE:Factory checked 
in at 2019-07-11 13:13:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/uranium (Old)
 and      /work/SRC/openSUSE:Factory/.uranium.new.4615 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "uranium"

Thu Jul 11 13:13:24 2019 rev:5 rq:712876 version:4.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/uranium/uranium.changes  2019-02-25 
17:53:45.286518894 +0100
+++ /work/SRC/openSUSE:Factory/.uranium.new.4615/uranium.changes        
2019-07-11 13:13:30.510870824 +0200
@@ -1,0 +2,8 @@
+Thu Jun 13 06:47:16 UTC 2019 - Adrian Schröter <adr...@suse.de>
+
+- update to version 4.1.0
+  * https://ultimaker.com/en/products/ultimaker-cura-software/release-notes
+  * fix-cmake-install.patch added
+- enable test cases
+
+-------------------------------------------------------------------

Old:
----
  Uranium-3.6.0.obscpio

New:
----
  Uranium-4.1.0.obscpio
  fix-cmake-install.patch

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

Other differences:
------------------
++++++ uranium.spec ++++++
--- /var/tmp/diff_new_pack.cwVrOg/_old  2019-07-11 13:13:31.250870519 +0200
+++ /var/tmp/diff_new_pack.cwVrOg/_new  2019-07-11 13:13:31.254870518 +0200
@@ -17,32 +17,43 @@
 
 
 Name:           uranium
-Version:        3.6.0
+Version:        4.1.0
 Release:        0
 Summary:        Python framework for Desktop applications
 License:        LGPL-3.0-only
 Group:          Development/Languages/Python
 Url:            http://github.com/Ultimaker/Uranium
 Source0:        Uranium-%{version}.tar.xz
+# X-OPENSUSE-FIX fix cmake install directory.
+Patch1:         fix-cmake-install.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
+BuildRequires:  libArcus-devel
 BuildRequires:  python3-devel >= 3.4.0
-Recommends:     python3-numpy-stl
+# for tests:
+BuildRequires:  python3-numpy
+BuildRequires:  python3-pip
+BuildRequires:  python3-pytest
+BuildRequires:  python3-qt5
+BuildRequires:  python3-scipy
+BuildRequires:  python3-shapely
 BuildArch:      noarch
+Recommends:     python3-numpy-stl
+# No 32bit support in cura-engine anymore
+ExcludeArch:    %ix86 %arm
 
 %description
 A Python framework for building Desktop applications.
 
 %prep
 %setup -q -n Uranium-%version
+%patch1 -p1
 
 %build
-CFLAGS="%{optflags}"
-export CFLAGS
-sed -i 's/PythonInterp 3.5.0/PythonInterp 3.4.0/' CMakeLists.txt
 # Hack, remove LIB_SUFFIX for 64bit, which is correct as uranium is pure 
python (i.e. noarch)
-%cmake -DLIB_SUFFIX=""
-%make_jobs
+%cmake -DLIB_SUFFIX="" \
+       -DCMAKE_MODULES_INSTALL_DIR=%{_datadir}/cmake/Modules
+%cmake_build
 
 %install
 pushd build
@@ -58,10 +69,10 @@
 find %{buildroot}%{_datadir}/%{name} -type d -path \*i18n\* | sed '
   s:'%{buildroot}'::; s:\(.*/i18n.*\):%dir \1:' \
   >> %{name}.lang
-# uranium uses a versioned dirname (e.g. cmake-3.9), rename to standard name
-mv %{buildroot}/%{_datadir}/cmake* %{buildroot}/%{_datadir}/cmake
-# create python cache or cura won't start
-python3 -m compileall %buildroot%{python3_sitearch}/UM/
+
+%check
+%{__python3} -m pip freeze
+%{__python3} -m pytest -v
 
 %files -f %{name}.lang
 %license LICENSE

++++++ Uranium-3.6.0.obscpio -> Uranium-4.1.0.obscpio ++++++
++++ 30353 lines of diff (skipped)

++++++ Uranium.obsinfo ++++++
--- /var/tmp/diff_new_pack.cwVrOg/_old  2019-07-11 13:13:31.494870419 +0200
+++ /var/tmp/diff_new_pack.cwVrOg/_new  2019-07-11 13:13:31.494870419 +0200
@@ -1,5 +1,5 @@
 name: Uranium
-version: 3.6.0
-mtime: 1542015805
-commit: cdf247c08c67949447923b5b0f2183b4a52b87e3
+version: 4.1.0
+mtime: 1558447066
+commit: 6618dfee7574fbeaf7f1673d52fa9133d67135b1
 

++++++ _service ++++++
--- /var/tmp/diff_new_pack.cwVrOg/_old  2019-07-11 13:13:31.514870411 +0200
+++ /var/tmp/diff_new_pack.cwVrOg/_new  2019-07-11 13:13:31.514870411 +0200
@@ -2,8 +2,8 @@
   <service name="obs_scm" mode="disabled">
     <param name="url">http://github.com/Ultimaker/Uranium.git</param>
     <param name="scm">git</param>
-    <param name="revision">3.6.0</param>
-    <param name="version">3.6.0</param>
+    <param name="revision">4.1.0</param>
+    <param name="version">4.1.0</param>
   </service>
   <service mode="disabled" name="set_version" />
 

++++++ fix-cmake-install.patch ++++++
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fd5eab7f..73b0dc50 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -51,7 +51,7 @@ else()
     install(DIRECTORY UM DESTINATION 
lib${LIB_SUFFIX}/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages)
 endif()
 install(FILES ${CMAKE_SOURCE_DIR}/cmake/UraniumTranslationTools.cmake
-        DESTINATION 
${CMAKE_INSTALL_DATADIR}/cmake-${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}/Modules/
 )
+        DESTINATION ${CMAKE_MODULES_INSTALL_DIR}/ )
 install(DIRECTORY resources DESTINATION ${CMAKE_INSTALL_DATADIR}/uranium)
 install(DIRECTORY plugins DESTINATION lib${LIB_SUFFIX}/uranium)
 

Reply via email to