From 6e511bc54e4200388ffe9128bdc834ebdcc7f4f1 Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Feb 26 2018 08:11:42 +0000 Subject: New upstream version --- diff --git a/.gitignore b/.gitignore index 4cfc3f1..c983e94 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /pgzero-1.1.tar.gz +/pgzero-1.2.tar.gz diff --git a/pgzero.spec b/pgzero.spec index c0deb24..5b40996 100644 --- a/pgzero.spec +++ b/pgzero.spec @@ -1,6 +1,6 @@ Name: pgzero -Version: 1.1 -Release: 2%{?dist} +Version: 1.2 +Release: 1%{?dist} Summary: A zero-boilerplate 2D games framework License: LGPLv3 and ASL 2.0 and CC-BY-SA and CC0 and MIT and OFL @@ -11,17 +11,19 @@ License: LGPLv3 and ASL 2.0 and CC-BY-SA and CC0 and MIT and OFL # examples/memory/ under MIT # examples/basic/fonts/Boogaloo and Bubblegum_Sans under OFL URL: http://pypi.python.org/pypi/pgzero -Source0: https://bitbucket.org/lordmauve/%{name}/get/%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pygame +BuildRequires: python3-numpy %{?python_provide:%python_provide python3-%{name}} Requires: python3-pygame Requires: python3-setuptools +Requires: python3-numpy %description Pygame Zero A zero boilerplate games programming framework for Python 3, based @@ -42,16 +44,24 @@ rm -rf %{name}.egg-info %check # Some tests cannot be run in a headles environment without display rm test/test_screen.py test/test_actor.py test/test_sound_formats.py -%{__python3} -m unittest +# test_tone.py is broken https://github.com/lordmauve/pgzero/issues/66 +sed -i -e 's/from tone/from pgzero.tone/' test/test_tone.py +sed -i -e 's/valid note, /valid note. /' test/test_tone.py +%{__python3} -m unittest discover test/ %files %license COPYING %doc README.txt examples %{_bindir}/pgzrun %{python3_sitelib}/%{name} +%{python3_sitelib}/pgzrun.py +%{python3_sitelib}/__pycache__/* %{python3_sitelib}/%{name}-%{version}-py?.?.egg-info %changelog +* Mon Feb 26 2018 Lumir Balhar - 1.2-1 +- New upstream version + * Fri Feb 09 2018 Fedora Release Engineering - 1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index b286ad1..a1c0c52 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pgzero-1.1.tar.gz) = c5681e6897cc27d9da23451ebb5417294f9b3127c7685a465d6e2a613bf34a6e53ca4827c0790467b69c68f90996c79a7b7d509caf29601640ab4b61e71efd7d +SHA512 (pgzero-1.2.tar.gz) = 365a19ba17ed5021ce8547d4ba8cbe8b91a7eaeb0adc858fbce272592ba83f99f051fca7f5fe11283826d86d6bd8819d14a2986175367b7d5f5a1c74c27e284d