From 759d1875b2407fd738c36862329f6738d29b64ea5bf03d681f4a7fd8b620a549 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Fri, 6 Jun 2025 04:24:24 +0000 Subject: [PATCH] - Switch to pyproject macros. - No more greedy globs in %files. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xsge_particle?expand=0&rev=12 --- .gitattributes | 23 ++++++++++++++ .gitignore | 1 + python-xsge_particle.changes | 33 ++++++++++++++++++++ python-xsge_particle.spec | 60 ++++++++++++++++++++++++++++++++++++ xsge_particle-1.0.1.tar.gz | 3 ++ 5 files changed, 120 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-xsge_particle.changes create mode 100644 python-xsge_particle.spec create mode 100644 xsge_particle-1.0.1.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-xsge_particle.changes b/python-xsge_particle.changes new file mode 100644 index 0000000..9105699 --- /dev/null +++ b/python-xsge_particle.changes @@ -0,0 +1,33 @@ +------------------------------------------------------------------- +Fri Jun 6 04:21:34 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. +- No more greedy globs in %files. + +------------------------------------------------------------------- +Fri Dec 29 09:01:10 UTC 2023 - Dirk Müller + +- update to 1.0.1: + * relicensed to LGPL + +------------------------------------------------------------------- +Wed May 26 04:46:54 UTC 2021 - Steve Kowalik + +- Update to 1.0: + * Drop support for Python 2. +- Do not build for Python 3.6, due to no NumPy. + +------------------------------------------------------------------- +Thu Jul 26 15:14:00 UTC 2018 - jengelh@inai.de + +- Trim redundancies from description. + +------------------------------------------------------------------- +Tue Jul 24 12:56:40 UTC 2018 - mardnh@gmx.de + +- Correct name of the changes file + +------------------------------------------------------------------- +Sun Jul 22 11:52:28 UTC 2018 - mardnh@gmx.de + +- Initial package, version 0.1 diff --git a/python-xsge_particle.spec b/python-xsge_particle.spec new file mode 100644 index 0000000..88be0fb --- /dev/null +++ b/python-xsge_particle.spec @@ -0,0 +1,60 @@ +# +# spec file for package python-xsge_particle +# +# 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/ +# + + +%{?sle15_python_module_pythons} +Name: python-xsge_particle +Version: 1.0.1 +Release: 0 +Summary: xSGE Particles +License: LGPL-3.0-or-later +URL: https://python-sge.github.io/ +Source: https://files.pythonhosted.org/packages/source/x/xsge_particle/xsge_particle-%{version}.tar.gz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-sge-pygame >= 1.0 +Requires: python-six >= 1.4.0 +BuildArch: noarch +%python_subpackages + +%description +xSGE is a collection of extensions for SGE. +xSGE extensions are not dependent on any particular SGE implementation. +They should work with any implementation that follows the specification. + +This extension provides particle effects for SGE. + +%prep +%setup -q -n xsge_particle-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%doc README +%license xsge_particle/COPYING +%{python_sitelib}/xsge_particle +%{python_sitelib}/xsge_particle-%{version}.dist-info + +%changelog diff --git a/xsge_particle-1.0.1.tar.gz b/xsge_particle-1.0.1.tar.gz new file mode 100644 index 0000000..76674b3 --- /dev/null +++ b/xsge_particle-1.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fb8600b428f1d22c40dc1e7ac4c6beaedd4ee77e7aa2853300480bed56c476d5 +size 177943