From bfbe665ee2ff541c60b0e1669b51ab40f372a763a7a4f12317c0fce9bd097363 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 21 May 2019 08:16:37 +0000 Subject: [PATCH] Accepting request 704366 from home:pgajdos - version update to 0.6 * Add support for Python 3.4, 3.5, 3.6 and 3.7. * Drop support for Python 2.6, 3.2 and 3.3. * Add contributing.md and update docs. - deleted patches - peppercorn-0.5-fix-pylons-theme.patch (upstreamed) OBS-URL: https://build.opensuse.org/request/show/704366 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-peppercorn?expand=0&rev=7 --- peppercorn-0.5-fix-pylons-theme.patch | 44 --------------------------- peppercorn-0.5.tar.gz | 3 -- peppercorn-0.6.tar.gz | 3 ++ python-peppercorn.changes | 10 ++++++ python-peppercorn.spec | 9 ++---- 5 files changed, 16 insertions(+), 53 deletions(-) delete mode 100644 peppercorn-0.5-fix-pylons-theme.patch delete mode 100644 peppercorn-0.5.tar.gz create mode 100644 peppercorn-0.6.tar.gz diff --git a/peppercorn-0.5-fix-pylons-theme.patch b/peppercorn-0.5-fix-pylons-theme.patch deleted file mode 100644 index 4d91946..0000000 --- a/peppercorn-0.5-fix-pylons-theme.patch +++ /dev/null @@ -1,44 +0,0 @@ -Index: b/docs/conf.py -=================================================================== ---- a/docs/conf.py -+++ b/docs/conf.py -@@ -15,37 +15,9 @@ - import sys, os - - # Add and use Pylons theme --if 'sphinx-build' in ' '.join(sys.argv): # protect against dumb importers -- from subprocess import call, Popen, PIPE -+import pylons_sphinx_themes - -- p = Popen('which git', shell=True, stdout=PIPE) -- git = p.stdout.read().strip() -- cwd = os.getcwd() -- _themes = os.path.join(cwd, '_themes') -- -- if not os.path.isdir(_themes): -- call([git, 'clone', 'git://github.com/Pylons/pylons_sphinx_theme.git', -- '_themes']) -- else: -- os.chdir(_themes) -- call([git, 'checkout', 'master']) -- call([git, 'pull']) -- os.chdir(cwd) -- -- sys.path.append(os.path.abspath('_themes')) -- -- parent = os.path.dirname(os.path.dirname(__file__)) -- sys.path.append(os.path.abspath(parent)) -- wd = os.getcwd() -- os.chdir(parent) -- os.system('%s setup.py test -q' % sys.executable) -- os.chdir(wd) -- -- for item in os.listdir(parent): -- if item.endswith('.egg'): -- sys.path.append(os.path.join(parent, item)) -- --html_theme_path = ['_themes'] -+html_theme_path = pylons_sphinx_themes.get_html_themes_path() - html_theme = 'pylons' - html_theme_options = dict( - github_url='https://github.com/Pylons/peppercorn', diff --git a/peppercorn-0.5.tar.gz b/peppercorn-0.5.tar.gz deleted file mode 100644 index 654e867..0000000 --- a/peppercorn-0.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:921cba5d51fa211e6da0fbd2120b9a98d663422a80f5bb669ad81ffb0909774b -size 19637 diff --git a/peppercorn-0.6.tar.gz b/peppercorn-0.6.tar.gz new file mode 100644 index 0000000..5b7d38c --- /dev/null +++ b/peppercorn-0.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:96d7681d7a04545cfbaf2c6fb66de67b29cfc42421aa263e4c78f2cbb85be4c6 +size 16386 diff --git a/python-peppercorn.changes b/python-peppercorn.changes index c9b6c97..c4f17e9 100644 --- a/python-peppercorn.changes +++ b/python-peppercorn.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Tue May 21 07:49:00 UTC 2019 - pgajdos@suse.com + +- version update to 0.6 + * Add support for Python 3.4, 3.5, 3.6 and 3.7. + * Drop support for Python 2.6, 3.2 and 3.3. + * Add contributing.md and update docs. +- deleted patches + - peppercorn-0.5-fix-pylons-theme.patch (upstreamed) + ------------------------------------------------------------------- Tue Dec 18 23:13:00 UTC 2018 - Jan Engelhardt diff --git a/python-peppercorn.spec b/python-peppercorn.spec index c81aa75..a8db445 100644 --- a/python-peppercorn.spec +++ b/python-peppercorn.spec @@ -1,7 +1,7 @@ # # spec file for package python-peppercorn # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -19,15 +19,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-peppercorn -Version: 0.5 +Version: 0.6 Release: 0 Summary: Pyramid exceptions logger License: BSD-4-Clause AND ZPL-2.1 AND MIT Group: Development/Languages/Python Url: http://docs.pylonsproject.org/projects/peppercorn/en/latest/ Source: https://files.pythonhosted.org/packages/source/p/peppercorn/peppercorn-%{version}.tar.gz -# PATCH-FIX-OPENSUSE hpj@urpla.net peppercorn-0.5-fix-pylons-theme.patch -- use pylons theme properly -Patch: peppercorn-0.5-fix-pylons-theme.patch # Documentation requirements: BuildRequires: python3-Sphinx # Testing requirements: @@ -58,7 +56,6 @@ This package contains documentation for %{name}. %prep %setup -q -n peppercorn-%{version} -%patch -p1 %build %python_build @@ -78,7 +75,7 @@ python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo %else %doc LICENSE.txt %endif -%doc CHANGES.txt CONTRIBUTORS.txt COPYRIGHT.txt README.txt +%doc CHANGES.rst CONTRIBUTORS.txt COPYRIGHT.txt README.rst contributing.md %{python_sitelib}/* %files -n %{name}-doc