Compare commits

..

3 Commits
epel9 ... i9ce

Author SHA1 Message Date
MSVSphere Packaging Team c51ce78387 Merge and update
1 year ago
MSVSphere Packaging Team 7f1a22cd35 Remove unnecessary files and fix spec-file
1 year ago
Arkady L. Shane e4068fbab0 import python-simplejson-3.17.6-1.el9
2 years ago

23
.gitignore vendored

@ -1,22 +1 @@
simplejson-2.1.1.tar.gz
/simplejson-2.1.2.tar.gz
/simplejson-2.1.3.tar.gz
/simplejson-2.1.5.tar.gz
/simplejson-2.1.6.tar.gz
/simplejson-2.2.1.tar.gz
/simplejson-2.3.0.tar.gz
/simplejson-2.5.2.tar.gz
/simplejson-2.6.0.tar.gz
/simplejson-3.1.0.tar.gz
/simplejson-3.1.2.tar.gz
/simplejson-3.1.3.tar.gz
/simplejson-3.2.0.tar.gz
/simplejson-3.3.3.tar.gz
/simplejson-3.4.0.tar.gz
/simplejson-3.5.3.tar.gz
/simplejson-3.10.0.tar.gz
/simplejson-3.16.0.tar.gz
/simplejson-3.17.0.tar.gz
/simplejson-3.17.2.tar.gz
/simplejson-3.17.5.tar.gz
/simplejson-3.17.6.tar.gz
SOURCES/simplejson-3.17.6.tar.gz

@ -0,0 +1 @@
9741a7533dbd1e7e68e2e7225b72a71a20042a83 SOURCES/simplejson-3.17.6.tar.gz

