14
0
forked from pool/python-moban

Accepting request 734376 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/734376
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-moban?expand=0&rev=3
This commit is contained in:
2019-10-02 10:00:13 +00:00
committed by Git OBS Bridge
4 changed files with 26 additions and 11 deletions

View File

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

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

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

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Oct 1 14:25:35 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
- Update to 0.6.3
* support pyFilesystem2
* -vv show debug trace
* Allow mobanfile to include data from arbitrary config files
* fix moban 0.4.5 test failures on openSUSE Tumbleweed
* '-e' to load extensions for template engines, i.e. jinja2
* jinja-cli parity: support command line pipe stream.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jul 23 14:05:47 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com> Tue Jul 23 14:05:47 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -18,18 +18,18 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-moban Name: python-moban
Version: 0.5.0 Version: 0.6.3
Release: 0 Release: 0
Summary: Yet another jinja2 CLI for static text generation Summary: Yet another jinja2 CLI for static text generation
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/moremoban/moban URL: https://github.com/moremoban/moban
Source: https://files.pythonhosted.org/packages/source/m/moban/moban-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/m/moban/moban-%{version}.tar.gz
BuildRequires: %{python_module GitPython >= 2.0.0}
BuildRequires: %{python_module Jinja2 >= 2.7.1} BuildRequires: %{python_module Jinja2 >= 2.7.1}
BuildRequires: %{python_module appdirs >= 1.2.0} BuildRequires: %{python_module appdirs >= 1.4.3}
BuildRequires: %{python_module crayons >= 0.1.0} BuildRequires: %{python_module crayons >= 0.1.0}
BuildRequires: %{python_module git-url-parse >= 1.2.2} BuildRequires: %{python_module fs >= 2.4.11}
BuildRequires: %{python_module jinja2-fsloader >= 0.2.0}
BuildRequires: %{python_module jinja2-time} BuildRequires: %{python_module jinja2-time}
BuildRequires: %{python_module lml >= 0.0.9} BuildRequires: %{python_module lml >= 0.0.9}
BuildRequires: %{python_module mock} BuildRequires: %{python_module mock}
@@ -41,14 +41,16 @@ BuildRequires: fdupes
BuildRequires: git-core BuildRequires: git-core
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: git-core Requires: git-core
Requires: python-GitPython >= 2.0.0
Requires: python-Jinja2 >= 2.7.1 Requires: python-Jinja2 >= 2.7.1
Requires: python-appdirs >= 1.2.0 Requires: python-appdirs >= 1.4.3
Requires: python-crayons >= 0.1.0 Requires: python-crayons >= 0.1.0
Requires: python-git-url-parse >= 1.2.2 Requires: python-fs >= 2.4.11
Requires: python-jinja2-fsloader >= 0.2.0
Requires: python-jinja2-time Requires: python-jinja2-time
Requires: python-lml >= 0.0.9 Requires: python-lml >= 0.0.9
Requires: python-ruamel.yaml >= 0.15.98 Requires: python-ruamel.yaml >= 0.15.98
Recommends: python-gitfs2 >= 0.0.1
Recommends: python-pypifs >= 0.0.1
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@@ -69,10 +71,12 @@ rm -r tests/integration_tests
%install %install
%python_install %python_install
# tests are packaged oddly, remove it then
%python_expand rm -r %{buildroot}%{$python_sitelib}/tests/
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
# test_level_9 depends on package pypi-mobans-pkg # test_level_9 depends on package pypifs
# test_level_10 depends on access to github.com # test_level_10 depends on access to github.com
# test_level_11 depends on moban-handlebars # test_level_11 depends on moban-handlebars
# test_handle_targets_sequence fails on wrong arg count # test_handle_targets_sequence fails on wrong arg count