commit python-slimit for openSUSE:Factory

2019-06-21 Thread root
Hello community,

here is the log from the commit of package python-slimit for openSUSE:Factory 
checked in at 2019-06-21 09:58:29

Comparing /work/SRC/openSUSE:Factory/python-slimit (Old)
 and  /work/SRC/openSUSE:Factory/.python-slimit.new.4811 (New)


Package is "python-slimit"

Fri Jun 21 09:58:29 2019 rev:13 rq:711154 version:0.8.1

Changes:

--- /work/SRC/openSUSE:Factory/python-slimit/python-slimit.changes  
2019-02-01 11:48:35.660358465 +0100
+++ /work/SRC/openSUSE:Factory/.python-slimit.new.4811/python-slimit.changes
2019-06-21 09:58:33.120676973 +0200
@@ -1,0 +2,8 @@
+Thu Jun 20 10:58:15 UTC 2019 - pgaj...@suse.com
+
+- run the testsuite, make it passing
+- modified patches
+  
https://github.com/rspivak/slimit/commit/40956e7fc6e954b3e6d7b629faeb3303f5efb7ea
+  % python-slimit-fix-python3.patch (amended)
+
+---



Other differences:
--
++ python-slimit.spec ++
--- /var/tmp/diff_new_pack.m9YImm/_old  2019-06-21 09:58:33.768677938 +0200
+++ /var/tmp/diff_new_pack.m9YImm/_new  2019-06-21 09:58:33.772677944 +0200
@@ -28,14 +28,18 @@
 Source: 
https://files.pythonhosted.org/packages/source/s/slimit/slimit-%{version}.zip
 # PATCH-FIX-OPENSUSE python-slimit-add-licence.patch -- Include the licence 
file that is present in git since 4111f2d.
 Patch0: python-slimit-add-licence.patch
-# PATCH-FIX-OPENSUSE python-slimit-fix-python3.patch -- Take commit e833165 
from https://github.com/rspivak/slimit/pull/65 by Lele Gaifax.
+# 
https://github.com/rspivak/slimit/commit/40956e7fc6e954b3e6d7b629faeb3303f5efb7ea
 Patch1: python-slimit-fix-python3.patch
 BuildRequires:  %{python_module ply >= 3.4}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildRequires:  unzip
+# SECTION test requirements
+BuildRequires:  %{python_module pytest}
+# /SECTION
 Requires:   python-ply >= 3.4
+Requires:   python-setuptools
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
 BuildArch:  noarch
@@ -74,6 +78,9 @@
 %postun
 %python_uninstall_alternative slimit
 
+%check
+%pytest
+
 %files %{python_files}
 %license LICENSE
 %doc CHANGES README.rst

++ python-slimit-fix-python3.patch ++
 1158 lines (skipped)
 between 
/work/SRC/openSUSE:Factory/python-slimit/python-slimit-fix-python3.patch
 and 
/work/SRC/openSUSE:Factory/.python-slimit.new.4811/python-slimit-fix-python3.patch





commit python-slimit for openSUSE:Factory

2019-02-01 Thread root
Hello community,

here is the log from the commit of package python-slimit for openSUSE:Factory 
checked in at 2019-02-01 11:48:13

Comparing /work/SRC/openSUSE:Factory/python-slimit (Old)
 and  /work/SRC/openSUSE:Factory/.python-slimit.new.28833 (New)


Package is "python-slimit"

Fri Feb  1 11:48:13 2019 rev:12 rq:670320 version:0.8.1

Changes:

--- /work/SRC/openSUSE:Factory/python-slimit/python-slimit.changes  
2018-07-06 10:41:02.599322721 +0200
+++ /work/SRC/openSUSE:Factory/.python-slimit.new.28833/python-slimit.changes   
2019-02-01 11:48:35.660358465 +0100
@@ -1,0 +2,5 @@
+Thu Jan 31 11:13:41 UTC 2019 - Tomáš Chvátal 
+
+- Drop odict, not really required from python 2.7+
+
+---



