From 30e30f5e6b8cc37606ba6e518e200bacedbf5ec38b582df7c000ba8efeec7f4a Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 11 Nov 2024 14:18:00 +0000 Subject: [PATCH] - update to 0.8.3: * update docs * add unit tests * correct license specification - Fix LICENSE url - Initial release of python-pyjokes 0.5.0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyjokes?expand=0&rev=10 --- LICENCE.txt | 27 --------------------------- pyjokes-0.6.0.tar.gz | 3 --- pyjokes-0.8.3.tar.gz | 3 +++ python-pyjokes.changes | 12 ++++++++++-- python-pyjokes.spec | 20 ++++++++++---------- 5 files changed, 23 insertions(+), 42 deletions(-) delete mode 100644 LICENCE.txt delete mode 100644 pyjokes-0.6.0.tar.gz create mode 100644 pyjokes-0.8.3.tar.gz diff --git a/LICENCE.txt b/LICENCE.txt deleted file mode 100644 index 5cf3a55..0000000 --- a/LICENCE.txt +++ /dev/null @@ -1,27 +0,0 @@ -Copyright 2014- Pyjokes Society - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - - * Neither the name of the copyright holder nor the - names of its contributors may be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -POSSIBILITY OF SUCH DAMAGE. diff --git a/pyjokes-0.6.0.tar.gz b/pyjokes-0.6.0.tar.gz deleted file mode 100644 index 4c8e307..0000000 --- a/pyjokes-0.6.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:08860eedb78cbfa4618243c8db088f21c39823ece1fdaf0133e52d9c56e981a5 -size 24439 diff --git a/pyjokes-0.8.3.tar.gz b/pyjokes-0.8.3.tar.gz new file mode 100644 index 0000000..85b96b9 --- /dev/null +++ b/pyjokes-0.8.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5735d31e973d5b6934b46b89431505733c3110f9b66eac0ff0be86f7f3646423 +size 44617 diff --git a/python-pyjokes.changes b/python-pyjokes.changes index ee3cba3..8037396 100644 --- a/python-pyjokes.changes +++ b/python-pyjokes.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Nov 11 14:14:21 UTC 2024 - Dirk Müller + +- update to 0.8.3: + * update docs + * add unit tests + * correct license specification + ------------------------------------------------------------------- Wed May 20 07:26:31 UTC 2020 - Petr Gajdos @@ -17,9 +25,9 @@ Tue Dec 4 12:52:20 UTC 2018 - Matej Cepl ------------------------------------------------------------------- Sun Mar 4 20:13:58 UTC 2018 - alarrosa@suse.com -- Fix LICENSE url +- Fix LICENSE url ------------------------------------------------------------------- Tue Sep 5 16:10:00 UTC 2017 - alarrosa@suse.com -- Initial release of python-pyjokes 0.5.0 +- Initial release of python-pyjokes 0.5.0 diff --git a/python-pyjokes.spec b/python-pyjokes.spec index 6f86ebb..e6f5778 100644 --- a/python-pyjokes.spec +++ b/python-pyjokes.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyjokes # -# 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,17 +16,17 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pyjokes -Version: 0.6.0 +Version: 0.8.3 Release: 0 Summary: One line jokes for programmers (jokes as a service) License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/pyjokes/pyjokes Source: https://files.pythonhosted.org/packages/source/p/pyjokes/pyjokes-%{version}.tar.gz -Source99: https://raw.githubusercontent.com/pyjokes/pyjokes/master/LICENCE.txt -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module poetry-core} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires(post): update-alternatives @@ -41,13 +41,12 @@ from a specific category (neutral/adult/chuck/all). The default is neutral. %prep %setup -q -n pyjokes-%{version} -cp %{SOURCE99} . %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/pyjokes %python_clone -a %{buildroot}%{_bindir}/pyjoke %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -61,10 +60,11 @@ cp %{SOURCE99} . %python_uninstall_alternative pyjoke %files %{python_files} -%doc README.rst +%doc README.md %license LICENCE.txt %python_alternative %{_bindir}/pyjoke %python_alternative %{_bindir}/pyjokes -%{python_sitelib}/* +%{python_sitelib}/pyjokes +%{python_sitelib}/pyjokes-%{version}.dist-info %changelog