2024-01-06 11:20:30 +01:00
|
|
|
|
Name: python-jsonpickle
|
2024-01-06 11:20:30 +01:00
|
|
|
|
Version: 1.2
|
2024-01-06 11:20:30 +01:00
|
|
|
|
Release: 1mamba
|
|
|
|
|
Summary: Python library for serializing any arbitrary object graph into JSON
|
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
|
Vendor: openmamba
|
|
|
|
|
Distribution: openmamba
|
|
|
|
|
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
|
|
|
|
URL: http://jsonpickle.github.com/
|
2024-01-06 11:20:30 +01:00
|
|
|
|
Source: https://pypi.debian.net/jsonpickle/jsonpickle-%{version}.tar.gz
|
2024-01-06 11:20:30 +01:00
|
|
|
|
License: BSD
|
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
|
BuildRequires: libpython-devel
|
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
BuildRequires: python-setuptools
|
|
|
|
|
Requires: python >= %python_version
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
jsonpickle is a Python library for serialization and deserialization of complex Python objects to and from JSON.
|
|
|
|
|
|
|
|
|
|
The standard Python libraries for encoding Python into JSON, such as the stdlib’s json, simplejson, and demjson, can only handle Python primitives that have a direct JSON equivalent (e.g. dicts, lists, strings, ints, etc.).
|
|
|
|
|
jsonpickle builds on top of these libraries and allows more complex data structures to be serialized to JSON.
|
|
|
|
|
jsonpickle is highly configurable and extendable–allowing the user to choose the JSON backend and add additional backends.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n jsonpickle-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
%{__python} setup.py install \
|
|
|
|
|
-O1 --skip-build \
|
|
|
|
|
--root="%{buildroot}" \
|
|
|
|
|
--install-headers=%{_includedir}/python \
|
|
|
|
|
--install-lib=%{python_sitearch} \
|
|
|
|
|
--record=%{name}.filelist
|
|
|
|
|
|
|
|
|
|
sed -i "\,egg-info$,d" %{name}.filelist
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.filelist
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%dir %{python_sitearch}/*.egg-info
|
|
|
|
|
%dir %{python_sitearch}/jsonpickle
|
|
|
|
|
%doc COPYING README.rst
|
|
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 11:20:30 +01:00
|
|
|
|
* Sun Aug 18 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2-1mamba
|
|
|
|
|
- update to 1.2
|
|
|
|
|
|
2024-01-06 11:20:30 +01:00
|
|
|
|
* Tue Apr 17 2018 Automatic Build System <autodist@mambasoft.it> 0.9.6-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
2024-01-06 11:20:30 +01:00
|
|
|
|
* Mon Mar 14 2016 Automatic Build System <autodist@mambasoft.it> 0.9.3-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
2024-01-06 11:20:30 +01:00
|
|
|
|
* Tue Sep 08 2015 Automatic Build System <autodist@mambasoft.it> 0.9.2-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
2024-01-06 11:20:30 +01:00
|
|
|
|
* Fri Oct 10 2014 Automatic Build System <autodist@mambasoft.it> 0.8.0-1mamba
|
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
2024-01-06 11:20:30 +01:00
|
|
|
|
* Mon Aug 11 2014 Automatic Build System <autodist@mambasoft.it> 0.7.2-1mamba
|
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
2024-01-06 11:20:30 +01:00
|
|
|
|
* Sun Jun 01 2014 Automatic Build System <autodist@mambasoft.it> 0.7.1-1mamba
|
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
2024-01-06 11:20:30 +01:00
|
|
|
|
* Sun Aug 25 2013 Automatic Build System <autodist@mambasoft.it> 0.6.1-1mamba
|
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
|
|
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.0-2mamba
|
|
|
|
|
- python 2.7 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jun 24 2011 Automatic Build System <autodist@mambasoft.it> 0.4.0-1mamba
|
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
|
|
* Wed Jan 20 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.3.1-1mamba
|
|
|
|
|
- package created by autospec
|