Other differences:
--
++ python-slimit.spec ++
--- /var/tmp/diff_new_pack.2G6HBv/_old  2019-02-01 11:48:36.892357199 +0100
+++ /var/tmp/diff_new_pack.2G6HBv/_new  2019-02-01 11:48:36.900357192 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-slimit
 #
-# 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
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -30,13 +30,11 @@
 Patch0: python-slimit-add-licence.patch
 # PATCH-FIX-OPENSUSE python-slimit-fix-python3.patch -- Take commit e833165 
from https://github.com/rspivak/slimit/pull/65 by Lele Gaifax.
 Patch1: python-slimit-fix-python3.patch
-BuildRequires:  %{python_module odict}
 BuildRequires:  %{python_module ply >= 3.4}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildRequires:  unzip
-Requires:   python-odict
 Requires:   python-ply >= 3.4
 Requires(post): update-alternatives
 Requires(postun): update-alternatives





commit python-slimit for openSUSE:Factory

2018-07-06 Thread root
Hello community,

here is the log from the commit of package python-slimit for openSUSE:Factory 
checked in at 2018-07-06 10:40:20

Comparing /work/SRC/openSUSE:Factory/python-slimit (Old)
 and  /work/SRC/openSUSE:Factory/.python-slimit.new (New)


Package is "python-slimit"

Fri Jul  6 10:40:20 2018 rev:11 rq:620056 version:0.8.1

Changes:

--- /work/SRC/openSUSE:Factory/python-slimit/python-slimit.changes  
2013-10-25 11:32:35.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-slimit.new/python-slimit.changes 
2018-07-06 10:41:02.599322721 +0200
@@ -1,0 +2,10 @@
+Sun Jun 30 13:02:51 UTC 2018 - sor.ale...@meowr.ru
+
+- Update for the multipython build.
+- Do not run tests: there aren't any.
+- Add python-slimit-add-licence.patch: Include the licence file
+  that is present in git since 4111f2d.
+- Add python-slimit-fix-python3.patch: Take commit e833165 from
+  https://github.com/rspivak/slimit/pull/65 by Lele Gaifax.
+
+---
@@ -47 +56,0 @@
-

New:

  python-slimit-add-licence.patch
  python-slimit-fix-python3.patch



Other differences:
--
++ python-slimit.spec ++
--- /var/tmp/diff_new_pack.MqDaoP/_old  2018-07-06 10:41:03.143322074 +0200
+++ /var/tmp/diff_new_pack.MqDaoP/_new  2018-07-06 10:41:03.147322069 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-slimit
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -16,52 +16,71 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define oldpython python
 Name:   python-slimit
 Version:0.8.1
 Release:0
-Url:http://slimit.org
 Summary:JavaScript minifier written in Python
 License:MIT
 Group:  Development/Languages/Python
-Source: 
http://pypi.python.org/packages/source/s/slimit/slimit-%{version}.zip
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  python-devel
-BuildRequires:  python-odict
-BuildRequires:  python-ply >= 3.4
-BuildRequires:  python-setuptools
+URL:https://slimit.readthedocs.io/
+Source: 
https://files.pythonhosted.org/packages/source/s/slimit/slimit-%{version}.zip
+# PATCH-FIX-OPENSUSE python-slimit-add-licence.patch -- Include the licence 
file that is present in git since 4111f2d.
+Patch0: python-slimit-add-licence.patch
+# PATCH-FIX-OPENSUSE python-slimit-fix-python3.patch -- Take commit e833165 
from https://github.com/rspivak/slimit/pull/65 by Lele Gaifax.
+Patch1: python-slimit-fix-python3.patch
+BuildRequires:  %{python_module odict}
+BuildRequires:  %{python_module ply >= 3.4}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 BuildRequires:  unzip
 Requires:   python-odict
 Requires:   python-ply >= 3.4
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:  noarch
+%ifpython2
+# python-slimit was last used in openSUSE Leap 15.0.
+Provides:   %{oldpython}-slimit = %{version}
+Obsoletes:  %{oldpython}-slimit < %{version}
 %endif
 
 %description
