From ae25492a9379fafca87bb9498fb5e092e3f35666477400d6d80748f73c85b827 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 7 Jan 2024 21:00:23 +0000 Subject: [PATCH] - update to 1.0.2: * Close file handle in preloadFont * Add python3.9 to testing * subprocess32 no longer needed * Add python_requires >= 3.9 - update to 1.0.0: * Update setup.py for python 3.6 and 3.7 * Add 'make publish' which also publishes wheel (0.8.post1) * Add support for zipped fonts * Fix simple typo: compatability -> compatibility * make color parameter caps * add options for handling surrounding whitespace * Fix for #89 - clarify font licensing * Update __init__.py * Add loading German Umlaute * Added fonts * Support caca2tlf converted fonts better * add blocky font * Fix setup * Revert "Fix setup" * Update test.yml python versions * Port to importlib.resources * seek to the start of the file after checking for a zip header * Fix for various font issues * Fix most reming font issues * Fix #95 - Default fonts if user just runs setup.py * Setup auto publish OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyfiglet?expand=0&rev=12 --- pyfiglet-0.8.post1.tar.gz | 3 --- pyfiglet-1.0.2.tar.gz | 3 +++ python-pyfiglet.changes | 31 +++++++++++++++++++++++++++++++ python-pyfiglet.spec | 19 +++++++++++-------- 4 files changed, 45 insertions(+), 11 deletions(-) delete mode 100644 pyfiglet-0.8.post1.tar.gz create mode 100644 pyfiglet-1.0.2.tar.gz diff --git a/pyfiglet-0.8.post1.tar.gz b/pyfiglet-0.8.post1.tar.gz deleted file mode 100644 index 09a0257..0000000 --- a/pyfiglet-0.8.post1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c6c2321755d09267b438ec7b936825a4910fec696292139e664ca8670e103639 -size 634618 diff --git a/pyfiglet-1.0.2.tar.gz b/pyfiglet-1.0.2.tar.gz new file mode 100644 index 0000000..7e94812 --- /dev/null +++ b/pyfiglet-1.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:758788018ab8faaddc0984e1ea05ff330d3c64be663c513cc1f105f6a3066dab +size 832345 diff --git a/python-pyfiglet.changes b/python-pyfiglet.changes index 73b7da5..479afa0 100644 --- a/python-pyfiglet.changes +++ b/python-pyfiglet.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Sun Jan 7 20:58:55 UTC 2024 - Dirk Müller + +- update to 1.0.2: + * Close file handle in preloadFont + * Add python3.9 to testing + * subprocess32 no longer needed + * Add python_requires >= 3.9 +- update to 1.0.0: + * Update setup.py for python 3.6 and 3.7 + * Add 'make publish' which also publishes wheel (0.8.post1) + * Add support for zipped fonts + * Fix simple typo: compatability -> compatibility + * make color parameter caps + * add options for handling surrounding whitespace + * Fix for #89 - clarify font licensing + * Update __init__.py + * Add loading German Umlaute + * Added fonts + * Support caca2tlf converted fonts better + * add blocky font + * Fix setup + * Revert "Fix setup" + * Update test.yml python versions + * Port to importlib.resources + * seek to the start of the file after checking for a zip header + * Fix for various font issues + * Fix most reming font issues + * Fix #95 - Default fonts if user just runs setup.py + * Setup auto publish + ------------------------------------------------------------------- Wed May 20 07:26:26 UTC 2020 - Petr Gajdos diff --git a/python-pyfiglet.spec b/python-pyfiglet.spec index c066fb9..a24b69d 100644 --- a/python-pyfiglet.spec +++ b/python-pyfiglet.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyfiglet # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,21 +16,23 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?sle15_python_module_pythons} Name: python-pyfiglet -Version: 0.8.post1 +Version: 1.0.2 Release: 0 Summary: Pure Python FIGlet implementation License: MIT Group: Development/Languages/Python URL: https://github.com/pwaller/pyfiglet Source: https://files.pythonhosted.org/packages/source/p/pyfiglet/pyfiglet-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: figlet BuildRequires: python-rpm-macros Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives BuildArch: noarch %python_subpackages @@ -44,10 +46,10 @@ sed -i -e '1{/^#!/d}' pyfiglet/__init__.py mv pyfiglet/test.py . %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install install -d -m 0755 %{buildroot}%{_mandir}/man1 install -m 0644 doc/pyfiglet.1 %{buildroot}%{_mandir}/man1/ @@ -72,10 +74,11 @@ install -m 0644 doc/pyfiglet.1 %{buildroot}%{_mandir}/man1/ %python_uninstall_alternative pyfiglet pyfiglet.1 %files %{python_files} -%doc README doc/figfont.txt +%doc README.md doc/figfont.txt %license LICENSE %python_alternative %{_bindir}/pyfiglet %python_alternative %{_mandir}/man1/pyfiglet.1%{ext_man} -%{python_sitelib}/* +%{python_sitelib}/pyfiglet +%{python_sitelib}/pyfiglet-%{version}.dist-info %changelog