14
0

- 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
This commit is contained in:
2024-11-11 14:18:00 +00:00
committed by Git OBS Bridge
parent 4d576529f7
commit 30e30f5e6b
5 changed files with 23 additions and 42 deletions

View File

@@ -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.

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:08860eedb78cbfa4618243c8db088f21c39823ece1fdaf0133e52d9c56e981a5
size 24439

3
pyjokes-0.8.3.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5735d31e973d5b6934b46b89431505733c3110f9b66eac0ff0be86f7f3646423
size 44617

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Nov 11 14:14:21 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.8.3:
* update docs
* add unit tests
* correct license specification
------------------------------------------------------------------- -------------------------------------------------------------------
Wed May 20 07:26:31 UTC 2020 - Petr Gajdos <pgajdos@suse.com> Wed May 20 07:26:31 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
@@ -17,9 +25,9 @@ Tue Dec 4 12:52:20 UTC 2018 - Matej Cepl <mcepl@suse.com>
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Mar 4 20:13:58 UTC 2018 - alarrosa@suse.com 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 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

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pyjokes # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,17 +16,17 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pyjokes Name: python-pyjokes
Version: 0.6.0 Version: 0.8.3
Release: 0 Release: 0
Summary: One line jokes for programmers (jokes as a service) Summary: One line jokes for programmers (jokes as a service)
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/pyjokes/pyjokes URL: https://github.com/pyjokes/pyjokes
Source: https://files.pythonhosted.org/packages/source/p/pyjokes/pyjokes-%{version}.tar.gz 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 pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module poetry-core}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires(post): update-alternatives Requires(post): update-alternatives
@@ -41,13 +41,12 @@ from a specific category (neutral/adult/chuck/all). The default is neutral.
%prep %prep
%setup -q -n pyjokes-%{version} %setup -q -n pyjokes-%{version}
cp %{SOURCE99} .
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_clone -a %{buildroot}%{_bindir}/pyjokes %python_clone -a %{buildroot}%{_bindir}/pyjokes
%python_clone -a %{buildroot}%{_bindir}/pyjoke %python_clone -a %{buildroot}%{_bindir}/pyjoke
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -61,10 +60,11 @@ cp %{SOURCE99} .
%python_uninstall_alternative pyjoke %python_uninstall_alternative pyjoke
%files %{python_files} %files %{python_files}
%doc README.rst %doc README.md
%license LICENCE.txt %license LICENCE.txt
%python_alternative %{_bindir}/pyjoke %python_alternative %{_bindir}/pyjoke
%python_alternative %{_bindir}/pyjokes %python_alternative %{_bindir}/pyjokes
%{python_sitelib}/* %{python_sitelib}/pyjokes
%{python_sitelib}/pyjokes-%{version}.dist-info
%changelog %changelog