[Python-modules-commits] r31259 - in packages/pyxb/trunk/debian (6 files)

fladi-guest at users.alioth.debian.org fladi-guest at users.alioth.debian.org
Fri Oct 24 21:42:50 UTC 2014


    Date: Friday, October 24, 2014 @ 21:42:49
  Author: fladi-guest
Revision: 31259

Move executeable scripts to separate pyxb package.

Added:
  packages/pyxb/trunk/debian/pyxb.install
  packages/pyxb/trunk/debian/pyxb.manpages
    (from rev 31240, packages/pyxb/trunk/debian/python-pyxb.manpages)
Modified:
  packages/pyxb/trunk/debian/control
  packages/pyxb/trunk/debian/python-pyxb.install
  packages/pyxb/trunk/debian/python3-pyxb.install
Deleted:
  packages/pyxb/trunk/debian/python-pyxb.manpages

Modified: packages/pyxb/trunk/debian/control
===================================================================
--- packages/pyxb/trunk/debian/control	2014-10-24 20:27:42 UTC (rev 31258)
+++ packages/pyxb/trunk/debian/control	2014-10-24 21:42:49 UTC (rev 31259)
@@ -17,12 +17,44 @@
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/pyxb/trunk/
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/pyxb/trunk/
 
+Package: pyxb
+Architecture: all
+Depends: ${misc:Depends},
+         ${python:Depends} | ${python3:Depends},
+         python-pyxb (= ${binary:Version}) | python3-pyxb (= ${binary:Version})
+Replaces: python-pyxb (<< 1.2.4+dfsg-1)
+Breaks: python-pyxb (<< 1.2.4+dfsg-1)
+Description: Python XML Schema Bindings (Executeables)
+ 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 executeable scripts.
+
 Package: python-pyxb
 Architecture: all
 Depends: ${misc:Depends},
          ${python:Depends}
 Suggests: python-pyxb-doc
-Description: Python XML Schema Bindings
+Description: Python XML Schema Bindings (Python2 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++.
@@ -44,6 +76,8 @@
     + include and import directives
     + constraints on simple types
   * Validate the documents against their schema
+ .
+ This package contains the Python 2 version of the library.
 
 Package: python3-pyxb
 Architecture: all
@@ -110,7 +144,7 @@
 Depends: python-pyxb (= ${binary:Version}),
          ${misc:Depends},
          ${python:Depends}
-Description: Python XML Schema Bindings (common bindings)
+Description: Python XML Schema Bindings (common bindings for Python2)
  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++.
@@ -133,7 +167,7 @@
     + constraints on simple types
   * Validate the documents against their schema
  .
- This package contains the prebuilt common XML bindings.
+ This package contains the prebuilt common XML bindings for Python2.
 
 Package: python3-pyxb-bundles-common
 Architecture: all
@@ -170,7 +204,7 @@
 Depends: python-pyxb (= ${binary:Version}),
          ${misc:Depends},
          ${python:Depends}
-Description: Python XML Schema Bindings (WS-* bindings)
+Description: Python XML Schema Bindings (WS-* bindings for Python2)
  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++.
@@ -193,7 +227,7 @@
     + constraints on simple types
   * Validate the documents against their schema
  .
- This package contains the prebuilt WS-* bindings.
+ This package contains the prebuilt WS-* bindings for Python2.
 
 Package: python3-pyxb-bundles-wssplat
 Architecture: all
@@ -230,7 +264,7 @@
 Depends: python-pyxb (= ${binary:Version}),
          ${misc:Depends},
          ${python:Depends}
-Description: Python XML Schema Bindings (Dublin Core bindings)
+Description: Python XML Schema Bindings (Dublin Core bindings for Python2)
  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++.
@@ -253,7 +287,8 @@
     + constraints on simple types
   * Validate the documents against their schema
  .
- This package contains the prebuilt Dublin Core Metadata Initiative bindings.
+ This package contains the prebuilt Dublin Core Metadata Initiative bindings
+ for Python2.
 
 Package: python3-pyxb-bundles-dc
 Architecture: all
@@ -291,7 +326,7 @@
 Depends: python-pyxb (= ${binary:Version}),
          ${misc:Depends},
          ${python:Depends}
-Description: Python XML Schema Bindings (SAML bindings)
+Description: Python XML Schema Bindings (SAML bindings for Python2)
  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++.
@@ -314,7 +349,8 @@
     + constraints on simple types
   * Validate the documents against their schema
  .
- This package contains the prebuilt Security Assertion Markup Language bindings.
+ This package contains the prebuilt Security Assertion Markup Language bindings
+ for Python2.
 
 Package: python3-pyxb-bundles-saml20
 Architecture: all

Modified: packages/pyxb/trunk/debian/python-pyxb.install
===================================================================
--- packages/pyxb/trunk/debian/python-pyxb.install	2014-10-24 20:27:42 UTC (rev 31258)
+++ packages/pyxb/trunk/debian/python-pyxb.install	2014-10-24 21:42:49 UTC (rev 31259)
@@ -1,4 +1,3 @@
-usr/bin/pyxb*
 usr/lib/python2.*/dist-packages/PyXB-*.egg-info
 usr/lib/python2.*/dist-packages/pyxb/*.py
 usr/lib/python2.*/dist-packages/pyxb/binding/*.py

Deleted: packages/pyxb/trunk/debian/python-pyxb.manpages
===================================================================
--- packages/pyxb/trunk/debian/python-pyxb.manpages	2014-10-24 20:27:42 UTC (rev 31258)
+++ packages/pyxb/trunk/debian/python-pyxb.manpages	2014-10-24 21:42:49 UTC (rev 31259)
@@ -1,3 +0,0 @@
-pyxbdump.1
-pyxbgen.1
-pyxbwsdl.1

Modified: packages/pyxb/trunk/debian/python3-pyxb.install
===================================================================
--- packages/pyxb/trunk/debian/python3-pyxb.install	2014-10-24 20:27:42 UTC (rev 31258)
+++ packages/pyxb/trunk/debian/python3-pyxb.install	2014-10-24 21:42:49 UTC (rev 31259)
@@ -1,4 +1,3 @@
-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

Added: packages/pyxb/trunk/debian/pyxb.install
===================================================================
--- packages/pyxb/trunk/debian/pyxb.install	                        (rev 0)
+++ packages/pyxb/trunk/debian/pyxb.install	2014-10-24 21:42:49 UTC (rev 31259)
@@ -0,0 +1 @@
+usr/bin/pyxb*

Copied: packages/pyxb/trunk/debian/pyxb.manpages (from rev 31240, packages/pyxb/trunk/debian/python-pyxb.manpages)
===================================================================
--- packages/pyxb/trunk/debian/pyxb.manpages	                        (rev 0)
+++ packages/pyxb/trunk/debian/pyxb.manpages	2014-10-24 21:42:49 UTC (rev 31259)
@@ -0,0 +1,3 @@
+pyxbdump.1
+pyxbgen.1
+pyxbwsdl.1




More information about the Python-modules-commits mailing list