Hello community,

here is the log from the commit of package python-rope for openSUSE:Factory 
checked in at 2017-08-16 16:11:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-rope (Old)
 and      /work/SRC/openSUSE:Factory/.python-rope.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-rope"

Wed Aug 16 16:11:32 2017 rev:9 rq:513727 version:0.10.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-rope/python-rope.changes  2015-08-05 
06:49:46.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-rope.new/python-rope.changes     
2017-08-16 16:11:36.115169028 +0200
@@ -1,0 +2,6 @@
+Fri Jul 21 14:11:18 UTC 2017 - [email protected]
+
+- convert to singlespec
+- update to 0.10.5
+
+-------------------------------------------------------------------

Old:
----
  rope-0.10.2.tar.gz

New:
----
  rope-0.10.5.tar.gz

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

Other differences:
------------------
++++++ python-rope.spec ++++++
--- /var/tmp/diff_new_pack.tdxlYS/_old  2017-08-16 16:11:36.979047768 +0200
+++ /var/tmp/diff_new_pack.tdxlYS/_new  2017-08-16 16:11:36.983047206 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-rope
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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,20 +16,23 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without test
 Name:           python-rope
-Version:        0.10.2
+Version:        0.10.5
 Release:        0
 Summary:        A python refactoring library
 License:        GPL-2.0+
 Group:          Development/Languages/Python
 Url:            https://github.com/python-rope/rope
-Source:         
http://pypi.python.org/packages/source/r/rope/rope-%{version}.tar.gz
+Source:         
https://files.pythonhosted.org/packages/source/r/rope/rope-%{version}.tar.gz
 Patch0:         CVE-2014-3539-disable-doa.patch
-BuildRequires:  python-devel
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} > 1110
+BuildRequires:  %{python_module devel}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 BuildArch:      noarch
-%endif
+
+%python_subpackages
 
 %description
 Rope is a python refactoring library.
@@ -39,14 +42,22 @@
 %patch0 -p1
 
 %build
-python2 setup.py build
+export LANG=en_US.UTF-8
+%{python_build}
 
 %install
-python2 setup.py install --prefix=%{_prefix} --root=%{buildroot}
-rm -rf %{buildroot}/%{python_sitlib}/python-rope/ropetest/
+export LANG=en_US.UTF-8
+%{python_install}
+rm -rf %{buildroot}/%{python_sitelib}/python-rope/ropetest/
+%{python_expand %fdupes %{buildroot}/%{$python_sitelib}}
+
+%if %{with test}
+%check
+export LANG=en_US.UTF-8
+%{python_exec setup.py test}
+%endif
 
-%files
-%defattr(-,root,root,-)
+%files %{python_files}
 %doc COPYING README.rst docs/
 %{python_sitelib}/
 

++++++ CVE-2014-3539-disable-doa.patch ++++++
--- /var/tmp/diff_new_pack.tdxlYS/_old  2017-08-16 16:11:37.007043837 +0200
+++ /var/tmp/diff_new_pack.tdxlYS/_new  2017-08-16 16:11:37.007043837 +0200
@@ -160,8 +160,8 @@
      def test_dict_keys_and_dynamicoi(self):
 +        self.project.prefs['perform_doa'] = True
          mod = testutils.create_module(self.project, 'mod')
-         code = 'class C(object):\n    pass\n' \
-                'def a_func(arg):\n    return eval("arg")\n' \
+         if pycompat.PY3:
+             code = 'class C(object):\n    pass\n' \
 @@ -190,6 +205,7 @@ def test_dict_keys_and_dynamicoi(self):
          self.assertEquals(c_class, a_var.get_type())
  

++++++ rope-0.10.2.tar.gz -> rope-0.10.5.tar.gz ++++++
++++ 15270 lines of diff (skipped)


Reply via email to