-SlimIt is a JavaScript minifier written in Python. It compiles JavaScript into
-more compact code so that it downloads
-and runs faster.
+SlimIt is a JavaScript minifier written in Python. It compiles
+JavaScript into more compact code so that it downloads and runs
+faster.
 
 SlimIt also provides a library that includes a JavaScript parser,
 lexer, pretty printer and a tree visitor.
 
+%python_subpackages
+
 %prep
 %setup -q -n slimit-%{version}
+%patch0 -p1
+%patch1 -p1
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}/
+%python_clone -a %{buildroot}%{_bindir}/slimit
+
+%post
+%python_install_alternative slimit
 
-%check
-python setup.py test
+%postun
+%python_uninstall_alternative slimit
 
-%files
-%defattr(-,root,root)
+%files %{python_files}
+%license LICENSE
 %doc CHANGES README.rst
-%{_bindir}/slimit
-%{python_sitelib}/*
+%python_alternative %{_bindir}/slimit
+%{python_sitelib}/slimit/
+%{python_sitelib}/slimit-*
 
 %changelog

++ python-slimit-add-licence.patch ++
--- a/LICENSE
+++ b/LICENSE
@@ -0,0 +1,19 @@
+Copyright (c) 2011

commit python-slimit for openSUSE:Factory

2013-10-25 Thread h_root
Hello community,

here is the log from the commit of package python-slimit for openSUSE:Factory 
checked in at 2013-10-25 11:32:33

Comparing /work/SRC/openSUSE:Factory/python-slimit (Old)
 and  /work/SRC/openSUSE:Factory/.python-slimit.new (New)


Package is "python-slimit"

Changes:

--- /work/SRC/openSUSE:Factory/python-slimit/python-slimit.changes  
2013-09-11 13:08:16.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-slimit.new/python-slimit.changes 
2013-10-25 11:32:35.0 +0200
@@ -1,0 +2,5 @@
+Thu Oct 24 11:14:36 UTC 2013 - speili...@suse.com
+
+- Require python-setuptools instead of distribute (upstreams merged)
+
+---



Other differences:
--
++ python-slimit.spec ++
--- /var/tmp/diff_new_pack.pZ4R7u/_old  2013-10-25 11:32:37.0 +0200
+++ /var/tmp/diff_new_pack.pZ4R7u/_new  2013-10-25 11:32:37.0 +0200
@@ -26,9 +26,9 @@
 Source: 
http://pypi.python.org/packages/source/s/slimit/slimit-%{version}.zip
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-devel
-BuildRequires:  python-distribute
 BuildRequires:  python-odict
 BuildRequires:  python-ply >= 3.4
+BuildRequires:  python-setuptools
 BuildRequires:  unzip
 Requires:   python-odict
 Requires:   python-ply >= 3.4


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-slimit for openSUSE:Factory

2013-09-11 Thread h_root
Hello community,

here is the log from the commit of package python-slimit for openSUSE:Factory 
checked in at 2013-09-11 13:08:14

Comparing /work/SRC/openSUSE:Factory/python-slimit (Old)
 and  /work/SRC/openSUSE:Factory/.python-slimit.new (New)


Package is "python-slimit"

Changes:

--- /work/SRC/openSUSE:Factory/python-slimit/python-slimit.changes  
2013-09-08 15:27:55.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-slimit.new/python-slimit.changes 
2013-09-11 13:08:16.0 +0200
@@ -1,0 +2,13 @@
+Tue Sep 10 18:37:51 UTC 2013 - os-...@jacraig.com
+
+- Update to 0.8.1:
+  * Bug fix: Fix syntax error in the output of for statement with some form of
+expressions
+- Changes from 0.8.0:
+  * Python 3.x support
+  * Bug fix: slimit removes parentheses from ternary expression, causes syntax
+error in jQuery
+  * Bug fix: simple identifier in FOR init
+  * Bug fix: using $ for mangled function names conflicts with jQuery
+
+---

Old:

  slimit-0.7.4.zip

New:

  slimit-0.8.1.zip



Other differences:
--
++ python-slimit.spec ++
--- /var/tmp/diff_new_pack.SklcOw/_old  2013-09-11 13:08:16.0 +0200
+++ /var/tmp/diff_new_pack.SklcOw/_new  2013-09-11 13:08:16.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   python-slimit
-Version:0.7.4
+Version:0.8.1
 Release:0
 Url:http://slimit.org
 Summary:JavaScript minifier written in Python

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-slimit for openSUSE:Factory

2013-09-08 Thread h_root
Hello community,

here is the log from the commit of package python-slimit for openSUSE:Factory 
checked in at 2013-09-08 15:27:54

Comparing /work/SRC/openSUSE:Factory/python-slimit (Old)
 and  /work/SRC/openSUSE:Factory/.python-slimit.new (New)


Package is "python-slimit"

Changes:

--- /work/SRC/openSUSE:Factory/python-slimit/python-slimit.changes  
2012-06-26 17:26:10.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-slimit.new/python-slimit.changes 
2013-09-08 15:27:55.0 +0200
@@ -1,0 +2,5 @@
+Thu Sep  5 21:14:10 UTC 2013 - os-...@jacraig.com
+
+- Add requires for odict and ply >= 3.4, they are necessary to run slimit.
+
+---



Other differences:
--
++ python-slimit.spec ++
--- /var/tmp/diff_new_pack.uGSICi/_old  2013-09-08 15:27:56.0 +0200
+++ /var/tmp/diff_new_pack.uGSICi/_new  2013-09-08 15:27:56.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-slimit
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -30,6 +30,8 @@
 BuildRequires:  python-odict
 BuildRequires:  python-ply >= 3.4
 BuildRequires:  unzip
+Requires:   python-odict
+Requires:   python-ply >= 3.4
 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
 %{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
 %else


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-slimit for openSUSE:Factory

2012-06-26 Thread h_root
Hello community,

here is the log from the commit of package python-slimit for openSUSE:Factory 
checked in at 2012-06-26 17:25:53

Comparing /work/SRC/openSUSE:Factory/python-slimit (Old)
 and  /work/SRC/openSUSE:Factory/.python-slimit.new (New)


Package is "python-slimit", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/python-slimit/python-slimit.changes  
2012-04-12 09:51:08.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-slimit.new/python-slimit.changes 
2012-06-26 17:26:10.0 +0200
@@ -1,0 +2,13 @@
+Fri Jun 22 00:52:14 UTC 2012 - os-...@jacraig.com
+
+- Update to 0.7.4:
+  * Bug fix: https://github.com/rspivak/slimit/issues/34 'class' is reserved
+keyword now
+- Changes from 0.7 to 0.7.3:
+  * Bug fix (unary op in FOR init)
+  * Added support for get/set properties
+  * Function call support in FOR init section
+  * Multiline string support
+- Added >= 3.4 to python-ply requirement, setup.py indicates that version
+
+---

Old:

  slimit-0.6.2.zip

New:

  slimit-0.7.4.zip



Other differences:
--
++ python-slimit.spec ++
--- /var/tmp/diff_new_pack.slUVEw/_old  2012-06-26 17:26:12.0 +0200
+++ /var/tmp/diff_new_pack.slUVEw/_new  2012-06-26 17:26:12.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   python-slimit
-Version:0.6.2
+Version:0.7.4
 Release:0
 Url:http://slimit.org
 Summary:JavaScript minifier written in Python
@@ -28,7 +28,7 @@
 BuildRequires:  python-devel
 BuildRequires:  python-distribute
 BuildRequires:  python-odict
-BuildRequires:  python-ply
+BuildRequires:  python-ply >= 3.4
 BuildRequires:  unzip
 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
 %{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
@@ -57,7 +57,7 @@
 python setup.py test
 
 %files
-%defattr(-,root,root,-)
+%defattr(-,root,root)
 %doc CHANGES README.rst
 %{_bindir}/slimit
 %{python_sitelib}/*

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-slimit for openSUSE:Factory

2012-04-12 Thread h_root
Hello community,

here is the log from the commit of package python-slimit for openSUSE:Factory 
checked in at 2012-04-12 09:47:49

Comparing /work/SRC/openSUSE:Factory/python-slimit (Old)
 and  /work/SRC/openSUSE:Factory/.python-slimit.new (New)


Package is "python-slimit", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/python-slimit/python-slimit.changes  
2012-03-20 11:34:01.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-slimit.new/python-slimit.changes 
2012-04-12 09:47:53.0 +0200
@@ -1,0 +2,6 @@
+Tue Apr 10 08:57:26 UTC 2012 - sasc...@suse.de
+
+- Update to version 0.6.2:
+  * Better multiline handling
+
+---

Old:

  slimit-0.6.zip

New:

  slimit-0.6.2.zip



Other differences:
--
++ python-slimit.spec ++
--- /var/tmp/diff_new_pack.Cevyhn/_old  2012-04-12 09:47:54.0 +0200
+++ /var/tmp/diff_new_pack.Cevyhn/_new  2012-04-12 09:47:54.0 +0200
@@ -11,12 +11,13 @@
 # case the license is the MIT License). An "Open Source License" is a
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
-#
+
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:   python-slimit
-Version:0.6
+Version:0.6.2
 Release:0
 Url:http://slimit.org
 Summary:JavaScript minifier written in Python

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-slimit for openSUSE:Factory

2012-03-20 Thread h_root
Hello community,

here is the log from the commit of package python-slimit for openSUSE:Factory 
checked in at 2012-03-20 11:34:00

Comparing /work/SRC/openSUSE:Factory/python-slimit (Old)
 and  /work/SRC/openSUSE:Factory/.python-slimit.new (New)


Package is "python-slimit", Maintainer is ""

Changes:

New Changes file:

--- /dev/null   2012-03-17 10:42:43.883537212 +0100
+++ /work/SRC/openSUSE:Factory/.python-slimit.new/python-slimit.changes 
2012-03-20 11:34:01.0 +0100
@@ -0,0 +1,5 @@
+---
+Mon Mar 12 08:43:00 UTC 2012 - sasc...@suse.de
+
+- Initial version
+

New:

  python-slimit.changes
  python-slimit.spec
  slimit-0.6.zip



Other differences:
--
++ python-slimit.spec ++
#
# spec file for package python-slimit
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

Name:   python-slimit
Version:0.6
Release:0
Url:http://slimit.org
Summary:JavaScript minifier written in Python
License:MIT
Group:  Development/Languages/Python
Source: 
http://pypi.python.org/packages/source/s/slimit/slimit-%{version}.zip
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python-devel
BuildRequires:  python-distribute
BuildRequires:  python-odict
BuildRequires:  python-ply
BuildRequires:  unzip
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch:  noarch
%endif

%description
SlimIt is a JavaScript minifier written in Python. It compiles JavaScript into
more compact code so that it downloads
and runs faster.

SlimIt also provides a library that includes a JavaScript parser,
lexer, pretty printer and a tree visitor.

%prep
%setup -q -n slimit-%{version}

%build
python setup.py build

%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}

%check
python setup.py test

%files
%defattr(-,root,root,-)
%doc CHANGES README.rst
%{_bindir}/slimit
%{python_sitelib}/*

%changelog
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org