17
0

6 Commits

Author SHA256 Message Date
e57074cb1d Accepting request 1300713 from devel:languages:python
- Convert to libalternatives on SLE-16-based and newer systems only

OBS-URL: https://build.opensuse.org/request/show/1300713
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hatch-fancy-pypi-readme?expand=0&rev=9
2025-08-22 15:46:49 +00:00
f3bf0ad177 - Convert to libalternatives on SLE-16-based and newer systems only
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch-fancy-pypi-readme?expand=0&rev=18
2025-08-21 08:26:24 +00:00
6f1c55fab5 Accepting request 1291689 from devel:languages:python
- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1291689
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hatch-fancy-pypi-readme?expand=0&rev=8
2025-07-10 21:15:01 +00:00
e99d69729f - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch-fancy-pypi-readme?expand=0&rev=16
2025-07-10 12:36:42 +00:00
9162b22168 Accepting request 1273934 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1273934
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hatch-fancy-pypi-readme?expand=0&rev=7
2025-05-03 18:58:03 +00:00
e4357c03ec Accepting request 1273901 from home:ojkastl_buildservice:Branch_devel_languages_python
update to 25.1.0

OBS-URL: https://build.opensuse.org/request/show/1273901
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch-fancy-pypi-readme?expand=0&rev=14
2025-05-02 07:45:15 +00:00
4 changed files with 50 additions and 13 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -1,3 +1,27 @@
-------------------------------------------------------------------
Thu Aug 21 08:25:18 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives on SLE-16-based and newer systems only
-------------------------------------------------------------------
Thu Jul 10 12:36:07 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives
-------------------------------------------------------------------
Fri May 2 04:56:24 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 25.1.0:
* Highlights
- $HFPR_PACKAGE_NAME is now replaced by the package name
(analogously to $HFPR_VERSION)!
* Added
- $HFPR_PACKAGE_NAME is now replaced by the package name in the
PyPI readme. The version is not available in CLI mode, therefore
it's replaced by the dummy value of your-package. #64
* Removed
- Support for Python 3.7.
-------------------------------------------------------------------
Sun Jan 7 18:17:04 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>

View File

@@ -1,7 +1,7 @@
#
# spec file
# spec file for package python-hatch-fancy-pypi-readme
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -24,31 +24,41 @@
%define psuffix %{nil}
%bcond_with test
%endif
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons}
Name: python-hatch-fancy-pypi-readme%{psuffix}
Version: 24.1.0
Version: 25.1.0
Release: 0
Summary: Fancy PyPI READMEs with Hatch
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 base >= 3.7}
Source: https://files.pythonhosted.org/packages/source/h/hatch_fancy_pypi_readme/hatch_fancy_pypi_readme-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
BuildRequires: fdupes
BuildRequires: python-rpm-generators
BuildRequires: python-rpm-macros
Provides: python-hatch_fancy_pypi_readme = %{version}-%{release}
BuildArch: noarch
%{?python_enable_dependency_generator}
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
%endif
%if %{with test}
# SECTION test
BuildRequires: %{python_module hatch-fancy-pypi-readme >= %version}
BuildRequires: %{python_module pytest}
# /SECTION
%endif
Requires(post): update-alternatives
Requires(postun):update-alternatives
Provides: python-hatch_fancy_pypi_readme = %{version}-%{release}
BuildArch: noarch
%{?python_enable_dependency_generator}
%python_subpackages
%description
@@ -91,6 +101,9 @@ release? You've come to the right place!
%postun
%python_uninstall_alternative hatch-fancy-pypi-readme
%pre
%python_libalternatives_reset_alternative hatch-fancy-pypi-readme
%if !%{with test}
%files %{python_files}
%license LICENSE.txt