rpms/python-pytools/F-11 python-pytools.spec,NONE,1.1

Ramakrishna Reddy ramkrsna at fedoraproject.org
Thu Apr 23 10:29:11 UTC 2009


Author: ramkrsna

Update of /cvs/pkgs/rpms/python-pytools/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27235

Added Files:
	python-pytools.spec 
Log Message:
Inital Release for F-11


--- NEW FILE python-pytools.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:           python-pytools
Version:        8
Release:        2%{?dist}
Summary:        A collection of tools for python

Group:          Development/Languages
License:        MIT
URL:            http://pypi.python.org/pypi/pytools
Source0:        http://pypi.python.org/packages/source/p/pytools/pytools-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  python-devel python-setuptools 

%description
Pytools are a few interesting things that are missing from the Python Standard 
Library. 

Small tool functions such as ::
* len_iterable, 
* argmin, 
* tuple generation, 
* permutation generation, 
* ASCII table pretty printing, 
* GvR's mokeypatch_xxx() hack, 
* The elusive flatten, and much more.
* Michele Simionato's decorator module
* A time-series logging module, pytools.log.
* Batch job submission, pytools.batchjob.
* A lexer, pytools.lex.


%prep
%setup -q -n pytools-%{version}



%build
%{__python} setup.py build


%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
chmod +x $RPM_BUILD_ROOT%{python_sitelib}/pytools/runalyzer.py
 
%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc README PKG-INFO
%{_bindir}/*
%{python_sitelib}/*



%changelog
* Thu Apr 09 2009 Ramakrishna Reddy Yekulla <ramkrsna at fedoraproject.org> 8-2
- Spec file cleanup 

* Wed Apr 08 2009 Ramakrishna Reddy Yekulla <ramkrsna at fedoraproject.org> 8-1
- Initial RPM release






More information about the fedora-extras-commits mailing list