forked from pool/python-venusian
Accepting request 1137870 from devel:languages:python
- Update to 3.1.0: * Remove support for Python 3.5 and 3.6 * Add support for Python 3.9, 3.10, 3.11 and 3.12. - Drop patch fix-pylons-sphinx-theme.diff OBS-URL: https://build.opensuse.org/request/show/1137870 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-venusian?expand=0&rev=12
This commit is contained in:
@@ -1,47 +0,0 @@
|
||||
Index: venusian-3.0.0/docs/conf.py
|
||||
===================================================================
|
||||
--- venusian-3.0.0.orig/docs/conf.py 2020-03-10 12:14:58.987113508 +0100
|
||||
+++ venusian-3.0.0/docs/conf.py 2020-03-10 12:21:03.213085906 +0100
|
||||
@@ -16,40 +16,10 @@ import sys
|
||||
import os
|
||||
import datetime
|
||||
import pkg_resources
|
||||
+import pylons_sphinx_themes
|
||||
|
||||
-# Add and use Pylons theme
|
||||
-if "sphinx-build" in " ".join(sys.argv): # protect against dumb importers
|
||||
- from subprocess import call, Popen, PIPE
|
||||
-
|
||||
- p = Popen("which git", shell=True, stdout=PIPE)
|
||||
- git = p.stdout.read().strip()
|
||||
- cwd = os.getcwd()
|
||||
- _themes = os.path.join(cwd, "_themes")
|
||||
-
|
||||
- if not os.path.isdir(_themes):
|
||||
- call(
|
||||
- [git, "clone", "git://github.com/Pylons/pylons_sphinx_theme.git", "_themes"]
|
||||
- )
|
||||
- else:
|
||||
- os.chdir(_themes)
|
||||
- call([git, "checkout", "master"])
|
||||
- call([git, "pull"])
|
||||
- os.chdir(cwd)
|
||||
-
|
||||
- sys.path.append(os.path.abspath("_themes"))
|
||||
-
|
||||
- parent = os.path.dirname(os.path.dirname(__file__))
|
||||
- sys.path.append(os.path.abspath(parent))
|
||||
- wd = os.getcwd()
|
||||
- os.chdir(parent)
|
||||
- sys.path.append(parent)
|
||||
-
|
||||
-# Options for HTML output
|
||||
-# -----------------------
|
||||
-
|
||||
-sys.path.append(os.path.abspath("_themes"))
|
||||
-html_theme_path = ["_themes"]
|
||||
html_theme = "pylons"
|
||||
+html_theme_path = pylons_sphinx_themes.get_html_themes_path()
|
||||
html_theme_options = dict(github_url="https://github.com/Pylons/venusian")
|
||||
|
||||
# If your extensions are in another directory, add it here. If the
|
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 10 06:10:22 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 3.1.0:
|
||||
* Remove support for Python 3.5 and 3.6
|
||||
* Add support for Python 3.9, 3.10, 3.11 and 3.12.
|
||||
- Drop patch fix-pylons-sphinx-theme.diff
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 9 05:45:04 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-venusian
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2013-2019 LISA GmbH, Bingen, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -19,13 +19,12 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-venusian
|
||||
Version: 3.0.0
|
||||
Version: 3.1.0
|
||||
Release: 0
|
||||
Summary: A library for deferring decorator actions
|
||||
License: SUSE-Repoze AND ZPL-2.1
|
||||
URL: https://github.com/Pylons/venusian
|
||||
Source: https://files.pythonhosted.org/packages/source/v/venusian/venusian-%{version}.tar.gz
|
||||
Patch0: fix-pylons-sphinx-theme.diff
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
@@ -33,6 +32,7 @@ BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module sphinxcontrib-copybutton}
|
||||
# /SECTION
|
||||
# SECTION documentation requirements
|
||||
BuildRequires: python3-Sphinx
|
||||
@@ -78,7 +78,7 @@ PYTHONPATH=src python3 -msphinx docs build/sphinx/html \
|
||||
%license LICENSE.txt
|
||||
%doc CHANGES.rst README.rst
|
||||
%{python_sitelib}/venusian
|
||||
%{python_sitelib}/venusian-%{version}*-info
|
||||
%{python_sitelib}/venusian-%{version}.dist-info
|
||||
|
||||
%files %{python_files doc}
|
||||
%license LICENSE.txt
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f6842b7242b1039c0c28f6feef29016e7e7dd3caaeb476a193acf737db31ee38
|
||||
size 44558
|
3
venusian-3.1.0.tar.gz
Normal file
3
venusian-3.1.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:eb72cdca6f3139a15dc80f9c95d3c10f8a54a0ba881eeef8e2ec5b42d3ee3a95
|
||||
size 37960
|
Reference in New Issue
Block a user