From c9b83a4c59cf8f85a59fa32f16e176b28c2d22ef Mon Sep 17 00:00:00 2001 From: mcepl <> Date: Aug 02 2022 20:24:18 +0000 Subject: Update python-sphinxcontrib-towncrier to version 0.2.1a0 / rev 1 via SR 992181 https://build.opensuse.org/request/show/992181 by user mcepl + dimstar_suse Used by various Sphinx documentation projects. --- diff --git a/.files b/.files new file mode 100644 index 0000000..17c8129 Binary files /dev/null and b/.files differ diff --git a/.meta b/.meta new file mode 100644 index 0000000..3e6d965 --- /dev/null +++ b/.meta @@ -0,0 +1,5 @@ + + + + + diff --git a/.rev b/.rev new file mode 100644 index 0000000..1a2f187 --- /dev/null +++ b/.rev @@ -0,0 +1,10 @@ + + + bc41277eba314dc7b90462292eb26d6c + 0.2.1a0 + + dimstar_suse + Used by various Sphinx documentation projects. + 992181 + + diff --git a/_multibuild b/_multibuild new file mode 100644 index 0000000..83bd4e9 --- /dev/null +++ b/_multibuild @@ -0,0 +1,3 @@ + + test + diff --git a/python-sphinxcontrib-towncrier.changes b/python-sphinxcontrib-towncrier.changes new file mode 100644 index 0000000..f43c7b8 --- /dev/null +++ b/python-sphinxcontrib-towncrier.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Fri Jul 29 14:52:25 UTC 2022 - Torsten Gruner + +- Initial release 0.2.1a0 diff --git a/python-sphinxcontrib-towncrier.spec b/python-sphinxcontrib-towncrier.spec new file mode 100644 index 0000000..364e3a7 --- /dev/null +++ b/python-sphinxcontrib-towncrier.spec @@ -0,0 +1,83 @@ +# +# spec file for package python-sphinxcontrib-towncrier +# +# Copyright (c) 2022 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/ +# + +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "test" +%define psuffix -test +%bcond_without test +%else +%define psuffix %{nil} +%bcond_with test +%endif +%define skip_python2 1 +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-sphinxcontrib-towncrier%{psuffix} +Version: 0.2.1a0 +Release: 0 +Summary: An RST directive for injecting a Towncrier-generated changelog draft +License: BSD-3-Clause +URL: https://github.com/sphinx-contrib/sphinxcontrib-towncrier +Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-towncrier/sphinxcontrib-towncrier-%{version}.tar.gz +BuildRequires: python-rpm-macros +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module setuptools_scm} +# SECTION test requirements +%if %{with test} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pytest-xdist} +BuildRequires: %{python_module Sphinx} +BuildRequires: %{python_module towncrier >= 19.2} +BuildRequires: %{python_module sphinxcontrib-towncrier} +%endif +# /SECTION +BuildRequires: fdupes +Requires: python-Sphinx +Requires: python-towncrier >= 19.2 +BuildArch: noarch +%python_subpackages + +%description +An RST directive for injecting a Towncrier-generated changelog draft containing fragments for the unreleased (next) project version + +%prep +%setup -q -n sphinxcontrib-towncrier-%{version} + +%build +%python_build + +%install +%if !%{with test} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} +%endif + +%if %{with test} +%check +%pytest +%endif + +%if !%{with test} +%files %{python_files} +%doc README.rst +%license LICENSE +%dir %{python_sitelib}/sphinxcontrib +%dir %{python_sitelib}/sphinxcontrib/towncrier +%{python_sitelib}/sphinxcontrib/towncrier/* +%{python_sitelib}/sphinxcontrib_towncrier-*-info +%endif + +%changelog diff --git a/sphinxcontrib-towncrier-0.2.1a0.tar.gz b/sphinxcontrib-towncrier-0.2.1a0.tar.gz new file mode 120000 index 0000000..7cd6bbd --- /dev/null +++ b/sphinxcontrib-towncrier-0.2.1a0.tar.gz @@ -0,0 +1 @@ +/ipfs/bafkreifrl3uevjriqfzuq6mikffvrekv544ky3cvvmauu52bal45zccpie \ No newline at end of file