Hello community,
here is the log from the commit of package python-PyExecJS for openSUSE:Factory
checked in at 2019-03-12 09:52:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-PyExecJS (Old)
and /work/SRC/openSUSE:Factory/.python-PyExecJS.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-PyExecJS"
Tue Mar 12 09:52:52 2019 rev:4 rq:682047 version:1.5.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-PyExecJS/python-PyExecJS.changes
2018-07-18 22:58:08.982123209 +0200
+++
/work/SRC/openSUSE:Factory/.python-PyExecJS.new.28833/python-PyExecJS.changes
2019-03-12 09:52:55.467543925 +0100
@@ -1,0 +2,6 @@
+Wed Mar 6 08:50:17 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 1.5.1:
+ * Remove contextlib.nested
+
+-------------------------------------------------------------------
Old:
----
PyExecJS-1.5.0.tar.gz
New:
----
PyExecJS-1.5.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-PyExecJS.spec ++++++
--- /var/tmp/diff_new_pack.LSs5Vz/_old 2019-03-12 09:52:56.587543702 +0100
+++ /var/tmp/diff_new_pack.LSs5Vz/_new 2019-03-12 09:52:56.587543702 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-PyExecJS
#
-# 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,13 +12,13 @@
# 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-PyExecJS
-Version: 1.5.0
+Version: 1.5.1
Release: 0
Summary: Python module to run JavaScript
License: MIT
@@ -44,22 +44,18 @@
%setup -q -n PyExecJS-%{version}
%autopatch -p1
-sed -i 1d execjs/__init__.py execjs/_runner_sources.py
-sed -i '0,/#!/ s,/usr/bin/env ,%{_bindir}/,' execjs/__main__.py
-
%build
%python_build
+%install
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+
%check
# test assumes Unicode environment
export LC_ALL=C.UTF-8
%python_exec ./test_execjs.py
-%install
-%python_install
-%python_expand chmod +x %{buildroot}%{$python_sitelib}/execjs/__main__.py
-%python_expand %fdupes %{buildroot}%{$python_sitelib}
-
%files %{python_files}
%license LICENSE
%doc README.rst
++++++ PyExecJS-1.5.0.tar.gz -> PyExecJS-1.5.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/PyExecJS-1.5.0/PKG-INFO new/PyExecJS-1.5.1/PKG-INFO
--- old/PyExecJS-1.5.0/PKG-INFO 2017-11-08 05:03:14.000000000 +0100
+++ new/PyExecJS-1.5.1/PKG-INFO 2018-01-18 05:33:52.000000000 +0100
@@ -1,13 +1,24 @@
Metadata-Version: 1.1
Name: PyExecJS
-Version: 1.5.0
+Version: 1.5.1
Summary: Run JavaScript code from Python
Home-page: https://github.com/doloopwhile/PyExecJS
Author: Omoto Kenji
Author-email: [email protected]
License: MIT License
-Description: PyExecJS
- ========
+Description-Content-Type: UNKNOWN
+Description: PyExecJS (EOL)
+ ==============
+
+ End of life
+ ===========
+
+ This library is no longer maintananced. Bugs are not be fixed (even if
+ they are trivial or essential).
+
+ We suggest to use other library or to make a fork.
+
+ --------------
Run JavaScript code from Python.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/PyExecJS-1.5.0/PyExecJS.egg-info/PKG-INFO
new/PyExecJS-1.5.1/PyExecJS.egg-info/PKG-INFO
--- old/PyExecJS-1.5.0/PyExecJS.egg-info/PKG-INFO 2017-11-08
05:03:14.000000000 +0100
+++ new/PyExecJS-1.5.1/PyExecJS.egg-info/PKG-INFO 2018-01-18
05:33:52.000000000 +0100
@@ -1,13 +1,24 @@
Metadata-Version: 1.1
Name: PyExecJS
-Version: 1.5.0
+Version: 1.5.1
Summary: Run JavaScript code from Python
Home-page: https://github.com/doloopwhile/PyExecJS
Author: Omoto Kenji
Author-email: [email protected]
License: MIT License
-Description: PyExecJS
- ========
+Description-Content-Type: UNKNOWN
+Description: PyExecJS (EOL)
+ ==============
+
+ End of life
+ ===========
+
+ This library is no longer maintananced. Bugs are not be fixed (even if
+ they are trivial or essential).
+
+ We suggest to use other library or to make a fork.
+
+ --------------
Run JavaScript code from Python.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/PyExecJS-1.5.0/PyExecJS.egg-info/requires.txt
new/PyExecJS-1.5.1/PyExecJS.egg-info/requires.txt
--- old/PyExecJS-1.5.0/PyExecJS.egg-info/requires.txt 2017-11-08
05:03:14.000000000 +0100
+++ new/PyExecJS-1.5.1/PyExecJS.egg-info/requires.txt 2018-01-18
05:33:52.000000000 +0100
@@ -1 +1 @@
-six >= 1.10.0
+six>=1.10.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/PyExecJS-1.5.0/README.md new/PyExecJS-1.5.1/README.md
--- old/PyExecJS-1.5.0/README.md 2017-11-08 05:02:18.000000000 +0100
+++ new/PyExecJS-1.5.1/README.md 2018-01-18 05:33:33.000000000 +0100
@@ -1,7 +1,15 @@
-PyExecJS
-========
+PyExecJS (EOL)
+==============
[](https://travis-ci.org/doloopwhile/PyExecJS)
+# End of life
+
+This library is no longer maintananced. Bugs are not be fixed (even if they
are trivial or essential).
+
+We suggest to use other library or to make a fork.
+
+---
+
Run JavaScript code from Python.
PyExecJS is a porting of ExecJS from Ruby.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/PyExecJS-1.5.0/README.rst
new/PyExecJS-1.5.1/README.rst
--- old/PyExecJS-1.5.0/README.rst 2017-11-08 05:02:24.000000000 +0100
+++ new/PyExecJS-1.5.1/README.rst 2018-01-18 05:33:33.000000000 +0100
@@ -1,5 +1,15 @@
-PyExecJS
-========
+PyExecJS (EOL)
+==============
+
+End of life
+===========
+
+This library is no longer maintananced. Bugs are not be fixed (even if
+they are trivial or essential).
+
+We suggest to use other library or to make a fork.
+
+--------------
Run JavaScript code from Python.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/PyExecJS-1.5.0/execjs/_pyv8runtime.py
new/PyExecJS-1.5.1/execjs/_pyv8runtime.py
--- old/PyExecJS-1.5.0/execjs/_pyv8runtime.py 2017-10-31 05:20:02.000000000
+0100
+++ new/PyExecJS-1.5.1/execjs/_pyv8runtime.py 2018-01-18 05:33:33.000000000
+0100
@@ -1,5 +1,4 @@
import json
-import contextlib
import execjs._exceptions as exceptions
from execjs._abstract_runtime import AbstractRuntime
@@ -48,7 +47,7 @@
source = str(source)
# backward compatibility
- with contextlib.nested(PyV8.JSContext(), PyV8.JSEngine()) as
(ctxt, engine):
+ with PyV8.JSContext() as ctxt, PyV8.JSEngine() as engine:
js_errors = (PyV8.JSError, IndexError, ReferenceError,
SyntaxError, TypeError)
try:
script = engine.compile(source)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/PyExecJS-1.5.0/setup.cfg new/PyExecJS-1.5.1/setup.cfg
--- old/PyExecJS-1.5.0/setup.cfg 2017-11-08 05:03:14.000000000 +0100
+++ new/PyExecJS-1.5.1/setup.cfg 2018-01-18 05:33:52.000000000 +0100
@@ -1,5 +1,4 @@
[egg_info]
tag_build =
tag_date = 0
-tag_svn_revision = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/PyExecJS-1.5.0/setup.py new/PyExecJS-1.5.1/setup.py
--- old/PyExecJS-1.5.0/setup.py 2017-11-08 05:01:33.000000000 +0100
+++ new/PyExecJS-1.5.1/setup.py 2018-01-18 05:33:33.000000000 +0100
@@ -5,7 +5,7 @@
import sys
import io
-version = '1.5.0'
+version = '1.5.1'
author = "Omoto Kenji"
license = "MIT License"
author_email = '[email protected]'