Hello community, here is the log from the commit of package python-python-spidermonkey for openSUSE:Factory checked in at 2013-01-21 17:46:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-python-spidermonkey (Old) and /work/SRC/openSUSE:Factory/.python-python-spidermonkey.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-spidermonkey", Maintainer is "" Changes: -------- New Changes file: --- /dev/null 2013-01-09 19:40:42.352580873 +0100 +++ /work/SRC/openSUSE:Factory/.python-python-spidermonkey.new/python-python-spidermonkey.changes 2013-01-21 17:46:04.000000000 +0100 @@ -0,0 +1,11 @@ +------------------------------------------------------------------- +Thu Jan 17 12:18:46 UTC 2013 - cfarr...@suse.com + +- license update: MIT and (GPL-2.0+ or LGPL-2.1+ or MPL-1.1) + Incorporates libjs + +------------------------------------------------------------------- +Wed Jan 16 09:24:21 UTC 2013 - sasc...@suse.de + +- Initial version + New: ---- python-python-spidermonkey.changes python-python-spidermonkey.spec python-spidermonkey-0.0.10.tar.gz python-spidermonkey-opensuse-js.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-python-spidermonkey.spec ++++++ # # spec file for package python-python-spidermonkey # # 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 # 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-python-spidermonkey Version: 0.0.10 Release: 0 License: MIT and (GPL-2.0+ or LGPL-2.1+ or MPL-1.1) Summary: JavaScript / Python bridge Url: http://github.com/davisp/python-spidermonkey Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/p/python-spidermonkey/python-spidermonkey-%{version}.tar.gz # PATCH-FIX-OPENSUSE: sasc...@suse.de -- js is threadsafe and has a different name Patch0: python-spidermonkey-opensuse-js.patch BuildRequires: mozilla-nspr-devel BuildRequires: js-devel BuildRequires: python-devel BuildRequires: python-distribute BuildRequires: python-nose BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %endif %description Python/JavaScript bridge module, making use of Mozilla's spidermonkey JavaScript implementation. Allows implementation of JavaScript classes, objects and functions in Python, and evaluation and calling of JavaScript scripts and functions respectively. Borrows heavily from Claes Jacobssen's Javascript Perl module, in turn based on Mozilla's 'PerlConnect' Perl binding. %prep %setup -q -n python-spidermonkey-%{version} %if 0%{?suse_version} # Mozilla's 'js' library is called differently on openSUSE. pkg-config doesn't # contain "-DJS_THREADSAFE", but openSUSE's js was built this way: %patch0 -p1 # Drop currently failing test: rm tests/test-syntax-error.py %endif %build CFLAGS="%{optflags}" python setup.py build #TODO/FIXME: Use system js: #CFLAGS="%{optflags}" python setup.py --system-library build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} %check python setup.py test %files %defattr(-,root,root,-) %doc LICENSE %{python_sitearch}/* %changelog ++++++ python-spidermonkey-opensuse-js.patch ++++++ Binary files a/.setup.py.swp and b/.setup.py.swp differ diff -ruN a/setup.py b/setup.py --- a/setup.py 2011-02-17 04:33:24.000000000 +0100 +++ b/setup.py 2013-01-16 11:05:29.000000000 +0100 @@ -87,10 +87,7 @@ return pkg_config("nspr", config) def js_config(config=None): - config = pkg_config("mozilla-js", config) - if "-DJS_THREADSAFE" not in config["extra_compile_args"]: - raise SystemError("Unable to link against a library that was " - "compiled without -DJS_THREADSAFE"); + config = pkg_config("mozjs185", config) return config def platform_config(): -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org