@ -1,3 +1,110 @@
## START: Set by rpmautospec
## (rpmautospec version 0.2.5)
%define autorelease(e:s:pb:) %{?-p:0.}%{lua:
release_number = 1;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist}
## END: Set by rpmautospec
# Build conditions for bootstrapping purposes
%bcond_without docs
%bcond_without tests
Name: python-simplejson
Version: 3.17.6
Release: %autorelease
Summary: Simple, fast, extensible JSON encoder/decoder for Python
# The main code is licensed MIT.
# The docs include jquery which is licensed MIT or GPLv2
License: (MIT or AFL) and (MIT or GPLv2)
URL: https://github.com/simplejson/simplejson
Source0: %{pypi_source simplejson}
%description
simplejson is a simple, fast, complete, correct and extensible JSON
<http://json.org> encoder and decoder for Python. It is pure Python code
with no dependencies, but includes an optional C extension for a serious speed
boost.
The encoder may be subclassed to provide serialization in any kind of
situation, without any special support by the objects to be serialized
(somewhat like pickle).
The decoder can handle incoming JSON strings of any specified encoding (UTF-8
by default).
simplejson is the externally maintained development version of the JSON library
included with Python. It gets updated more regularly than the JSON module in
the Python stdlib.
%package -n python3-simplejson
Summary: Simple, fast, extensible JSON encoder/decoder for Python 3
BuildRequires: gcc
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%if %{with tests}
BuildRequires: python3-pytest
%endif
%if %{with docs}
BuildRequires: python3-sphinx
%endif
%{?python_provide:%python_provide python3-simplejson}
%description -n python3-simplejson
simplejson is a simple, fast, complete, correct and extensible JSON
<http://json.org> encoder and decoder for Python. It is pure Python code
with no dependencies, but includes an optional C extension for a serious speed
boost.
The encoder may be subclassed to provide serialization in any kind of
situation, without any special support by the objects to be serialized
(somewhat like pickle).
The decoder can handle incoming JSON strings of any specified encoding (UTF-8
by default).
simplejson is the externally maintained development version of the JSON library
included with Python. It gets updated more regularly than the JSON module in
the Python stdlib.
%prep
%setup -q -n simplejson-%{version}
%build
%py3_build
%if %{with docs}
PATH=%{_libexecdir}/python3-sphinx:$PATH %{__python3} scripts/make_docs.py
rm docs/.buildinfo
rm docs/.nojekyll
%endif
%install
%py3_install
%if %{with tests}
%check
%pytest
%endif
%files -n python3-simplejson
%license LICENSE.txt
%if %{with docs}
%doc docs
%endif
%{python3_sitearch}/simplejson/
%{python3_sitearch}/simplejson-*.egg-info/
%changelog
* Sat Jul 01 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 3.17.6-1
- Rebuilt for MSVSphere 9.2
* Fri Dec 31 2021 Igor Raits <igor.raits@gmail.com> 3.17.6-1
- Update to 3.17.6
* Wed Aug 25 2021 Fabian Affolter <mail@fabian-affolter.ch> - 3.17.5-1
- Update to latest upstream release 3.17.5 (rhbz#1980936)
@ -230,3 +337,4 @@
* Fri Feb 8 2008 Luke Macken <lmacken@redhat.com> - 1.7.3-3
- Rebuild for gcc 4.3

@ -1,93 +0,0 @@
# Build conditions for bootstrapping purposes
%bcond_without docs
%bcond_without tests
Name: python-simplejson
Version: 3.17.6
Release: %autorelease
Summary: Simple, fast, extensible JSON encoder/decoder for Python
# The main code is licensed MIT.
# The docs include jquery which is licensed MIT or GPLv2
License: (MIT or AFL) and (MIT or GPLv2)
URL: https://github.com/simplejson/simplejson
Source0: %{pypi_source simplejson}
%description
simplejson is a simple, fast, complete, correct and extensible JSON
<http://json.org> encoder and decoder for Python. It is pure Python code
with no dependencies, but includes an optional C extension for a serious speed
boost.
The encoder may be subclassed to provide serialization in any kind of
situation, without any special support by the objects to be serialized
(somewhat like pickle).
The decoder can handle incoming JSON strings of any specified encoding (UTF-8
by default).
simplejson is the externally maintained development version of the JSON library
included with Python. It gets updated more regularly than the JSON module in
the Python stdlib.
%package -n python3-simplejson
Summary: Simple, fast, extensible JSON encoder/decoder for Python 3
BuildRequires: gcc
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%if %{with tests}
BuildRequires: python3-pytest
%endif
%if %{with docs}
BuildRequires: python3-sphinx
%endif
%{?python_provide:%python_provide python3-simplejson}
%description -n python3-simplejson
simplejson is a simple, fast, complete, correct and extensible JSON
<http://json.org> encoder and decoder for Python. It is pure Python code
with no dependencies, but includes an optional C extension for a serious speed
boost.
The encoder may be subclassed to provide serialization in any kind of
situation, without any special support by the objects to be serialized
(somewhat like pickle).
The decoder can handle incoming JSON strings of any specified encoding (UTF-8
by default).
simplejson is the externally maintained development version of the JSON library
included with Python. It gets updated more regularly than the JSON module in
the Python stdlib.
%prep
%setup -q -n simplejson-%{version}
%build
%py3_build
%if %{with docs}
PATH=%{_libexecdir}/python3-sphinx:$PATH %{__python3} scripts/make_docs.py
rm docs/.buildinfo
rm docs/.nojekyll
%endif
%install
%py3_install
%if %{with tests}
%check
%pytest
%endif
%files -n python3-simplejson
%license LICENSE.txt
%if %{with docs}
%doc docs
%endif
%{python3_sitearch}/simplejson/
%{python3_sitearch}/simplejson-*.egg-info/
%changelog
%autochangelog

@ -1 +0,0 @@
SHA512 (simplejson-3.17.6.tar.gz) = 4a25032fcc78025d82db571716deef8769f036a330560f92e14563687db4a42dbe60866b8afb57baf24104ef94fcbe938cdbddfc169542664957eef2d00d04e3
Loading…
Cancel
Save