forked from pool/python-xmlschema
* Optimize NamespaceView read-only mapping * Add experimental XML data bindings with a DataBindingConverter * Add experimental PythonGenerator for static codegen with Jinja2 * Add DataElement class for creating objects with schema bindings * Add DataElementConverter for decode to structured objects * Add an experimental abstract base class for building jinja2 based code generators (jinja2 as an optional dependency) * Add decoding of binary datatypes (xs:hexBinary and xs:base64Binary) * Fix encoding from string values for some builtin datatypes (decimal, binary, duration and datetime) * Include the pull request #220 (fix xml.etree import) * Additional tests for schema components * Fix for issues #213, #214, #215 and #218 * Code cleaning and optimizations on schema components * Reducing and grouping helper functions - Update remove_shebang.patch to also drop the shebang from a second file. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=26
21 lines
869 B
Diff
21 lines
869 B
Diff
Index: xmlschema-1.5.1/xmlschema/testing/builders.py
|
|
===================================================================
|
|
--- xmlschema-1.5.1.orig/xmlschema/testing/builders.py
|
|
+++ xmlschema-1.5.1/xmlschema/testing/builders.py
|
|
@@ -1,5 +1,3 @@
|
|
-#!/usr/bin/env python
|
|
-#
|
|
# Copyright (c), 2016-2020, SISSA (International School for Advanced Studies).
|
|
# All rights reserved.
|
|
# This file is distributed under the terms of the MIT License.
|
|
Index: xmlschema-1.5.1/xmlschema/testing/helpers.py
|
|
===================================================================
|
|
--- xmlschema-1.5.1.orig/xmlschema/testing/helpers.py
|
|
+++ xmlschema-1.5.1/xmlschema/testing/helpers.py
|
|
@@ -1,5 +1,3 @@
|
|
-#!/usr/bin/env python
|
|
-#
|
|
# Copyright (c), 2016-2020, SISSA (International School for Advanced Studies).
|
|
# All rights reserved.
|
|
# This file is distributed under the terms of the MIT License.
|