Name: python-hatch-fancy-pypi-readme Version: 24.1.0 Release: 3%{?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: python3-pytest %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 %{?!rhel:-x tests} %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 # fedora-review tool reported to mark this as %%doc or %%license file %doc %{python3_sitelib}/hatch_fancy_pypi_readme-%{version}.dist-info/licenses/AUTHORS.md %{_bindir}/hatch-fancy-pypi-readme %changelog * Fri Jan 26 2024 Fedora Release Engineering - 24.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 24.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jan 11 2024 Parag Nemade - 24.1.0-1 - Update to 24.1.0 version (#2256321) * Fri Sep 08 2023 Maxwell G - 23.1.0-1 - Update to 23.1.0. * Fri Jul 21 2023 Fedora Release Engineering - 22.3.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jun 15 2023 Python Maint - 22.3.0-5 - Rebuilt for Python 3.12 * 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