rpms/python-pytools/F-10 python-pytools.spec, NONE, 1.1 sources, 1.1, 1.2
Ramakrishna Reddy
ramkrsna at fedoraproject.org
Thu Apr 23 10:43:10 UTC 2009
Author: ramkrsna
Update of /cvs/pkgs/rpms/python-pytools/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30893
Modified Files:
sources
Added Files:
python-pytools.spec
Log Message:
Initial release for F-10
--- 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
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-pytools/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 17 Apr 2009 21:35:59 -0000 1.1
+++ sources 23 Apr 2009 10:42:38 -0000 1.2
@@ -0,0 +1 @@
+1cd76f03ac0280d8d22ed4f543812af8 pytools-8.tar.gz
More information about the scm-commits
mailing list