Name: python-uv-dynamic-versioning Version: 0.11.0 Release: %autorelease Summary: Dynamic versioning based on VCS tags for uv/hatch project License: MIT URL: https://github.com/ninoseki/uv-dynamic-versioning/ Source: %{pypi_source uv_dynamic_versioning} Patch: relax-dep-requirements.patch BuildArch: noarch BuildRequires: python3-devel # Tests BuildRequires: git-core BuildRequires: python3dist(gitpython) BuildRequires: python3dist(pytest) BuildRequires: python3dist(pytest-randomly) %global _description %{expand: poetry-dynamic-versioning influenced dynamic versioning tool for uv/hatch, powered by dunamai.} %description %_description %package -n python3-uv-dynamic-versioning Summary: %{summary} %description -n python3-uv-dynamic-versioning %_description %prep %autosetup -p1 -n uv_dynamic_versioning-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l uv_dynamic_versioning %check %pyproject_check_import # Skip failing tests k="${k-}${k+ and }not (test_metadata_hook and test_without_dependencies_in_config)" k="${k-}${k+ and }not (test_metadata_hook and test_without_dynamic_dependencies)" k="${k-}${k+ and }not (test_metadata_hook and test_foo)" k="${k-}${k+ and }not (test_main and test_get_version)" k="${k-}${k+ and }not (test_version_source and test_get_version_with_invalid_combination_of_format_jinja_and_style)" k="${k-}${k+ and }not (test_version_source and test_with_pattern)" k="${k-}${k+ and }not (test_version_source and test_with_format)" k="${k-}${k+ and }not (test_version_source and test_with_semver)" k="${k-}${k+ and }not (test_version_source and test_from_file)" k="${k-}${k+ and }not (test_version_source and test_with_jinja2_format)" k="${k-}${k+ and }not (test_version_source and test_with_bump)" k="${k-}${k+ and }not (test_main and test_get_version_with_bump)" %pytest -k "${k-}" %files -n python3-uv-dynamic-versioning -f %{pyproject_files} %doc examples/ %doc docs/ %doc README.md %{_bindir}/uv-dynamic-versioning %changelog %autochangelog