rpms/python-simplejson/devel python-simplejson.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Luke Macken (lmacken) fedora-extras-commits at redhat.com
Mon Aug 14 19:47:10 UTC 2006


Author: lmacken

Update of /cvs/extras/rpms/python-simplejson/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24837/devel

Modified Files:
	.cvsignore sources 
Added Files:
	python-simplejson.spec 
Log Message:
auto-import python-simplejson-1.3-3 on branch devel from python-simplejson-1.3-3.src.rpm


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

Name:           python-simplejson
Version:        1.3
Release:        3%{?dist}
Summary:        Simple, fast, extensible JSON encoder/decoder for Python

Group:          System Environment/Libraries
License:        MIT
URL:            http://undefined.org/python/#simplejson
Source0:        http://cheeseshop.python.org/packages/source/s/simplejson/simplejson-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch

BuildRequires:  python-setuptools

%description
simplejson is a simple, fast, complete, correct and extensible
JSON <http://json.org> encoder and decoder for Python 2.3+.  It is
pure Python code with no dependencies.

simplejson was formerly known as simple_json, but changed its name to
comply with PEP 8 module naming guidelines.

The encoder may be subclassed to provide serialization in any kind of
situation, without any special support by the objects to be serialized
(somewhat like pickle).

The decoder can handle incoming JSON strings of any specified encoding
(UTF-8 by default).



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


%build
%{__python} setup.py build


%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root=$RPM_BUILD_ROOT \
                                 --single-version-externally-managed


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc docs
%dir %{python_sitelib}/simplejson
%{python_sitelib}/simplejson-%{version}-py2.4.egg-info
%{python_sitelib}/simplejson/*.py*
%{python_sitelib}/simplejson/tests/*.py*


%changelog
* Mon Aug 14 2006 Luke Macken <lmacken at redhat.com> - 1.3-3
- Include .pyo's instead of just ghosting them

* Wed Jul 12 2006 Luke Macken <lmacken at redhat.com> - 1.3-2
- Add --single-version-externally-managed flag to install

* Mon Jul 10 2006 Luke Macken <lmacken at redhat.com> - 1.3-1
- Initial package


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/python-simplejson/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	14 Aug 2006 19:46:47 -0000	1.1
+++ .cvsignore	14 Aug 2006 19:47:10 -0000	1.2
@@ -0,0 +1 @@
+simplejson-1.3.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-simplejson/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	14 Aug 2006 19:46:47 -0000	1.1
+++ sources	14 Aug 2006 19:47:10 -0000	1.2
@@ -0,0 +1 @@
+fbe039b9b863572651a0f665acea34c9  simplejson-1.3.tar.gz




More information about the scm-commits mailing list