Name: thonny Version: 3.2.7 Release: 2%{?dist} Summary: Python IDE for beginners # Code is MIT, toolbar icons are EPL License: MIT and EPL URL: https://thonny.org Source0: %{pypi_source} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pytest BuildRequires: python3-tkinter BuildRequires: python3-jedi BuildRequires: python3-pyserial BuildRequires: desktop-file-utils BuildRequires: libappstream-glib BuildRequires: xorg-x11-server-Xvfb Requires: python3-tkinter Requires: python3-pip Requires: python3-mypy Requires: hicolor-icon-theme Requires: python3-asttokens >= 1.1.10 Requires: python3-send2trash >= 1.4.2 Requires: python3-pylint >= 1.6.5 Requires: python3-typing-extensions >= 3.7.4 Recommends: python3-distro Recommends: zenity Recommends: xsel %description Thonny is a simple Python IDE with features useful for learning programming. It comes with a debugger which is able to visualize all the conceptual steps taken to run a Python program (executing statements, evaluating expressions, maintaining the call stack). There is a GUI for installing 3rd party packages and special mode for learning about references. %prep %autosetup -p1 %build %py3_build %install %py3_install install -m 0644 -D -T packaging/icons/thonny-256x256.png %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/thonny.png install -m 0644 -D -T packaging/icons/thonny-128x128.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/thonny.png install -m 0644 -D -T packaging/icons/thonny-64x64.png %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/thonny.png install -m 0644 -D -T packaging/icons/thonny-48x48.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/thonny.png install -m 0644 -D -T packaging/icons/thonny-32x32.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/thonny.png install -m 0644 -D -T packaging/icons/thonny-22x22.png %{buildroot}%{_datadir}/icons/hicolor/22x22/apps/thonny.png install -m 0644 -D -T packaging/icons/thonny-16x16.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/thonny.png install -D -m 0644 -t %{buildroot}%{_datadir}/metainfo packaging/linux/org.thonny.Thonny.appdata.xml install -D -m 0644 -t %{buildroot}%{_mandir}/man1 packaging/linux/thonny.1 desktop-file-install --dir=%{buildroot}%{_datadir}/applications packaging/linux/org.thonny.Thonny.desktop appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.thonny.Thonny.appdata.xml %check xvfb-run py.test-3 --pyargs thonny %files %license LICENSE.txt licenses/ECLIPSE-ICONS-LICENSE.txt %doc README.rst CHANGELOG.rst CREDITS.rst %{python3_sitelib}/%{name}/ %{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info/ %{_bindir}/%{name} %{_datadir}/icons/hicolor/*/apps/thonny.png %{_datadir}/applications/org.thonny.Thonny.desktop %{_datadir}/metainfo/org.thonny.Thonny.appdata.xml %{_mandir}/man1/thonny.1* %changelog * Fri Jan 31 2020 Fedora Release Engineering - 3.2.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Jan 08 2020 Aivar Annamaa - 3.2.7-1 - New upstream version 3.2.6 * Sun Sep 08 2019 Aivar Annamaa - 3.2.1-1 - New upstream version 3.2.1 * Mon Aug 19 2019 Miro Hrončok - 3.1.2-4 - Rebuilt for Python 3.8 * Mon Aug 19 2019 Miro Hrončok - 3.1.2-3 - Rebuilt for Python 3.8 * Sat Jul 27 2019 Fedora Release Engineering - 3.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 03 2019 Miro Hrončok - 3.1.2-1 - New upstream version 3.1.2 * Sun Feb 10 2019 Aivar Annamaa - 3.1.1-1 - New upstream version (breakpoints, themes, etc.) * Sun Feb 03 2019 Fedora Release Engineering - 2.1.18-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 2.1.18-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Jun 22 2018 Miro Hrončok - 2.1.18-1 - Update to 2.1.18 to fix new jedi incompatibilities * Tue Jun 19 2018 Miro Hrončok - 2.1.17-2 - Rebuilt for Python 3.7 * Wed Mar 21 2018 Aivar Annamaa - 2.1.17-1 - New upstream version (fixes a bug in pip package manager) * Fri Feb 09 2018 Fedora Release Engineering - 2.1.16-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jan 18 2018 Igor Gnatenko - 2.1.16-2 - Remove obsolete scriptlets * Fri Nov 10 2017 Aivar Annamaa - 2.1.16-1 - Initial package