Sync from SUSE:SLFO:Main python-sphinxcontrib-asyncio revision 4d1316a61705cc58c4578f40f302678b

This commit is contained in:
Adrian Schröter 2024-05-03 23:06:05 +02:00
commit c16180e165
4 changed files with 133 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

View File

@ -0,0 +1,37 @@
-------------------------------------------------------------------
Sat Jan 29 14:14:33 UTC 2022 - Sebastian Wagner <sebix+novell.com@sebix.at>
- disable docs as they fail to build, see:
https://lists.opensuse.org/archives/list/python@lists.opensuse.org/thread/UXTSXGRQBDZHYLFOYOC7RLDJKTVNAPQQ/
-------------------------------------------------------------------
Sat Aug 22 08:39:57 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
- update to version 0.3.0:
- Make the plugin compatible with Sphinx 3
-------------------------------------------------------------------
Fri Dec 7 20:51:50 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove wrong BR on python-sphinxcontrib
-------------------------------------------------------------------
Tue Dec 4 12:54:38 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Mon Sep 18 22:29:06 UTC 2017 - toddrme2178@gmail.com
- Use new python-sphinxcontrib package to provide namespace
directory.
-------------------------------------------------------------------
Mon Sep 18 16:33:47 UTC 2017 - toddrme2178@gmail.com
- Fix conflicts with python-Sphinx
-------------------------------------------------------------------
Thu Aug 24 10:04:34 UTC 2017 - sebix+novell.com@sebix.at
- initial package

View File

@ -0,0 +1,70 @@
#
# spec file for package python-sphinxcontrib-asyncio
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_with test
Name: python-sphinxcontrib-asyncio
Version: 0.3.0
Release: 0
Summary: Sphinx extension to support coroutines in markup
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/aio-libs/sphinxcontrib-asyncio
Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-asyncio/sphinxcontrib-asyncio-%{version}.tar.gz
BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%if %{with test}
BuildRequires: %{python_module pytest}
%endif
Requires: python-Sphinx
BuildArch: noarch
%python_subpackages
%description
Sphinx extension for adding asyncio-specific markups
%prep
%setup -q -n sphinxcontrib-asyncio-%{version}
%build
%python_build
#pushd docs
#PYTHONPATH=.. make html
#rm _build/html/.buildinfo
#popd
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# Remove sphinxcontrib namespace package files provided by python-Sphinx
%python_expand rm -f %{buildroot}%{$python_sitelib}/sphinxcontrib/__init__.py*
%python_expand rm -f %{buildroot}%{$python_sitelib}/sphinxcontrib/__pycache__/__init__*.py*
%files %{python_files}
%doc CHANGES.rst README.rst
#docs/_build/html
%{python_sitelib}/sphinxcontrib/asyncio.py*
%pycache_only %dir %{python_sitelib}/sphinxcontrib/__pycache__/
%pycache_only %{python_sitelib}/sphinxcontrib/__pycache__/asyncio*.py*
%{python_sitelib}/sphinxcontrib_asyncio-%{version}-py*.egg-info
%changelog

BIN
sphinxcontrib-asyncio-0.3.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.