From 03e7e11f4b075a3486ded28078906c19204dc148f1e71a25c5cb66c92e9a1bc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Fri, 22 May 2020 07:47:06 +0000 Subject: [PATCH 1/2] Accepting request 808111 from home:mcalabkova:branches:devel:languages:python - Update to 0.7.5 * #365: regression was introduced by v0.6.5. If you uses mobanfile as data configuration file, you are very likely to have this show stopper. * suppress stdout message from deprecated pip install. but please do not use and migrate deprecated`requires` syntax. OBS-URL: https://build.opensuse.org/request/show/808111 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-moban?expand=0&rev=10 --- moban-0.7.0.tar.gz | 3 --- moban-0.7.5.tar.gz | 3 +++ python-moban.changes | 10 ++++++++++ python-moban.spec | 5 +++-- 4 files changed, 16 insertions(+), 5 deletions(-) delete mode 100644 moban-0.7.0.tar.gz create mode 100644 moban-0.7.5.tar.gz diff --git a/moban-0.7.0.tar.gz b/moban-0.7.0.tar.gz deleted file mode 100644 index bbcd7de..0000000 --- a/moban-0.7.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c7965eee01c5c84db85106646744fb81d0b3fe85d2757d1a024e83699d1313c4 -size 873578 diff --git a/moban-0.7.5.tar.gz b/moban-0.7.5.tar.gz new file mode 100644 index 0000000..6d70a19 --- /dev/null +++ b/moban-0.7.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e52a0abea0d236de09828ed78a019561f17186237b79060a12e5b3553886964b +size 884415 diff --git a/python-moban.changes b/python-moban.changes index bc004e3..11418d6 100644 --- a/python-moban.changes +++ b/python-moban.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Fri May 22 07:42:56 UTC 2020 - Marketa Calabkova + +- Update to 0.7.5 + * #365: regression was introduced by v0.6.5. If you uses mobanfile + as data configuration file, you are very likely to have this show + stopper. + * suppress stdout message from deprecated pip install. but please + do not use and migrate deprecated`requires` syntax. + ------------------------------------------------------------------- Mon Jan 20 15:16:02 UTC 2020 - Marketa Calabkova diff --git a/python-moban.spec b/python-moban.spec index 36e29a7..fc0dbbd 100644 --- a/python-moban.spec +++ b/python-moban.spec @@ -19,7 +19,7 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-moban -Version: 0.7.0 +Version: 0.7.5 Release: 0 Summary: Yet another jinja2 CLI for static text generation License: MIT @@ -81,7 +81,8 @@ rm -r tests/integration_tests # test_level_11 probably depends on moban-handlebars, which is needed only in tests # test_handle_targets_sequence fails on wrong arg count # 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' +# test_level_24 needs httpfs, which is optional +%python_expand nosetests-%{$python_bin_suffix} -e 'test_level_(9|10|11|24)|test_handle_targets_sequence|test_overrides_fs_url' %files %{python_files} %{python_sitelib}/* From 92e5f334a7270e16750c4bb8fc581e2358cd40377c500124a9a4e07aa4df64ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 25 May 2020 09:21:47 +0000 Subject: [PATCH 2/2] Accepting request 808644 from home:pgajdos:python submit OBS-URL: https://build.opensuse.org/request/show/808644 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-moban?expand=0&rev=11 --- python-moban.changes | 5 +++++ python-moban.spec | 11 ++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/python-moban.changes b/python-moban.changes index 11418d6..baebab1 100644 --- a/python-moban.changes +++ b/python-moban.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 25 06:50:48 UTC 2020 - Petr Gajdos + +- %python3_only -> %python_alternative + ------------------------------------------------------------------- Fri May 22 07:42:56 UTC 2020 - Marketa Calabkova diff --git a/python-moban.spec b/python-moban.spec index fc0dbbd..357401d 100644 --- a/python-moban.spec +++ b/python-moban.spec @@ -49,6 +49,8 @@ Requires: python-fs >= 2.4.11 Requires: python-jinja2-fsloader >= 0.2.0 Requires: python-lml >= 0.0.9 Requires: python-ruamel.yaml >= 0.15.98 +Requires(post): update-alternatives +Requires(postun): update-alternatives Suggests: python-gitfs2 Suggests: python-pypifs BuildArch: noarch @@ -71,6 +73,7 @@ rm -r tests/integration_tests %install %python_install +%python_clone -a %{buildroot}%{_bindir}/moban %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -84,10 +87,16 @@ rm -r tests/integration_tests # test_level_24 needs httpfs, which is optional %python_expand nosetests-%{$python_bin_suffix} -e 'test_level_(9|10|11|24)|test_handle_targets_sequence|test_overrides_fs_url' +%post +%python_install_alternative moban + +%postun +%python_uninstall_alternative moban + %files %{python_files} %{python_sitelib}/* %license LICENSE %doc README.rst CHANGELOG.rst -%python3_only %{_bindir}/moban +%python_alternative %{_bindir}/moban %changelog