forked from pool/python-sphinxcontrib-nwdiag
Compare commits
3 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| a17c75157a | |||
| b77ec4e0d2 | |||
| c661cebd7b |
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 12 13:19:49 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 28 22:02:16 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
Fri Feb 28 22:02:16 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-sphinxcontrib-nwdiag
|
# spec file for package python-sphinxcontrib-nwdiag
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 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,24 +16,23 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
%global skip_python2 1
|
|
||||||
Name: python-sphinxcontrib-nwdiag
|
Name: python-sphinxcontrib-nwdiag
|
||||||
Version: 2.0.0
|
Version: 2.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Sphinx "nwdiag" extension
|
Summary: Sphinx "nwdiag" extension
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: http://github.com/blockdiag/sphinxcontrib-nwdiag
|
URL: https://github.com/blockdiag/sphinxcontrib-nwdiag
|
||||||
Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-nwdiag/sphinxcontrib-nwdiag-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-nwdiag/sphinxcontrib-nwdiag-%{version}.tar.gz
|
||||||
|
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-Sphinx >= 0.6
|
Requires: python-Sphinx >= 0.6
|
||||||
Requires: python-blockdiag >= 1.5.0
|
Requires: python-blockdiag >= 1.5.0
|
||||||
Requires: python-nwdiag >= 1.0.3
|
Requires: python-nwdiag >= 1.0.3
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -45,15 +44,24 @@ diagrams. Network diagrams can be embedded with the "nwdiag",
|
|||||||
%setup -q -n sphinxcontrib-nwdiag-%{version}
|
%setup -q -n sphinxcontrib-nwdiag-%{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}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc AUTHORS README.rst
|
%doc AUTHORS README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%dir %{python_sitelib}/sphinxcontrib
|
||||||
|
%pycache_only %dir %{python_sitelib}/sphinxcontrib/__pycache__
|
||||||
|
%{python_sitelib}/sphinxcontrib/nwdiag.py
|
||||||
|
%pycache_only %{python_sitelib}/sphinxcontrib/__pycache__/nwdiag*
|
||||||
|
%{python_sitelib}/sphinxcontrib/packetdiag.py
|
||||||
|
%pycache_only %{python_sitelib}/sphinxcontrib/__pycache__/packetdiag*
|
||||||
|
%{python_sitelib}/sphinxcontrib/rackdiag.py
|
||||||
|
%pycache_only %{python_sitelib}/sphinxcontrib/__pycache__/rackdiag*
|
||||||
|
%{python_sitelib}/sphinxcontrib[-_]nwdiag-%{version}*-info
|
||||||
|
%{python_sitelib}/sphinxcontrib[-_]nwdiag-%{version}*-nspkg.pth
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user