#3 Update to 3.6.0
Closed 5 years ago by gferon. Opened 5 years ago by gferon.
https://gitlab.com/gferon/rpms-cura.git python-uranium  into  master

Update to 3.6.0
Gabriel Feron • 5 years ago  
python-uranium-fix-wrong-import.patch
file added
+60
@@ -0,0 +1,60 @@

+ diff --git a/tests/0001-Fix-wrong-import.patch b/tests/0001-Fix-wrong-import.patch

+ new file mode 100644

+ index 00000000..7a2f1fdc

+ --- /dev/null

+ +++ b/tests/0001-Fix-wrong-import.patch

+ @@ -0,0 +1,25 @@

+ +From 4b02dee5b9ab4d73b3e710605151dc2c2cdbdc32 Mon Sep 17 00:00:00 2001

+ +From: Gabriel Feron <feron.gabriel@gmail.com>

+ +Date: Sat, 26 Jan 2019 12:30:14 +0100

+ +Subject: [PATCH] Fix wrong import

+ +

+ +---

+ + tests/Settings/TestContainerRegistry.py | 2 +-

+ + 1 file changed, 1 insertion(+), 1 deletion(-)

+ +

+ +diff --git a/tests/Settings/TestContainerRegistry.py b/tests/Settings/TestContainerRegistry.py

+ +index 9b87b16f..4b241fdf 100644

+ +--- a/tests/Settings/TestContainerRegistry.py

+ ++++ b/tests/Settings/TestContainerRegistry.py

+ +@@ -9,7 +9,7 @@ from UM.Resources import Resources

+ + from UM.Settings.DefinitionContainer import DefinitionContainer

+ + from UM.Settings.InstanceContainer import InstanceContainer

+ + from UM.Settings.ContainerStack import ContainerStack

+ +-from tests.Settings.MockContainer import MockContainer

+ ++from MockContainer import MockContainer

+ +

+ + Resources.addSearchPath(os.path.dirname(os.path.abspath(__file__)))

+ +

+ +--

+ +2.20.1

+ +

+ diff --git a/tests/Settings/TestContainerRegistry.py b/tests/Settings/TestContainerRegistry.py

+ index 9b87b16f..4b241fdf 100644

+ --- a/tests/Settings/TestContainerRegistry.py

+ +++ b/tests/Settings/TestContainerRegistry.py

+ @@ -9,7 +9,7 @@ from UM.Resources import Resources

+  from UM.Settings.DefinitionContainer import DefinitionContainer

+  from UM.Settings.InstanceContainer import InstanceContainer

+  from UM.Settings.ContainerStack import ContainerStack

+ -from tests.Settings.MockContainer import MockContainer

+ +from MockContainer import MockContainer

+ 

+  Resources.addSearchPath(os.path.dirname(os.path.abspath(__file__)))

+ 

+ diff --git a/tests/Settings/TestContainerStack.py b/tests/Settings/TestContainerStack.py

+ index 966800a2..bc7db098 100644

+ --- a/tests/Settings/TestContainerStack.py

+ +++ b/tests/Settings/TestContainerStack.py

+ @@ -14,7 +14,7 @@ from UM.Settings.ContainerStack import InvalidContainerStackError

+  from UM.Settings.DefinitionContainer import DefinitionContainer

+  from UM.Settings.InstanceContainer import InstanceContainer

+  from UM.Resources import Resources

+ -from tests.Settings.MockContainer import MockContainer

+ +from MockContainer import MockContainer

+ 

+  Resources.addSearchPath(os.path.dirname(os.path.abspath(__file__)))

+ 

+ --

+ 2.20.1

+ 

python-uranium.spec
file modified
+6 -1
@@ -1,11 +1,13 @@

  Name:           python-uranium

- Version:        3.5.1

+ Version:        3.6.0

  Release:        1%{?dist}

  Summary:        A Python framework for building desktop applications

  License:        LGPLv3+

  URL:            https://github.com/Ultimaker/Uranium

  Source0:        %{url}/archive/%{version}.tar.gz#/Uranium-%{version}.tar.gz

  

+ Patch0:         %{name}-fix-wrong-import.patch

+ 

  BuildRequires:  python3-devel

  BuildRequires:  python3-pip

  BuildRequires:  /usr/bin/doxygen
@@ -104,6 +106,9 @@

  

  

  %changelog

+ * Sat Jan 26 2019 Gabriel Féron <feron.gabriel@gmail.com> - 1:3.6.0-1

+ - Update to 3.6.0

+ 

  * Mon Nov 12 2018 Miro Hrončok <mhroncok@redhat.com> - 3.5.1-1

  - Update to 3.5.1 (#1644323)

  

no initial comment

Pull-Request has been closed by gferon

5 years ago