14 Star 0 Fork 4

ocs-upgrade/python-jsonschema

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-jsonschema.spec 2.32 KB
一键复制 编辑 原始数据 按行查看 历史
ocs-bot 提交于 2024-07-18 22:53 . Upgrade to version 4.23.0
%global pypi_name jsonschema
Summary: Implementation of JSON Schema validation for Python
Name: python-jsonschema
Version: 4.23.0
Release: 1%{?dist}
License: MIT
URL: https://github.com/python-jsonschema/jsonschema
Source0: %{pypi_source}
BuildArch: noarch
BuildRequires: python3-devel
%bcond_with tests
%if %{with tests}
BuildRequires: python3dist(twisted)
%endif
%description
jsonschema is an implementation of JSON Schema for Python (supporting
2.7+, including Python 3).
- Full support for Draft 7, Draft 6, Draft 4 and Draft 3
- Lazy validation that can iteratively report all validation errors.
- Small and extensible
- Programmatic querying of which properties or items failed validation.
%package -n python3-jsonschema
Summary: Implementation of JSON Schema validation for Python
%description -n python3-jsonschema
jsonschema is an implementation of JSON Schema for Python (supporting
2.7+, including Python 3).
%pyproject_extras_subpkg -n python3-jsonschema format format-nongpl
%prep
%autosetup -n jsonschema-%{version}
rm jsonschema/tests/test_jsonschema_test_suite.py
%generate_buildrequires
%pyproject_buildrequires
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files jsonschema
%if %{with tests}
%check
PYTHONPATH=%{buildroot}%{python3_sitelib} trial-3 jsonschema
%endif
%files -n python3-jsonschema -f %{pyproject_files}
%license COPYING json/LICENSE
%license %{python3_sitelib}/jsonschema-%{version}.dist-info/licenses/
%doc README.rst
%{_bindir}/jsonschema
%changelog
* Thu Jul 18 2024 Upgrade Robot <upbot@opencloudos.tech> - 4.23.0-1
- Upgrade to version 4.23.0
* Fri Sep 22 2023 Miaojun Dong <zoedong@tencent.com> - 4.17.3-1
- Bump version to 4.17.3
* Tue Sep 19 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 4.17.0-5
- Rebuilt for python 3.11
* Fri Sep 08 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 4.17.0-4
- Rebuilt for OpenCloudOS Stream 23.09
* Fri Apr 28 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 4.17.0-3
- Rebuilt for OpenCloudOS Stream 23.05
* Fri Mar 31 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 4.17.0-2
- Rebuilt for OpenCloudOS Stream 23
* Wed Dec 14 2022 Feng Weiyao <wynnfeng@tencent.com> - 4.17.0-1
- package init.
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ocs-upgrade/python-jsonschema.git
git@gitee.com:ocs-upgrade/python-jsonschema.git
ocs-upgrade
python-jsonschema
python-jsonschema
master

搜索帮助