diff --git a/.python-hatch-fancy-pypi-readme.metadata b/.python-hatch-fancy-pypi-readme.metadata new file mode 100644 index 0000000..ea9a9fe --- /dev/null +++ b/.python-hatch-fancy-pypi-readme.metadata @@ -0,0 +1 @@ +cddeafb6bd542a9da8f4dfa997aeb0dc96abb69d SOURCES/hatch_fancy_pypi_readme-22.3.0.tar.gz diff --git a/SOURCES/.gitignore b/SOURCES/.gitignore new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/SOURCES/.gitignore diff --git a/SPECS/python-hatch-fancy-pypi-readme.spec b/SPECS/python-hatch-fancy-pypi-readme.spec new file mode 100644 index 0000000..5d20a05 --- /dev/null +++ b/SPECS/python-hatch-fancy-pypi-readme.spec @@ -0,0 +1,70 @@ +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