From 469fb6eb2fb308398fc27af04c8a76f16a32112256cd6e3fcac64edbec2ae35c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sat, 27 Apr 2019 08:20:02 +0000 Subject: [PATCH] Accepting request 698233 from home:mcalabkova:branches:devel:languages:python - 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 OBS-URL: https://build.opensuse.org/request/show/698233 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-issues?expand=0&rev=7 --- 1.2.0.tar.gz | 3 +++ python-sphinx-issues.changes | 16 ++++++++++++++++ python-sphinx-issues.spec | 23 +++++++++++++---------- sphinx-issues-0.3.1.tar.gz | 3 --- 4 files changed, 32 insertions(+), 13 deletions(-) create mode 100644 1.2.0.tar.gz delete mode 100644 sphinx-issues-0.3.1.tar.gz diff --git a/1.2.0.tar.gz b/1.2.0.tar.gz new file mode 100644 index 0000000..951c44d --- /dev/null +++ b/1.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4fe371f37d4e8a0e7a7f8ea6a6ff9007f284f4d849ca231480ff3744602a536e +size 8051 diff --git a/python-sphinx-issues.changes b/python-sphinx-issues.changes index ff730b7..629a618 100644 --- a/python-sphinx-issues.changes +++ b/python-sphinx-issues.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +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 diff --git a/python-sphinx-issues.spec b/python-sphinx-issues.spec index 1505fa0..11246f2 100644 --- a/python-sphinx-issues.spec +++ b/python-sphinx-issues.spec @@ -1,7 +1,7 @@ # # spec file for package python-sphinx-issues # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,22 +20,23 @@ %{!?license: %global license %doc} %bcond_without test Name: python-sphinx-issues -Version: 0.3.1 +Version: 1.2.0 Release: 0 Summary: A Sphinx extension for linking to a project's issue tracker License: MIT Group: Development/Languages/Python -Url: https://github.com/sloria/sphinx-issues -Source: https://files.pythonhosted.org/packages/source/s/sphinx-issues/sphinx-issues-%{version}.tar.gz +URL: https://github.com/sloria/sphinx-issues +Source: https://github.com/sloria/sphinx-issues/archive/%{version}.tar.gz BuildRequires: %{python_module setuptools} -BuildRequires: python-rpm-macros -%if %{with test} -BuildRequires: %{python_module Sphinx} -%endif BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-Sphinx BuildArch: noarch - +%if %{with test} +BuildRequires: %{python_module Sphinx} +BuildRequires: %{python_module pytest} +BuildRequires: python-mock +%endif %python_subpackages %description @@ -53,8 +54,10 @@ built-in support for GitHub (though this works with other services). %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +%pytest test_sphinx_issues.py + %files %{python_files} -%defattr(-,root,root,-) %doc README.rst %license LICENSE %{python_sitelib}/* diff --git a/sphinx-issues-0.3.1.tar.gz b/sphinx-issues-0.3.1.tar.gz deleted file mode 100644 index c0b163d..0000000 --- a/sphinx-issues-0.3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:be43b12655dfa235b1e5d1c4d7a91f942918707f2e5400711fbc439893daa694 -size 4524