From 3244ac35d5f68fc69b9073e5dc38aff90e173bf377b5f33081870a55c5d05d60 Mon Sep 17 00:00:00 2001 From: Nico Krapp Date: Mon, 12 May 2025 14:38:34 +0000 Subject: [PATCH] - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyTweening?expand=0&rev=14 --- .gitattributes | 23 ++++++++++++++++ .gitignore | 1 + python-PyTweening.changes | 42 +++++++++++++++++++++++++++++ python-PyTweening.spec | 57 +++++++++++++++++++++++++++++++++++++++ pytweening-1.2.0.tar.gz | 3 +++ 5 files changed, 126 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-PyTweening.changes create mode 100644 python-PyTweening.spec create mode 100644 pytweening-1.2.0.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-PyTweening.changes b/python-PyTweening.changes new file mode 100644 index 0000000..2e89422 --- /dev/null +++ b/python-PyTweening.changes @@ -0,0 +1,42 @@ +------------------------------------------------------------------- +Mon May 12 14:34:08 UTC 2025 - Markéta Machová + +- Convert to pip-based build + +------------------------------------------------------------------- +Sun Apr 21 08:52:34 UTC 2024 - Dirk Müller + +- update to 1.2.0: + * Added iterators and got rid of the 0.0 to 1.0 range check. + Improved readme. + * Uploading more tween graphs + * Fix graph filenames in readme + * Updated readme + +------------------------------------------------------------------- +Fri Jan 5 18:25:19 UTC 2024 - Dirk Müller + +- update to 1.0.7: + * no upstream changelog available +- use packaged LICENSE.txt + +------------------------------------------------------------------- +Mon Aug 29 03:09:07 UTC 2022 - Yogalakshmi Arunachalam + +- update to 1.0.4 + no change log in upstream + +------------------------------------------------------------------- +Thu Nov 7 15:34:07 UTC 2019 - Matej Cepl + +- Run through spec-cleaner + +------------------------------------------------------------------- +Tue Dec 4 12:53:17 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +------------------------------------------------------------------- +Mon Mar 5 17:46:05 UTC 2018 - alarrosa@suse.com + +- Initial release of python-PyTweening 1.0.3 diff --git a/python-PyTweening.spec b/python-PyTweening.spec new file mode 100644 index 0000000..aaff816 --- /dev/null +++ b/python-PyTweening.spec @@ -0,0 +1,57 @@ +# +# spec file for package python-PyTweening +# +# 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-PyTweening +Version: 1.2.0 +Release: 0 +Summary: A collection of tweening / easing functions +License: BSD-3-Clause +URL: https://github.com/asweigart/pytweening +Source: https://files.pythonhosted.org/packages/source/p/pytweening/pytweening-%{version}.tar.gz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: dos2unix +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: unzip +BuildArch: noarch +%python_subpackages + +%description +A collection of tweening / easing functions implemented in Python. + +%prep +%setup -q -n pytweening-%{version} +dos2unix README.md + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%doc README.md +%license LICENSE.txt +%{python_sitelib}/pytweening +%{python_sitelib}/pytweening-%{version}*info + +%changelog diff --git a/pytweening-1.2.0.tar.gz b/pytweening-1.2.0.tar.gz new file mode 100644 index 0000000..8001d71 --- /dev/null +++ b/pytweening-1.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:243318b7736698066c5f362ec5c2b6434ecf4297c3c8e7caa8abfe6af4cac71b +size 171241