14
0
forked from pool/python-moban

Accepting request 808677 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/808677
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-moban?expand=0&rev=5
This commit is contained in:
2020-05-28 07:12:44 +00:00
committed by Git OBS Bridge
4 changed files with 31 additions and 6 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c7965eee01c5c84db85106646744fb81d0b3fe85d2757d1a024e83699d1313c4
size 873578

3
moban-0.7.5.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e52a0abea0d236de09828ed78a019561f17186237b79060a12e5b3553886964b
size 884415

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon May 25 06:50:48 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
- %python3_only -> %python_alternative
-------------------------------------------------------------------
Fri May 22 07:42:56 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- 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 <mcalabkova@suse.com>

View File

@@ -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
@@ -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
@@ -81,12 +84,19 @@ 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'
%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