Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-jsmin for openSUSE:Factory 
checked in at 2022-02-09 20:39:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jsmin (Old)
 and      /work/SRC/openSUSE:Factory/.python-jsmin.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-jsmin"

Wed Feb  9 20:39:32 2022 rev:3 rq:952804 version:3.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-jsmin/python-jsmin.changes        
2021-06-01 10:35:54.372654147 +0200
+++ /work/SRC/openSUSE:Factory/.python-jsmin.new.1898/python-jsmin.changes      
2022-02-09 20:40:46.342601627 +0100
@@ -1,0 +2,7 @@
+Tue Feb  8 19:53:55 UTC 2022 - Dirk M??ller <[email protected]>
+
+- update to 3.0.1:
+  * Breaking Change: Removed support for Python 2
+  * Removed usage of use_2to3 in setup.py
+
+-------------------------------------------------------------------

Old:
----
  jsmin-2.2.2.tar.gz

New:
----
  jsmin-3.0.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-jsmin.spec ++++++
--- /var/tmp/diff_new_pack.tEgsYV/_old  2022-02-09 20:40:46.822602775 +0100
+++ /var/tmp/diff_new_pack.tEgsYV/_new  2022-02-09 20:40:46.826602785 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jsmin
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,21 +16,21 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{?!python_module:%define python_module() python3-%{**}}
+%global skip_python2 1
 Name:           python-jsmin
-Version:        2.2.2
+Version:        3.0.1
 Release:        0
-License:        MIT
 Summary:        JavaScript minifier
-URL:            https://github.com/tikitu/jsmin/
+License:        MIT
 Group:          Development/Languages/Python
+URL:            https://github.com/tikitu/jsmin/
 Source:         
https://files.pythonhosted.org/packages/source/j/jsmin/jsmin-%{version}.tar.gz
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildArch:      noarch
-
 %python_subpackages
 
 %description

++++++ jsmin-2.2.2.tar.gz -> jsmin-3.0.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsmin-2.2.2/CHANGELOG.txt 
new/jsmin-3.0.1/CHANGELOG.txt
--- old/jsmin-2.2.2/CHANGELOG.txt       2017-05-01 19:55:13.000000000 +0200
+++ new/jsmin-3.0.1/CHANGELOG.txt       2021-09-17 08:45:27.000000000 +0200
@@ -1,6 +1,13 @@
 Changelog
 =========
 
+v3.0.0 (2021-09-08) Ben Bradshaw
+--------------------------------
+
+- Breaking Change: Removed support for Python 2
+
+- Removed usage of use_2to3 in setup.py
+
 v2.2.2 (2017-05-01) Tikitu de Jager
 -----------------------------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsmin-2.2.2/PKG-INFO new/jsmin-3.0.1/PKG-INFO
--- old/jsmin-2.2.2/PKG-INFO    2017-05-01 19:56:34.000000000 +0200
+++ new/jsmin-3.0.1/PKG-INFO    2022-01-16 21:34:32.942735400 +0100
@@ -1,185 +1,199 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
 Name: jsmin
-Version: 2.2.2
+Version: 3.0.1
 Summary: JavaScript minifier.
 Home-page: https://github.com/tikitu/jsmin/
-Author: Tikitu de Jager
-Author-email: [email protected]
+Author: Dave St.Germain
+Author-email: [email protected]
+Maintainer: Tikitu de Jager
+Maintainer-email: [email protected]
 License: MIT License
