File python-uv-dynamic-versioning.spec of Package python-uv-dynamic-versioning
#
# spec file for package python-uv-dynamic-versioning
#
# Copyright (c) 2025 SUSE LLC and contributors
#
# 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-uv-dynamic-versioning
Version: 1.25.0
Release: 0
Summary: Dynamic versioning based on VCS tags for uv/hatch project
License: MIT
URL: https://github.com/ninoseki/uv-dynamic-versioning/
Source: uv-dynamic-versioning-1759135750.1c8889f.tar.xz
%description
Dynamic versioning based on VCS tags for uv/hatch project
BuildRequires: python-rpm-macros
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module dunamai}
BuildRequires: %{python_module jinja2}
BuildRequires: %{python_module tomlkit}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
Requires: %{python_module dunamai}
Requires: %{python_module hatchling}
Requires: %{python_module jinja2}
Requires: %{python_module tomlkit}
%prep
%autosetup -p1 -n uv-dynamic-versioning-1759135750.1c8889f
%build
%pyproject_wheel
%install
%pyproject_install
%check
# not all packages have tests
#%python3_test
%files
%license LICENSE
%doc README.md
%{_bindir}/uv-dynamic-versioning
%{python_sitelib}/uv_dynamic_versioning
%{python_sitelib}/uv_dynamic_versioning-*.dist-info
# IMPORTANT: changelog goes to separare file python-uv-dynamic-versioning.changes commit function may create it automatically
%changelog