forked from pool/python-sge-pygame
- Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sge-pygame?expand=0&rev=14
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.osc
|
||||||
64
python-sge-pygame.changes
Normal file
64
python-sge-pygame.changes
Normal file
@@ -0,0 +1,64 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 12 10:52:14 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 11 12:24:03 UTC 2021 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Skip python36 because pygame skipped it
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 3 23:18:04 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>
|
||||||
|
|
||||||
|
- Update to version 1.7.1
|
||||||
|
* Fix incompatibility with Pygame 2
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Sep 13 14:00:35 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
||||||
|
|
||||||
|
- Update to version 1.7
|
||||||
|
Specification additions:
|
||||||
|
* sge.gfx.Font.linesize
|
||||||
|
* sge.gfx.Sprite.size
|
||||||
|
Specification misc changes:
|
||||||
|
* Added an outline and outline_thickness argument to
|
||||||
|
sge.gfx.Sprite.draw_text and related methods.
|
||||||
|
* Added use of an argument by the pixelate transition to control
|
||||||
|
rate of pixelation updates.
|
||||||
|
* Specified that extending sge.s with additional string variables
|
||||||
|
is allowed.
|
||||||
|
* Removed the warning about use of MP3 files in the documentation
|
||||||
|
since MP3 patents expired a couple years ago.
|
||||||
|
Specification bugfixes:
|
||||||
|
* Missing documentation for sge.gfx.Sprite.get_spritelist
|
||||||
|
* Missing documentation for sge.gfx.Color.__init__
|
||||||
|
* sge.gfx.Sprite.scale docs talking about rotation rather than
|
||||||
|
scaling
|
||||||
|
- Update to version 1.7
|
||||||
|
Specification additions:
|
||||||
|
* sge.s.isometric
|
||||||
|
* sge.s.orthogonal
|
||||||
|
* sge.gfx.Sprite.get_spritelist
|
||||||
|
Specification misc changes:
|
||||||
|
* Full name changed from "SGE Game Engine" to "Seclusion Game Engine"
|
||||||
|
Specification bugfixes:
|
||||||
|
* Misspelling of "backgrounds" as "bckgrounds"
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 5 19:35:36 UTC 2018 - mardnh@gmx.de
|
||||||
|
|
||||||
|
- Update to version 1.5.1
|
||||||
|
* Made the uniseg dependency optional.
|
||||||
|
* Altered the way fonts are handled.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 26 15:01:55 UTC 2018 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Trim bias from description, add a few mentions of what "details"
|
||||||
|
SGE takes care of.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jul 21 21:33:19 UTC 2018 - mardnh@gmx.de
|
||||||
|
|
||||||
|
- Initial package, version 1.5
|
||||||
61
python-sge-pygame.spec
Normal file
61
python-sge-pygame.spec
Normal file
@@ -0,0 +1,61 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-sge-pygame
|
||||||
|
#
|
||||||
|
# Copyright (c) 2025 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: python-sge-pygame
|
||||||
|
Version: 1.7.1
|
||||||
|
Release: 0
|
||||||
|
Summary: A 2-D game engine for Python
|
||||||
|
License: LGPL-3.0-or-later
|
||||||
|
Group: Development/Languages/Python
|
||||||
|
URL: https://python-sge.github.io
|
||||||
|
Source: https://files.pythonhosted.org/packages/source/s/sge/sge-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-pygame >= 1.9.1
|
||||||
|
Requires: python-six >= 1.4.0
|
||||||
|
Requires: python-uniseg
|
||||||
|
BuildArch: noarch
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
|
%description
|
||||||
|
The SGE Game Engine is a general-purpose 2-D game engine. It takes
|
||||||
|
care of several details, such as window size management, collision
|
||||||
|
detection, parallax scrolling, image transformation.
|
||||||
|
|
||||||
|
This implementation of the SGE uses Pygame as a backend.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n sge-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%pyproject_wheel
|
||||||
|
|
||||||
|
%install
|
||||||
|
%pyproject_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%doc README README.pygame WHATSNEW WHATSNEW.pygame
|
||||||
|
%license sge/COPYING sge/COPYING.LESSER
|
||||||
|
%{python_sitelib}/sge
|
||||||
|
%{python_sitelib}/sge-%{version}*-info
|
||||||
|
|
||||||
|
%changelog
|
||||||
3
sge-1.7.1.tar.gz
Normal file
3
sge-1.7.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9dac82107f7a41419d07fec50d0a3e67d6504680668219d447cf81ea7a7d5bd1
|
||||||
|
size 1375640
|
||||||
Reference in New Issue
Block a user