Name: python-jsonpickle # version is inserted into setup.cfg manually (see %%prep). Please be careful # to use a Python-compatible version number if you need to set an "uncommon" # version for this RPM. Version: 3.0.0 Release: 3%{?dist} Summary: A module that allows any object to be serialized into JSON License: BSD-3-Clause URL: https://github.com/jsonpickle/jsonpickle Source0: %{pypi_source jsonpickle} Source1: %{pypi_source jsonpickle}.asc # Downloaded 2022-12-06. See: # https://github.com/jsonpickle/jsonpickle/issues/310 Source2: https://github.com/Theelx.gpg Patch: unpin-setuptools.patch %global _docdir_fmt %{name} BuildArch: noarch BuildRequires: gnupg2 BuildRequires: python3-devel %global _description %{expand: jsonpickle is a library for the two-way conversion of complex Python objects and JSON. jsonpickle builds upon the existing JSON encoders, such as simplejson, json, and ujson.} %description %{_description} %package -n python3-jsonpickle Summary: A module that allows any object to be serialized into JSON %description -n python3-jsonpickle %{_description} %prep %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %autosetup -n jsonpickle-%{version} -p1 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters sed -r -i \ -e 's/^([[:blank:]]*)(pytest-(black|checkdocs|cov|flake8))/\1# \2/' \ setup.cfg sed -r -i 's/[[:blank:]]--cov[^[:blank:]]*//g' pytest.ini %generate_buildrequires %pyproject_buildrequires -x testing,testing.libs %build %pyproject_wheel %install %pyproject_install %pyproject_save_files jsonpickle %check %pytest %files -n python3-jsonpickle -f %{pyproject_files} %changelog * Tue Dec 06 2022 Benjamin A. Beasley - 3.0.0-3 - Switch URL to the GitHub project page - Stop using deprecated zero-argument form of pypi_source - Remove workarounds for EL7/8 and end-of-lifed Fedoras - Update description and stop implying there is a Python 2 version - Drop obsolete python_provide macro - Port to pyproject-rpm-macros - Re-enable GPG verification - Update License to SPDX * Mon Dec 05 2022 Gwyn Ciesla - 3.0.0-2 - Unpin setuptools requirement. * Fri Dec 02 2022 Gwyn Ciesla - 3.0.0-1 - 3.0.0 * Fri Jul 22 2022 Fedora Release Engineering - 2.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 22 2022 Adam Williamson - 2.2.0-3 - Backport PR #396 to make it work with Python 3.11 (#2098982) * Wed Jun 15 2022 Python Maint - 2.2.0-2 - Rebuilt for Python 3.11 * Thu May 12 2022 Gwyn Ciesla - 2.2.0-1 - 2.2.0 * Fri Jan 21 2022 Fedora Release Engineering - 2.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jan 14 2022 Gwyn Ciesla - 2.1.0-1 - 2.1.0 * Fri Jul 23 2021 Fedora Release Engineering - 2.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 2.0.0-2 - Rebuilt for Python 3.10 * Mon Feb 08 2021 Gwyn Ciesla - 2.0.0-1 - 2.0.0 * Mon Feb 01 2021 Gwyn Ciesla - 1.5.1-1 - 1.5.1 + patch for test failure. * Wed Jan 27 2021 Fedora Release Engineering - 1.4.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Nov 30 2020 Gwyn Ciesla - 1.4.2-1 - 1.4.2 * Wed Jul 29 2020 Fedora Release Engineering - 1.4.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 1.4.1-5 - Rebuilt for Python 3.9 * Mon May 18 2020 Felix Schwarz - 1.4.1-4 - add EPEL 8 version * Wed May 13 2020 Felix Schwarz - 1.4.1-3 - add source file verification * Mon Apr 27 2020 Ankur Sinha - 1.4.1-2 - Add patch to fix build until 1.5.1 is released * Tue Apr 21 2020 Gwyn Ciesla - 1.4.1-1 - 1.4.1 * Mon Apr 13 2020 Gwyn Ciesla - 1.4-1 - 1.4 * Fri Feb 14 2020 Gwyn Ciesla - 1.3-1 - 1.3 * Thu Jan 30 2020 Fedora Release Engineering - 1.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 1.2-2 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 26 2019 Gwyn Ciesla - 1.2-1 - 1.2, drop Python 2. * Mon Aug 19 2019 Miro Hrončok - 1.1-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Gwyn Ciesla - 1.1-1 - 1.1 * Sat Jul 14 2018 Fedora Release Engineering - 0.9.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.9.4-6 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 0.9.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jan 25 2018 Iryna Shcherbina - 0.9.4-4 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Thu Jul 27 2017 Fedora Release Engineering - 0.9.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Thu Mar 30 2017 Ralph Bean - 0.9.4-2 - Conditionalize python3 package for EPEL7 compat. * Thu Mar 30 2017 Ralph Bean - 0.9.4-1 - new version * Sat Feb 11 2017 Fedora Release Engineering - 0.9.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 0.9.3-2 - Rebuild for Python 3.6 * Fri Dec 09 2016 Jon Ciesla - 0.9.3-1 - 0.9.3 * Tue Jul 19 2016 Fedora Release Engineering - 0.9.2-5 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Thu Feb 04 2016 Fedora Release Engineering - 0.9.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Nov 23 2015 Jon Ciesla - 0.9.2-3 - Disable tests to fix build. * Tue Nov 10 2015 Fedora Release Engineering - 0.9.2-2 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 * Thu Jul 2 2015 Zbigniew Jędrzejewski-Szmek - 0.9.2-1 - Update to latest version - Clean up spec file a bit - Add python3 subpackage (#1233915) * Thu Jun 18 2015 Fedora Release Engineering - 0.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Wed Aug 07 2013 Jon Ciesla - 0.4.0-1 - Latest upstream release, 0.4.0. * Sun Aug 04 2013 Fedora Release Engineering - 0.3.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.3.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Jul 21 2012 Fedora Release Engineering - 0.3.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Jan 14 2012 Fedora Release Engineering - 0.3.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Jul 22 2010 David Malcolm - 0.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild * Sat Jan 23 2010 Ben Boeckel - 0.3.1-1 - Update to 0.3.1 * Mon Nov 02 2009 Ben Boeckel - 0.2.0-1 - Initial package