17
0

8 Commits

Author SHA256 Message Date
11ca07c785 Accepting request 1225393 from devel:languages:python
- update to 2024.10.13:
  * Improve error handling for failures in pre-build commands.
  * Show the changed paths that triggered the rebuild.

OBS-URL: https://build.opensuse.org/request/show/1225393
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinx-autobuild?expand=0&rev=5
2024-11-21 14:14:43 +00:00
65e06c105e - update to 2024.10.13:
* Improve error handling for failures in pre-build commands.
  * Show the changed paths that triggered the rebuild.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autobuild?expand=0&rev=9
2024-11-20 18:27:11 +00:00
260235ac3e Accepting request 1203334 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1203334
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinx-autobuild?expand=0&rev=4
2024-09-25 19:54:29 +00:00
619dda638c Accepting request 1203308 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1203308
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autobuild?expand=0&rev=7
2024-09-25 08:04:43 +00:00
8e33838bd2 Accepting request 1202566 from devel:languages:python
- update to 2024.09.19:
  * Filter various directories by default (``.git``, ``venv``, etc).
  * Serve the correct directory when using make mode (``-M``).
  * Run Sphinx through the Python entry point rather than the
    binary on PATH.
  * Relax checks for paths that aren't required to exist.

OBS-URL: https://build.opensuse.org/request/show/1202566
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinx-autobuild?expand=0&rev=3
2024-09-23 13:23:46 +00:00
f0698a44a2 - update to 2024.09.19:
* Filter various directories by default (``.git``, ``venv``, etc).
  * Serve the correct directory when using make mode (``-M``).
  * Run Sphinx through the Python entry point rather than the
    binary on PATH.
  * Relax checks for paths that aren't required to exist.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autobuild?expand=0&rev=5
2024-09-23 08:49:42 +00:00
b71a82cb4a Accepting request 1199492 from devel:languages:python
- update to 2024.09.03:
  * Fix support for Python 3.9.
  * Fix running sphinx-autobuild via entry point scripts.
  * Run sphinx-build in a subprocess to mitigate autdoc issues.
  * Support the -M 'make mode' option for sphinx-build.
  * Add a missing dependency on watchfiles.
  * Adopt Ruff in place of flake8 and black.
  * Drop python-livereload.
  * Add starlette and uvicorn as dependencies.
  * Implement hot reloading via websockets.
  * Run Sphinx rebuilds in an asynchronous executor.
  * Declare support for Python 3.9, 3.10, 3.11, and 3.12
  * Drop support for Python 3.8 and earlier
  * Allow passing relative paths to --ignore
  * Support all valid sphinx-build options (except Make-mode)
  * Fix path issues on Windows
  * Differentiate pre-build command failures from Sphinx failures

OBS-URL: https://build.opensuse.org/request/show/1199492
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinx-autobuild?expand=0&rev=2
2024-09-09 12:44:42 +00:00
a3b3ce62b1 - update to 2024.09.03:
* Fix support for Python 3.9.
  * Fix running sphinx-autobuild via entry point scripts.
  * Run sphinx-build in a subprocess to mitigate autdoc issues.
  * Support the -M 'make mode' option for sphinx-build.
  * Add a missing dependency on watchfiles.
  * Adopt Ruff in place of flake8 and black.
  * Drop python-livereload.
  * Add starlette and uvicorn as dependencies.
  * Implement hot reloading via websockets.
  * Run Sphinx rebuilds in an asynchronous executor.
  * Declare support for Python 3.9, 3.10, 3.11, and 3.12
  * Drop support for Python 3.8 and earlier
  * Allow passing relative paths to --ignore
  * Support all valid sphinx-build options (except Make-mode)
  * Fix path issues on Windows
  * Differentiate pre-build command failures from Sphinx failures

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autobuild?expand=0&rev=3
2024-09-08 16:28:13 +00:00
4 changed files with 68 additions and 19 deletions

View File

