Sync from SUSE:SLFO:Main python-typing-inspect revision 771bac96b8e9cc272839217fff400d14

This commit is contained in:
Adrian Schröter 2024-05-03 23:21:44 +02:00
commit bc9bf739e7
4 changed files with 127 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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

View File

@ -0,0 +1,38 @@
-------------------------------------------------------------------
Sun Aug 13 21:39:11 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.9.0:
* Fix with new version of typing_extensions
* Handle non-indexed generics
-------------------------------------------------------------------
Fri Apr 21 12:38:07 UTC 2023 - Dirk Müller <dmueller@suse.com>
- add sle15_python_module_pythons (jsc#PED-68)
-------------------------------------------------------------------
Thu Apr 13 22:45:39 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Make calling of %{sle15modernpython} optional.
-------------------------------------------------------------------
Sat Jan 7 16:17:47 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.8.0:
* Python 3.9 support
* support PEO 591
* Require newer typing extension
* Python 3.10 support
* Add support for UnionType in get_args
- drop typing_inspect-pr69-py39-GenericAlias.patch (upstream)
-------------------------------------------------------------------
Sun Mar 21 13:52:12 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Add typing_inspect-pr69-py39-GenericAlias.patch to support
Python 3.9 -- gh#ilevkivskyi/typing_inspect#69
-------------------------------------------------------------------
Sat Jul 4 03:54:20 AM UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Initial spec for v0.6.0

View File

@ -0,0 +1,63 @@
#
# spec file for package python-typing-inspect
#
# 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}
Name: python-typing-inspect
Version: 0.9.0
Release: 0
Summary: Python runtime inspection utilities for typing
License: MIT
Group: Development/Languages/Python
URL: https://github.com/ilevkivskyi/typing_inspect
Source: https://files.pythonhosted.org/packages/source/t/typing_inspect/typing_inspect-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-mypy_extensions >= 0.3.0
Requires: python-typing_extensions >= 3.7.4
Suggests: python-typing >= 3.7.4
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module mypy_extensions >= 0.3.0}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module typing_extensions >= 3.7.4}
# /SECTION
%python_subpackages
%description
Python runtime inspection utilities for typing module.
%prep
%autosetup -p1 -n typing_inspect-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/*
%changelog

BIN
typing_inspect-0.9.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.