Sync from SUSE:SLFO:Main python-flit-scm revision 09bf44ef89ac0211e3ba7145aea61186

This commit is contained in:
Adrian Schröter 2024-05-03 20:43:06 +02:00
commit 3792b74ac9
4 changed files with 106 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
flit_scm-1.7.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

15
python-flit-scm.changes Normal file
View File

@ -0,0 +1,15 @@
-------------------------------------------------------------------
Fri Apr 21 12:25:21 UTC 2023 - Dirk Müller <dmueller@suse.com>
- add sle15_python_module_pythons (jsc#PED-68)
-------------------------------------------------------------------
Thu Apr 13 22:41:21 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Make calling of %{sle15modernpython} optional.
-------------------------------------------------------------------
Sun Oct 9 20:04:15 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Initial specfile for v1.7.0
- Required by python-exceptiongroup

65
python-flit-scm.spec Normal file
View File

@ -0,0 +1,65 @@
#
# spec file for package python-flit-scm
#
# 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-flit-scm
Version: 1.7.0
Release: 0
Summary: PEP 518 build backend using setuptools_scm and flit
License: MIT
URL: https://gitlab.com/WillDaSilva/flit_scm
Source: https://files.pythonhosted.org/packages/source/f/flit_scm/flit_scm-%{version}.tar.gz
BuildRequires: %{python_module flit-core >= 3.5}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools_scm >= 6.4}
BuildRequires: %{python_module tomli if %python-version < 3.11}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-flit-core >= 3.5
Requires: python-setuptools_scm >= 6.4
Provides: python-flit-scm = %{version}-%{release}
BuildArch: noarch
%if 0%{python_version_nodots} < 311
Requires: python-tomli
%endif
%python_subpackages
%description
A PEP 518 build backend that uses setuptools_scm to generate a version file
from your version control system, then flit to build the package.
%prep
%setup -q -n flit_scm-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
#%%check
# there are no tests
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/flit_scm
%{python_sitelib}/flit_scm-%{version}*-info
%changelog