-Description: =====
-        jsmin
-        =====
-        
-        JavaScript minifier.
-        
-        Usage
-        =====
-        
-        .. code:: python
-        
-         from jsmin import jsmin
-         with open('myfile.js') as js_file:
-             minified = jsmin(js_file.read())
-        
-        You can run it as a commandline tool also::
-        
-          python -m jsmin myfile.js
-        
-        NB: ``jsmin`` makes no attempt to be compatible with
-        `ECMAScript 6 / ES.next / Harmony 
<http://wiki.ecmascript.org/doku.php?id=harmony:specification_drafts>`_.
-        The current maintainer does not intend to add ES6-compatibility. If 
you would
-        like to take over maintenance and update ``jsmin`` for ES6, please 
contact
-        `Tikitu de Jager <mailto:[email protected]>`_. Pull requests 
are also
-        welcome, of course, but my time to review them is somewhat limited 
these days.
-        
-        If you're using ``jsmin`` on ES6 code, though, you might find the 
``quote_chars``
-        parameter useful:
-        
-        .. code:: python
-        
-         from jsmin import jsmin
-         with open('myfile.js') as js_file:
-             minified = jsmin(js_file.read(), quote_chars="'\"`")
-        
-        
-        Where to get it
-        ===============
-        
-        * install the package `from pypi 
<https://pypi.python.org/pypi/jsmin/>`_
-        * get the latest release `from latest-release on github 
<https://github.com/tikitu/jsmin/tree/latest-release/jsmin>`_
-        * get the development version `from master on github 
<https://github.com/tikitu/jsmin/>`_
-        
-        Contributing
-        ============
-        
-        `Issues <https://github.com/tikitu/jsmin/issues>`_ and `Pull requests 
<https://github.com/tikitu/jsmin/pulls>`_
-        will be gratefully received on Github. The project used to be hosted
-        `on bitbucket <https://bitbucket.org/dcs/jsmin/>`_ and old issues can 
still be
-        found there.
-        
-        If possible, please make separate pull requests for tests and for 
code: tests will be added to the `latest-release` branch while code will go to 
`master`.
-        
-        Unless you request otherwise, your Github identity will be added to 
the contributor's list below; if you prefer a
-        different name feel free to add it in your pull request instead. (If 
you prefer not to be mentioned you'll have to let
-        the maintainer know somehow.)
-        
-        Build/test status
-        =================
-        
-        Both branches are tested with Travis: 
https://travis-ci.org/tikitu/jsmin
-        
-        The `latest-release` branch (the version on PyPI plus any new tests) 
is tested against CPython 2.6, 2.7, 3.2, and 3.3.
-        Currently:
-        
-        .. image:: https://travis-ci.org/tikitu/jsmin.png?branch=latest-release
-        
-        If that branch is failing that means there's a new test that fails on 
*the latest released version on pypi*, with no fix yet
-        released.
-        
-        The `master` branch (development version, might be ahead of latest 
released version) is tested against CPython 2.6, 2.7, 3.2, and
-        3.3. Currently:
-        
-        .. image:: https://travis-ci.org/tikitu/jsmin.png?branch=master
-        
-        If `master` is failing don't use it, but as long as `latest-release` 
is passing the pypi release should be ok.
-        
-        Contributors (chronological commit order)
-        =========================================
-        
-        * `Dave St.Germain <https://bitbucket.org/dcs>`_ (original author)
-        * `Hans weltar <https://bitbucket.org/hansweltar>`_
-        * `Tikitu de Jager <mailto:[email protected]>`_ (current 
maintainer)
-        * https://bitbucket.org/rennat
-        * `Nick Alexander <https://bitbucket.org/ncalexan>`_
-        * `Gennady Kovshenin <https://github.com/soulseekah>`_
-        * `Matt Molyneaux <https://github.com/moggers87>`_
-        * `Albert Wang <https://github.com/albertyw>`_
-        
-        Changelog
-        =========
-        
-        v2.2.2 (2017-05-01) Tikitu de Jager
-        -----------------------------------
-        
-        - Add license headers to code files (fixes i#17)
-        
-        - Remove mercurial files (fixes #20)
-        
-        v2.2.1 (2016-03-06) Tikitu de Jager
-        -----------------------------------
-        
-        - Fix #14: Infinite loop on `return x / 1;`
-        
-        v2.2.0 (2015-12-19) Tikitu de Jager
-        -----------------------------------
-        
-        - Merge #13: Preserve "loud comments" starting with `/*!`
-        
-          These are commonly used for copyright notices, and are preserved by 
various
-          other minifiers (e.g. YUI Compressor).
-        
-        v2.1.6 (2015-10-14) Tikitu de Jager
-        -----------------------------------
-        
-        - Fix #12: Newline following a regex literal should not be elided.
-        
-        v2.1.5 (2015-10-11) Tikitu de Jager
-        -----------------------------------
-        
-        - Fix #9: Premature end of statement caused by multi-line comment not
-          adding newline.
-        
-        - Fix #10: Removing multiline comment separating tokens must leave a 
space.
-        
-        - Refactor comment handling for maintainability.
-        
-        v2.1.4 (2015-08-23) Tikitu de Jager
-        -----------------------------------
-        
-        - Fix #6: regex literal matching comment was not correctly matched.
-        
-        - Refactor regex literal handling for robustness.
-        
-        v2.1.3 (2015-08-09) Tikitu de Jager
-        -----------------------------------
-        
-        - Reset issue numbering: issues live in github from now on.
-        
-        - Fix #1: regex literal was not recognised when occurring directly 
after `{`.
-        
-        v2.1.2 (2015-07-12) Tikitu de Jager
-        -----------------------------------
-        
-        - Issue numbers here and below refer to the bitbucket repository.
-        
-        - Fix #17: bug when JS starts with comment then literal regex.
-        
-        v2.1.1 (2015-02-14) Tikitu de Jager
-        -----------------------------------
-        
-        - Fix #16: bug returning a literal regex containing escaped 
forward-slashes.
-        
-        v2.1.0 (2014-12-24) Tikitu de Jager
-        -----------------------------------
-        
-        - First changelog entries; see README.rst for prior contributors.
-        
-        - Expose quote_chars parameter to provide just enough unofficial 
Harmony
-          support to be useful.
-        
-        
 Platform: UNKNOWN
 Classifier: Development Status :: 5 - Production/Stable
 Classifier: Environment :: Web Environment
 Classifier: Intended Audience :: Developers
 Classifier: License :: OSI Approved :: MIT License
 Classifier: Operating System :: OS Independent
-Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 2.6
-Classifier: Programming Language :: Python :: 2.7
-Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.2
-Classifier: Programming Language :: Python :: 3.3
+Classifier: Programming Language :: Python :: 3 :: Only
 Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
 Classifier: Topic :: Software Development :: Pre-processors
 Classifier: Topic :: Text Processing :: Filters
+License-File: LICENSE.txt
+
+=====
+jsmin
+=====
+
+JavaScript minifier.
+
+Usage
+=====
+
+.. code:: python
+
+ from jsmin import jsmin
+ with open('myfile.js') as js_file:
+     minified = jsmin(js_file.read())
+
+You can run it as a commandline tool also::
+
+  python -m jsmin myfile.js
+
+NB: ``jsmin`` makes no attempt to be compatible with
+`ECMAScript 6 / ES.next / Harmony 
<http://wiki.ecmascript.org/doku.php?id=harmony:specification_drafts>`_.
+The current maintainer does not intend to add ES6-compatibility. If you would
+like to take over maintenance and update ``jsmin`` for ES6, please contact
+`Tikitu de Jager <mailto:[email protected]>`_. Pull requests are also
+welcome, of course, but my time to review them is somewhat limited these days.
+
+If you're using ``jsmin`` on ES6 code, though, you might find the 
``quote_chars``
+parameter useful:
+
+.. code:: python
+
+ from jsmin import jsmin
+ with open('myfile.js') as js_file:
+     minified = jsmin(js_file.read(), quote_chars="'\"`")
+
+
+Where to get it
+===============
+
+* install the package `from pypi <https://pypi.python.org/pypi/jsmin/>`_
+* get the latest release `from latest-release on github 
<https://github.com/tikitu/jsmin/tree/latest-release/jsmin>`_
+* get the development version `from master on github 
<https://github.com/tikitu/jsmin/>`_
+
+
+Python 2 support removed
+========================
+
+Python 2 support was removed in version 3.0.0. If you need to support Python 
2, please use version 2.2.2 with setuptools<58.
+
+Contributing
+============
+
+`Issues <https://github.com/tikitu/jsmin/issues>`_ and `Pull requests 
<https://github.com/tikitu/jsmin/pulls>`_
+will be gratefully received on Github. The project used to be hosted
+`on bitbucket <https://bitbucket.org/dcs/jsmin/>`_ and old issues can still be
+found there.
+
+If possible, please make separate pull requests for tests and for code: tests 
will be added to the `latest-release` branch while code will go to `master`.
+
+Unless you request otherwise, your Github identity will be added to the 
contributor's list below; if you prefer a
+different name feel free to add it in your pull request instead. (If you 
prefer not to be mentioned you'll have to let
+the maintainer know somehow.)
+
+Build/test status
+=================
+
+Both branches are tested with Travis: https://travis-ci.org/tikitu/jsmin
+
+The `latest-release` branch (the version on PyPI plus any new tests) is tested 
against CPython 3.
+Currently:
+
+.. image:: https://travis-ci.org/tikitu/jsmin.png?branch=latest-release
+
+If that branch is failing that means there's a new test that fails on *the 
latest released version on pypi*, with no fix yet
+released.
+
+The `master` branch (development version, might be ahead of latest released 
version) is tested against CPython 3.
+Currently:
+
+.. image:: https://travis-ci.org/tikitu/jsmin.png?branch=master
+
+If `master` is failing don't use it, but as long as `latest-release` is 
passing the pypi release should be ok.
+
+Contributors (chronological commit order)
+=========================================
+
+* `Dave St.Germain <https://bitbucket.org/dcs>`_ (original author)
+* `Hans weltar <https://bitbucket.org/hansweltar>`_
+* `Tikitu de Jager <mailto:[email protected]>`_ (current maintainer)
+* https://bitbucket.org/rennat
+* `Nick Alexander <https://bitbucket.org/ncalexan>`_
+* `Gennady Kovshenin <https://github.com/soulseekah>`_
+* `Matt Molyneaux <https://github.com/moggers87>`_
+* `Albert Wang <https://github.com/albertyw>`_
+* `Ben Bradshaw <https://github.com/serenecloud>`_
+
+Changelog
+=========
+
+v3.0.0 (2021-09-08) Ben Bradshaw
+--------------------------------
+
+- Breaking Change: Removed support for Python 2
+
+- Removed usage of use_2to3 in setup.py
+
+v2.2.2 (2017-05-01) Tikitu de Jager
+-----------------------------------
+
+- Add license headers to code files (fixes i#17)
+
+- Remove mercurial files (fixes #20)
+
+v2.2.1 (2016-03-06) Tikitu de Jager
+-----------------------------------
+
+- Fix #14: Infinite loop on `return x / 1;`
+
+v2.2.0 (2015-12-19) Tikitu de Jager
+-----------------------------------
+
+- Merge #13: Preserve "loud comments" starting with `/*!`
+
+  These are commonly used for copyright notices, and are preserved by various
+  other minifiers (e.g. YUI Compressor).
+
+v2.1.6 (2015-10-14) Tikitu de Jager
+-----------------------------------
+
+- Fix #12: Newline following a regex literal should not be elided.
+
+v2.1.5 (2015-10-11) Tikitu de Jager
+-----------------------------------
+
+- Fix #9: Premature end of statement caused by multi-line comment not
+  adding newline.
+
+- Fix #10: Removing multiline comment separating tokens must leave a space.
+
+- Refactor comment handling for maintainability.
+
+v2.1.4 (2015-08-23) Tikitu de Jager
+-----------------------------------
+
+- Fix #6: regex literal matching comment was not correctly matched.
+
+- Refactor regex literal handling for robustness.
+
+v2.1.3 (2015-08-09) Tikitu de Jager
+-----------------------------------
+
+- Reset issue numbering: issues live in github from now on.
+
+- Fix #1: regex literal was not recognised when occurring directly after `{`.
+
+v2.1.2 (2015-07-12) Tikitu de Jager
+-----------------------------------
+
+- Issue numbers here and below refer to the bitbucket repository.
+
+- Fix #17: bug when JS starts with comment then literal regex.
+
+v2.1.1 (2015-02-14) Tikitu de Jager
+-----------------------------------
+
+- Fix #16: bug returning a literal regex containing escaped forward-slashes.
+
+v2.1.0 (2014-12-24) Tikitu de Jager
+-----------------------------------
+
+- First changelog entries; see README.rst for prior contributors.
+
+- Expose quote_chars parameter to provide just enough unofficial Harmony
+  support to be useful.
+
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsmin-2.2.2/README.rst new/jsmin-3.0.1/README.rst
--- old/jsmin-2.2.2/README.rst  2017-05-01 19:49:46.000000000 +0200
+++ new/jsmin-3.0.1/README.rst  2021-09-17 08:45:27.000000000 +0200
@@ -41,6 +41,12 @@
 * get the latest release `from latest-release on github 
<https://github.com/tikitu/jsmin/tree/latest-release/jsmin>`_
 * get the development version `from master on github 
<https://github.com/tikitu/jsmin/>`_
 
+
+Python 2 support removed
+========================
+
+Python 2 support was removed in version 3.0.0. If you need to support Python 
2, please use version 2.2.2 with setuptools<58.
+
 Contributing
 ============
 
@@ -60,7 +66,7 @@
 
 Both branches are tested with Travis: https://travis-ci.org/tikitu/jsmin
 
-The `latest-release` branch (the version on PyPI plus any new tests) is tested 
against CPython 2.6, 2.7, 3.2, and 3.3.
+The `latest-release` branch (the version on PyPI plus any new tests) is tested 
against CPython 3.
 Currently:
 
 .. image:: https://travis-ci.org/tikitu/jsmin.png?branch=latest-release
@@ -68,8 +74,8 @@
 If that branch is failing that means there's a new test that fails on *the 
latest released version on pypi*, with no fix yet
 released.
 
-The `master` branch (development version, might be ahead of latest released 
version) is tested against CPython 2.6, 2.7, 3.2, and
-3.3. Currently:
+The `master` branch (development version, might be ahead of latest released 
version) is tested against CPython 3.
+Currently:
 
 .. image:: https://travis-ci.org/tikitu/jsmin.png?branch=master
 
@@ -86,3 +92,4 @@
 * `Gennady Kovshenin <https://github.com/soulseekah>`_
 * `Matt Molyneaux <https://github.com/moggers87>`_
 * `Albert Wang <https://github.com/albertyw>`_
+* `Ben Bradshaw <https://github.com/serenecloud>`_
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsmin-2.2.2/jsmin/__init__.py 
new/jsmin-3.0.1/jsmin/__init__.py
--- old/jsmin-2.2.2/jsmin/__init__.py   2017-05-01 19:55:32.000000000 +0200
+++ new/jsmin-3.0.1/jsmin/__init__.py   2022-01-16 21:12:48.000000000 +0100
@@ -26,35 +26,17 @@
 # THE SOFTWARE.
 
 
-import sys
-is_3 = sys.version_info >= (3, 0)
-if is_3:
-    import io
-else:
-    import StringIO
-    try:
-        import cStringIO
-    except ImportError:
-        cStringIO = None
-
+import io
 
 __all__ = ['jsmin', 'JavascriptMinify']
-__version__ = '2.2.2'
+__version__ = '3.0.1'
 
 
 def jsmin(js, **kwargs):
     """
     returns a minified version of the javascript string
     """
-    if not is_3:        
-        if cStringIO and not isinstance(js, unicode):
-            # strings can use cStringIO for a 3x performance
-            # improvement, but unicode (in python2) cannot
-            klass = cStringIO.StringIO
-        else:
-            klass = StringIO.StringIO
-    else:
-        klass = io.StringIO
+    klass = io.StringIO
     ins = klass(js)
     outs = klass()
     JavascriptMinify(ins, outs, **kwargs).minify()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsmin-2.2.2/jsmin/test.py 
new/jsmin-3.0.1/jsmin/test.py
--- old/jsmin-2.2.2/jsmin/test.py       2017-05-01 19:49:46.000000000 +0200
+++ new/jsmin-3.0.1/jsmin/test.py       2022-01-16 21:12:41.000000000 +0100
@@ -592,15 +592,7 @@
 class RegexTests(unittest.TestCase):
 
     def regex_recognise(self, js):
-        if not jsmin.is_3:
-            if jsmin.cStringIO and not isinstance(js, unicode):
-                # strings can use cStringIO for a 3x performance
-                # improvement, but unicode (in python2) cannot
-                klass = jsmin.cStringIO.StringIO
-            else:
-                klass = jsmin.StringIO.StringIO
-        else:
-            klass = jsmin.io.StringIO
+        klass = jsmin.io.StringIO
         ins = klass(js[2:])
         outs = klass()
         jsmin.JavascriptMinify(ins, outs).regex_literal(js[0], js[1])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsmin-2.2.2/jsmin.egg-info/PKG-INFO 
new/jsmin-3.0.1/jsmin.egg-info/PKG-INFO
--- old/jsmin-2.2.2/jsmin.egg-info/PKG-INFO     2017-05-01 19:56:34.000000000 
+0200
+++ new/jsmin-3.0.1/jsmin.egg-info/PKG-INFO     2022-01-16 21:34:32.000000000 
+0100
@@ -1,185 +1,199 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
 Name: jsmin
-Version: 2.2.2
+Version: 3.0.1
 Summary: JavaScript minifier.
 Home-page: https://github.com/tikitu/jsmin/
-Author: Tikitu de Jager
-Author-email: [email protected]
+Author: Dave St.Germain
+Author-email: [email protected]
+Maintainer: Tikitu de Jager
+Maintainer-email: [email protected]
 License: MIT License
-Description: =====
-        jsmin
-        =====
-        
-        JavaScript minifier.
-        
-        Usage
-        =====
-        
-        .. code:: python
-        
-         from jsmin import jsmin
-         with open('myfile.js') as js_file:
-             minified = jsmin(js_file.read())
-        
-        You can run it as a commandline tool also::
-        
-          python -m jsmin myfile.js
-        
-        NB: ``jsmin`` makes no attempt to be compatible with
-        `ECMAScript 6 / ES.next / Harmony 
<http://wiki.ecmascript.org/doku.php?id=harmony:specification_drafts>`_.
-        The current maintainer does not intend to add ES6-compatibility. If 
you would
-        like to take over maintenance and update ``jsmin`` for ES6, please 
contact
-        `Tikitu de Jager <mailto:[email protected]>`_. Pull requests 
are also
-        welcome, of course, but my time to review them is somewhat limited 
these days.
-        
-        If you're using ``jsmin`` on ES6 code, though, you might find the 
``quote_chars``
-        parameter useful:
-        
-        .. code:: python
-        
-         from jsmin import jsmin
-         with open('myfile.js') as js_file:
-             minified = jsmin(js_file.read(), quote_chars="'\"`")
-        
-        
-        Where to get it
-        ===============
-        
-        * install the package `from pypi 
<https://pypi.python.org/pypi/jsmin/>`_
-        * get the latest release `from latest-release on github 
<https://github.com/tikitu/jsmin/tree/latest-release/jsmin>`_
-        * get the development version `from master on github 
<https://github.com/tikitu/jsmin/>`_
-        
-        Contributing
-        ============
-        
-        `Issues <https://github.com/tikitu/jsmin/issues>`_ and `Pull requests 
<https://github.com/tikitu/jsmin/pulls>`_
-        will be gratefully received on Github. The project used to be hosted
-        `on bitbucket <https://bitbucket.org/dcs/jsmin/>`_ and old issues can 
still be
-        found there.
-        
-        If possible, please make separate pull requests for tests and for 
code: tests will be added to the `latest-release` branch while code will go to 
`master`.
-        
-        Unless you request otherwise, your Github identity will be added to 
the contributor's list below; if you prefer a
-        different name feel free to add it in your pull request instead. (If 
you prefer not to be mentioned you'll have to let
-        the maintainer know somehow.)
-        
-        Build/test status
-        =================
-        
-        Both branches are tested with Travis: 
https://travis-ci.org/tikitu/jsmin
-        
-        The `latest-release` branch (the version on PyPI plus any new tests) 
is tested against CPython 2.6, 2.7, 3.2, and 3.3.
-        Currently:
-        
-        .. image:: https://travis-ci.org/tikitu/jsmin.png?branch=latest-release
-        
-        If that branch is failing that means there's a new test that fails on 
*the latest released version on pypi*, with no fix yet
-        released.
-        
-        The `master` branch (development version, might be ahead of latest 
released version) is tested against CPython 2.6, 2.7, 3.2, and
-        3.3. Currently:
-        
-        .. image:: https://travis-ci.org/tikitu/jsmin.png?branch=master
-        
-        If `master` is failing don't use it, but as long as `latest-release` 
is passing the pypi release should be ok.
-        
-        Contributors (chronological commit order)
-        =========================================
-        
-        * `Dave St.Germain <https://bitbucket.org/dcs>`_ (original author)
-        * `Hans weltar <https://bitbucket.org/hansweltar>`_
-        * `Tikitu de Jager <mailto:[email protected]>`_ (current 
maintainer)
-        * https://bitbucket.org/rennat
-        * `Nick Alexander <https://bitbucket.org/ncalexan>`_
-        * `Gennady Kovshenin <https://github.com/soulseekah>`_
-        * `Matt Molyneaux <https://github.com/moggers87>`_
-        * `Albert Wang <https://github.com/albertyw>`_
-        
-        Changelog
-        =========
-        
-        v2.2.2 (2017-05-01) Tikitu de Jager
-        -----------------------------------
-        
-        - Add license headers to code files (fixes i#17)
-        
-        - Remove mercurial files (fixes #20)
-        
-        v2.2.1 (2016-03-06) Tikitu de Jager
-        -----------------------------------
-        
-        - Fix #14: Infinite loop on `return x / 1;`
-        
-        v2.2.0 (2015-12-19) Tikitu de Jager
-        -----------------------------------
-        
-        - Merge #13: Preserve "loud comments" starting with `/*!`
-        
-          These are commonly used for copyright notices, and are preserved by 
various
-          other minifiers (e.g. YUI Compressor).
-        
-        v2.1.6 (2015-10-14) Tikitu de Jager
-        -----------------------------------
-        
-        - Fix #12: Newline following a regex literal should not be elided.
-        
-        v2.1.5 (2015-10-11) Tikitu de Jager
-        -----------------------------------
-        
-        - Fix #9: Premature end of statement caused by multi-line comment not
-          adding newline.
-        
-        - Fix #10: Removing multiline comment separating tokens must leave a 
space.
-        
-        - Refactor comment handling for maintainability.
-        
-        v2.1.4 (2015-08-23) Tikitu de Jager
-        -----------------------------------
-        
-        - Fix #6: regex literal matching comment was not correctly matched.
-        
-        - Refactor regex literal handling for robustness.
-        
-        v2.1.3 (2015-08-09) Tikitu de Jager
-        -----------------------------------
-        
-        - Reset issue numbering: issues live in github from now on.
-        
-        - Fix #1: regex literal was not recognised when occurring directly 
after `{`.
-        
-        v2.1.2 (2015-07-12) Tikitu de Jager
-        -----------------------------------
-        
-        - Issue numbers here and below refer to the bitbucket repository.
-        
-        - Fix #17: bug when JS starts with comment then literal regex.
-        
-        v2.1.1 (2015-02-14) Tikitu de Jager
-        -----------------------------------
-        
-        - Fix #16: bug returning a literal regex containing escaped 
forward-slashes.
-        
-        v2.1.0 (2014-12-24) Tikitu de Jager
-        -----------------------------------
-        
-        - First changelog entries; see README.rst for prior contributors.
-        
-        - Expose quote_chars parameter to provide just enough unofficial 
Harmony
-          support to be useful.
-        
-        
 Platform: UNKNOWN
 Classifier: Development Status :: 5 - Production/Stable
 Classifier: Environment :: Web Environment
 Classifier: Intended Audience :: Developers
 Classifier: License :: OSI Approved :: MIT License
 Classifier: Operating System :: OS Independent
-Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 2.6
-Classifier: Programming Language :: Python :: 2.7
-Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.2
-Classifier: Programming Language :: Python :: 3.3
+Classifier: Programming Language :: Python :: 3 :: Only
 Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
 Classifier: Topic :: Software Development :: Pre-processors
 Classifier: Topic :: Text Processing :: Filters
+License-File: LICENSE.txt
+
+=====
+jsmin
+=====
+
+JavaScript minifier.
+
+Usage
+=====
+
+.. code:: python
+
+ from jsmin import jsmin
+ with open('myfile.js') as js_file:
+     minified = jsmin(js_file.read())
+
+You can run it as a commandline tool also::
+
+  python -m jsmin myfile.js
+
+NB: ``jsmin`` makes no attempt to be compatible with
+`ECMAScript 6 / ES.next / Harmony 
<http://wiki.ecmascript.org/doku.php?id=harmony:specification_drafts>`_.
+The current maintainer does not intend to add ES6-compatibility. If you would
+like to take over maintenance and update ``jsmin`` for ES6, please contact
+`Tikitu de Jager <mailto:[email protected]>`_. Pull requests are also
+welcome, of course, but my time to review them is somewhat limited these days.
+
+If you're using ``jsmin`` on ES6 code, though, you might find the 
``quote_chars``
+parameter useful:
+
+.. code:: python
+
+ from jsmin import jsmin
+ with open('myfile.js') as js_file:
+     minified = jsmin(js_file.read(), quote_chars="'\"`")
+
+
+Where to get it
+===============
+
+* install the package `from pypi <https://pypi.python.org/pypi/jsmin/>`_
+* get the latest release `from latest-release on github 
<https://github.com/tikitu/jsmin/tree/latest-release/jsmin>`_
+* get the development version `from master on github 
<https://github.com/tikitu/jsmin/>`_
+
+
+Python 2 support removed
+========================
+
+Python 2 support was removed in version 3.0.0. If you need to support Python 
2, please use version 2.2.2 with setuptools<58.
+
+Contributing
+============
+
+`Issues <https://github.com/tikitu/jsmin/issues>`_ and `Pull requests 
<https://github.com/tikitu/jsmin/pulls>`_
+will be gratefully received on Github. The project used to be hosted
+`on bitbucket <https://bitbucket.org/dcs/jsmin/>`_ and old issues can still be
+found there.
+
+If possible, please make separate pull requests for tests and for code: tests 
will be added to the `latest-release` branch while code will go to `master`.
+
+Unless you request otherwise, your Github identity will be added to the 
contributor's list below; if you prefer a
+different name feel free to add it in your pull request instead. (If you 
prefer not to be mentioned you'll have to let
+the maintainer know somehow.)
+
+Build/test status
+=================
+
+Both branches are tested with Travis: https://travis-ci.org/tikitu/jsmin
+
+The `latest-release` branch (the version on PyPI plus any new tests) is tested 
against CPython 3.
+Currently:
+
+.. image:: https://travis-ci.org/tikitu/jsmin.png?branch=latest-release
+
+If that branch is failing that means there's a new test that fails on *the 
latest released version on pypi*, with no fix yet
+released.
+
+The `master` branch (development version, might be ahead of latest released 
version) is tested against CPython 3.
+Currently:
+
+.. image:: https://travis-ci.org/tikitu/jsmin.png?branch=master
+
+If `master` is failing don't use it, but as long as `latest-release` is 
passing the pypi release should be ok.
+
+Contributors (chronological commit order)
+=========================================
+
+* `Dave St.Germain <https://bitbucket.org/dcs>`_ (original author)
+* `Hans weltar <https://bitbucket.org/hansweltar>`_
+* `Tikitu de Jager <mailto:[email protected]>`_ (current maintainer)
+* https://bitbucket.org/rennat
+* `Nick Alexander <https://bitbucket.org/ncalexan>`_
+* `Gennady Kovshenin <https://github.com/soulseekah>`_
+* `Matt Molyneaux <https://github.com/moggers87>`_
+* `Albert Wang <https://github.com/albertyw>`_
+* `Ben Bradshaw <https://github.com/serenecloud>`_
+
+Changelog
+=========
+
+v3.0.0 (2021-09-08) Ben Bradshaw
+--------------------------------
+
+- Breaking Change: Removed support for Python 2
+
+- Removed usage of use_2to3 in setup.py
+
+v2.2.2 (2017-05-01) Tikitu de Jager
+-----------------------------------
+
+- Add license headers to code files (fixes i#17)
+
+- Remove mercurial files (fixes #20)
+
+v2.2.1 (2016-03-06) Tikitu de Jager
+-----------------------------------
+
+- Fix #14: Infinite loop on `return x / 1;`
+
+v2.2.0 (2015-12-19) Tikitu de Jager
+-----------------------------------
+
+- Merge #13: Preserve "loud comments" starting with `/*!`
+
+  These are commonly used for copyright notices, and are preserved by various
+  other minifiers (e.g. YUI Compressor).
+
+v2.1.6 (2015-10-14) Tikitu de Jager
+-----------------------------------
+
+- Fix #12: Newline following a regex literal should not be elided.
+
+v2.1.5 (2015-10-11) Tikitu de Jager
+-----------------------------------
+
+- Fix #9: Premature end of statement caused by multi-line comment not
+  adding newline.
+
+- Fix #10: Removing multiline comment separating tokens must leave a space.
+
+- Refactor comment handling for maintainability.
+
+v2.1.4 (2015-08-23) Tikitu de Jager
+-----------------------------------
+
+- Fix #6: regex literal matching comment was not correctly matched.
+
+- Refactor regex literal handling for robustness.
+
+v2.1.3 (2015-08-09) Tikitu de Jager
+-----------------------------------
+
+- Reset issue numbering: issues live in github from now on.
+
+- Fix #1: regex literal was not recognised when occurring directly after `{`.
+
+v2.1.2 (2015-07-12) Tikitu de Jager
+-----------------------------------
+
+- Issue numbers here and below refer to the bitbucket repository.
+
+- Fix #17: bug when JS starts with comment then literal regex.
+
+v2.1.1 (2015-02-14) Tikitu de Jager
+-----------------------------------
+
+- Fix #16: bug returning a literal regex containing escaped forward-slashes.
+
+v2.1.0 (2014-12-24) Tikitu de Jager
+-----------------------------------
+
+- First changelog entries; see README.rst for prior contributors.
+
+- Expose quote_chars parameter to provide just enough unofficial Harmony
+  support to be useful.
+
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsmin-2.2.2/jsmin.egg-info/SOURCES.txt 
new/jsmin-3.0.1/jsmin.egg-info/SOURCES.txt
--- old/jsmin-2.2.2/jsmin.egg-info/SOURCES.txt  2017-05-01 19:56:34.000000000 
+0200
+++ new/jsmin-3.0.1/jsmin.egg-info/SOURCES.txt  2022-01-16 21:34:32.000000000 
+0100
@@ -2,6 +2,7 @@
 LICENSE.txt
 MANIFEST.in
 README.rst
+notes.txt
 setup.cfg
 setup.py
 jsmin/__init__.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsmin-2.2.2/notes.txt new/jsmin-3.0.1/notes.txt
--- old/jsmin-2.2.2/notes.txt   1970-01-01 01:00:00.000000000 +0100
+++ new/jsmin-3.0.1/notes.txt   2022-01-16 21:33:26.000000000 +0100
@@ -0,0 +1,3 @@
+python3 -m venv .
+source bin/activate
+pip install twine
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jsmin-2.2.2/setup.py new/jsmin-3.0.1/setup.py
--- old/jsmin-2.2.2/setup.py    2017-05-01 19:49:46.000000000 +0200
+++ new/jsmin-3.0.1/setup.py    2021-09-17 08:45:27.000000000 +0200
@@ -5,11 +5,6 @@
 os.environ['COPYFILE_DISABLE'] = 'true'  # this disables including resource 
forks in tar files on os x
 
 
-extra = {}
-if sys.version_info >= (3,0):
-    extra['use_2to3'] = True
-
-
 def long_description():
     return open('README.rst').read() + '\n' + open('CHANGELOG.txt').read()
 
@@ -33,15 +28,9 @@
         'Intended Audience :: Developers',
         'License :: OSI Approved :: MIT License',
         'Operating System :: OS Independent',
-        'Programming Language :: Python :: 2',
-        'Programming Language :: Python :: 2.6',
-        'Programming Language :: Python :: 2.7',
-        'Programming Language :: Python :: 3',
-        'Programming Language :: Python :: 3.2',
-        'Programming Language :: Python :: 3.3',
+        'Programming Language :: Python :: 3 :: Only',
         'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
         'Topic :: Software Development :: Pre-processors',
         'Topic :: Text Processing :: Filters',
-    ],
-    **extra
+    ]
 )

Reply via email to