Sync from SUSE:SLFO:Main python-backcall revision f7c5c5d37f8128d4f20e9154ca92778f
This commit is contained in:
commit
890a6ee854
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
backcall-0.2.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
backcall-0.2.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
37
python-backcall.changes
Normal file
37
python-backcall.changes
Normal file
@ -0,0 +1,37 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 21 12:22:28 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- add sle15_python_module_pythons (jsc#PED-68)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 13 22:40:12 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Make calling of %{sle15modernpython} optional.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
- Update wording of description so it does not assume any specific
|
||||
user context.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 1 05:39:29 UTC 2018 - toddrme2178@gmail.com
|
||||
|
||||
- Fix license file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 12 23:19:10 UTC 2018 - arun@gmx.de
|
||||
|
||||
- initial version
|
64
python-backcall.spec
Normal file
64
python-backcall.spec
Normal file
@ -0,0 +1,64 @@
|
||||
#
|
||||
# spec file for package python-backcall
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-backcall
|
||||
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
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
#
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
If code lets other people supply callback functions, it is important
|
||||
to specify the function signature that is being expected, and to
|
||||
check that functions support that. Adding extra parameters later
|
||||
would break other peoples code unless one is careful.
|
||||
backcall provides a way of specifying the callback signature using a
|
||||
prototype function.
|
||||
|
||||
%prep
|
||||
%setup -q -n backcall-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest tests
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python_sitelib}/backcall
|
||||
%{python_sitelib}/backcall-%{version}-py*.egg-info
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user