Update to 4.0.0

Signed-off-by: Gabriel Féron <feron.gabriel@gmail.com>
This commit is contained in:
Gabriel Féron 2019-04-03 23:32:13 +02:00
commit 4d71541b82
3 changed files with 6 additions and 65 deletions

View file

@ -1,60 +0,0 @@
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

View file

@ -1,13 +1,11 @@
Name: python-uranium
Version: 3.6.0
Release: 2%{?dist}
Version: 4.0.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
@ -106,6 +104,9 @@ popd
%changelog
* Wed Apr 03 2019 Gabriel Féron <feron.gabriel@gmail.com> - 4.0.0-1
- Update to 4.0.0
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

View file

@ -1 +1 @@
SHA512 (Uranium-3.6.0.tar.gz) = 41779e9cf76dff8f74252f668d1cf909c93f4f1416f75d2ed263f89fcfccfbcebce5580d8202d8d1697491139db448bbfa76e2dbc761dd24cb98030b3241e80d
SHA512 (Uranium-4.0.0.tar.gz) = c75f929d3c263655eadc123d306cc3368fd68e4b3289fcb5ab0fb1a908511ef9f87096c82c31dedf3e15995cf64c0f04f05180348238bf9dbcddebfcc50711a4