From abc83491559acdd2807db1ecfe4d75c02945a945 Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Aug 22 2017 19:31:42 +0000 Subject: Initial import (#1483308). --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4cfc3f1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/pgzero-1.1.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index f9a679d..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# pgzero - -A zero-boilerplate 2D games framework \ No newline at end of file diff --git a/pgzero.spec b/pgzero.spec new file mode 100644 index 0000000..d312f8e --- /dev/null +++ b/pgzero.spec @@ -0,0 +1,56 @@ +Name: pgzero +Version: 1.1 +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 +# pgzero module and runner under LGPLv3 +# examples/basic/fonts/Cherry_Cream_Soda and Roboto_Condensed under ASL 2.0 +# examples/lander/lander.py under CC-BY-SA +# examples/basic/fonts/bubblegum_sans.ttf under CC0 +# 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 +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pygame + +%{?python_provide:%python_provide python3-%{name}} + +Requires: python3-pygame +Requires: python3-setuptools + +%description +Pygame Zero A zero boilerplate games programming framework for Python 3, based +on Pygame. Pygame Zero consists of a runner pgzrun that will run a +Pygame Zero script with a full game loop and a range of useful builtins. + +%prep +%autosetup -n %{name}-%{version} +# Remove bundled egg-info +rm -rf %{name}.egg-info + +%build +%py3_build + +%install +%py3_install + +%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 + +%files +%license COPYING +%doc README.txt examples +%{_bindir}/pgzrun +%{python3_sitelib}/%{name} +%{python3_sitelib}/%{name}-%{version}-py?.?.egg-info + +%changelog +* Sun Aug 20 2017 Lumir Balhar - 1.1-1 +- Initial package. diff --git a/sources b/sources new file mode 100644 index 0000000..b286ad1 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (pgzero-1.1.tar.gz) = c5681e6897cc27d9da23451ebb5417294f9b3127c7685a465d6e2a613bf34a6e53ca4827c0790467b69c68f90996c79a7b7d509caf29601640ab4b61e71efd7d