From 995ff098eed3b282751dc5d70f641abc5889678ead557aa456740e1d107cd097 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 21 Jan 2020 08:32:52 +0000 Subject: [PATCH] Accepting request 765875 from home:mcalabkova:branches:devel:languages:python - Update to 0.7.0 * make gitfs2 and pypifs optional. * python 2.7 support is dropped. * show friendlier error when unknown protocol exception was raised. * python 3.4 support is gone * no verbose for error, -v for warning, -vv for warning+info, -vvv for warning+info+debug * show template plugin name, i.e. 'copying' for copy instead of 'templating' * support moban file inheritance * support intermediate targets in moban file * Command options have been grouped. --template_type became --template-type OBS-URL: https://build.opensuse.org/request/show/765875 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-moban?expand=0&rev=8 --- moban-0.6.3.tar.gz | 3 --- moban-0.7.0.tar.gz | 3 +++ python-moban.changes | 14 ++++++++++++++ python-moban.spec | 23 ++++++++++++----------- 4 files changed, 29 insertions(+), 14 deletions(-) delete mode 100644 moban-0.6.3.tar.gz create mode 100644 moban-0.7.0.tar.gz diff --git a/moban-0.6.3.tar.gz b/moban-0.6.3.tar.gz deleted file mode 100644 index 158a7ef..0000000 --- a/moban-0.6.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2d641a3130576889a291aad4f08781045c04422e0ebeae6e20c5480cf3db3056 -size 498962 diff --git a/moban-0.7.0.tar.gz b/moban-0.7.0.tar.gz new file mode 100644 index 0000000..bbcd7de --- /dev/null +++ b/moban-0.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c7965eee01c5c84db85106646744fb81d0b3fe85d2757d1a024e83699d1313c4 +size 873578 diff --git a/python-moban.changes b/python-moban.changes index b32d214..bc004e3 100644 --- a/python-moban.changes +++ b/python-moban.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Mon Jan 20 15:16:02 UTC 2020 - Marketa Calabkova + +- Update to 0.7.0 + * make gitfs2 and pypifs optional. + * python 2.7 support is dropped. + * show friendlier error when unknown protocol exception was raised. + * python 3.4 support is gone + * no verbose for error, -v for warning, -vv for warning+info, -vvv for warning+info+debug + * show template plugin name, i.e. 'copying' for copy instead of 'templating' + * support moban file inheritance + * support intermediate targets in moban file + * Command options have been grouped. --template_type became --template-type + ------------------------------------------------------------------- Tue Oct 1 14:25:35 UTC 2019 - Marketa Calabkova diff --git a/python-moban.spec b/python-moban.spec index 13bb876..36e29a7 100644 --- a/python-moban.spec +++ b/python-moban.spec @@ -1,7 +1,7 @@ # # spec file for package python-moban # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,9 +16,10 @@ # +%define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-moban -Version: 0.6.3 +Version: 0.7.0 Release: 0 Summary: Yet another jinja2 CLI for static text generation License: MIT @@ -46,11 +47,10 @@ Requires: python-appdirs >= 1.4.3 Requires: python-crayons >= 0.1.0 Requires: python-fs >= 2.4.11 Requires: python-jinja2-fsloader >= 0.2.0 -Requires: python-jinja2-time Requires: python-lml >= 0.0.9 Requires: python-ruamel.yaml >= 0.15.98 -Recommends: python-gitfs2 >= 0.0.1 -Recommends: python-pypifs >= 0.0.1 +Suggests: python-gitfs2 +Suggests: python-pypifs BuildArch: noarch %python_subpackages @@ -71,16 +71,17 @@ rm -r tests/integration_tests %install %python_install -# tests are packaged oddly, remove it then -%python_expand rm -r %{buildroot}%{$python_sitelib}/tests/ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# test_level_9 depends on package pypifs -# test_level_10 depends on access to github.com -# test_level_11 depends on moban-handlebars +# test_level_9_deprecated needs pypi-mobans-pkg just for templates... too much effort +# test_level_9 needs pypifs, which is now optional +# test_level_10_deprecated depends on access to github.com +# test_level_10 needs gitfs, which is optional +# test_level_11 probably depends on moban-handlebars, which is needed only in tests # test_handle_targets_sequence fails on wrong arg count -%python_exec %{_bindir}/nosetests --with-doctest --doctest-extension=.rst -e 'test_level_(9|10|11)|test_handle_targets_sequence' README.rst tests docs moban +# test_overrides_fs_url needs gitfs2, which is optional +%python_expand nosetests-%{$python_bin_suffix} -e 'test_level_(9|10|11)|test_handle_targets_sequence|test_overrides_fs_url' %files %{python_files} %{python_sitelib}/*