forked from pool/python-sphinxcontrib-asyncio
Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
bd14efe2ee | |||
5eef118fc4 |
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 12 12:41:03 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jan 29 14:14:33 UTC 2022 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
Sat Jan 29 14:14:33 UTC 2022 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-sphinxcontrib-asyncio
|
# spec file for package python-sphinxcontrib-asyncio
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 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-%{**}}
|
|
||||||
%bcond_with test
|
%bcond_with test
|
||||||
Name: python-sphinxcontrib-asyncio
|
Name: python-sphinxcontrib-asyncio
|
||||||
Version: 0.3.0
|
Version: 0.3.0
|
||||||
@@ -27,15 +26,16 @@ Group: Development/Languages/Python
|
|||||||
URL: https://github.com/aio-libs/sphinxcontrib-asyncio
|
URL: https://github.com/aio-libs/sphinxcontrib-asyncio
|
||||||
Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-asyncio/sphinxcontrib-asyncio-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-asyncio/sphinxcontrib-asyncio-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module Sphinx}
|
BuildRequires: %{python_module Sphinx}
|
||||||
|
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
|
||||||
|
BuildArch: noarch
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
%endif
|
%endif
|
||||||
Requires: python-Sphinx
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -45,14 +45,14 @@ Sphinx extension for adding asyncio-specific markups
|
|||||||
%setup -q -n sphinxcontrib-asyncio-%{version}
|
%setup -q -n sphinxcontrib-asyncio-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
#pushd docs
|
#pushd docs
|
||||||
#PYTHONPATH=.. make html
|
#PYTHONPATH=.. make html
|
||||||
#rm _build/html/.buildinfo
|
#rm _build/html/.buildinfo
|
||||||
#popd
|
#popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
# Remove sphinxcontrib namespace package files provided by python-Sphinx
|
# Remove sphinxcontrib namespace package files provided by python-Sphinx
|
||||||
@@ -65,6 +65,6 @@ Sphinx extension for adding asyncio-specific markups
|
|||||||
%{python_sitelib}/sphinxcontrib/asyncio.py*
|
%{python_sitelib}/sphinxcontrib/asyncio.py*
|
||||||
%pycache_only %dir %{python_sitelib}/sphinxcontrib/__pycache__/
|
%pycache_only %dir %{python_sitelib}/sphinxcontrib/__pycache__/
|
||||||
%pycache_only %{python_sitelib}/sphinxcontrib/__pycache__/asyncio*.py*
|
%pycache_only %{python_sitelib}/sphinxcontrib/__pycache__/asyncio*.py*
|
||||||
%{python_sitelib}/sphinxcontrib_asyncio-%{version}-py*.egg-info
|
%{python_sitelib}/sphinxcontrib_asyncio-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user