Name: python-hatch-fancy-pypi-readme Version: 22.3.0 Release: 4%{?dist} Summary: Hatch plugin for writing fancy PyPI readmes License: MIT URL: https://github.com/hynek/hatch-fancy-pypi-readme Source0: %{pypi_source hatch_fancy_pypi_readme} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(pytest) Requires: python3dist(hatchling) %global common_description %{expand: This provides a Hatch metadata plugin for everyone who cares about the first impression of their project’s PyPI landing page. It allows you to define your PyPI project description in terms of concatenated fragments that are based on static strings, files, and most importantly: parts of files defined using cut-off points or regular expressions.} %description %{common_description} %package -n python3-hatch-fancy-pypi-readme Summary: %{summary} %description -n python3-hatch-fancy-pypi-readme %{common_description} %prep %autosetup -n hatch_fancy_pypi_readme-%{version} -p1 # https://github.com/hynek/hatch-fancy-pypi-readme/commit/6c06d7244183c5b71aed905c9950e3206e5f0a9e # Drop unwanted build dependencies that upstream already dropped sed -i 's/ \"pytest-icdiff\", \"coverage\[toml\]\", //g' pyproject.toml %generate_buildrequires %pyproject_buildrequires -R %build %pyproject_wheel %install %pyproject_install %pyproject_save_files hatch_fancy_pypi_readme %check %pyproject_check_import # test_end_to_end need network access %pytest -v -k "not test_end_to_end" %files -n python3-hatch-fancy-pypi-readme -f %{pyproject_files} %license LICENSE.txt %doc README.md %{_bindir}/hatch-fancy-pypi-readme %changelog * Fri Jan 20 2023 Fedora Release Engineering - 22.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Sep 19 2022 Parag Nemade - 22.3.0-3 - Updated as per suggestions given for this package review (#2123618) * Mon Sep 05 2022 Parag Nemade - 22.3.0-2 - Updated as per suggestions given for this package review (#2123618) * Fri Sep 02 2022 Parag Nemade - 22.3.0-1 - Initial release