14
0
forked from pool/python-moban

Accepting request 717923 from devel:languages:python

- Update to 0.5.0:
  * various fixes and tests updates
  * See CHANGELOG.rst

OBS-URL: https://build.opensuse.org/request/show/717923
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-moban?expand=0&rev=2
This commit is contained in:
2019-07-23 20:42:26 +00:00
committed by Git OBS Bridge
4 changed files with 36 additions and 22 deletions

View File

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

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

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

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Jul 23 14:05:47 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 0.5.0:
* various fixes and tests updates
* See CHANGELOG.rst
-------------------------------------------------------------------
Thu Jan 17 10:59:53 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -18,34 +18,38 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-moban
Version: 0.3.8
Version: 0.5.0
Release: 0
Summary: Yet another jinja2 CLI for static text generation
License: MIT
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
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module GitPython >= 2.0.0}
BuildRequires: %{python_module Jinja2 >= 2.7.1}
BuildRequires: %{python_module appdirs >= 1.2.0}
BuildRequires: %{python_module crayons >= 0.1.0}
BuildRequires: %{python_module git-url-parse >= 1.2.2}
BuildRequires: %{python_module jinja2-time}
BuildRequires: %{python_module lml >= 0.0.9}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module pip}
BuildRequires: git-core
# Package dependencies
BuildRequires: %{python_module Jinja2 >= 2.8}
BuildRequires: %{python_module crayons >= 0.1.2}
BuildRequires: %{python_module lml >= 0.0.7}
BuildRequires: %{python_module ruamel.yaml >= 0.15.80}
# /SECTION
BuildRequires: %{python_module ruamel.yaml >= 0.15.98}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildArch: noarch
BuildRequires: git-core
BuildRequires: python-rpm-macros
Requires: git-core
Requires: python-Jinja2 >= 2.8
Requires: python-crayons >= 0.1.2
Requires: python-lml >= 0.0.7
Requires: python-ruamel.yaml >= 0.15.80
Requires: python-GitPython >= 2.0.0
Requires: python-Jinja2 >= 2.7.1
Requires: python-appdirs >= 1.2.0
Requires: python-crayons >= 0.1.0
Requires: python-git-url-parse >= 1.2.2
Requires: python-jinja2-time
Requires: python-lml >= 0.0.9
Requires: python-ruamel.yaml >= 0.15.98
BuildArch: noarch
%python_subpackages
%description
@@ -57,6 +61,8 @@ consistent across the documentations of individual libraries.
%prep
%setup -q -n moban-%{version}
# integration tests need network
rm -r tests/integration_tests
%build
%python_build
@@ -69,7 +75,8 @@ consistent across the documentations of individual libraries.
# test_level_9 depends on package pypi-mobans-pkg
# test_level_10 depends on access to github.com
# test_level_11 depends on moban-handlebars
%python_exec %{_bindir}/nosetests --with-doctest --doctest-extension=.rst -e 'test_level_(9|10|11)' README.rst tests docs moban
# 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
%files %{python_files}
%{python_sitelib}/*