avatar
Rosa has added af45c766cb
Automatic import for version 0.3.1
... ... --- /dev/null
... ... +++ b/.abf.yml
... ... @@ -0,0 +1,2 @@
1
sources:
2
  "anyjson-0.3.1.tar.gz": f459fbdbd5b7ee81b236ef5eed023970db38572a
view file @ af45c766cb
... ... --- /dev/null
... ... +++ b/python-anyjson.spec
... ... @@ -0,0 +1,58 @@
1
%define	module	anyjson
2
%define name	python-%{module}
3
%define version	0.3.1
4
%define release %mkrel 1
5
6
Summary:	Python wrapper for JSON implementations
7
Name:		%{name}
8
Version:	%{version}
9
Release:	%{release}
10
Source0:	http://pypi.python.org/packages/source/a/%{module}/%{module}-%{version}.tar.gz
11
License:	BSD
12
Group:		Development/Python
13
Url:		http://bitbucket.org/runeh/anyjson
14
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
15
BuildArch:	noarch
16
Suggests:	python-json, python-cjson, python-simplejson
17
BuildRequires:	python-devel, python-setuptools
18
19
%description
20
Anyjson loads whichever is the fastest JSON module installed and provides
21
a uniform API regardless of which JSON implementation is used.
22
23
Originally part of carrot (http://github.com/ask/carrot/)
24
25
%prep
26
%setup -q -n %{module}-%{version}
27
28
%install
29
%__rm -rf %{buildroot}
30
PYTHONDONTWRITEBYTECODE= %__python setup.py install --root=%{buildroot} --record=FILE_LIST
31
32
%clean
33
%__rm -rf %{buildroot}
34
35
%files -f FILE_LIST
36
%defattr(-,root,root)
37
%doc README
38
39
40
41
%changelog
42
* Mon Mar 28 2011 Lev Givon <lev@mandriva.org> 0.3.1-1mdv2011.0
43
+ Revision: 648693
44
- Update to 0.3.1.
45
46
* Wed Dec 08 2010 Lev Givon <lev@mandriva.org> 0.3-1mdv2011.0
47
+ Revision: 616287
48
- Update to 0.3.
49
50
* Tue Nov 09 2010 Lev Givon <lev@mandriva.org> 0.2.5-1mdv2011.0
51
+ Revision: 595458
52
- Update to 0.2.5.
53
54
* Mon Nov 08 2010 Lev Givon <lev@mandriva.org> 0.2.0-1mdv2011.0
55
+ Revision: 595123
56
- import python-anyjson
57
58

Comments