Compare commits

3 Commits

2 changed files with 11 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon May 26 12:23:45 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 5 21:55:24 UTC 2023 - Dirk Müller <dmueller@suse.com> Tue Dec 5 21:55:24 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-docrepr # spec file for package python-docrepr
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-docrepr Name: python-docrepr
Version: 0.2.0 Version: 0.2.0
Release: 0 Release: 0
@@ -28,7 +27,9 @@ Source: https://github.com/spyder-ide/docrepr/archive/v%{version}.tar.gz
BuildRequires: %{python_module Jinja2} BuildRequires: %{python_module Jinja2}
BuildRequires: %{python_module Sphinx} BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module docutils} BuildRequires: %{python_module docutils}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-Jinja2 Requires: python-Jinja2
@@ -46,10 +47,10 @@ the utils.inspector module developed for the Spyder IDE.
%setup -q -n docrepr-%{version} %setup -q -n docrepr-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
# no upstream tests # no upstream tests
@@ -58,6 +59,6 @@ the utils.inspector module developed for the Spyder IDE.
%doc README.md RELEASE.md CHANGELOG.md %doc README.md RELEASE.md CHANGELOG.md
%license LICENSE.txt %license LICENSE.txt
%{python_sitelib}/docrepr %{python_sitelib}/docrepr
%{python_sitelib}/docrepr-%{version}-*info %{python_sitelib}/docrepr-%{version}*info
%changelog %changelog