Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > abe249cee20773c3a57c39214451fa4f > files > 1

python-tools-2012.1-3.mga3.src.rpm

# Created by pyp2rpm-1.0.0
%global pypi_name pytools
%define version 2012.1

Name:           python-tools
Version:        %{version}
Release:        %mkrel 3
Group:          Development/Python
Summary:        A collection of tools for Python

License:        MIT
URL:            TODO:
Source0:        http://pypi.python.org/packages/source/p/pytools/pytools-%{version}.tar.gz
BuildArch:      noarch
 
BuildRequires:  python-devel
BuildRequires:	python-distribute
 
Requires:       python-decorator >= 3.2.0

%description

Pytools is a big bag of things that are "missing" from the Python
standard library. This is mainly a dependency of my other software
packages, and is probably of little interest to you unless you use
those. If you're curious nonetheless, here's what's on offer:

* A ton of small tool functions such as `len_iterable`, `argmin`,
  tuple generation, permutation ...

%prep
%setup -q -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info



%build
%{__python} setup.py build


%install
%{__python} setup.py install --skip-build --root %{buildroot}


%files
%doc 
%{python_sitelib}/%{pypi_name}
%{python_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info


%changelog

* Sat Mar 30 2013 rtp <rtp> 2012.1-3.mga3
+ Revision: 406714
- Add missing build requires not noticed due to the build script downloading it while
  building.

* Sun Jan 13 2013 umeabot <umeabot> 2012.1-2.mga3
+ Revision: 379570
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Sun Dec 09 2012 joequant <joequant> 2012.1-1.mga3
+ Revision: 329028
- imported package python-tools