From 13bc90c5ab402bf52b2d2646793ec06621d946a18c8b7432f915ee20eb1898d5 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 30 Jun 2024 07:40:20 +0000 Subject: [PATCH] - update to 4.1.0: * Add `:pypi:` role for linking to PyPI projects * Default to linking GH Sponsors for the :user: role * Support Python 3.8-3.12. Older versions are no longer supported. * Backwards-incompatible*: Remove ``__version__``, ``__author__``, and ``__license__`` attributes. Use ``importlib.metadata`` to read this metadata instead. * Add :pr: role. * Raise ValueError if neither issues_uri nor issues_github_path OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-issues?expand=0&rev=17 --- .gitattributes | 23 +++++++++++ .gitignore | 1 + 4.1.0.tar.gz | 3 ++ python-sphinx-issues.changes | 80 ++++++++++++++++++++++++++++++++++++ python-sphinx-issues.spec | 65 +++++++++++++++++++++++++++++ 5 files changed, 172 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 4.1.0.tar.gz create mode 100644 python-sphinx-issues.changes create mode 100644 python-sphinx-issues.spec 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/4.1.0.tar.gz b/4.1.0.tar.gz new file mode 100644 index 0000000..9db3efa --- /dev/null +++ b/4.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c68af6156d1071bfd12398243cb72808d05a1cc812aa5d3f12df8ebe5a70e0ee +size 13006 diff --git a/python-sphinx-issues.changes b/python-sphinx-issues.changes new file mode 100644 index 0000000..1fc1623 --- /dev/null +++ b/python-sphinx-issues.changes @@ -0,0 +1,80 @@ +------------------------------------------------------------------- +Sun Jun 30 07:39:29 UTC 2024 - Dirk Müller + +- update to 4.1.0: + * Add `:pypi:` role for linking to PyPI projects + * Default to linking GH Sponsors for the :user: role + * Support Python 3.8-3.12. Older versions are no longer supported. + * Backwards-incompatible*: Remove ``__version__``, + ``__author__``, and ``__license__`` attributes. + Use ``importlib.metadata`` to read this metadata instead. + +------------------------------------------------------------------- +Fri Apr 21 12:34:27 UTC 2023 - Dirk Müller + +- add sle15_python_module_pythons (jsc#PED-68) + +------------------------------------------------------------------- +Thu Apr 13 22:45:01 UTC 2023 - Matej Cepl + +- Make calling of %{sle15modernpython} optional. + +------------------------------------------------------------------- +Wed Apr 20 11:24:07 UTC 2022 - pgajdos@suse.com + +- version update to 3.0.1 + 3.0.1 (2022-01-11) + * Fix regression from 3.0.0: exception: 'in ' requires string as left operand, not type. + 3.0.0 (2022-01-10) + * The :commit: role now outputs with an @ prefix. + * Add configuration options for changing prefixes. + * Allow {group} to be specified within issues_uri, issues_pr_uri, issues_commit_uri, and + 2.0.0 (2022-01-01) + * Drop support for Python 2.7 and 3.5. + * Test against Python 3.8 to 3.10. + * Add :cwe: role for linking to CVEs on https://cwe.mitre.org. Thanks @hugovk for the PR. + * Add support for custom urls and separators Issue #93 + * Allow custom titles for all roles Issue #116 + * Added setting issues_default_group_project as future replacement of issues_github_path, + to reflect the now to universal nature of the extension + +------------------------------------------------------------------- +Fri Mar 13 13:01:25 UTC 2020 - Tomáš Chvátal + +- Fix build without python2 + +------------------------------------------------------------------- +Thu Jun 6 14:23:35 UTC 2019 - Tomáš Chvátal + +- Reduce bit conditionals as it is not needed + +------------------------------------------------------------------- +Fri Apr 26 13:05:20 UTC 2019 - Marketa Calabkova + +- update to version 1.2.0 + 1.?.? + * Add :commit: role for linking to commits. + * Add support for linking to external repos. + * Add :cve: role for linking to CVEs on https://cve.mitre.org. + * Add :pr: role. + * Drop support for Python 3.4. + 0.4.0 + * Raise ValueError if neither issues_uri nor issues_github_path + is set. + * Drop support for Python 2.6 and 3.3. +- take GitHub tarball because of the tests + +------------------------------------------------------------------- +Tue Dec 4 12:54:50 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +------------------------------------------------------------------- +Sun Aug 27 20:39:13 UTC 2017 - jengelh@inai.de + +- Update descriptions. + +------------------------------------------------------------------- +Sat Aug 19 09:34:43 UTC 2017 - sebix+novell.com@sebix.at + +- initial package diff --git a/python-sphinx-issues.spec b/python-sphinx-issues.spec new file mode 100644 index 0000000..0367512 --- /dev/null +++ b/python-sphinx-issues.spec @@ -0,0 +1,65 @@ +# +# spec file for package python-sphinx-issues +# +# 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 +# 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-sphinx-issues +Version: 4.1.0 +Release: 0 +Summary: A Sphinx extension for linking to a project's issue tracker +License: MIT +URL: https://github.com/sloria/sphinx-issues +Source: https://github.com/sloria/sphinx-issues/archive/%{version}.tar.gz +BuildRequires: %{python_module Sphinx} +BuildRequires: %{python_module flit-core} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-Sphinx +BuildArch: noarch +%if %{with python2} +BuildRequires: python-mock +%endif +%python_subpackages + +%description +A Sphinx extension for linking to a project's issue tracker. It +includes roles for linking to issues as well as user profiles, with +built-in support for GitHub (though this works with other services). + +%prep +%setup -q -n sphinx-issues-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%doc README.rst +%license LICENSE +%{python_sitelib}/sphinx_issues +%{python_sitelib}/sphinx_issues-%{version}.dist-info + +%changelog