[Python-modules-commits] r31255 - in packages/pyxb/trunk/debian (7 files)

fladi-guest at users.alioth.debian.org fladi-guest at users.alioth.debian.org
Fri Oct 24 19:06:24 UTC 2014


    Date: Friday, October 24, 2014 @ 19:06:23
  Author: fladi-guest
Revision: 31255

Add Python3 variants of all binary packages.

Added:
  packages/pyxb/trunk/debian/python3-pyxb-bundles-common.install
  packages/pyxb/trunk/debian/python3-pyxb-bundles-dc.install
  packages/pyxb/trunk/debian/python3-pyxb-bundles-saml20.install
  packages/pyxb/trunk/debian/python3-pyxb-bundles-wssplat.install
  packages/pyxb/trunk/debian/python3-pyxb.install
Modified:
  packages/pyxb/trunk/debian/control
  packages/pyxb/trunk/debian/rules

Modified: packages/pyxb/trunk/debian/control
===================================================================
--- packages/pyxb/trunk/debian/control	2014-10-24 18:06:36 UTC (rev 31254)
+++ packages/pyxb/trunk/debian/control	2014-10-24 19:06:23 UTC (rev 31255)
@@ -8,9 +8,11 @@
                docbook-to-man,
                python-all,
                python-sphinx (>= 1.0.7+dfsg),
-               python-unittest2
+               python-unittest2,
+               python3-all
 Standards-Version: 3.9.6
 X-Python-Version: >= 2.5
+X-Python3-Version: >= 3.3
 Homepage: http://pyxb.sourceforge.net/
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/pyxb/trunk/
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/pyxb/trunk/
@@ -43,6 +45,36 @@
     + constraints on simple types
   * Validate the documents against their schema
 
+Package: python3-pyxb
+Architecture: all
+Depends: ${misc:Depends},
+         ${python3:Depends}
+Suggests: python-pyxb-doc
+Description: Python XML Schema Bindings (Python3 version)
+ PyXB is a pure Python package that generates Python code for classes that
+ correspond to data structures defined by XMLSchema. In concept it is similar to
+ JAXB for Java and CodeSynthesis XSD for C++.
+ .
+ The major goals of PyXB are:
+  * Provide a generated Python interface that is “Pythonic”, meaning similar to
+    one that would have been hand-written:
+    + Attributes and elements are Python properties, with name conflicts
+      resolved in favor of elements
+    + Elements with maxOccurs larger than 1 are stored as Python lists
+    + Bindings for type extensions inherit from the binding for the base type
+    + Enumeration constraints are exposed as class (constant) variables
+  * Support bi-directional conversion (document to Python and back)
+  * Allow easy customization of the generated bindings to provide functionality
+    along with content
+  * Support all XMLSchema features that are in common use, including:
+    + complex content models (nested all/choice/sequence)
+    + cross-namespace dependencies
+    + include and import directives
+    + constraints on simple types
+  * Validate the documents against their schema
+ .
+ This package contains the Python 3 version of the library.
+
 Package: python-pyxb-doc
 Section: doc
 Architecture: all
@@ -103,6 +135,36 @@
  .
  This package contains the prebuilt common XML bindings.
 
+Package: python3-pyxb-bundles-common
+Architecture: all
+Depends: python3-pyxb (= ${binary:Version}),
+         ${misc:Depends},
+         ${python3:Depends}
+Description: Python XML Schema Bindings (common bindings for Python3)
+ PyXB is a pure Python package that generates Python code for classes that
+ correspond to data structures defined by XMLSchema. In concept it is similar to
+ JAXB for Java and CodeSynthesis XSD for C++.
+ .
+ The major goals of PyXB are:
+  * Provide a generated Python interface that is “Pythonic”, meaning similar to
+    one that would have been hand-written:
+    + Attributes and elements are Python properties, with name conflicts
+      resolved in favor of elements
+    + Elements with maxOccurs larger than 1 are stored as Python lists
+    + Bindings for type extensions inherit from the binding for the base type
+    + Enumeration constraints are exposed as class (constant) variables
+  * Support bi-directional conversion (document to Python and back)
+  * Allow easy customization of the generated bindings to provide functionality
+    along with content
+  * Support all XMLSchema features that are in common use, including:
+    + complex content models (nested all/choice/sequence)
+    + cross-namespace dependencies
+    + include and import directives
+    + constraints on simple types
+  * Validate the documents against their schema
+ .
+ This package contains the prebuilt common XML bindings for Python3.
+
 Package: python-pyxb-bundles-wssplat
 Architecture: all
 Depends: python-pyxb (= ${binary:Version}),
