forked from pool/python-pyjokes
Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
b04dd47fea | |||
a2f50dedab |
27
LICENCE.txt
27
LICENCE.txt
@@ -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.
|
@@ -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
3
pyjokes-0.8.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5735d31e973d5b6934b46b89431505733c3110f9b66eac0ff0be86f7f3646423
|
||||
size 44617
|
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
- 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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user