Sync from SUSE:SLFO:Main python-fastjsonschema revision 1d0a4b3414818aecef3fb2551a5fa2af
This commit is contained in:
commit
194f17d4ba
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
fastjsonschema-2.16.3.tar.gz
(Stored with Git LFS)
Normal file
BIN
fastjsonschema-2.16.3.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
69
python-fastjsonschema.changes
Normal file
69
python-fastjsonschema.changes
Normal file
@ -0,0 +1,69 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 12 10:18:43 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- add sle15_python_module_pythons (jsc#PED-68)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 6 21:23:34 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 2.16.3:
|
||||||
|
* Fix variable name resolving with references
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 6 14:32:39 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 2.16.2:
|
||||||
|
* Use temporary dir in tests for compiled code
|
||||||
|
* Add comments to Python versions in Github workflow
|
||||||
|
* Add conditional test that uses $ref
|
||||||
|
* Add conditional tests just to make sure the baseline works
|
||||||
|
* Recursively expand all $ref strings in schemas
|
||||||
|
* Add test case capturing the desired behaviour
|
||||||
|
* Expand $ref when assiging the definition field in JsonSchemaValueExce
|
||||||
|
* Add an assertion before removing 'data' from variable name
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 18 13:11:48 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Cleanup the SPEC file.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jul 16 15:33:14 UTC 2022 - Arun Persaud <arun@gmx.de>
|
||||||
|
|
||||||
|
- specfile:
|
||||||
|
* update copyright
|
||||||
|
|
||||||
|
- update to version 2.15.3:
|
||||||
|
* Fix swapping handlers
|
||||||
|
* Fix tests
|
||||||
|
* Readable regexps in generated code
|
||||||
|
|
||||||
|
- changes from version 2.15.2:
|
||||||
|
* Fix nested oneOf and anyOf
|
||||||
|
* Fix if-else block in anyOf block
|
||||||
|
* Fix uniqueItems including lists or dicts
|
||||||
|
* Add option to pass custom formats in generated code
|
||||||
|
|
||||||
|
- changes from version 2.15.1:
|
||||||
|
* Fix parsing date-time with +hhmm format
|
||||||
|
* Fix generating code with custom regular expressions
|
||||||
|
|
||||||
|
- changes from version 2.15.0:
|
||||||
|
* Fix additional property equal to empty object is the same as True
|
||||||
|
* Fix const with "
|
||||||
|
* Add const to error message
|
||||||
|
* Add JsonSchemaValueException (replacement for JsonSchemaException)
|
||||||
|
+ JsonSchemaException is base exception
|
||||||
|
+ JsonSchemaDefinitionException no longer inherits from
|
||||||
|
JsonSchemaValueException
|
||||||
|
* New option `use_default` to have option turn off default feature
|
||||||
|
(`True` by default to be compatible)
|
||||||
|
|
||||||
|
- changes from version 2.14.5:
|
||||||
|
* Fix missing dependencies
|
||||||
|
* Fix schema cache
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 12 04:52:10 PM UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
- Initial spec for v2.14.4
|
64
python-fastjsonschema.spec
Normal file
64
python-fastjsonschema.spec
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-fastjsonschema
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
|
Name: python-fastjsonschema
|
||||||
|
Version: 2.16.3
|
||||||
|
Release: 0
|
||||||
|
Summary: Fastest Python implementation of JSON schema
|
||||||
|
License: BSD-3-Clause
|
||||||
|
Group: Development/Languages/Python
|
||||||
|
URL: https://github.com/horejsek/python-fastjsonschema
|
||||||
|
Source: https://files.pythonhosted.org/packages/source/f/fastjsonschema/fastjsonschema-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
Suggests: python-colorama
|
||||||
|
Suggests: python-json-spec
|
||||||
|
Suggests: python-jsonschema
|
||||||
|
Suggests: python-pylint
|
||||||
|
Suggests: python-pytest
|
||||||
|
Suggests: python-pytest-benchmark
|
||||||
|
Suggests: python-pytest-cache
|
||||||
|
Suggests: python-validictory
|
||||||
|
BuildArch: noarch
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
|
%description
|
||||||
|
Fastest Python implementation of JSON schema
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1 -n fastjsonschema-%{version}
|
||||||
|
|
||||||
|
chmod -x fastjsonschema.egg-info/*
|
||||||
|
|
||||||
|
%build
|
||||||
|
%python_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%doc README.rst
|
||||||
|
%license LICENSE
|
||||||
|
%{python_sitelib}/fastjsonschema
|
||||||
|
%{python_sitelib}/fastjsonschema-%{version}*-info
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user