import CS python3.14-setuptools_scm-8.3.1-3.el9
This commit is contained in:
parent
6d86d494f1
commit
a1e2ae25bd
@ -1 +0,0 @@
|
||||
1
|
||||
7
.gitignore
vendored
7
.gitignore
vendored
@ -1,6 +1 @@
|
||||
/setuptools_scm-*.tar.gz
|
||||
/setuptools_scm-*/
|
||||
/setuptools-scm-8.0.1.tar.gz
|
||||
/setuptools-scm-8.0.2.tar.gz
|
||||
/setuptools-scm-8.0.3.tar.gz
|
||||
/setuptools-scm-8.0.4.tar.gz
|
||||
SOURCES/setuptools_scm-8.3.1.tar.gz
|
||||
|
||||
1
.python3.14-setuptools_scm.metadata
Normal file
1
.python3.14-setuptools_scm.metadata
Normal file
@ -0,0 +1 @@
|
||||
e420e07b68b6e8bf25050deabdb1f08074c2b720 SOURCES/setuptools_scm-8.3.1.tar.gz
|
||||
@ -1,3 +1,97 @@
|
||||
## START: Set by rpmautospec
|
||||
## (rpmautospec version 0.6.5)
|
||||
## RPMAUTOSPEC: autorelease, autochangelog
|
||||
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
||||
release_number = 3;
|
||||
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
||||
print(release_number + base_release_number - 1);
|
||||
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
||||
## END: Set by rpmautospec
|
||||
|
||||
%global python3_pkgversion 3.14
|
||||
|
||||
%bcond tests 0
|
||||
|
||||
Name: python%{python3_pkgversion}-setuptools_scm
|
||||
Version: 8.3.1
|
||||
Release: %autorelease
|
||||
Summary: Blessed package to manage your versions by SCM tags
|
||||
|
||||
# SPDX
|
||||
License: MIT
|
||||
URL: https://github.com/pypa/setuptools_scm/
|
||||
Source: %{pypi_source setuptools_scm}
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python%{python3_pkgversion}-devel
|
||||
%if %{with tests}
|
||||
BuildRequires: git-core
|
||||
# Don't pull mercurial into RHEL just to test this work with it
|
||||
%if %{undefined rhel}
|
||||
BuildRequires: mercurial
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%description -n python%{python3_pkgversion}-setuptools_scm
|
||||
Setuptools_scm handles managing your Python package versions in SCM metadata.
|
||||
It also handles file finders for the supported SCMs.
|
||||
|
||||
|
||||
# We don't package the [rich] extra on RHELs, to avoid pulling rich into the buildroot
|
||||
%pyproject_extras_subpkg -n python%{python3_pkgversion}-setuptools_scm toml%{!?rhel:,rich}
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n setuptools_scm-%{version}
|
||||
%if %{defined rhel}
|
||||
# Remove unnecessary test dependencies:
|
||||
# rich is listed in both [rich] and [test] extras, so we need to be more careful
|
||||
sed -Ei '/^test = \[/,/^\]/ { /"(rich|build|wheel)",/d }' pyproject.toml
|
||||
# Don't blow up all of the tests by failing to report the installed version of build
|
||||
sed -Ei '0,/VERSION_PKGS/{s/, "(build|wheel)"//g}' testing/conftest.py
|
||||
%endif
|
||||
|
||||
|
||||
%generate_buildrequires
|
||||
# Note: We only pull in the [rich] extra when running tests.
|
||||
# This is to make the new Python version bootstrapping simpler
|
||||
# as setuptools_scm is an early package and rich is a late one.
|
||||
%pyproject_buildrequires %{?with_tests:-x test %{!?rhel:-x rich}}
|
||||
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%pyproject_save_files setuptools_scm
|
||||
|
||||
|
||||
%if %{with tests}
|
||||
%check
|
||||
# test_pip_download tries to download from the internet
|
||||
# test_pyproject_missing_setup_hook_works requires build
|
||||
%pytest -v -k 'not test_pip_download%{?rhel: and not test_pyproject_missing_setup_hook_works}'
|
||||
%endif
|
||||
|
||||
|
||||
%files -n python%{python3_pkgversion}-setuptools_scm -f %{pyproject_files}
|
||||
%doc README.md
|
||||
|
||||
|
||||
%changelog
|
||||
## START: Generated by rpmautospec
|
||||
* Fri Nov 28 2025 Lukáš Zachar <lzachar@redhat.com> - 8.3.1-3
|
||||
- Adjust gating
|
||||
|
||||
* Fri Nov 28 2025 Tomáš Hrnčiar <thrnciar@redhat.com> - 8.3.1-2
|
||||
- Convert from Fedora for the Python 3.14 stack in RHEL
|
||||
|
||||
* Fri Nov 28 2025 Tomáš Hrnčiar <thrnciar@redhat.com> - 8.3.1-1
|
||||
- RHEL: Rename SPEC to python3.14-setuptools_scm.spec
|
||||
|
||||
* Tue Sep 26 2023 Lumír Balhar <lbalhar@redhat.com> - 8.0.3-1
|
||||
- Update to 8.0.3 (rhbz#2239825)
|
||||
|
||||
@ -223,3 +317,5 @@ Resolves: rhbz#2001028
|
||||
|
||||
* Mon Sep 14 2015 Orion Poplawski <orion@cora.nwra.com> - 1.7.0-1
|
||||
- Initial package
|
||||
|
||||
## END: Generated by rpmautospec
|
||||
@ -1,6 +0,0 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-*
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||
14
plan.fmf
14
plan.fmf
@ -1,14 +0,0 @@
|
||||
execute:
|
||||
how: tmt
|
||||
|
||||
environment:
|
||||
pybasever: '3.14'
|
||||
|
||||
discover:
|
||||
- name: local repo
|
||||
how: shell
|
||||
tests:
|
||||
- name: import_test
|
||||
test: python${pybasever} -c "import setuptools_scm"
|
||||
require:
|
||||
- python${pybasever}-setuptools_scm
|
||||
@ -1,75 +0,0 @@
|
||||
%global python3_pkgversion 3.14
|
||||
|
||||
%bcond tests 0
|
||||
|
||||
Name: python%{python3_pkgversion}-setuptools_scm
|
||||
Version: 8.3.1
|
||||
Release: %autorelease
|
||||
Summary: Blessed package to manage your versions by SCM tags
|
||||
|
||||
# SPDX
|
||||
License: MIT
|
||||
URL: https://github.com/pypa/setuptools_scm/
|
||||
Source: %{pypi_source setuptools_scm}
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python%{python3_pkgversion}-devel
|
||||
%if %{with tests}
|
||||
BuildRequires: git-core
|
||||
# Don't pull mercurial into RHEL just to test this work with it
|
||||
%if %{undefined rhel}
|
||||
BuildRequires: mercurial
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%description -n python%{python3_pkgversion}-setuptools_scm
|
||||
Setuptools_scm handles managing your Python package versions in SCM metadata.
|
||||
It also handles file finders for the supported SCMs.
|
||||
|
||||
|
||||
# We don't package the [rich] extra on RHELs, to avoid pulling rich into the buildroot
|
||||
%pyproject_extras_subpkg -n python%{python3_pkgversion}-setuptools_scm toml%{!?rhel:,rich}
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n setuptools_scm-%{version}
|
||||
%if %{defined rhel}
|
||||
# Remove unnecessary test dependencies:
|
||||
# rich is listed in both [rich] and [test] extras, so we need to be more careful
|
||||
sed -Ei '/^test = \[/,/^\]/ { /"(rich|build|wheel)",/d }' pyproject.toml
|
||||
# Don't blow up all of the tests by failing to report the installed version of build
|
||||
sed -Ei '0,/VERSION_PKGS/{s/, "(build|wheel)"//g}' testing/conftest.py
|
||||
%endif
|
||||
|
||||
|
||||
%generate_buildrequires
|
||||
# Note: We only pull in the [rich] extra when running tests.
|
||||
# This is to make the new Python version bootstrapping simpler
|
||||
# as setuptools_scm is an early package and rich is a late one.
|
||||
%pyproject_buildrequires %{?with_tests:-x test %{!?rhel:-x rich}}
|
||||
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%pyproject_save_files setuptools_scm
|
||||
|
||||
|
||||
%if %{with tests}
|
||||
%check
|
||||
# test_pip_download tries to download from the internet
|
||||
# test_pyproject_missing_setup_hook_works requires build
|
||||
%pytest -v -k 'not test_pip_download%{?rhel: and not test_pyproject_missing_setup_hook_works}'
|
||||
%endif
|
||||
|
||||
|
||||
%files -n python%{python3_pkgversion}-setuptools_scm -f %{pyproject_files}
|
||||
%doc README.md
|
||||
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
Loading…
Reference in New Issue
Block a user