Hello community, here is the log from the commit of package python-lesscpy for openSUSE:Factory checked in at 2019-03-01 16:49:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-lesscpy (Old) and /work/SRC/openSUSE:Factory/.python-lesscpy.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-lesscpy" Fri Mar 1 16:49:01 2019 rev:9 rq:680386 version:0.13.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-lesscpy/python-lesscpy.changes 2018-12-24 11:39:12.117568706 +0100 +++ /work/SRC/openSUSE:Factory/.python-lesscpy.new.28833/python-lesscpy.changes 2019-03-01 16:49:03.985761904 +0100 @@ -1,0 +2,12 @@ +Thu Feb 28 07:37:24 UTC 2019 - John Vandenberg <[email protected]> + +- Fix incorrect URL +- Remove unnecessary build dependencies on flake8 and coverage by + using nose directly +- Add fdupes +- Update to v0.13.0 + Version bump due to non-linear version sequences + https://github.com/lesscpy/lesscpy/issues/94 + No changelog available + +------------------------------------------------------------------- Old: ---- lesscpy-0.12.0.tar.gz New: ---- lesscpy-0.13.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-lesscpy.spec ++++++ --- /var/tmp/diff_new_pack.ox73zk/_old 2019-03-01 16:49:04.545761692 +0100 +++ /var/tmp/diff_new_pack.ox73zk/_new 2019-03-01 16:49:04.549761691 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-lesscpy # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,19 +18,18 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-lesscpy -Version: 0.12.0 +Version: 0.13.0 Release: 0 Summary: Lesscss compiler License: MIT Group: Development/Languages/Python -URL: https://github.com/robotis/lesscpy +URL: https://github.com/lesscpy/lesscpy Source: https://files.pythonhosted.org/packages/source/l/lesscpy/lesscpy-%{version}.tar.gz -BuildRequires: %{python_module coverage} -BuildRequires: %{python_module flake8} BuildRequires: %{python_module nose} BuildRequires: %{python_module ply} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} +BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-ply Requires: python-six @@ -59,6 +58,7 @@ %install %python_install %python_clone -a %{buildroot}%{_bindir}/lesscpy +%python_expand %fdupes -s %{buildroot}%{$python_sitelib} %post %python_install_alternative lesscpy @@ -67,7 +67,7 @@ %python_uninstall_alternative lesscpy %check -%python_exec setup.py test +%python_exec -m nose %files %{python_files} %license LICENSE ++++++ lesscpy-0.12.0.tar.gz -> lesscpy-0.13.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lesscpy-0.12.0/PKG-INFO new/lesscpy-0.13.0/PKG-INFO --- old/lesscpy-0.12.0/PKG-INFO 2016-10-04 13:18:23.000000000 +0200 +++ new/lesscpy-0.13.0/PKG-INFO 2018-02-05 15:47:45.000000000 +0100 @@ -1,11 +1,12 @@ Metadata-Version: 1.1 Name: lesscpy -Version: 0.12.0 +Version: 0.13.0 Summary: Python LESS compiler Home-page: https://github.com/lesscpy/lesscpy Author: Jóhann T Maríusson Author-email: [email protected] License: MIT +Description-Content-Type: UNKNOWN Description: LESSCPY ======= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lesscpy-0.12.0/lesscpy/__init__.py new/lesscpy-0.13.0/lesscpy/__init__.py --- old/lesscpy-0.12.0/lesscpy/__init__.py 2016-10-04 13:09:38.000000000 +0200 +++ new/lesscpy-0.13.0/lesscpy/__init__.py 2018-02-05 15:46:27.000000000 +0100 @@ -1,4 +1,4 @@ -__version_info__ = ('0', '12', '0') +__version_info__ = ('0', '13', '0') __version__ = '.'.join(__version_info__) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lesscpy-0.12.0/lesscpy/__main__.py new/lesscpy-0.13.0/lesscpy/__main__.py --- old/lesscpy-0.12.0/lesscpy/__main__.py 1970-01-01 01:00:00.000000000 +0100 +++ new/lesscpy-0.13.0/lesscpy/__main__.py 2017-12-28 16:18:57.000000000 +0100 @@ -0,0 +1,5 @@ +from lesscpy.scripts.compiler import run + +if __name__ == '__main__': + run() + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lesscpy-0.12.0/lesscpy/plib/keyframe_selector.py new/lesscpy-0.13.0/lesscpy/plib/keyframe_selector.py --- old/lesscpy-0.12.0/lesscpy/plib/keyframe_selector.py 2016-10-04 11:49:17.000000000 +0200 +++ new/lesscpy-0.13.0/lesscpy/plib/keyframe_selector.py 2017-12-28 16:35:01.000000000 +0100 @@ -11,9 +11,8 @@ class KeyframeSelector(Node): - - """Keyframe selector node. Represents the keyframe selector in an animation - sequence. Keyframes can be identified by the keywords "from" or "to", or by + """Keyframe selector node. Represents the keyframe selector in an animation + sequence. Keyframes can be identified by the keywords "from" or "to", or by percentage. http://www.w3.org/TR/css3-animations/#keyframes @@ -29,7 +28,7 @@ self """ self.keyframe, = [e[0] if isinstance(e, tuple) else e - for e in self.tokens if str(e).strip()] + for e in self.tokens if str(e).strip()] self.subparse = False return self diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lesscpy-0.12.0/lesscpy/scripts/compiler.py new/lesscpy-0.13.0/lesscpy/scripts/compiler.py --- old/lesscpy-0.12.0/lesscpy/scripts/compiler.py 2016-10-04 11:49:17.000000000 +0200 +++ new/lesscpy-0.13.0/lesscpy/scripts/compiler.py 2017-12-28 16:32:23.000000000 +0100 @@ -72,12 +72,8 @@ if args.recurse: [ldirectory(os.path.join(inpath, name), os.path.join(outpath, name), args, scope) for name in os.listdir(inpath) - if os.path.isdir(os.path.join(inpath, name)) - and not name.startswith('.') - and not name == outpath] -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# + if os.path.isdir(os.path.join(inpath, name)) and + not name.startswith('.') and not name == outpath] def run(): @@ -187,7 +183,7 @@ if not args.dont_create_dirs and not os.path.exists(os.path.dirname(args.output)): try: os.makedirs(os.path.dirname(args.output)) - except OSError as exc: # Guard against race condition + except OSError as exc: # Guard against race condition if exc.errno != errno.EEXIST: raise with open(args.output, "w") as f: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lesscpy-0.12.0/lesscpy.egg-info/PKG-INFO new/lesscpy-0.13.0/lesscpy.egg-info/PKG-INFO --- old/lesscpy-0.12.0/lesscpy.egg-info/PKG-INFO 2016-10-04 13:18:23.000000000 +0200 +++ new/lesscpy-0.13.0/lesscpy.egg-info/PKG-INFO 2018-02-05 15:47:45.000000000 +0100 @@ -1,11 +1,12 @@ Metadata-Version: 1.1 Name: lesscpy -Version: 0.12.0 +Version: 0.13.0 Summary: Python LESS compiler Home-page: https://github.com/lesscpy/lesscpy Author: Jóhann T Maríusson Author-email: [email protected] License: MIT +Description-Content-Type: UNKNOWN Description: LESSCPY ======= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lesscpy-0.12.0/lesscpy.egg-info/SOURCES.txt new/lesscpy-0.13.0/lesscpy.egg-info/SOURCES.txt --- old/lesscpy-0.12.0/lesscpy.egg-info/SOURCES.txt 2016-10-04 13:18:23.000000000 +0200 +++ new/lesscpy-0.13.0/lesscpy.egg-info/SOURCES.txt 2018-02-05 15:47:45.000000000 +0100 @@ -7,6 +7,7 @@ test-requirements.txt tox.ini lesscpy/__init__.py +lesscpy/__main__.py lesscpy/exceptions.py lesscpy.egg-info/PKG-INFO lesscpy.egg-info/SOURCES.txt @@ -52,6 +53,7 @@ test/test_color.pyc test/test_expression.py test/test_expression.pyc +test/test_font_awesome.pyc test/test_identifier.py test/test_identifier.pyc test/test_issues.py @@ -66,18 +68,6 @@ test/test_pycompile.pyc test/test_utility.py test/test_utility.pyc -test/__pycache__/__init__.cpython-35.pyc -test/__pycache__/core.cpython-35.pyc -test/__pycache__/test_bootstrap3.cpython-35.pyc -test/__pycache__/test_color.cpython-35.pyc -test/__pycache__/test_expression.cpython-35.pyc -test/__pycache__/test_identifier.cpython-35.pyc -test/__pycache__/test_issues.cpython-35.pyc -test/__pycache__/test_less.cpython-35.pyc -test/__pycache__/test_lexer.cpython-35.pyc -test/__pycache__/test_parser.cpython-35.pyc -test/__pycache__/test_pycompile.cpython-35.pyc -test/__pycache__/test_utility.cpython-35.pyc test/bootstrap3/css/bootstrap.css test/bootstrap3/css/bootstrap.min.css test/bootstrap3/css/theme.css diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lesscpy-0.12.0/setup.cfg new/lesscpy-0.13.0/setup.cfg --- old/lesscpy-0.12.0/setup.cfg 2016-10-04 13:18:23.000000000 +0200 +++ new/lesscpy-0.13.0/setup.cfg 2018-02-05 15:47:45.000000000 +0100 @@ -2,7 +2,6 @@ universal = 1 [egg_info] -tag_date = 0 tag_build = -tag_svn_revision = 0 +tag_date = 0 Binary files old/lesscpy-0.12.0/test/__init__.pyc and new/lesscpy-0.13.0/test/__init__.pyc differ Binary files old/lesscpy-0.12.0/test/__pycache__/__init__.cpython-35.pyc and new/lesscpy-0.13.0/test/__pycache__/__init__.cpython-35.pyc differ Binary files old/lesscpy-0.12.0/test/__pycache__/core.cpython-35.pyc and new/lesscpy-0.13.0/test/__pycache__/core.cpython-35.pyc differ Binary files old/lesscpy-0.12.0/test/__pycache__/test_bootstrap3.cpython-35.pyc and new/lesscpy-0.13.0/test/__pycache__/test_bootstrap3.cpython-35.pyc differ Binary files old/lesscpy-0.12.0/test/__pycache__/test_color.cpython-35.pyc and new/lesscpy-0.13.0/test/__pycache__/test_color.cpython-35.pyc differ Binary files old/lesscpy-0.12.0/test/__pycache__/test_expression.cpython-35.pyc and new/lesscpy-0.13.0/test/__pycache__/test_expression.cpython-35.pyc differ Binary files old/lesscpy-0.12.0/test/__pycache__/test_identifier.cpython-35.pyc and new/lesscpy-0.13.0/test/__pycache__/test_identifier.cpython-35.pyc differ Binary files old/lesscpy-0.12.0/test/__pycache__/test_issues.cpython-35.pyc and new/lesscpy-0.13.0/test/__pycache__/test_issues.cpython-35.pyc differ Binary files old/lesscpy-0.12.0/test/__pycache__/test_less.cpython-35.pyc and new/lesscpy-0.13.0/test/__pycache__/test_less.cpython-35.pyc differ Binary files old/lesscpy-0.12.0/test/__pycache__/test_lexer.cpython-35.pyc and new/lesscpy-0.13.0/test/__pycache__/test_lexer.cpython-35.pyc differ Binary files old/lesscpy-0.12.0/test/__pycache__/test_parser.cpython-35.pyc and new/lesscpy-0.13.0/test/__pycache__/test_parser.cpython-35.pyc differ Binary files old/lesscpy-0.12.0/test/__pycache__/test_pycompile.cpython-35.pyc and new/lesscpy-0.13.0/test/__pycache__/test_pycompile.cpython-35.pyc differ Binary files old/lesscpy-0.12.0/test/__pycache__/test_utility.cpython-35.pyc and new/lesscpy-0.13.0/test/__pycache__/test_utility.cpython-35.pyc differ Binary files old/lesscpy-0.12.0/test/core.pyc and new/lesscpy-0.13.0/test/core.pyc differ Binary files old/lesscpy-0.12.0/test/test_bootstrap3.pyc and new/lesscpy-0.13.0/test/test_bootstrap3.pyc differ Binary files old/lesscpy-0.12.0/test/test_color.pyc and new/lesscpy-0.13.0/test/test_color.pyc differ Binary files old/lesscpy-0.12.0/test/test_expression.pyc and new/lesscpy-0.13.0/test/test_expression.pyc differ Binary files old/lesscpy-0.12.0/test/test_font_awesome.pyc and new/lesscpy-0.13.0/test/test_font_awesome.pyc differ Binary files old/lesscpy-0.12.0/test/test_identifier.pyc and new/lesscpy-0.13.0/test/test_identifier.pyc differ Binary files old/lesscpy-0.12.0/test/test_issues.pyc and new/lesscpy-0.13.0/test/test_issues.pyc differ Binary files old/lesscpy-0.12.0/test/test_less.pyc and new/lesscpy-0.13.0/test/test_less.pyc differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lesscpy-0.12.0/test/test_lexer.py new/lesscpy-0.13.0/test/test_lexer.py --- old/lesscpy-0.12.0/test/test_lexer.py 2016-10-04 11:49:17.000000000 +0200 +++ new/lesscpy-0.13.0/test/test_lexer.py 2017-12-28 16:30:51.000000000 +0100 @@ -17,7 +17,6 @@ def setUp(self): self.lexer = LessLexer() - def test_input_stream(self): """ It can load content from a string. Binary files old/lesscpy-0.12.0/test/test_lexer.pyc and new/lesscpy-0.13.0/test/test_lexer.pyc differ Binary files old/lesscpy-0.12.0/test/test_parser.pyc and new/lesscpy-0.13.0/test/test_parser.pyc differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lesscpy-0.12.0/test/test_pycompile.py new/lesscpy-0.13.0/test/test_pycompile.py --- old/lesscpy-0.12.0/test/test_pycompile.py 2016-10-04 11:49:17.000000000 +0200 +++ new/lesscpy-0.13.0/test/test_pycompile.py 2017-12-28 16:30:36.000000000 +0100 @@ -20,7 +20,7 @@ """ output = compile(StringIO("a { border-width: 2px * 3; }"), minify=True) - self.assertEqual(output, "a{border-width:6px;}"); + self.assertEqual(output, "a{border-width:6px;}") def test_compile_from_file(self): """ @@ -32,7 +32,7 @@ in_file.write("a { border-width: 2px * 3; }") in_file.seek(0) output = compile(in_file, minify=True) - self.assertEqual(output, "a{border-width:6px;}"); + self.assertEqual(output, "a{border-width:6px;}") def test_raises_exception(self): """ @@ -40,5 +40,6 @@ """ from lesscpy.exceptions import CompilationError - fail_func = lambda: compile(StringIO("a }"), minify=True) + def fail_func(): + compile(StringIO("a }"), minify=True) self.assertRaises(CompilationError, fail_func) Binary files old/lesscpy-0.12.0/test/test_pycompile.pyc and new/lesscpy-0.13.0/test/test_pycompile.pyc differ Binary files old/lesscpy-0.12.0/test/test_utility.pyc and new/lesscpy-0.13.0/test/test_utility.pyc differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lesscpy-0.12.0/tox.ini new/lesscpy-0.13.0/tox.ini --- old/lesscpy-0.12.0/tox.ini 2016-10-04 13:09:38.000000000 +0200 +++ new/lesscpy-0.13.0/tox.ini 2017-12-28 16:36:34.000000000 +0100 @@ -1,5 +1,5 @@ [tox] -envlist = py26,py27,py3,flake8 +envlist = py27,py33,p36 [testenv] deps = -r{toxinidir}/test-requirements.txt