@@ -133,6 +195,36 @@
  .
  This package contains the prebuilt WS-* bindings.
 
+Package: python3-pyxb-bundles-wssplat
+Architecture: all
+Depends: python3-pyxb (= ${binary:Version}),
+         ${misc:Depends},
+         ${python3:Depends}
+Description: Python XML Schema Bindings (WS-* bindings for Python3)
+ PyXB is a pure Python package that generates Python code for classes that
+ correspond to data structures defined by XMLSchema. In concept it is similar to
+ JAXB for Java and CodeSynthesis XSD for C++.
+ .
+ The major goals of PyXB are:
+  * Provide a generated Python interface that is “Pythonic”, meaning similar to
+    one that would have been hand-written:
+    + Attributes and elements are Python properties, with name conflicts
+      resolved in favor of elements
+    + Elements with maxOccurs larger than 1 are stored as Python lists
+    + Bindings for type extensions inherit from the binding for the base type
+    + Enumeration constraints are exposed as class (constant) variables
+  * Support bi-directional conversion (document to Python and back)
+  * Allow easy customization of the generated bindings to provide functionality
+    along with content
+  * Support all XMLSchema features that are in common use, including:
+    + complex content models (nested all/choice/sequence)
+    + cross-namespace dependencies
+    + include and import directives
+    + constraints on simple types
+  * Validate the documents against their schema
+ .
+ This package contains the prebuilt WS-* bindings for Python3.
+
 Package: python-pyxb-bundles-dc
 Architecture: all
 Depends: python-pyxb (= ${binary:Version}),
@@ -163,6 +255,37 @@
  .
  This package contains the prebuilt Dublin Core Metadata Initiative bindings.
 
+Package: python3-pyxb-bundles-dc
+Architecture: all
+Depends: python3-pyxb (= ${binary:Version}),
+         ${misc:Depends},
+         ${python3:Depends}
+Description: Python XML Schema Bindings (Dublin Core bindings for Python3)
+ PyXB is a pure Python package that generates Python code for classes that
+ correspond to data structures defined by XMLSchema. In concept it is similar to
+ JAXB for Java and CodeSynthesis XSD for C++.
+ .
+ The major goals of PyXB are:
+  * Provide a generated Python interface that is “Pythonic”, meaning similar to
+    one that would have been hand-written:
+    + Attributes and elements are Python properties, with name conflicts
+      resolved in favor of elements
+    + Elements with maxOccurs larger than 1 are stored as Python lists
+    + Bindings for type extensions inherit from the binding for the base type
+    + Enumeration constraints are exposed as class (constant) variables
+  * Support bi-directional conversion (document to Python and back)
+  * Allow easy customization of the generated bindings to provide functionality
+    along with content
+  * Support all XMLSchema features that are in common use, including:
+    + complex content models (nested all/choice/sequence)
+    + cross-namespace dependencies
+    + include and import directives
+    + constraints on simple types
+  * Validate the documents against their schema
+ .
+ This package contains the prebuilt Dublin Core Metadata Initiative bindings
+ for Python3.
+
 Package: python-pyxb-bundles-saml20
 Architecture: all
 Depends: python-pyxb (= ${binary:Version}),
@@ -192,3 +315,34 @@
   * Validate the documents against their schema
  .
  This package contains the prebuilt Security Assertion Markup Language bindings.
