Sync from SUSE:SLFO:Main python-sniffio revision 682b67c14628a74ef5de3437fd0816d7
This commit is contained in:
commit
974ae9d415
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
|
63
python-sniffio.changes
Normal file
63
python-sniffio.changes
Normal file
@ -0,0 +1,63 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 16 20:53:23 UTC 2023 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Remove dependency on curio completely.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 5 17:20:13 UTC 2023 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Clean up the SPEC file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 21 12:34:16 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- add sle15_python_module_pythons (jsc#PED-68)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 13 22:44:57 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Make calling of %{sle15modernpython} optional.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 15 18:24:34 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 1.3.0:
|
||||
* requires python 3.7
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 31 13:35:33 UTC 2021 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
- Fix the contextvars requirement for python36
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 9 22:59:17 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
- Revert the python36 skip. python36-curio has been reenabled
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 4 11:13:06 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
- skip upcoming python36 flavor because there is no python36-curio
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 26 08:56:32 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
||||
|
||||
- update to 1.2.0:
|
||||
* Include type hints
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 2 21:06:16 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Use noun phrase in descriptions. Trim filler wording from
|
||||
description.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 14 21:04:35 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Really run tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 11 18:50:30 UTC 2019 - Torsten Gruner <t.gruner@katodev.de>
|
||||
|
||||
- Initial release version 1.1.0
|
||||
|
64
python-sniffio.spec
Normal file
64
python-sniffio.spec
Normal file
@ -0,0 +1,64 @@
|
||||
#
|
||||
# spec file for package python-sniffio
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
%define skip_python2 1
|
||||
Name: python-sniffio
|
||||
Version: 1.3.0
|
||||
Release: 0
|
||||
Summary: Module to sniff which async library code runs under
|
||||
License: Apache-2.0 OR MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/python-trio/sniffio
|
||||
Source: https://github.com/python-trio/sniffio/archive/v%{version}.tar.gz#/sniffio-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros >= 20210127.3a18043
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module pytest}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
This is a package for detecting which async library code is running
|
||||
under. It supports multiple async I/O packages, like Trio, and
|
||||
asyncio.
|
||||
|
||||
%prep
|
||||
%setup -q -n sniffio-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest -k 'not test_curio'
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license LICENSE LICENSE.APACHE2 LICENSE.MIT
|
||||
%{python_sitelib}/sniffio
|
||||
%{python_sitelib}/sniffio-%{version}*-info
|
||||
|
||||
%changelog
|
BIN
sniffio-1.3.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
sniffio-1.3.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user