Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-hatch-fancy-pypi-readme for openSUSE:Factory checked in at 2022-10-12 18:26:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-hatch-fancy-pypi-readme (Old) and /work/SRC/openSUSE:Factory/.python-hatch-fancy-pypi-readme.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-hatch-fancy-pypi-readme" Wed Oct 12 18:26:50 2022 rev:2 rq:1010203 version:22.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-hatch-fancy-pypi-readme/python-hatch-fancy-pypi-readme.changes 2022-10-08 01:22:48.681897509 +0200 +++ /work/SRC/openSUSE:Factory/.python-hatch-fancy-pypi-readme.new.2275/python-hatch-fancy-pypi-readme.changes 2022-10-12 18:28:28.474189544 +0200 @@ -1,0 +2,7 @@ +Tue Oct 11 20:51:59 UTC 2022 - Ben Greiner <c...@bnavigator.de> + +- Clean up specfile: remove hatch from BuildRequires footprint +- Enable testsuite except for end-to-end which would need extra + wheelfiles + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-hatch-fancy-pypi-readme.spec ++++++ --- /var/tmp/diff_new_pack.fsynUR/_old 2022-10-12 18:28:28.874190425 +0200 +++ /var/tmp/diff_new_pack.fsynUR/_new 2022-10-12 18:28:28.878190434 +0200 @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + Name: python-hatch-fancy-pypi-readme Version: 22.8.0 Release: 0 @@ -22,30 +23,36 @@ License: MIT URL: https://github.com/hynek/hatch-fancy-pypi-readme Source: https://files.pythonhosted.org/packages/source/h/hatch-fancy-pypi-readme/hatch_fancy_pypi_readme-%{version}.tar.gz -BuildRequires: %{python_module hatch} +BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module hatchling} +BuildRequires: %{python_module pip} +BuildRequires: fdupes +BuildRequires: python-rpm-generators BuildRequires: python-rpm-macros # SECTION test -BuildRequires: %{python_module build} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module virtualenv} # /SECTION -BuildRequires: fdupes -BuildRequires: python-rpm-generators -%{?python_enable_dependency_generator} - Requires(post): update-alternatives -Requires(postun): update-alternatives -Provides: python-hatch_fancy_pypi_readme = %{version} +Requires(postun):update-alternatives +Provides: python-hatch_fancy_pypi_readme = %{version}-%{release} BuildArch: noarch +%{?python_enable_dependency_generator} %python_subpackages %description -hatch_fancy_pypi_readme is 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. - -Once you???ve assembled your readme, you can additionally run regular expression-based substitutions over it. For instance to make relative links absolute or to linkify users and issue numbers in your changelog. - -Do you want your PyPI readme to be the project readme, but without badges, followed by the license file, and the changelog section for only the last release? You???ve come to the right place! +hatch_fancy_pypi_readme is 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. + +Once you've assembled your readme, you can additionally run regular +expression-based substitutions over it. For instance to make relative links +absolute or to linkify users and issue numbers in your changelog. + +Do you want your PyPI readme to be the project readme, but without badges, +followed by the license file, and the changelog section for only the last +release? You've come to the right place! %prep %setup -q -n hatch_fancy_pypi_readme-%{version} @@ -58,6 +65,10 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %python_clone -a %{buildroot}%{_bindir}/hatch-fancy-pypi-readme +%check +#test_end_to_end want's to have a hatchling wheel +%pytest --ignore tests/test_end_to_end.py + %post %python_install_alternative hatch-fancy-pypi-readme @@ -65,9 +76,10 @@ %python_uninstall_alternative hatch-fancy-pypi-readme %files %{python_files} -%python_alternative %{_bindir}/hatch-fancy-pypi-readme -%{python_sitelib}/hatch_fancy_pypi_readme* -%doc README.md %license LICENSE.txt +%doc README.md +%python_alternative %{_bindir}/hatch-fancy-pypi-readme +%{python_sitelib}/hatch_fancy_pypi_readme +%{python_sitelib}/hatch_fancy_pypi_readme-%{version}*-info %changelog