2024-07-22 10:40:30 +02:00
|
|
|
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
2024-01-06 11:20:30 +01:00
|
|
|
|
Name: python-jsonpickle
|
2024-11-13 19:16:56 +01:00
|
|
|
|
Version: 4.0.0
|
2024-02-21 09:04:50 +01:00
|
|
|
|
Release: 1mamba
|
2024-01-06 11:20:30 +01:00
|
|
|
|
Summary: Python library for serializing any arbitrary object graph into JSON
|
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
|
Vendor: openmamba
|
|
|
|
|
Distribution: openmamba
|
2024-01-06 11:20:31 +01:00
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
|
URL: https://github.com/jsonpickle/jsonpickle
|
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
|
2024-01-06 11:20:33 +01:00
|
|
|
|
BuildRequires: libpython311-devel
|
2024-01-06 11:20:30 +01:00
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 11:20:33 +01:00
|
|
|
|
BuildRequires: python3-devel >= 3.11.5-3mamba
|
2024-01-06 11:20:30 +01:00
|
|
|
|
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.
|
|
|
|
|
|
2024-01-06 11:20:31 +01:00
|
|
|
|
%if 0%{?with_pyver}
|
|
|
|
|
%pyver_package
|
|
|
|
|
%endif
|
|
|
|
|
|
2024-01-06 11:20:30 +01:00
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n jsonpickle-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
2024-07-22 10:40:30 +02:00
|
|
|
|
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
2024-01-06 11:20:30 +01:00
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-07-22 10:40:30 +02:00
|
|
|
|
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
2024-01-06 11:20:30 +01:00
|
|
|
|
|
2024-07-22 10:40:30 +02:00
|
|
|
|
#%if "%{?with_pyver}" != "3"
|
|
|
|
|
## Rename any conflicting file outside of python site packages tree
|
|
|
|
|
#for f in %{_bindir}/pdm; do
|
|
|
|
|
# mv %{buildroot}${f}{,-%{?pyappend}}
|
|
|
|
|
#done
|
|
|
|
|
#%endif
|
2024-01-06 11:20:30 +01:00
|
|
|
|
|
2024-07-22 10:40:30 +02:00
|
|
|
|
%files %{?pyappend}
|
2024-01-06 11:20:30 +01:00
|
|
|
|
%defattr(-,root,root)
|
2024-07-22 10:40:30 +02:00
|
|
|
|
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
|
|
|
|
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
|
|
|
|
%dir %{python_sitelib}/%{pkgname}
|
|
|
|
|
%{python_sitelib}/%{pkgname}/*
|
2024-01-06 11:20:30 +01:00
|
|
|
|
%doc LICENSE
|
2024-01-06 11:20:30 +01:00
|
|
|
|
|
|
|
|
|
%changelog
|
2024-11-13 19:16:56 +01:00
|
|
|
|
* Wed Nov 13 2024 Automatic Build System <autodist@openmamba.org> 4.0.0-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
2024-11-07 11:56:02 +01:00
|
|
|
|
* Wed Nov 06 2024 Automatic Build System <autodist@openmamba.org> 3.4.2-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
2024-11-06 16:25:14 +01:00
|
|
|
|
* Wed Nov 06 2024 Automatic Build System <autodist@openmamba.org> 3.4.1-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
2024-09-03 09:11:29 +02:00
|
|
|
|
* Mon Sep 02 2024 Automatic Build System <autodist@openmamba.org> 3.3.0-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
2024-07-22 10:40:30 +02:00
|
|
|
|
* Sun Jul 21 2024 Automatic Build System <autodist@openmamba.org> 3.2.2-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
2024-02-21 09:04:50 +01:00
|
|
|
|
* Tue Feb 20 2024 Automatic Build System <autodist@openmamba.org> 3.0.3-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
2024-01-06 11:20:33 +01:00
|
|
|
|
* Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 3.0.2-2mamba
|
|
|
|
|
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
|
|
|
|
|
2024-01-06 11:20:32 +01:00
|
|
|
|
* Mon Aug 14 2023 Automatic Build System <autodist@mambasoft.it> 3.0.2-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
2024-01-06 11:20:31 +01:00
|
|
|
|
* Sun Dec 18 2022 Automatic Build System <autodist@mambasoft.it> 3.0.1-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
2024-01-06 11:20:31 +01:00
|
|
|
|
* Fri Dec 02 2022 Automatic Build System <autodist@mambasoft.it> 3.0.0-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
2024-01-06 11:20:31 +01:00
|
|
|
|
* Fri May 13 2022 Automatic Build System <autodist@mambasoft.it> 2.2.0-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
2024-01-06 11:20:31 +01:00
|
|
|
|
* Sat Apr 16 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0-1mamba
|
|
|
|
|
- update to 2.1.0
|
|
|
|
|
|
2024-01-06 11:20:31 +01:00
|
|
|
|
* Sun Mar 14 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-2mamba
|
|
|
|
|
- rebuilt with new python requirements
|
|
|
|
|
|
|
|
|
|
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 2.0.0-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
2024-01-06 11:20:30 +01:00
|
|
|
|
* Wed Dec 02 2020 Automatic Build System <autodist@mambasoft.it> 1.4.2-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
2024-01-06 11:20:30 +01:00
|
|
|
|
* Sat Jun 13 2020 Automatic Build System <autodist@mambasoft.it> 1.4.1-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
2024-01-06 11:20:30 +01:00
|
|
|
|
* Mon Feb 17 2020 Automatic Build System <autodist@mambasoft.it> 1.3-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
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
|