+
+Package: python3-pyxb-bundles-saml20
+Architecture: all
+Depends: python3-pyxb (= ${binary:Version}),
+         ${misc:Depends},
+         ${python3:Depends}
+Description: Python XML Schema Bindings (SAML bindings for Python3)
+ PyXB is a pure Python package that generates Python code for classes that
+ correspond to data structures defined by XMLSchema. In concept it is similar to
+ JAXB for Java and CodeSynthesis XSD for C++.
+ .
+ The major goals of PyXB are:
+  * Provide a generated Python interface that is “Pythonic”, meaning similar to
+    one that would have been hand-written:
+    + Attributes and elements are Python properties, with name conflicts
+      resolved in favor of elements
+    + Elements with maxOccurs larger than 1 are stored as Python lists
+    + Bindings for type extensions inherit from the binding for the base type
+    + Enumeration constraints are exposed as class (constant) variables
+  * Support bi-directional conversion (document to Python and back)
+  * Allow easy customization of the generated bindings to provide functionality
+    along with content
+  * Support all XMLSchema features that are in common use, including:
+    + complex content models (nested all/choice/sequence)
+    + cross-namespace dependencies
+    + include and import directives
+    + constraints on simple types
+  * Validate the documents against their schema
+ .
+ This package contains the prebuilt Security Assertion Markup Language bindings
+ for Python3.

Added: packages/pyxb/trunk/debian/python3-pyxb-bundles-common.install
===================================================================
--- packages/pyxb/trunk/debian/python3-pyxb-bundles-common.install	                        (rev 0)
+++ packages/pyxb/trunk/debian/python3-pyxb-bundles-common.install	2014-10-24 19:06:23 UTC (rev 31255)
@@ -0,0 +1 @@
+usr/lib/python3.*/dist-packages/pyxb/bundles/common

Added: packages/pyxb/trunk/debian/python3-pyxb-bundles-dc.install
===================================================================
--- packages/pyxb/trunk/debian/python3-pyxb-bundles-dc.install	                        (rev 0)
+++ packages/pyxb/trunk/debian/python3-pyxb-bundles-dc.install	2014-10-24 19:06:23 UTC (rev 31255)
@@ -0,0 +1 @@
+usr/lib/python3.*/dist-packages/pyxb/bundles/dc

Added: packages/pyxb/trunk/debian/python3-pyxb-bundles-saml20.install
===================================================================
--- packages/pyxb/trunk/debian/python3-pyxb-bundles-saml20.install	                        (rev 0)
+++ packages/pyxb/trunk/debian/python3-pyxb-bundles-saml20.install	2014-10-24 19:06:23 UTC (rev 31255)
@@ -0,0 +1 @@
+usr/lib/python3.*/dist-packages/pyxb/bundles/saml20

Added: packages/pyxb/trunk/debian/python3-pyxb-bundles-wssplat.install
===================================================================
--- packages/pyxb/trunk/debian/python3-pyxb-bundles-wssplat.install	                        (rev 0)
+++ packages/pyxb/trunk/debian/python3-pyxb-bundles-wssplat.install	2014-10-24 19:06:23 UTC (rev 31255)
@@ -0,0 +1 @@
+usr/lib/python3.*/dist-packages/pyxb/bundles/wssplat

Added: packages/pyxb/trunk/debian/python3-pyxb.install
===================================================================
--- packages/pyxb/trunk/debian/python3-pyxb.install	                        (rev 0)
+++ packages/pyxb/trunk/debian/python3-pyxb.install	2014-10-24 19:06:23 UTC (rev 31255)
@@ -0,0 +1,8 @@
+usr/bin/pyxb*
+usr/lib/python3.*/dist-packages/PyXB-*.egg-info
+usr/lib/python3.*/dist-packages/pyxb/*.py
+usr/lib/python3.*/dist-packages/pyxb/binding/*.py
+usr/lib/python3.*/dist-packages/pyxb/bundles/*.py
+usr/lib/python3.*/dist-packages/pyxb/namespace/*.py
+usr/lib/python3.*/dist-packages/pyxb/utils/*.py
+usr/lib/python3.*/dist-packages/pyxb/xmlschema/*.py

Modified: packages/pyxb/trunk/debian/rules
===================================================================
--- packages/pyxb/trunk/debian/rules	2014-10-24 18:06:36 UTC (rev 31254)
+++ packages/pyxb/trunk/debian/rules	2014-10-24 19:06:23 UTC (rev 31255)
@@ -4,7 +4,7 @@
 #export DH_VERBOSE=1
 
 %:
-	dh $@ --with python2,sphinxdoc --buildsystem=pybuild
+	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
 
 override_dh_auto_build:
 	set -e ; \
@@ -17,7 +17,7 @@
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	set -e; \
-	for py in $(shell pyversions -r); do \
+	for py in $(shell pyversions -r) $(shell py3versions -r); do \
 		$$py setup.py test; \
 	done
 endif




More information about the Python-modules-commits mailing list