|
|
8a7d10b |
Name: thonny
|
|
|
1184895 |
Version: 3.2.7
|
|
|
a5d84bf |
Release: 5%{?dist}
|
|
|
8a7d10b |
Summary: Python IDE for beginners
|
|
|
8a7d10b |
|
|
|
8a7d10b |
# Code is MIT, toolbar icons are EPL
|
|
|
8a7d10b |
License: MIT and EPL
|
|
|
cc31db8 |
URL: https://thonny.org
|
|
|
e9cc88c |
Source0: %{pypi_source}
|
|
|
0945c03 |
|
|
|
8a7d10b |
BuildArch: noarch
|
|
|
8a7d10b |
|
|
|
8a7d10b |
BuildRequires: python3-devel
|
|
|
5e0478c |
BuildRequires: python3-setuptools
|
|
|
8a7d10b |
BuildRequires: python3-pytest
|
|
|
8a7d10b |
BuildRequires: python3-tkinter
|
|
|
8a7d10b |
BuildRequires: python3-jedi
|
|
|
cc31db8 |
BuildRequires: python3-pyserial
|
|
|
8a7d10b |
BuildRequires: desktop-file-utils
|
|
|
8a7d10b |
BuildRequires: libappstream-glib
|
|
|
8abd796 |
BuildRequires: xorg-x11-server-Xvfb
|
|
|
8a7d10b |
|
|
|
8a7d10b |
Requires: python3-tkinter
|
|
|
8a7d10b |
Requires: python3-pip
|
|
|
cc31db8 |
Requires: python3-mypy
|
|
|
8a7d10b |
Requires: hicolor-icon-theme
|
|
|
cc31db8 |
Recommends: python3-asttokens
|
|
|
cc31db8 |
Recommends: python3-distro
|
|
|
cc31db8 |
Recommends: zenity
|
|
|
cc31db8 |
Recommends: xsel
|
|
|
8a7d10b |
|
|
|
8a7d10b |
%description
|
|
|
8a7d10b |
Thonny is a simple Python IDE with features useful for learning programming.
|
|
|
8a7d10b |
It comes with a debugger which is able to visualize all the conceptual steps
|
|
|
8a7d10b |
taken to run a Python program (executing statements, evaluating expressions,
|
|
|
8a7d10b |
maintaining the call stack). There is a GUI for installing 3rd party packages
|
|
|
8a7d10b |
and special mode for learning about references.
|
|
|
8a7d10b |
|
|
|
8a7d10b |
%prep
|
|
|
0945c03 |
%autosetup -p1
|
|
|
8a7d10b |
|
|
|
8a7d10b |
|
|
|
8a7d10b |
%build
|
|
|
8a7d10b |
%py3_build
|
|
|
8a7d10b |
|
|
|
8a7d10b |
%install
|
|
|
8a7d10b |
%py3_install
|
|
|
8a7d10b |
|
|
|
8a7d10b |
install -m 0644 -D -T packaging/icons/thonny-256x256.png %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/thonny.png
|
|
|
8a7d10b |
install -m 0644 -D -T packaging/icons/thonny-128x128.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/thonny.png
|
|
|
8a7d10b |
install -m 0644 -D -T packaging/icons/thonny-64x64.png %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/thonny.png
|
|
|
8a7d10b |
install -m 0644 -D -T packaging/icons/thonny-48x48.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/thonny.png
|
|
|
8a7d10b |
install -m 0644 -D -T packaging/icons/thonny-32x32.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/thonny.png
|
|
|
8a7d10b |
install -m 0644 -D -T packaging/icons/thonny-22x22.png %{buildroot}%{_datadir}/icons/hicolor/22x22/apps/thonny.png
|
|
|
8a7d10b |
install -m 0644 -D -T packaging/icons/thonny-16x16.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/thonny.png
|
|
|
8a7d10b |
|
|
|
8a7d10b |
install -D -m 0644 -t %{buildroot}%{_datadir}/metainfo packaging/linux/org.thonny.Thonny.appdata.xml
|
|
|
8a7d10b |
install -D -m 0644 -t %{buildroot}%{_mandir}/man1 packaging/linux/thonny.1
|
|
|
8a7d10b |
desktop-file-install --dir=%{buildroot}%{_datadir}/applications packaging/linux/org.thonny.Thonny.desktop
|
|
|
8a7d10b |
|
|
|
8a7d10b |
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.thonny.Thonny.appdata.xml
|
|
|
8a7d10b |
|
|
|
8a7d10b |
|
|
|
8a7d10b |
%check
|
|
|
8a7d10b |
xvfb-run py.test-3 --pyargs thonny
|
|
|
8a7d10b |
|
|
|
8a7d10b |
%files
|
|
|
8a7d10b |
%license LICENSE.txt licenses/ECLIPSE-ICONS-LICENSE.txt
|
|
|
8a7d10b |
%doc README.rst CHANGELOG.rst CREDITS.rst
|
|
|
8a7d10b |
%{python3_sitelib}/%{name}/
|
|
|
8a7d10b |
%{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info/
|
|
|
8a7d10b |
%{_bindir}/%{name}
|
|
|
8a7d10b |
%{_datadir}/icons/hicolor/*/apps/thonny.png
|
|
|
8a7d10b |
%{_datadir}/applications/org.thonny.Thonny.desktop
|
|
|
8a7d10b |
%{_datadir}/metainfo/org.thonny.Thonny.appdata.xml
|
|
|
8a7d10b |
%{_mandir}/man1/thonny.1*
|
|
|
8a7d10b |
|
|
|
8a7d10b |
|
|
|
8a7d10b |
%changelog
|
|
|
a5d84bf |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.7-5
|
|
|
a5d84bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
a5d84bf |
|
|
|
5109e84 |
* Wed Jun 03 2020 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.2.7-4
|
|
|
5109e84 |
- Rebuilt to fix dependencies (#1841813)
|
|
|
5109e84 |
|
|
|
b1cb20b |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 3.2.7-3
|
|
|
b1cb20b |
- Rebuilt for Python 3.9
|
|
|
b1cb20b |
|
|
|
9f89ae9 |
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.7-2
|
|
|
9f89ae9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
9f89ae9 |
|
|
|
1184895 |
* Wed Jan 08 2020 Aivar Annamaa <aivar.annamaa@gmail.com> - 3.2.7-1
|
|
|
1184895 |
- New upstream version 3.2.6
|
|
|
1184895 |
|
|
|
10de615 |
* Sun Sep 08 2019 Aivar Annamaa <aivar.annamaa@gmail.com> - 3.2.1-1
|
|
|
10de615 |
- New upstream version 3.2.1
|
|
|
10de615 |
|
|
|
ef845af |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 3.1.2-4
|
|
|
ef845af |
- Rebuilt for Python 3.8
|
|
|
ef845af |
|
|
|
d528398 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 3.1.2-3
|
|
|
d528398 |
- Rebuilt for Python 3.8
|
|
|
d528398 |
|
|
|
975d1f9 |
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-2
|
|
|
975d1f9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
975d1f9 |
|
|
|
75f1520 |
* Fri May 03 2019 Miro Hrončok <mhroncok@redhat.com> - 3.1.2-1
|
|
|
75f1520 |
- New upstream version 3.1.2
|
|
|
75f1520 |
|
|
|
cc31db8 |
* Sun Feb 10 2019 Aivar Annamaa <aivar.annamaa@gmail.com> - 3.1.1-1
|
|
|
cc31db8 |
- New upstream version (breakpoints, themes, etc.)
|
|
|
cc31db8 |
|
|
|
c8bd233 |
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.18-3
|
|
|
c8bd233 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
c8bd233 |
|
|
|
241fe5e |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.18-2
|
|
|
241fe5e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
241fe5e |
|
|
|
98f1ef3 |
* Fri Jun 22 2018 Miro Hrončok <mhroncok@redhat.com> - 2.1.18-1
|
|
|
98f1ef3 |
- Update to 2.1.18 to fix new jedi incompatibilities
|
|
|
98f1ef3 |
|
|
|
6249c9b |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.1.17-2
|
|
|
6249c9b |
- Rebuilt for Python 3.7
|
|
|
6249c9b |
|
|
|
c294238 |
* Wed Mar 21 2018 Aivar Annamaa <aivar.annamaa@gmail.com> - 2.1.17-1
|
|
|
c294238 |
- New upstream version (fixes a bug in pip package manager)
|
|
|
c294238 |
|
|
|
30aad9c |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.16-3
|
|
|
30aad9c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
30aad9c |
|
|
|
bb8a162 |
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.1.16-2
|
|
|
bb8a162 |
- Remove obsolete scriptlets
|
|
|
bb8a162 |
|
|
|
8a7d10b |
* Fri Nov 10 2017 Aivar Annamaa <aivar.annamaa@gmail.com> - 2.1.16-1
|
|
|
8a7d10b |
- Initial package
|