rpms/python-pretty/EL-6 python-pretty.spec,NONE,1.1 sources,1.1,1.2
tomspur
tomspur at fedoraproject.org
Mon Jun 21 07:21:18 UTC 2010
Author: tomspur
Update of /cvs/pkgs/rpms/python-pretty/EL-6
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv21511/EL-6
Modified Files:
sources
Added Files:
python-pretty.spec
Log Message:
Initial commit (#605998)
--- NEW FILE python-pretty.spec ---
%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
%endif
Name: python-pretty
Version: 0.1
Release: 1%{?dist}
Summary: Extensible pprint successor
Group: Development/Libraries
License: BSD
URL: http://pypi.python.org/pypi/pretty/
Source0: http://pypi.python.org/packages/source/p/pretty/pretty-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel
%description
Python advanced pretty printer. This pretty printer is intended to
replace the old `pprint` python module which does not allow developers
to provide their own pretty print callbacks.
%prep
%setup -q -n pretty-%{version}
%build
%{__python} setup.py build
%install
rm -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc
%{python_sitelib}/pretty.py*
%{python_sitelib}/pretty*egg-info
%changelog
* Sat Jun 19 2010 Thomas Spura <tomspur at fedoraproject.org> - 0.1-1
- initial packaging
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-pretty/EL-6/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 21 Jun 2010 02:41:18 -0000 1.1
+++ sources 21 Jun 2010 07:21:18 -0000 1.2
@@ -0,0 +1 @@
+d54ea60ac41336498c7d53f155d9b25d pretty-0.1.tar.gz
More information about the scm-commits
mailing list