From c9bbdfb394aecb455ff4b76ed2fce61555dc47f5af3ae57b6e1dcb08f159c800 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 7 Jan 2023 12:48:13 +0000 Subject: [PATCH] - update to v0.7.5: * check for description length before subscripting * Use Sphinx Builder method to get page url * Fix field names in readme * Allow dirhtml builder without ogp_site_url * Take default og:site_name from sphinx project config value * Do not append index with dirhtml * Create wheel with version number not "main" * Don't run CI on tag and push * Fix option name in README.md. * Test multiple Sphinx and OS versions * Fix ci workflow syntax * Tidy up whitespace * ci: Pin PyPI publish action to v1 * Add support for meta description OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinxext-opengraph?expand=0&rev=6 --- python-sphinxext-opengraph.changes | 19 +++++++++++++++++++ python-sphinxext-opengraph.spec | 11 ++++++----- sphinxext-opengraph-0.6.3.tar.gz | 3 --- sphinxext-opengraph-0.7.5.tar.gz | 3 +++ 4 files changed, 28 insertions(+), 8 deletions(-) delete mode 100644 sphinxext-opengraph-0.6.3.tar.gz create mode 100644 sphinxext-opengraph-0.7.5.tar.gz diff --git a/python-sphinxext-opengraph.changes b/python-sphinxext-opengraph.changes index b7a9d4a..0c4219e 100644 --- a/python-sphinxext-opengraph.changes +++ b/python-sphinxext-opengraph.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Sat Jan 7 12:46:14 UTC 2023 - Dirk Müller + +- update to v0.7.5: + * check for description length before subscripting + * Use Sphinx Builder method to get page url + * Fix field names in readme + * Allow dirhtml builder without ogp_site_url + * Take default og:site_name from sphinx project config value + * Do not append index with dirhtml + * Create wheel with version number not "main" + * Don't run CI on tag and push + * Fix option name in README.md. + * Test multiple Sphinx and OS versions + * Fix ci workflow syntax + * Tidy up whitespace + * ci: Pin PyPI publish action to v1 + * Add support for meta description + ------------------------------------------------------------------- Tue Oct 11 15:31:19 UTC 2022 - Yogalakshmi Arunachalam diff --git a/python-sphinxext-opengraph.spec b/python-sphinxext-opengraph.spec index c274c58..01f2bc1 100644 --- a/python-sphinxext-opengraph.spec +++ b/python-sphinxext-opengraph.spec @@ -1,7 +1,7 @@ # # spec file for package python-sphinxext-opengraph # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,13 +27,14 @@ %endif %define skip_python2 1 Name: python-sphinxext-opengraph -Version: 0.6.3 +Version: 0.7.5 Release: 0 Summary: Sphinx Extension to enable OGP support License: MIT URL: https://github.com/wpilibsuite/sphinxext-opengraph Source: https://github.com/wpilibsuite/sphinxext-opengraph/archive/v%{version}.tar.gz#/sphinxext-opengraph-%{version}.tar.gz -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python3-Sphinx >= 2.0 @@ -53,11 +54,11 @@ Sphinx Extension to enable OGP support %setup -q -n sphinxext-opengraph-%{version} %build -%python_build +%pyproject_wheel %install %if !%{with test} -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif diff --git a/sphinxext-opengraph-0.6.3.tar.gz b/sphinxext-opengraph-0.6.3.tar.gz deleted file mode 100644 index 6f3f871..0000000 --- a/sphinxext-opengraph-0.6.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:148166240b3cb8fc4896397826483053f971c6eed81974885685735513ff1dbb -size 23047 diff --git a/sphinxext-opengraph-0.7.5.tar.gz b/sphinxext-opengraph-0.7.5.tar.gz new file mode 100644 index 0000000..dc6ff6e --- /dev/null +++ b/sphinxext-opengraph-0.7.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5fa9827025c00afc9ac6eebf28113a1a7437b323fda15600d2668a90af6f3e88 +size 24353