Accepting request 820773 from home:apersaud:branches:devel:languages:python

removed double header

- specfile:
  * update copyright year
  * license included in tar-ball
  * be more specific in %files section
- update to version 0.2.0:
  * license in tar-ball
  * moved to flit

OBS-URL: https://build.opensuse.org/request/show/820773
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-backcall?expand=0&rev=6
This commit is contained in:
Steve Kowalik 2020-07-14 04:14:06 +00:00 committed by Git OBS Bridge
parent abb0aa07bf
commit a50e5c17ba
5 changed files with 22 additions and 37 deletions

27
LICENSE
View File

@ -1,27 +0,0 @@
Copyright (c) 2014, Thomas Kluyver
All rights reserved.
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 {organization} 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:38ecd85be2c1e78f77fd91700c76e14667dc21e2713b63876c0eb901196e01e4
size 9690

BIN
backcall-0.2.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sun Jul 12 21:50:04 UTC 2020 - Arun Persaud <arun@gmx.de>
- specfile:
* update copyright year
* license included in tar-ball
* be more specific in %files section
- update to version 0.2.0:
* license in tar-ball
* moved to flit
-------------------------------------------------------------------
Fri May 4 08:16:15 UTC 2018 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
#
# spec file for package python-backcall
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,25 +12,25 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-backcall
Version: 0.1.0
Version: 0.2.0
Release: 0
Summary: Specifications for callback functions passed in to an API
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/takluyver/backcall
Source0: https://files.pythonhosted.org/packages/source/b/backcall/backcall-%{version}.tar.gz
Source1: https://raw.githubusercontent.com/takluyver/backcall/cff13f5e4bd2a2af82fc5174e38cca0f9b7c21d2/LICENSE
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
#
%python_subpackages
%description
@ -43,7 +43,6 @@ prototype function.
%prep
%setup -q -n backcall-%{version}
cp %{SOURCE1} .
%build
%python_build
@ -53,11 +52,12 @@ cp %{SOURCE1} .
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec -m pytest tests
%pytest tests
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/*
%{python_sitelib}/backcall
%{python_sitelib}/backcall-%{version}-py*.egg-info
%changelog