Sync from SUSE:SLFO:Main python-backports.entry_points_selectable revision 4206ec6996a9334408327bc22be6c68f

This commit is contained in:
2025-05-02 15:45:56 +02:00
commit 376c142428
4 changed files with 143 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

BIN
backports.entry_points_selectable-1.3.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -0,0 +1,46 @@
-------------------------------------------------------------------
Sat Dec 2 08:51:54 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 1.3.0:
* Require Python 3.8 or later.
-------------------------------------------------------------------
Thu Jun 22 15:14:27 UTC 2023 - Dirk Müller <dmueller@suse.com>
- remove paths only relevant for obsolete python versions
-------------------------------------------------------------------
Mon May 8 11:07:05 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
- Update to 1.2.0:
* Refreshed packaging.
* Require Python 3.7 or later.
-------------------------------------------------------------------
Fri Apr 21 12:22:31 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.
-------------------------------------------------------------------
Mon Jan 24 21:36:45 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 1.1.1
Refreshed packaging.
-------------------------------------------------------------------
Wed Sep 29 15:44:11 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Clean requirements
- Reactivate python2 for Leap targets
* keep backports/__init__.py for python2
gh#jaraco/backports.entry_points_selectable#5
-------------------------------------------------------------------
Wed Aug 4 13:35:05 UTC 2021 - Matej Cepl <mcepl@suse.com>
- Initial package for backports.entry_points_selectable 1.1.0.

View File

@@ -0,0 +1,71 @@
#
# spec file for package python-backports.entry_points_selectable
#
# 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-backports.entry_points_selectable
Version: 1.3.0
Release: 0
Summary: Compatibility shim providing selectable entry points for older implementations
License: MIT
URL: https://github.com/jaraco/backports.entry_points_selectable
Source: https://files.pythonhosted.org/packages/source/b/backports.entry_points_selectable/backports.entry_points_selectable-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest >= 4.6}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module toml}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
%description
Compatibility shim providing selectable entry points for older implementations
%prep
%autosetup -p1 -n backports.entry_points_selectable-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
# PEP-420 allows implicit packages without an additional __init__.py for python >= 3.3,
# gh#jaraco/backports.entry_points_selectable#5
%{python_expand # remove explicit __init__.py files (unless we need it for the python2 tests)
if [ "${python_flavor}" != "python2" ]; then
rm -v %{buildroot}%{$python_sitelib}/backports/__init__.py* \
%{buildroot}%{$python_sitelib}/backports/__pycache__/__init__.*
%fdupes %{buildroot}%{$python_sitelib}
fi
}
%check
%pytest --pyargs backports
%files %{python_files}
%doc README.rst
%license LICENSE
%dir %{python_sitelib}/backports
%{python_sitelib}/backports/entry_points_selectable.py*
%pycache_only %dir %{python_sitelib}/backports/__pycache__
%pycache_only %{python_sitelib}/backports/__pycache__/*
%{python_sitelib}/backports.entry_points_selectable-%{version}*-info
%changelog