From 4c2a41c98397c05c4fd330e51aed569f178aaaa76e3d8ebe755696fe5f6e19f1 Mon Sep 17 00:00:00 2001 From: Todd R Date: Fri, 18 May 2018 14:58:41 +0000 Subject: [PATCH] Accepting request 610399 from devel:languages:python:misc Needed by python-invocations OBS-URL: https://build.opensuse.org/request/show/610399 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-releases?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + python-releases.changes | 29 +++++++++++++++++ python-releases.spec | 71 +++++++++++++++++++++++++++++++++++++++++ releases-1.5.0.tar.gz | 3 ++ 5 files changed, 127 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-releases.changes create mode 100644 python-releases.spec create mode 100644 releases-1.5.0.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-releases.changes b/python-releases.changes new file mode 100644 index 0000000..0cd0251 --- /dev/null +++ b/python-releases.changes @@ -0,0 +1,29 @@ +------------------------------------------------------------------- +Fri May 18 14:29:58 UTC 2018 - toddrme2178@gmail.com + +- Update to 1.5.0 + * Allow multiple changelog files -- releases_document_name + may now optionally be a list of strings instead of a single string. +- Update to 1.4.2 + * We never pulled our README into our setup.py metadata, + resulting in a rather sparse PyPI page! This has been fixed. +- Update to 1.4.1 + * Sphinx 1.7.x changed some semi-public APIs; given this is the + second minor release in a row to do so, we're explicitly bracketing our + ``setup.py`` dependencies to Sphinx >= 1.3 and < 1.7. We expect to bump this + up one minor release at a time as we add compatibility back in. +- Update to 1.4.0 + * Drop Python 2.6 and 3.3 support, to correspond with earlier + changes in Sphinx and most other public Python projects. + * Identified a handful of issues with our Sphinx pin & + subsequently, internal changes in Sphinx 1.6 which broke (and/or appear to + break, such as noisy warnings) our own behavior. These have (hopefully) all + been fixed. +- Update to 1.3.2 + * Update packaging requirements to allow for + sphinx>=1.3,<2. + +------------------------------------------------------------------- +Thu Oct 19 01:08:46 UTC 2017 - toddrme2178@gmail.com + +- Initial version diff --git a/python-releases.spec b/python-releases.spec new file mode 100644 index 0000000..63f1b57 --- /dev/null +++ b/python-releases.spec @@ -0,0 +1,71 @@ +# +# spec file for package python-releases +# +# Copyright (c) 2018 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 +# 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 http://bugs.opensuse.org/ + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +# Tests have dependency loop with python-invoke and python-invocations +Name: python-releases +Version: 1.5.0 +Release: 0 +License: BSD-2-Clause +Summary: A Sphinx extension for changelog manipulation +Url: https://github.com/bitprophet/releases +Group: Development/Languages/Python +Source: https://files.pythonhosted.org/packages/source/r/releases/releases-%{version}.tar.gz +BuildRequires: python-rpm-macros +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +Requires: python-semantic_version < 3.0 +Requires: python-Sphinx >= 1.3 +BuildArch: noarch + +%python_subpackages + +%description +Releases is a Python 2+3 compatible `Sphinx `_ extension +designed to help you keep a source control friendly, merge friendly changelog +file & turn it into useful, human readable HTML output. + +Specifically: + +* The source format (kept in your Sphinx tree as ``changelog.rst``) is a + stream-like timeline that plays well with source control & only requires one + entry per change (even for changes that exist in multiple release lines). +* The output (when you have the extension installed and run your Sphinx build + command) is a traditional looking changelog page with a section for every + release; multi-release issues are copied automatically into each release. +* By default, feature and support issues are only displayed under feature + releases, and bugs are only displayed under bugfix releases. This can be + overridden on a per-issue basis. + +%prep +%setup -q -n releases-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%defattr(-,root,root,-) +%doc README.rst +%license LICENSE +%{python_sitelib}/* + +%changelog diff --git a/releases-1.5.0.tar.gz b/releases-1.5.0.tar.gz new file mode 100644 index 0000000..3eaec5a --- /dev/null +++ b/releases-1.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4c4b2ff79490e11f7b59ff89537f1c221bb57dc8412ce51289734567bd1d0ad0 +size 39405