#8 F32: Update to 1.0.3, provide mu-editor
Closed 4 years ago by churchyard. Opened 4 years ago by churchyard.
rpms/ churchyard/mu 1.0.3  into  f32

file modified
+1
@@ -3,3 +3,4 @@ 

  /mu-1.0.0.beta.16.tar.gz

  /mu-1.0.0.tar.gz

  /mu-1.0.2.tar.gz

+ /mu-1.0.3.tar.gz

file removed
-30
@@ -1,30 +0,0 @@ 

- From d38470adc623f88724ed007dda777cbf7e27bc72 Mon Sep 17 00:00:00 2001

- From: "Nicholas H.Tollervey" <ntoll@ntoll.org>

- Date: Tue, 12 Feb 2019 13:23:55 +0000

- Subject: [PATCH] Fix failing tests due to Qt5.12 update.

- 

- ---

-  tests/test_app.py | 3 ++-

-  1 file changed, 2 insertions(+), 1 deletion(-)

- 

- diff --git a/tests/test_app.py b/tests/test_app.py

- index b9119a8c..bd0c670a 100644

- --- a/tests/test_app.py

- +++ b/tests/test_app.py

- @@ -77,6 +77,7 @@ def emit(self, *args):

-  

-      class Win(mock.MagicMock):

-          load_theme = DumSig()

- +        icon = 'icon'

-  

-      window = Win()

-  

- @@ -102,7 +103,7 @@ class Win(mock.MagicMock):

-          assert ed.call_count == 1

-          assert len(ed.mock_calls) == 3

-          assert win.call_count == 1

- -        assert len(win.mock_calls) == 11

- +        assert len(win.mock_calls) == 6

-          assert ex.call_count == 1

-          window.load_theme.emit('day')

-          qa.assert_has_calls([mock.call().setStyleSheet(DAY_STYLE)])

file modified
+11 -7
@@ -1,14 +1,11 @@ 

  Name:           mu

- Version:        1.0.2

- Release:        8%{?dist}

+ Version:        1.0.3

+ Release:        1%{?dist}

  Summary:        A simple Python editor not only for micro:bit

  License:        GPLv3

  URL:            https://github.com/mu-editor/mu

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

  

- # Qt 5.12 tests fix

- Patch0:         %{url}/commit/d38470adc623f887.patch

- 

  BuildArch:      noarch

  

  BuildRequires:  python3-devel
@@ -46,6 +43,9 @@ 

  

  Requires:       hicolor-icon-theme

  

+ # The name on PyPI and the Shell command

+ Provides:       mu-editor = %{version}-%{release}

+ 

  %description

  mu is a simple Python editor also for BBC micro:bit devices.

  
@@ -61,8 +61,8 @@ 

         -e 's/qtconsole==4.3.1/qtconsole >= 4.3, < 5/' \

         -e 's/matplotlib==2.2.2/matplotlib >= 2.2, < 4/' \

         -e 's/pgzero==1.2/pgzero >= 1.2, < 1.3/' \

-        -e 's/PyQtChart==5.11.3/PyQtChart >= 5.11, < 6/' \

-        -e "s/'pyqt5==5.11.3', 'qscintilla==2.10.8',//" \

+        -e 's/PyQtChart==5.14.0/PyQtChart >= 5.11, < 6/' \

+        -e "s/'pyqt5==5.14.1', 'qscintilla==2.11.4',//" \

         -e "s/machine.lower().startswith('arm')/False/" \

         setup.py

  
@@ -110,6 +110,10 @@ 

  

  

  %changelog

+ * Sat Apr 18 2020 Miro Hrončok <mhroncok@redhat.com> - 1.0.3-1

+ - Update to 1.0.3

+ - Provide mu-editor

+ 

  * Thu Feb 06 2020 Miro Hrončok <mhroncok@redhat.com> - 1.0.2-8

  - Adapt the shebang to use the -s flag and only use system installed modules (#1799790)

  

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (mu-1.0.2.tar.gz) = bac8d036946a15ee147d0e57c82d0022a9b758262ca38e3f90d884bdac564ceb52e74f781eba0e50d0e11d2c4aeb182770e0f73d5a8b2ae8373c4106df7f8895

+ SHA512 (mu-1.0.3.tar.gz) = c56f6850417a57e1277197761660d86f00550fa6399664d007517c8930c8ccca3e3fabe6a1c9f3083d2fee731c2669c8bd7b5619f9e16beaa5e008905c964735

file added
+8
@@ -0,0 +1,8 @@ 

+ ---

+ - hosts: localhost

+   roles:

+   - role: standard-test-basic

+     tags:

+     - classic

+     required_packages:

+     - mu