diff --git a/.cvsignore b/.cvsignore index e69de29..d889764 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +rope-0.9.1.tar.gz diff --git a/python-rope.spec b/python-rope.spec new file mode 100644 index 0000000..382b86d --- /dev/null +++ b/python-rope.spec @@ -0,0 +1,55 @@ +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} + +Name: python-rope +Version: 0.9.1 +Release: 1%{?dist} +Summary: Python Code Refactoring Library + +Group: Development/Languages +License: GPLv2+ +URL: http://rope.sourceforge.net/ +Source0: http://downloads.sf.net/rope/rope-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: python-devel +# For testsuite +BuildRequires: python-nose + +# pysvn, hg, git, and darcs are optional. If installed, they give integration +# between rope and the version control system. (So refactorings that rename a +# file, for instance, will be checked into version control.) + +%description +A python refactoring library. It provides features like refactorings and coding +assists. + +%prep +%setup -q -n rope-%{version} + + +%build +%{__python} setup.py build + + +%install +rm -rf $RPM_BUILD_ROOT +%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%check +# Tests starting with 'xxx_' are known to fail because features are +# unimplemented +nosetests -e '^xxx_.*' + +%files +%defattr(-,root,root,-) +%doc README.txt COPYING docs +%{python_sitelib}/* + + +%changelog +* Wed Nov 19 2008 Toshio Kuratomi 0.9.1-1 +- Initial Fedora build diff --git a/sources b/sources index e69de29..2323617 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +2b812782b43d365058fa1b2e64e36f7f rope-0.9.1.tar.gz