|
|
abc8349 |
Name: pgzero
|
|
|
6e511bc |
Version: 1.2
|
|
|
ce6ce25 |
Release: 11%{?dist}
|
|
|
abc8349 |
Summary: A zero-boilerplate 2D games framework
|
|
|
abc8349 |
|
|
|
abc8349 |
License: LGPLv3 and ASL 2.0 and CC-BY-SA and CC0 and MIT and OFL
|
|
|
abc8349 |
# pgzero module and runner under LGPLv3
|
|
|
abc8349 |
# examples/basic/fonts/Cherry_Cream_Soda and Roboto_Condensed under ASL 2.0
|
|
|
abc8349 |
# examples/lander/lander.py under CC-BY-SA
|
|
|
abc8349 |
# examples/basic/fonts/bubblegum_sans.ttf under CC0
|
|
|
abc8349 |
# examples/memory/ under MIT
|
|
|
abc8349 |
# examples/basic/fonts/Boogaloo and Bubblegum_Sans under OFL
|
|
|
abc8349 |
URL: http://pypi.python.org/pypi/pgzero
|
|
|
6e511bc |
Source0: https://files.pythonhosted.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
|
|
|
abc8349 |
BuildArch: noarch
|
|
|
abc8349 |
|
|
|
abc8349 |
BuildRequires: python3-devel
|
|
|
abc8349 |
BuildRequires: python3-setuptools
|
|
|
abc8349 |
BuildRequires: python3-pygame
|
|
|
6e511bc |
BuildRequires: python3-numpy
|
|
|
abc8349 |
|
|
|
abc8349 |
%{?python_provide:%python_provide python3-%{name}}
|
|
|
abc8349 |
|
|
|
abc8349 |
Requires: python3-pygame
|
|
|
abc8349 |
Requires: python3-setuptools
|
|
|
6e511bc |
Requires: python3-numpy
|
|
|
abc8349 |
|
|
|
abc8349 |
%description
|
|
|
abc8349 |
Pygame Zero A zero boilerplate games programming framework for Python 3, based
|
|
|
abc8349 |
on Pygame. Pygame Zero consists of a runner pgzrun that will run a
|
|
|
abc8349 |
Pygame Zero script with a full game loop and a range of useful builtins.
|
|
|
abc8349 |
|
|
|
abc8349 |
%prep
|
|
|
abc8349 |
%autosetup -n %{name}-%{version}
|
|
|
abc8349 |
# Remove bundled egg-info
|
|
|
abc8349 |
rm -rf %{name}.egg-info
|
|
|
ce6ce25 |
# Remove version limit for pygame dependency
|
|
|
ce6ce25 |
sed -i "s/\(pygame.*\), <2.0.*/\1'/" setup.py
|
|
|
abc8349 |
|
|
|
abc8349 |
%build
|
|
|
abc8349 |
%py3_build
|
|
|
abc8349 |
|
|
|
abc8349 |
%install
|
|
|
abc8349 |
%py3_install
|
|
|
abc8349 |
|
|
|
abc8349 |
%check
|
|
|
abc8349 |
# Some tests cannot be run in a headles environment without display
|
|
|
abc8349 |
rm test/test_screen.py test/test_actor.py test/test_sound_formats.py
|
|
|
6e511bc |
# test_tone.py is broken https://github.com/lordmauve/pgzero/issues/66
|
|
|
6e511bc |
sed -i -e 's/from tone/from pgzero.tone/' test/test_tone.py
|
|
|
6e511bc |
sed -i -e 's/valid note, /valid note. /' test/test_tone.py
|
|
|
6e511bc |
%{__python3} -m unittest discover test/
|
|
|
abc8349 |
|
|
|
abc8349 |
%files
|
|
|
abc8349 |
%license COPYING
|
|
|
abc8349 |
%doc README.txt examples
|
|
|
abc8349 |
%{_bindir}/pgzrun
|
|
|
abc8349 |
%{python3_sitelib}/%{name}
|
|
|
6e511bc |
%{python3_sitelib}/pgzrun.py
|
|
|
6e511bc |
%{python3_sitelib}/__pycache__/*
|
|
|
75849fb |
%{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info
|
|
|
abc8349 |
|
|
|
abc8349 |
%changelog
|
|
|
ce6ce25 |
* Mon Nov 23 2020 Lumír Balhar <lbalhar@redhat.com> - 1.2-11
|
|
|
ce6ce25 |
- Make it installable with pygame>=2.0.0
|
|
|
ce6ce25 |
|
|
|
ebe7d03 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-10
|
|
|
ebe7d03 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
ebe7d03 |
|
|
|
98969bc |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.2-9
|
|
|
98969bc |
- Rebuilt for Python 3.9
|
|
|
98969bc |
|
|
|
3550e80 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-8
|
|
|
3550e80 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
3550e80 |
|
|
|
7e69182 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2-7
|
|
|
7e69182 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
7e69182 |
|
|
|
e050729 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2-6
|
|
|
e050729 |
- Rebuilt for Python 3.8
|
|
|
e050729 |
|
|
|
6117a7e |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-5
|
|
|
6117a7e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
6117a7e |
|
|
|
8688d06 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-4
|
|
|
8688d06 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
8688d06 |
|
|
|
e051698 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-3
|
|
|
e051698 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
e051698 |
|
|
|
ef1f2b6 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.2-2
|
|
|
ef1f2b6 |
- Rebuilt for Python 3.7
|
|
|
ef1f2b6 |
|
|
|
6e511bc |
* Mon Feb 26 2018 Lumir Balhar <lbalhar@redhat.com> - 1.2-1
|
|
|
6e511bc |
- New upstream version
|
|
|
6e511bc |
|
|
|
ff06fb4 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-2
|
|
|
ff06fb4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
ff06fb4 |
|
|
|
abc8349 |
* Sun Aug 20 2017 Lumir Balhar <lbalhar@redhat.com> - 1.1-1
|
|
|
abc8349 |
- Initial package.
|