Sync from SUSE:SLFO:Main python-manuel revision ce0837116997f40b67f42acb7798591e
This commit is contained in:
commit
ca57bd1389
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
|
BIN
manuel-1.12.4.tar.gz
(Stored with Git LFS)
Normal file
BIN
manuel-1.12.4.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
35
python-manuel-no-six.patch
Normal file
35
python-manuel-no-six.patch
Normal file
@ -0,0 +1,35 @@
|
||||
Index: manuel-1.12.4/src/manuel/doctest.py
|
||||
===================================================================
|
||||
--- manuel-1.12.4.orig/src/manuel/doctest.py
|
||||
+++ manuel-1.12.4/src/manuel/doctest.py
|
||||
@@ -3,13 +3,13 @@ from __future__ import absolute_import
|
||||
import doctest
|
||||
import manuel
|
||||
import os.path
|
||||
-import six
|
||||
+import io
|
||||
|
||||
DocTestRunner = doctest.DocTestRunner
|
||||
DebugRunner = doctest.DebugRunner
|
||||
|
||||
|
||||
-class DocTestResult(six.StringIO):
|
||||
+class DocTestResult(io.StringIO):
|
||||
pass
|
||||
|
||||
|
||||
Index: manuel-1.12.4/setup.py
|
||||
===================================================================
|
||||
--- manuel-1.12.4.orig/setup.py
|
||||
+++ manuel-1.12.4/setup.py
|
||||
@@ -48,10 +48,6 @@ setup(
|
||||
},
|
||||
tests_require=tests_require,
|
||||
test_suite='manuel.tests.test_suite',
|
||||
- install_requires=[
|
||||
- 'setuptools',
|
||||
- 'six',
|
||||
- ],
|
||||
include_package_data=True,
|
||||
long_description=long_description,
|
||||
keywords=['testing', 'documentation'],
|
102
python-manuel.changes
Normal file
102
python-manuel.changes
Normal file
@ -0,0 +1,102 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 2 10:14:39 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Replace unsupported setuptoos sphinx_build hook
|
||||
- Remove six and setuptools from requirements metadata
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 3 18:56:12 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Fix doc build: primary python not in buildset for backports
|
||||
15.4_py39
|
||||
- Move to PEP517
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 17 09:00:30 UTC 2022 - pgajdos@suse.com
|
||||
|
||||
- added patches
|
||||
fix https://github.com/benji-york/manuel/issues/33
|
||||
+ python-manuel-no-six.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 29 15:48:56 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||
|
||||
- Update to 1.12.4 (2022-06-24)
|
||||
* Remove silly PyPI version badge.
|
||||
|
||||
- Update to 1.12.3 (2022-06-24)
|
||||
* Modernize internal project structure; drop tox; no user-visible changes (hopefully).
|
||||
* Rework coverage badge generation.
|
||||
* Drop Travis CI badge (the project is using GitHub for CI now)
|
||||
|
||||
- Update to 1.11.2 (2022-05-15)
|
||||
* Fix missing file in release.
|
||||
|
||||
- Update to 1.11.1 (2022-05-14)
|
||||
* Fix brown-bag release.
|
||||
|
||||
- Update to 1.11.0 (2022-05-14)
|
||||
* Fix test detection in Python 2 which was broken since 1.10.0. (#20)
|
||||
* Add Python 3.9 and 3.10 to tox config.
|
||||
* Add a Makefile to centeralized development activities.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 31 10:19:13 UTC 2021 - pgajdos@suse.com
|
||||
|
||||
- %check: use %pytest rpm macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 3 23:06:12 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
- Fix Sphinx build with primary python3 flavor for
|
||||
gh#openSUSE/python-rpm-macros#66
|
||||
- Reorganize BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 14 14:00:08 UTC 2019 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Replace %fdupes -s with plain %fdupes; hardlinks are better.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 9 22:20:27 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Use noun phrase in summary. Drop unnecessary Require.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 2 12:30:57 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 1.10.1:
|
||||
* Support for pypy3
|
||||
* Support for python 3.7
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 28 11:19:29 UTC 2018 - hpj@urpla.net
|
||||
|
||||
- update to version 1.9.0:
|
||||
* You can now use Manuel with the nose and pytest test runners by
|
||||
defining Manuel tests inside unittest.TestCase classes.
|
||||
* Added support for Python 3.5 and Python 3.6.
|
||||
* Dropped support for Python 2.6
|
||||
- add a fixed conf.py in order to properly build the docs (again)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 23 13:49:07 UTC 2017 - aloisio@gmx.com
|
||||
|
||||
- Converted to single-spec
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 7 11:52:21 UTC 2015 - benoit.monin@gmx.fr
|
||||
|
||||
- update to version 1.8.0:
|
||||
* Fixed ResourceWarnings under Python 3.
|
||||
* Added support for PyPy and Python 3.4.
|
||||
* Drop official support for Python 3.1 and 3.2.
|
||||
* Fix odd ImportError problems when used with tox and coverage.
|
||||
* Fix parsing of reST codeblock options with hyphens.
|
||||
- rename documentation files .txt to .rst: changed upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 3 20:23:18 UTC 2013 - hpj@urpla.net
|
||||
|
||||
- version 1.7.2: initial build
|
||||
|
88
python-manuel.spec
Normal file
88
python-manuel.spec
Normal file
@ -0,0 +1,88 @@
|
||||
#
|
||||
# spec file for package python-manuel
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2013-2018 LISA GmbH, Bingen, Germany.
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
Name: python-manuel
|
||||
Version: 1.12.4
|
||||
Release: 0
|
||||
Summary: Python module to build tested documentation
|
||||
License: Apache-2.0
|
||||
URL: https://pypi.org/project/manuel/
|
||||
# SourceRepository: https://github.com/benji-york/manuel
|
||||
Source: https://files.pythonhosted.org/packages/source/m/manuel/manuel-%{version}.tar.gz
|
||||
# https://github.com/benji-york/manuel/issues/33
|
||||
Patch0: python-manuel-no-six.patch
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
# SECTION Documentation requirements:
|
||||
BuildRequires: python3-Sphinx
|
||||
BuildRequires: python3-myst-parser
|
||||
BuildRequires: python3-sphinxcontrib-copybutton
|
||||
# /SECTION
|
||||
# SECTION Testing requirements:
|
||||
BuildRequires: %{python_module zope.testing}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Manuel lets the user build tested documentation.
|
||||
|
||||
Documentation, a full list of included plug-ins, and examples are available
|
||||
with the -doc package and at http://packages.python.org/manuel/.
|
||||
|
||||
%package doc
|
||||
Summary: Build tested documentation
|
||||
|
||||
%description doc
|
||||
This package contains documentation files for %{name}.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n manuel-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
sphinx-build -c sphinx/ -a src/manuel docs/
|
||||
rm docs/.buildinfo
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%{python_expand #
|
||||
%fdupes %{buildroot}%{$python_sitelib}
|
||||
mkdir -p %{buildroot}%{_docdir}/%{$python_prefix}-manuel-doc
|
||||
cp -r docs/* %{buildroot}%{_docdir}/%{$python_prefix}-manuel-doc
|
||||
%fdupes %{buildroot}%{_docdir}/%{$python_prefix}-manuel-doc
|
||||
}
|
||||
|
||||
%check
|
||||
%pytest src/manuel/tests.py
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.rst
|
||||
%doc CHANGES.rst COPYRIGHT.rst PKG-INFO README.rst
|
||||
%{python_sitelib}/manuel
|
||||
%{python_sitelib}/manuel-%{version}.dist-info
|
||||
|
||||
%files %{python_files doc}
|
||||
%doc %{_docdir}/%{python_prefix}-manuel-doc
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user