forked from pool/python-moban
		
	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
This commit is contained in:
		
				
					committed by
					
						 Git OBS Bridge
						Git OBS Bridge
					
				
			
			
				
	
			
			
			
						parent
						
							01cd058410
						
					
				
				
					commit
					995ff098ee
				
			| @@ -1,3 +0,0 @@ | ||||
| version https://git-lfs.github.com/spec/v1 | ||||
| oid sha256:2d641a3130576889a291aad4f08781045c04422e0ebeae6e20c5480cf3db3056 | ||||
| size 498962 | ||||
							
								
								
									
										3
									
								
								moban-0.7.0.tar.gz
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								moban-0.7.0.tar.gz
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| version https://git-lfs.github.com/spec/v1 | ||||
| oid sha256:c7965eee01c5c84db85106646744fb81d0b3fe85d2757d1a024e83699d1313c4 | ||||
| size 873578 | ||||
| @@ -1,3 +1,17 @@ | ||||
| ------------------------------------------------------------------- | ||||
| Mon Jan 20 15:16:02 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com> | ||||
|  | ||||
| - 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 <mcalabkova@suse.com> | ||||
|  | ||||
|   | ||||
| @@ -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}/* | ||||
|   | ||||
		Reference in New Issue
	
	Block a user