commit f817a5b30c080f7ff57e92ca9dd313030a728cf7d270e41f1e2e37bfd24b63ea Author: Dirk Mueller Date: Mon Feb 24 14:34:39 2025 +0000 - update to 0.18: * Drop support for Python < 3.8. This means Python 2 is no longer supported. * Drop setuptools dependency. Instead, use a native pkgutil namespace package. * Now requires docutils >= 0.18.1. This effectively requires Sphinx versions newer than 5.0. * Add the language option. Added in :pr:`62` by Even Rouault. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-programoutput?expand=0&rev=24 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-sphinxcontrib-programoutput.changes b/python-sphinxcontrib-programoutput.changes new file mode 100644 index 0000000..69be416 --- /dev/null +++ b/python-sphinxcontrib-programoutput.changes @@ -0,0 +1,107 @@ +------------------------------------------------------------------- +Mon Feb 24 12:57:23 UTC 2025 - Markéta Machová + +- update to 0.18: + * Drop support for Python < 3.8. This means Python 2 is no longer + supported. + * Drop setuptools dependency. Instead, use a native pkgutil namespace + package. + * Now requires docutils >= 0.18.1. This effectively requires Sphinx + versions newer than 5.0. + * Add the language option. Added in :pr:`62` by Even Rouault. + +------------------------------------------------------------------- +Fri Jan 5 12:36:56 UTC 2024 - ecsos + +- Add %{?sle15_python_module_pythons} + +------------------------------------------------------------------- +Fri Sep 10 11:53:19 UTC 2021 - pgajdos@suse.com + +- %check: use %pyunittest rpm macro + +------------------------------------------------------------------- +Sat Jul 17 13:30:21 UTC 2021 - Dirk Müller + +- update to 0.17: + - Add support for Python 3.9. + - Drop support for python 3.5. + - Include program output and current working directory in the warning + logged when a program returns an unexpected return code + +------------------------------------------------------------------- +Wed Apr 29 10:28:47 UTC 2020 - Dirk Mueller + +- udpate to 0.16: + - Add ``name`` and ``caption`` options. Added in + `PR 41 `_ + by Raphaël. + - Add support for Python 3.8. + +------------------------------------------------------------------- +Mon Sep 16 11:42:03 UTC 2019 - John Vandenberg + +- Remove tests from runtime installation +- Update to v0.15 + * Make the test suite stop assuming the presence of a 'python' + executable on the path. Instead it uses ``sys.executable`` + (which shouldn't have spaces). Note that it does continue to + assume the presence of other executables, such as 'echo' + +------------------------------------------------------------------- +Wed Jun 19 07:28:43 UTC 2019 - Thomas Bechtold + +- export LANG=en_US.UTF-8 during %build and %install . This fixes + the build for older distros which fail with: + UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position \ + 1468: ordinal not in range(128) + +------------------------------------------------------------------- +Tue Apr 23 11:54:16 UTC 2019 - Marketa Calabkova + +- update to version 0.14 + * Add python_requires metadata to better allow tools like pip to + install a correct version. + * Add support for Sphinx 2.0 on Python 3. + * Avoid unicode errors when the program command or output produced + non-ASCII output and the configured prompt was a byte string. + * Drop support for Sphinx < 1.7. + * Fix tests on Sphinx >= 1.8.0. + * Fix deprecation warnings on Sphinx >= 1.8. + * Explicitly set parallel_read_safe to true in the extension + metadata. + +------------------------------------------------------------------- +Fri Dec 7 21:06:06 UTC 2018 - Matej Cepl + +- Remove wrong BR on python-sphinxcontrib + +------------------------------------------------------------------- +Tue Dec 4 12:54:45 UTC 2018 - Matej Cepl + +- 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 20:36:57 UTC 2017 - toddrme2178@gmail.com + +- Specify files to guarantee namespace package doesn't conflict + with python(2|3)-Sphinx + +------------------------------------------------------------------- +Mon Apr 24 13:50:12 UTC 2017 - sebix+novell.com@sebix.at + +- update to version 0.10 +- convert to singlespec package +- change source url to files.pythonhosted.org + +------------------------------------------------------------------- +Mon Sep 16 09:03:22 UTC 2013 - speilicke@suse.com + +- Initial version + diff --git a/python-sphinxcontrib-programoutput.spec b/python-sphinxcontrib-programoutput.spec new file mode 100644 index 0000000..66a3ff4 --- /dev/null +++ b/python-sphinxcontrib-programoutput.spec @@ -0,0 +1,68 @@ +# +# spec file for package python-sphinxcontrib-programoutput +# +# 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 +# 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/ +# + + +%{?sle15_python_module_pythons} +Name: python-sphinxcontrib-programoutput +Version: 0.18 +Release: 0 +Summary: Sphinx extension to include program output +License: BSD-2-Clause +Group: Development/Languages/Python +URL: http://sphinxcontrib-programoutput.readthedocs.org/ +Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib_programoutput/sphinxcontrib_programoutput-%{version}.tar.gz +BuildRequires: %{python_module Sphinx >= 5.0} +BuildRequires: %{python_module pip} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-Sphinx >= 5.0 +BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module pytest} +# /SECTION +%python_subpackages + +%description +A Sphinx extension to literally insert the output of arbitrary commands into +documents, helping you to keep your command examples up to date. + +%prep +%setup -q -n sphinxcontrib_programoutput-%{version} + +%build +export LANG=en_US.UTF-8 +%pyproject_wheel + +%install +export LANG=en_US.UTF-8 +%pyproject_install +%{python_expand rm -r %{buildroot}%{$python_sitelib}/sphinxcontrib/programoutput/tests/ +rm -r %{buildroot}%{$python_sitelib}/sphinxcontrib/__* +%fdupes %{buildroot}%{$python_sitelib} +} + +%check +export LANG=en_US.UTF-8 +%pyunittest -v src/sphinxcontrib/programoutput/tests/test*.py + +%files %{python_files} +%license LICENSE +%doc CHANGES.rst README.rst +%{python_sitelib}/sphinxcontrib/programoutput/ +%{python_sitelib}/sphinxcontrib_programoutput-%{version}*info + +%changelog diff --git a/sphinxcontrib-programoutput-0.17.tar.gz b/sphinxcontrib-programoutput-0.17.tar.gz new file mode 100644 index 0000000..ab2a265 --- /dev/null +++ b/sphinxcontrib-programoutput-0.17.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:300ee9b8caee8355d25cc74b4d1c7efd12e608d2ad165e3141d31e6fbc152b7f +size 24067 diff --git a/sphinxcontrib_programoutput-0.18.tar.gz b/sphinxcontrib_programoutput-0.18.tar.gz new file mode 100644 index 0000000..5988640 --- /dev/null +++ b/sphinxcontrib_programoutput-0.18.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:09e68b6411d937a80b6085f4fdeaa42e0dc5555480385938465f410589d2eed8 +size 26333