Julien Cristau pushed to branch debian/unstable at X Strike Force / proto / xcb-proto
Commits:
-
abfd0cbc
by Julien Cristau at 2020-01-02T11:49:33+01:00
5 changed files:
- debian/changelog
- debian/control
- debian/python-xcbgen.install
- + debian/python3-xcbgen.install
- debian/rules
Changes:
1 |
+xcb-proto (1.13-1.1) UNRELEASED; urgency=medium
|
|
2 |
+ |
|
3 |
+ * Build a python3-xcbgen package.
|
|
4 |
+ |
|
5 |
+ -- Julien Cristau <jcristau@debian.org> Thu, 02 Jan 2020 11:42:07 +0100
|
|
6 |
+ |
|
1 | 7 |
xcb-proto (1.13-1) unstable; urgency=medium
|
2 | 8 |
|
3 | 9 |
* New upstream release.
|
... | ... | @@ -7,9 +7,9 @@ Build-Depends: |
7 | 7 |
debhelper (>= 11),
|
8 | 8 |
dh-python,
|
9 | 9 |
libxml2-utils,
|
10 |
- python-all (>= 2.6.6-3~),
|
|
10 |
+ python,
|
|
11 |
+ python3,
|
|
11 | 12 |
Standards-Version: 4.1.3
|
12 |
-X-Python-Version: >= 2.5
|
|
13 | 13 |
Homepage: https://xcb.freedesktop.org
|
14 | 14 |
Vcs-Git: https://salsa.debian.org/xorg-team/proto/xcb-proto.git
|
15 | 15 |
Vcs-Browser: https://salsa.debian.org/xorg-team/proto/xcb-proto
|
... | ... | @@ -41,7 +41,7 @@ Section: python |
41 | 41 |
Architecture: all
|
42 | 42 |
Multi-Arch: foreign
|
43 | 43 |
Depends: ${python:Depends}, ${misc:Depends}
|
44 |
-Description: X C Binding - protocol binding generator
|
|
44 |
+Description: X C Binding - protocol binding generator (Python 2)
|
|
45 | 45 |
python-xcbgen generates the X protocol C language bindings from XML
|
46 | 46 |
descriptions.
|
47 | 47 |
.
|
... | ... | @@ -55,3 +55,23 @@ Description: X C Binding - protocol binding generator |
55 | 55 |
* Thread support: access XCB from multiple threads, with no explicit locking
|
56 | 56 |
* Easy creation of new extensions: automatically generates interface from
|
57 | 57 |
machine-parsable protocol descriptions
|
58 |
+ |
|
59 |
+Package: python3-xcbgen
|
|
60 |
+Section: python
|
|
61 |
+Architecture: all
|
|
62 |
+Multi-Arch: foreign
|
|
63 |
+Depends: ${python3:Depends}, ${misc:Depends}
|
|
64 |
+Description: X C Binding - protocol binding generator (Python 3)
|
|
65 |
+ python3-xcbgen generates the X protocol C language bindings from XML
|
|
66 |
+ descriptions.
|
|
67 |
+ .
|
|
68 |
+ The XCB library provides an interface to the X Window System protocol,
|
|
69 |
+ designed to replace the Xlib interface. XCB provides several advantages over
|
|
70 |
+ Xlib:
|
|
71 |
+ .
|
|
72 |
+ * Size: small library and lower memory footprint
|
|
73 |
+ * Latency hiding: batch several requests and wait for the replies later
|
|
74 |
+ * Direct protocol access: one-to-one mapping between interface and protocol
|
|
75 |
+ * Thread support: access XCB from multiple threads, with no explicit locking
|
|
76 |
+ * Easy creation of new extensions: automatically generates interface from
|
|
77 |
+ machine-parsable protocol descriptions
|
1 |
-usr/lib/python*
|
|
1 |
+usr/lib/python2*
|
1 |
+usr/lib/python3*
|
1 | 1 |
#!/usr/bin/make -f
|
2 | 2 |
|
3 | 3 |
%:
|
4 |
- dh $@ --with python2
|
|
4 |
+ dh $@ --with python2,python3
|
|
5 |
+ |
|
6 |
+override_dh_auto_clean:
|
|
7 |
+ dh_auto_clean --builddirectory=build-py2 PYTHON=python2
|
|
8 |
+ dh_auto_clean --builddirectory=build-py3 PYTHON=python3
|
|
5 | 9 |
|
6 | 10 |
override_dh_auto_configure:
|
7 |
- dh_auto_configure -- --libdir=/usr/lib
|
|
11 |
+ dh_auto_configure --builddirectory=build-py2 -- --libdir=/usr/lib PYTHON=python2
|
|
12 |
+ dh_auto_configure --builddirectory=build-py3 -- --libdir=/usr/lib PYTHON=python3
|
|
13 |
+ |
|
14 |
+override_dh_auto_build:
|
|
15 |
+ dh_auto_build --builddirectory=build-py2 PYTHON=python2
|
|
16 |
+ dh_auto_build --builddirectory=build-py3 PYTHON=python3
|
|
17 |
+ |
|
18 |
+override_dh_auto_install:
|
|
19 |
+ dh_auto_install --builddirectory=build-py2 PYTHON=python2
|
|
20 |
+ dh_auto_install --builddirectory=build-py3 PYTHON=python3
|