diff --git a/jsonpickle-3.0.1.tar.gz b/jsonpickle-3.0.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..8cfeb23da493ebe3985d50761b584b548e32a839 Binary files /dev/null and b/jsonpickle-3.0.1.tar.gz differ diff --git a/python-jsonpickle.spec b/python-jsonpickle.spec new file mode 100644 index 0000000000000000000000000000000000000000..970fb919c707df6202ee4c53d8663196e824067e --- /dev/null +++ b/python-jsonpickle.spec @@ -0,0 +1,65 @@ +%global _empty_manifest_terminate_build 0 +Name: python-jsonpickle +Version: 3.0.1 +Release: 1 +Summary: Python library for serializing any arbitrary object graph into JSON. + +License: BSD-3-Clause +URL: https://github.com/jsonpickle/jsonpickle +Source0: https://files.pythonhosted.org/packages/2b/3f/dd9bc9c1c9e57c687e8ebc4723e76c48980004244cf8db908a7b2543bd53/jsonpickle-3.0.1.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-setuptools_scm +BuildRequires: python3-pbr +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-hatchling + +%description +Python library for serializing any arbitrary object graph into JSON. + +%package -n python3-jsonpickle +Summary: Python library for serializing any arbitrary object graph into JSON. +Provides: python-jsonpickle +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-hatchling +%description -n python3-jsonpickle +Python library for serializing any arbitrary object graph into JSON. + +%package help +Summary: Development documents and examples for jsonpickle +Provides: python3-jsonpickle-doc + +%description help +Development documents and examples for jsonpickle. + +%prep +%autosetup -n jsonpickle-%{version} + +%build +%pyproject_build + +%install +%pyproject_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi + +%files -n python3-jsonpickle +%doc README.rst +%license LICENSE +%{python3_sitelib}/jsonpickle +%{python3_sitelib}/jsonpickle*.dist-info/ + + +%files help +%{_docdir}/* + +%changelog +* Wed Jul 19 2023 Dongxing Wang - 3.0.1-1 +- Init package