forked from pool/python-sphinxcontrib-seqdiag
Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
c95e584d10 | |||
8b64ac8dd9 |
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 13 10:06:28 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to pip-based build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 10 22:27:07 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-sphinxcontrib-seqdiag
|
||||
#
|
||||
# Copyright (c) 2022 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
|
||||
@@ -16,8 +16,6 @@
|
||||
#
|
||||
|
||||
|
||||
%define skip_python2 1
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_with test
|
||||
Name: python-sphinxcontrib-seqdiag
|
||||
Version: 3.0.0
|
||||
@@ -25,10 +23,12 @@ Release: 0
|
||||
Summary: Sphinx "seqdiag" extension
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: http://github.com/blockdiag/sphinxcontrib-seqdiag
|
||||
URL: https://github.com/blockdiag/sphinxcontrib-seqdiag
|
||||
Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-seqdiag/sphinxcontrib-seqdiag-%{version}.tar.gz
|
||||
BuildRequires: %{python_module Sphinx >= 0.6}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-Sphinx >= 0.6
|
||||
@@ -50,10 +50,10 @@ This extension enables you to insert sequence diagrams into your document.
|
||||
%setup -q -n sphinxcontrib-seqdiag-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
# remove tests/ dir from global site-packages
|
||||
%{python_expand rm -rf %{buildroot}%{$python_sitelib}/tests
|
||||
%fdupes %{buildroot}%{$python_sitelib}
|
||||
@@ -65,6 +65,6 @@ This extension enables you to insert sequence diagrams into your document.
|
||||
%{python_sitelib}/sphinxcontrib/seqdiag.py*
|
||||
%pycache_only %{python_sitelib}/sphinxcontrib/__pycache__
|
||||
%{python_sitelib}/sphinxcontrib_seqdiag-%{version}-py*-nspkg.pth
|
||||
%{python_sitelib}/sphinxcontrib_seqdiag-%{version}-py*.egg-info
|
||||
%{python_sitelib}/sphinxcontrib_seqdiag-%{version}*-info
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user