From c798518681d4c99ef7cb4a417e655b6f50d9406648d2085385fc7c39d246a4f7 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Thu, 27 Aug 2009 13:23:09 +0000 Subject: [PATCH] Copy from home:frispete:branches:devel:languages:python/python-rope via accept of submit request 17397 Request was accepted with message: OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=1 --- .gitattributes | 23 +++++++++++ .gitignore | 1 + python-rope.changes | 6 +++ python-rope.spec | 93 +++++++++++++++++++++++++++++++++++++++++++++ rope-0.9.2.tar.bz2 | 3 ++ 5 files changed, 126 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-rope.changes create mode 100644 python-rope.spec create mode 100644 rope-0.9.2.tar.bz2 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-rope.changes b/python-rope.changes new file mode 100644 index 0000000..e93578d --- /dev/null +++ b/python-rope.changes @@ -0,0 +1,6 @@ +------------------------------------------------------------------- +Wed Aug 5 16:03:28 CEST 2009 - hpj@urpla.net + +- Initial creation of package python-rope-0.9.2 + +------------------------------------------------------------------- diff --git a/python-rope.spec b/python-rope.spec new file mode 100644 index 0000000..68f1196 --- /dev/null +++ b/python-rope.spec @@ -0,0 +1,93 @@ +# +# spec file for package python-rope (Version 0.9.2) +# +# Copyright (c) 2009 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/ +# + +# norootforbuild + + +Name: python-rope +Summary: Rope is a python refactoring library +Version: 0.9.2 +Release: 1 +Source: rope-%{version}.tar.bz2 +#Patch: %{name}-%{version}.patch +License: GPL v2 or later +Group: Development/Languages/Python +Url: http://rope.sf.net/ +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: python-devel +%{py_requires} +%if 0%suse_version > 1110 +BuildArch: noarch +%define py_sitedir %python_sitelib +%endif + +%description +Features implemented so far: + +* Refactorings + + * Rename everything! + * Extract method/local variable + * Move class/function/module/package/method + * Inline method/local variable/parameter + * Restructuring (like converting ``${a}.f(${b})`` to + ``${b}.g(${a})`` where ``a: type=mymod.A``) + * Introduce factory + * Change method signature + * Transform module to package + * Encapsulate field + * Replace method with method object + +* Refactoring Features + + * Extracting similar statements in extract refactorings + * Fixing imports when needed + * Previewing refactorings + * Undo/redo refactorings + * Stopping refactorings + * Cross-project refactorings + * Basic implicit interfaces handling in rename and change signature + * Mercurial_, GIT_, Darcs_ and SVN (pysvn_ library) support in + refactorings + + +Authors: +-------- + Ali Gholami Rudi + +%prep +%setup -q -n rope-%{version} +#%patch + +%build +python setup.py build + +%install +#export PYTHONOPTIMIZE=1 #--optimize=1 +python setup.py install --prefix=%{_prefix} --root="$RPM_BUILD_ROOT" +rm -rf $RPM_BUILD_ROOT/%{py_sitedir}/python-rope/ropetest/ + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%doc README.txt docs/ +%{py_sitedir}/rope +%{py_sitedir}/*egg-info + +%changelog diff --git a/rope-0.9.2.tar.bz2 b/rope-0.9.2.tar.bz2 new file mode 100644 index 0000000..927c985 --- /dev/null +++ b/rope-0.9.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:40cb85646ac4fa472234918c301cd98c37f29d1e918e4c6f0d0ee2fcff542254 +size 168477