2009-08-27 13:23:09 +00:00
|
|
|
#
|
2011-01-26 17:14:13 +00:00
|
|
|
# spec file for package python-rope
|
2009-08-27 13:23:09 +00:00
|
|
|
#
|
2015-02-23 13:41:39 +00:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2009-08-27 13:23:09 +00:00
|
|
|
#
|
|
|
|
# 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.
|
2012-06-06 11:08:29 +00:00
|
|
|
|
2009-08-27 13:23:09 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-06-06 11:08:29 +00:00
|
|
|
|
2012-01-31 10:37:34 +00:00
|
|
|
Name: python-rope
|
2015-02-23 13:41:39 +00:00
|
|
|
Version: 0.10.2
|
2012-01-31 10:37:34 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: A python refactoring library
|
2012-06-06 11:08:29 +00:00
|
|
|
License: GPL-2.0+
|
2012-01-31 10:37:34 +00:00
|
|
|
Group: Development/Languages/Python
|
2015-02-23 13:41:39 +00:00
|
|
|
Url: https://github.com/python-rope/rope
|
2012-01-31 10:37:34 +00:00
|
|
|
Source: http://pypi.python.org/packages/source/r/rope/rope-%{version}.tar.gz
|
2015-02-23 13:41:39 +00:00
|
|
|
Patch0: CVE-2014-3539-disable-doa.patch
|
2012-01-31 10:37:34 +00:00
|
|
|
BuildRequires: python-devel
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2015-07-14 07:45:22 +00:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} > 1110
|
2012-01-31 10:37:34 +00:00
|
|
|
BuildArch: noarch
|
2015-07-14 07:45:22 +00:00
|
|
|
%endif
|
2009-08-27 13:23:09 +00:00
|
|
|
|
|
|
|
%description
|
2011-01-26 17:14:13 +00:00
|
|
|
Rope is a python refactoring library.
|
2009-08-27 13:23:09 +00:00
|
|
|
|
|
|
|
%prep
|
2012-01-31 10:37:34 +00:00
|
|
|
%setup -q -n rope-%{version}
|
2015-02-23 13:41:39 +00:00
|
|
|
%patch0 -p1
|
2009-08-27 13:23:09 +00:00
|
|
|
|
|
|
|
%build
|
2011-12-06 09:36:50 +00:00
|
|
|
python2 setup.py build
|
2009-08-27 13:23:09 +00:00
|
|
|
|
|
|
|
%install
|
2012-01-31 10:37:34 +00:00
|
|
|
python2 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
2015-02-23 13:41:39 +00:00
|
|
|
rm -rf %{buildroot}/%{python_sitlib}/python-rope/ropetest/
|
2009-08-27 13:23:09 +00:00
|
|
|
|
2012-01-31 10:37:34 +00:00
|
|
|
%files
|
2011-01-26 17:14:13 +00:00
|
|
|
%defattr(-,root,root,-)
|
2015-02-23 13:41:39 +00:00
|
|
|
%doc COPYING README.rst docs/
|
|
|
|
%{python_sitelib}/
|
2009-08-27 13:23:09 +00:00
|
|
|
|
|
|
|
%changelog
|