@@ -1,3 +1,46 @@
-------------------------------------------------------------------
Wed Nov 20 18:26:43 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2024.10.13:
* Improve error handling for failures in pre-build commands.
* Show the changed paths that triggered the rebuild.
-------------------------------------------------------------------
Wed Sep 25 05:21:38 UTC 2024 - ecsos <ecsos@opensuse.org>
- Add %{?sle15_python_module_pythons}
-------------------------------------------------------------------
Mon Sep 23 08:47:09 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2024.09.19:
* Filter various directories by default (``.git``, ``venv``, etc).
* Serve the correct directory when using make mode (``-M``).
* Run Sphinx through the Python entry point rather than the
binary on PATH.
* Relax checks for paths that aren't required to exist.
-------------------------------------------------------------------
Sun Sep 8 16:21:06 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2024.09.03:
* Fix support for Python 3.9.
* Fix running sphinx-autobuild via entry point scripts.
* Run sphinx-build in a subprocess to mitigate autdoc issues.
* Support the -M 'make mode' option for sphinx-build.
* Add a missing dependency on watchfiles.
* Adopt Ruff in place of flake8 and black.
* Drop python-livereload.
* Add starlette and uvicorn as dependencies.
* Implement hot reloading via websockets.
* Run Sphinx rebuilds in an asynchronous executor.
* Declare support for Python 3.9, 3.10, 3.11, and 3.12
* Drop support for Python 3.8 and earlier
* Allow passing relative paths to --ignore
* Support all valid sphinx-build options (except Make-mode)
* Fix path issues on Windows
* Differentiate pre-build command failures from Sphinx failures
-------------------------------------------------------------------
Mon Mar 6 13:04:27 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-sphinx-autobuild
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,25 +16,31 @@
#
%{?sle15_python_module_pythons}
Name: python-sphinx-autobuild
Version: 2021.3.14
Version: 2024.10.3
Release: 0
Summary: Rebuild Sphinx documentation on changes, with live-reload in the browser
License: MIT
URL: https://github.com/executablebooks/sphinx-autobuild
Source: https://files.pythonhosted.org/packages/source/s/sphinx-autobuild/sphinx-autobuild-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module setuptools}
Source: https://files.pythonhosted.org/packages/source/s/sphinx-autobuild/sphinx_autobuild-%{version}.tar.gz
BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module colorama}
BuildRequires: %{python_module livereload}
BuildRequires: %{python_module flit-core}
BuildRequires: %{python_module httpx}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module starlette}
BuildRequires: %{python_module uvicorn}
BuildRequires: %{python_module watchfiles}
BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module pytest}
# /SECTION
BuildRequires: fdupes
Requires: python-colorama
Requires: python-livereload
Requires: python-Sphinx
Requires: python-colorama
Requires: python-watchfiles
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
@@ -44,18 +50,18 @@ BuildArch: noarch
Rebuild Sphinx documentation on changes, with live-reload in the browser.
%prep
%setup -q -n sphinx-autobuild-%{version}
%setup -q -n sphinx_autobuild-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/sphinx-autobuild
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%pytest -k 'not test_application'
%post
%python_install_alternative sphinx-autobuild
@@ -64,10 +70,10 @@ Rebuild Sphinx documentation on changes, with live-reload in the browser.
%python_uninstall_alternative sphinx-autobuild
%files %{python_files}
%doc AUTHORS NEWS.rst README.md
%license LICENSE
%doc AUTHORS.rst NEWS.rst README.rst
%license LICENSE.rst
%python_alternative %{_bindir}/sphinx-autobuild
%{python_sitelib}/sphinx_autobuild
%{python_sitelib}/sphinx_autobuild-%{version}*-info
%{python_sitelib}/sphinx_autobuild-%{version}.dist-info
%changelog

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:de1ca3b66e271d2b5b5140c35034c89e47f263f2cd5db302c9217065f7443f05
size 206402

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:248150f8f333e825107b6d4b86113ab28fa51750e5f9ae63b59dc339be951fb1
size 14023