osc copypac from project:openSUSE:Factory package:python-jsonschema revision:17
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsonschema?expand=0&rev=37
This commit is contained in:
parent
779893c1b7
commit
d98510e4ce
3
jsonschema-2.6.0.tar.gz
Normal file
3
jsonschema-2.6.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6ff5f3180870836cae40f06fa10419f557208175f13ad7bc26caa77beb1f6e02
|
||||||
|
size 53252
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:0c0a81564f181de3212efa2d17de1910f8732fa1b71c42266d983cd74304e20d
|
|
||||||
size 120834
|
|
@ -1,12 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Thu Mar 28 14:57:16 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
|
||||||
|
|
||||||
- Update to 3.0.1:
|
|
||||||
* Support for Draft 6 and Draft 7
|
|
||||||
* Draft 7 is now the default
|
|
||||||
* New TypeChecker object for more complex type definitions (and overrides)
|
|
||||||
* Falling back to isodate for the date-time format checker is no longer attempted, in accordance with the specification
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 14 15:34:35 CET 2019 - kukuk@suse.de
|
Mon Jan 14 15:34:35 CET 2019 - kukuk@suse.de
|
||||||
|
|
||||||
|
@ -19,49 +19,32 @@
|
|||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%bcond_without python2
|
%bcond_without python2
|
||||||
Name: python-jsonschema
|
Name: python-jsonschema
|
||||||
Version: 3.0.1
|
Version: 2.6.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: An implementation of JSON-Schema validation for Python
|
Summary: An implementation of JSON-Schema validation for Python
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: http://github.com/Julian/jsonschema
|
Url: http://github.com/Julian/jsonschema
|
||||||
Source: https://files.pythonhosted.org/packages/source/j/jsonschema/jsonschema-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/j/jsonschema/jsonschema-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module Twisted}
|
|
||||||
BuildRequires: %{python_module attrs >= 17.4.0}
|
|
||||||
BuildRequires: %{python_module idna}
|
|
||||||
BuildRequires: %{python_module jsonpointer > 1.13}
|
|
||||||
BuildRequires: %{python_module mock}
|
BuildRequires: %{python_module mock}
|
||||||
BuildRequires: %{python_module pyrsistent >= 0.14.0}
|
|
||||||
BuildRequires: %{python_module rfc3987}
|
|
||||||
BuildRequires: %{python_module setuptools_scm}
|
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module six >= 1.11.0}
|
BuildRequires: %{python_module vcversioner >= 2.16.0.0}
|
||||||
BuildRequires: %{python_module strict-rfc3339}
|
|
||||||
BuildRequires: %{python_module webcolors}
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-attrs >= 17.4.0
|
|
||||||
Requires: python-pyrsistent >= 0.14.0
|
|
||||||
Requires: python-setuptools
|
|
||||||
Requires: python-six >= 1.11.0
|
|
||||||
Requires(post): update-alternatives
|
|
||||||
Requires(preun): update-alternatives
|
|
||||||
Recommends: python-idna
|
|
||||||
Recommends: python-jsonpointer > 1.13
|
|
||||||
Recommends: python-rfc3987
|
|
||||||
Recommends: python-strict-rfc3339
|
|
||||||
Recommends: python-webcolors
|
|
||||||
BuildArch: noarch
|
|
||||||
%if %{with python2}
|
%if %{with python2}
|
||||||
BuildRequires: python2-functools32
|
BuildRequires: python2-functools32
|
||||||
%endif
|
%endif
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(preun): update-alternatives
|
||||||
|
BuildArch: noarch
|
||||||
%ifpython2
|
%ifpython2
|
||||||
Requires: python-functools32
|
Requires: python-functools32
|
||||||
%endif
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
jsonschema is an implementation of JSON Schema for Python
|
jsonschema is an implementation of JSON Schema (currently in Draft 3)
|
||||||
|
for Python (supporting 2.6+ including Python 3).
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n jsonschema-%{version}
|
%setup -q -n jsonschema-%{version}
|
||||||
@ -71,11 +54,13 @@ jsonschema is an implementation of JSON Schema for Python
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
# Prepare for update-alternatives usage
|
||||||
%python_clone -a %{buildroot}%{_bindir}/jsonschema
|
%python_clone -a %{buildroot}%{_bindir}/jsonschema
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_exec -m unittest discover
|
%python_exec -m unittest jsonschema.tests.test_jsonschema_test_suite
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative jsonschema
|
%python_install_alternative jsonschema
|
||||||
|
Loading…
x
Reference in New Issue
Block a user