From b662956a965850bcb1dd26f58cae93e082537619195010c2e36a10fff6b9a11d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Thu, 12 Jun 2025 13:19:20 +0000 Subject: [PATCH] - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-issuetracker?expand=0&rev=22 --- .gitattributes | 23 +++++++ .gitignore | 1 + python-sphinxcontrib-issuetracker.changes | 67 +++++++++++++++++++++ python-sphinxcontrib-issuetracker.spec | 73 +++++++++++++++++++++++ sphinxcontrib-issuetracker-0.11.tar.gz | 3 + 5 files changed, 167 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-sphinxcontrib-issuetracker.changes create mode 100644 python-sphinxcontrib-issuetracker.spec create mode 100644 sphinxcontrib-issuetracker-0.11.tar.gz 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-issuetracker.changes b/python-sphinxcontrib-issuetracker.changes new file mode 100644 index 0000000..dbfba06 --- /dev/null +++ b/python-sphinxcontrib-issuetracker.changes @@ -0,0 +1,67 @@ +------------------------------------------------------------------- +Thu Jun 12 13:19:03 UTC 2025 - Markéta Machová + +- Convert to pip-based build + +------------------------------------------------------------------- +Fri Dec 7 21:05:37 UTC 2018 - Matej Cepl + +- Remove wrong BR on python-sphinxcontrib + +------------------------------------------------------------------- +Tue Dec 4 12:54:43 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. + +------------------------------------------------------------------- +Thu Aug 24 13:55:18 UTC 2017 - jmatejek@suse.com + +- singlespec auto-conversion + +------------------------------------------------------------------- +Thu Oct 24 11:15:01 UTC 2013 - speilicke@suse.com + +- Require python-setuptools instead of distribute (upstreams merged) + +------------------------------------------------------------------- +Thu Aug 15 10:08:22 UTC 2013 - speilicke@suse.com + +- Drop old tarball (sphinxcontrib-issuetracker-0.10.1.tar.gz) + +------------------------------------------------------------------- +Tue Jun 25 11:47:11 UTC 2013 - dmueller@suse.com + +- update to 0.11: + - Send proper user agent in API requests + - #4: Respect Github rate limits + - #5: Fix compatibility with requests 1.0 + +------------------------------------------------------------------- +Tue Jan 15 19:40:31 UTC 2013 - p.drouand@gmail.com + +- Initial python3 support + +------------------------------------------------------------------- +Tue Jan 15 18:17:56 UTC 2013 - p.drouand@gmail.com +- Update to version 0.10.1: + * Fix README rendering on PyPI + * #1: Fix test failure on Python 3 +- Update to version 0.10: + * Extension now hosted at + https://github.com/lunaryorn/sphinxcontrib-issuetracker + * Use requests library for HTTP requests + * Consider launchpad issues closed only if all referenced tasks are completed + * Support Python 3 (with exception of ``launchpad`` and ``debianbts`` trackers) + +------------------------------------------------------------------- +Wed Mar 21 19:28:41 UTC 2012 - saschpe@gmx.de + +- Initial version + + diff --git a/python-sphinxcontrib-issuetracker.spec b/python-sphinxcontrib-issuetracker.spec new file mode 100644 index 0000000..225e44f --- /dev/null +++ b/python-sphinxcontrib-issuetracker.spec @@ -0,0 +1,73 @@ +# +# spec file for package python-sphinxcontrib-issuetracker +# +# 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/ +# + + +%bcond_with test +Name: python-sphinxcontrib-issuetracker +Version: 0.11 +Release: 0 +Summary: Sphinx integration with different issuetrackers +License: BSD-2-Clause +Group: Development/Languages/Python +URL: https://packages.python.org/sphinxcontrib-issuetracker +Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-%{version}.tar.gz +BuildRequires: %{python_module Sphinx >= 1.1} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-Sphinx >= 1.1 +Requires: python-requests >= 1.1 +BuildArch: noarch +%if %{with test} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module requests >= 1.1} +BuildRequires: python-mock +%endif +%python_subpackages + +%description +A Sphinx extension to reference issues in issue trackers, either explicitly +with an "issue" role or optionally implicitly by issue ids like ``#10`` in +plaintext. + +%prep +%setup -q -n sphinxcontrib-issuetracker-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%if %{with test} +%check +%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib} +py.test-%{$python_bin_suffix} +} +%endif + +%files %{python_files} +%license LICENSE +%doc CREDITS README.rst CHANGES.rst +%{python_sitelib}/sphinxcontrib/issuetracker/ +%{python_sitelib}/sphinxcontrib_issuetracker-%{version}-py*-nspkg.pth +%{python_sitelib}/sphinxcontrib_issuetracker-%{version}*-info + +%changelog diff --git a/sphinxcontrib-issuetracker-0.11.tar.gz b/sphinxcontrib-issuetracker-0.11.tar.gz new file mode 100644 index 0000000..f917057 --- /dev/null +++ b/sphinxcontrib-issuetracker-0.11.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:843753d8b5e989116378ab45ecccb368fb78dc56eaa1554ed25e4fbf22745f4e +size 30351