Codebase list python-cffi-py2 / debian/1.14.0-1
Import Debian changes 1.14.0-1 python-cffi (1.14.0-1) unstable; urgency=medium * New upstream release. * Bump copyright years. * Bump Standards-Version to 4.5.0, no changes needed. python-cffi (1.13.2-1) unstable; urgency=medium * New upstream point release, no significant changes. python-cffi (1.13.1-1) unstable; urgency=medium [ Stefano Rivera ] * New upstream release. (Closes: #942865) [ Ondřej Nový ] * Bump Standards-Version to 4.4.1. python-cffi (1.12.3-1) unstable; urgency=medium * New upstream release. * Bump debhelper compat to 12 (and use B-D syntax). * Bump Standards-Version to 4.4.0, no changes needed. * Remove versioned constraints that pre-date stretch. python-cffi (1.12.2-1) unstable; urgency=medium * New upstream release. - With initial Python 3.8 compatibility. python-cffi (1.12.1-1) unstable; urgency=medium * New upstream release. * Drop patch xfail-modify-struct, superseded upstream. python-cffi (1.12.0-2) unstable; urgency=medium * Patch xfail-modify-struct: xfail TestOwnLib.test_modify_struct_value on arm64, hppa, riscv64, and sparc64, until resolved upstream. python-cffi (1.12.0-1) unstable; urgency=medium * New upstream release. * Drop all patches, superseded upstream. - Hopefully fixed race in locking tests on hurd (Closes: #893743) * Bump Standards-Version to 4.3.0, no changes needed. * Bump copyright years. * Delete .pytest_cache/ in clean. python-cffi (1.11.5-3) unstable; urgency=medium [ Ondřej Nový ] * Use 'python3 -m sphinx' instead of sphinx-build for building docs [ Stefano Rivera ] * Patch skip-double-float-int: Skip big double->float inf tests on ppc64el, they are known to fail on gcc8, and the blame is being debated upstream. * Patch skip-init-locking-hurd: Skip a non-critical test that fails occasionally Hurd. (See: #893743) * Bump Standards-Version to 4.2.1, no changes needed. python-cffi (1.11.5-2) unstable; urgency=medium [ Ondřej Nový ] * d/tests: Use AUTOPKGTEST_TMP instead of ADTTMP * d/control: Remove ancient X-Python-Version field * d/control: Remove ancient X-Python3-Version field [ Stefano Rivera ] * Add python-cffi-doc package with Sphinx docs (Closes: #891865) * Patch: x32-pointers: handle pointers on ILP32 ABIs correctly. (Closes: #884705) * Bump Standards-Version to 4.2.0, no changes needed. python-cffi (1.11.5-1) unstable; urgency=medium * New upstream release. * Drop patches, superseded upstream. python-cffi (1.11.4-1) unstable; urgency=medium [ Stefano Rivera ] * New upstream release. * Drop patches, superseded upstream. * Update copyright years. * Bump Standards-Version to 4.1.3, no changes needed. * Declare Rules-Requires-Root: no * Bump debhelper compat to 11. * Patch: Avoid embedded bootstrapping race in recent python2.7 (Closes: #889813) [ Ondřej Nový ] * d/control: Set Vcs-* to salsa.debian.org * d/copyright: Use https protocol in Format field * d/control: Deprecating priority extra as per policy 4.0.1 python-cffi (1.9.1-2) unstable; urgency=medium * Patch kfreebsd-mtime-resolution: Explicitly flush import cache after creating a Python module in test_recompiler. Fixes test failures on kFreeBSD. python-cffi (1.9.1-1) unstable; urgency=medium * New upstream release. python-cffi (1.7.0-1) unstable; urgency=medium * New upstream release. (Closes: #811953) python-cffi (1.6.0-1) unstable; urgency=medium * New upstream release. * Bump Standards-Version to 3.9.8, no changes needed. * britney now supports versioned Provides, so generate them in pydist. python-cffi (1.5.2-1) unstable; urgency=medium * New upstream release. * Drop all patches, superseded upstream. * Switch VCS fields to the same https URL * Switch watch file to use https. * Bump Standards-Version to 3.9.7, no changes needed. * Instruct virtualenv to never download, during package tests. python-cffi (1.5.0-1) unstable; urgency=medium * New upstream release * Bump dh-python Build-Dep to a version that can correctly use --ext-dest-dir. * Drop patches superseded upstream. * Patch the new extension system to work with pybuild, and support -dbg interpreters. * Bump copyright years. python-cffi (1.4.2-2) unstable; urgency=medium * Workaround a libffi bug in struct return value handling on arm64, which was causing tests to fail. python-cffi (1.4.2-1) unstable; urgency=medium * New upstream release python-cffi (1.3.1-1) unstable; urgency=medium * New upstream release. python-cffi (1.3.0-3) unstable; urgency=medium * Install setuptools for autopkgtests. * Allow test_zdist to be run standalane, for autopkgtests. python-cffi (1.3.0-2) unstable; urgency=medium * Fix test failures on 32bit ARM. python-cffi (1.3.0-1) unstable; urgency=medium * New upstream release (Closes: #799278). * Update VCS fields for Git migration. python-cffi (1.2.1-1) unstable; urgency=medium * New upstream release. * Upload to unstable. * Use stricter dependencies (python{3,}-cffi-backend-api-XXX), until we can use versioned provides. python-cffi (1.1.2-2) experimental; urgency=medium * Upload to experimental * Rewrite cffi dependencies to python-cffi-backend with a PyDist file, so that pre-built cffi modules only depend on the backend. python-cffi (1.1.2-1) unstable; urgency=medium * New upstream release. * Update clean rule for test-suite reorg. * Patch: Correctly locate py2.7 debug build extensions. * Remove package data from -dbg packages. * Install upstream's new shiny changelog as a changelog. * Drop now-obsolete XS-Testsuite field. * Update autopkgtests, for test-suite reorg. Ignore test_parse_c_type.py. * Split the cffi_backend module into python-cffi-backend (and similarly for Python 3). (Closes: #782275) python-cffi (0.9.2-2) unstable; urgency=medium * Upload to unstable, now that jessie has released. python-cffi (0.9.2-1) experimental; urgency=medium * New upstream release. python-cffi (0.9.0-1) experimental; urgency=medium * New upstream release. (Closes: #733517, 774787) * Drop patches, applied upstream. * Point watch file at pypi.debian.net. * Update copyright years. * Bump Standards-Version to 3.9.6, no changes needed. * Upload to experimental, due to the freeze. python-cffi (0.8.6-1) unstable; urgency=medium * New upstream release. * Drop patches, applied upstream. * Patch: arm64: Test suite passes on arm64 (LP: #1271256) * Bump Standards-Version to 3.9.5, no changes needed. * Use pybuild's --name feature. Bump B-D appropriately. * Use --tb=native for ADT tests, so that logs won't get GB long (Closes: #743244) * Depend on build-essential in ADT tests. * Build-Depend (and ADT Depend) on the new virtualenv package, rather than python-virtualenv, for the zintegration tests. * Add DEP-12 upstream metadata. python-cffi (0.8.1-2) unstable; urgency=medium * Team upload [ Stefano Rivera ] * Patch: link-libm. Fixes build failures on Sparc and S390x, where libm isn't implicitly linked (Closes: #733517) * Patch: skip-sparc-failure. Skip a test on Sparc that crashes the test runner. python-cffi (0.8.1-1) unstable; urgency=medium * New upstream release. * Drop big-endian-bitfields patch, superseded upstream. * Patch: py3.4-test-failure. Add a missing goto to an error path. (Closes: #734299, LP: #1270401) python-cffi (0.7.2-2) unstable; urgency=low * Patch: big-endian-bitfields. Handle bitfields correctly on big endian archs. python-cffi (0.7.2-1) unstable; urgency=low [ Stefano Rivera ] * New upstream release. - Supports creating void * handles for Python objects. * Switched watch file to https. * Build with pybuild. * Use -m pytest in autopkgtests. [ Jakub Wilk ] * Use canonical URIs for Vcs-* fields. python-cffi (0.6-1) unstable; urgency=low * New upstream release. - Fixing most of the build failures. * Drop all patches (superseded upstream). * autopkgtests: Depend on python-dev / python3-dev. * Suggest python-dev / python3-dev (needed for building verifier extensions). python-cffi (0.5-1) unstable; urgency=low * Initial package (Closes: #700084) Stefano Rivera authored 4 years ago Sophie Brun committed 3 years ago
15 changed file(s) with 719 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 python-cffi (1.14.0-1) unstable; urgency=medium
1
2 * New upstream release.
3 * Bump copyright years.
4 * Bump Standards-Version to 4.5.0, no changes needed.
5
6 -- Stefano Rivera <[email protected]> Thu, 13 Feb 2020 21:15:43 -0800
7
8 python-cffi (1.13.2-1) unstable; urgency=medium
9
10 * New upstream point release, no significant changes.
11
12 -- Stefano Rivera <[email protected]> Tue, 24 Dec 2019 10:13:31 +0200
13
14 python-cffi (1.13.1-1) unstable; urgency=medium
15
16 [ Stefano Rivera ]
17 * New upstream release. (Closes: #942865)
18
19 [ Ondřej Nový ]
20 * Bump Standards-Version to 4.4.1.
21
22 -- Stefano Rivera <[email protected]> Sat, 02 Nov 2019 11:26:50 -0700
23
24 python-cffi (1.12.3-1) unstable; urgency=medium
25
26 * New upstream release.
27 * Bump debhelper compat to 12 (and use B-D syntax).
28 * Bump Standards-Version to 4.4.0, no changes needed.
29 * Remove versioned constraints that pre-date stretch.
30
31 -- Stefano Rivera <[email protected]> Mon, 08 Jul 2019 22:56:35 -0700
32
33 python-cffi (1.12.2-1) unstable; urgency=medium
34
35 * New upstream release.
36 - With initial Python 3.8 compatibility.
37
38 -- Stefano Rivera <[email protected]> Tue, 26 Feb 2019 14:00:14 -0800
39
40 python-cffi (1.12.1-1) unstable; urgency=medium
41
42 * New upstream release.
43 * Drop patch xfail-modify-struct, superseded upstream.
44
45 -- Stefano Rivera <[email protected]> Mon, 25 Feb 2019 11:01:48 -0800
46
47 python-cffi (1.12.0-2) unstable; urgency=medium
48
49 * Patch xfail-modify-struct: xfail TestOwnLib.test_modify_struct_value on
50 arm64, hppa, riscv64, and sparc64, until resolved upstream.
51
52 -- Stefano Rivera <[email protected]> Wed, 13 Feb 2019 17:25:34 -0800
53
54 python-cffi (1.12.0-1) unstable; urgency=medium
55
56 * New upstream release.
57 * Drop all patches, superseded upstream.
58 - Hopefully fixed race in locking tests on hurd (Closes: #893743)
59 * Bump Standards-Version to 4.3.0, no changes needed.
60 * Bump copyright years.
61 * Delete .pytest_cache/ in clean.
62
63 -- Stefano Rivera <[email protected]> Wed, 13 Feb 2019 13:01:48 -0800
64
65 python-cffi (1.11.5-3) unstable; urgency=medium
66
67 [ Ondřej Nový ]
68 * Use 'python3 -m sphinx' instead of sphinx-build for building docs
69
70 [ Stefano Rivera ]
71 * Patch skip-double-float-int: Skip big double->float inf tests on ppc64el,
72 they are known to fail on gcc8, and the blame is being debated upstream.
73 * Patch skip-init-locking-hurd: Skip a non-critical test that fails
74 occasionally Hurd. (See: #893743)
75 * Bump Standards-Version to 4.2.1, no changes needed.
76
77 -- Stefano Rivera <[email protected]> Wed, 12 Sep 2018 17:05:03 +0300
78
79 python-cffi (1.11.5-2) unstable; urgency=medium
80
81 [ Ondřej Nový ]
82 * d/tests: Use AUTOPKGTEST_TMP instead of ADTTMP
83 * d/control: Remove ancient X-Python-Version field
84 * d/control: Remove ancient X-Python3-Version field
85
86 [ Stefano Rivera ]
87 * Add python-cffi-doc package with Sphinx docs (Closes: #891865)
88 * Patch: x32-pointers: handle pointers on ILP32 ABIs correctly.
89 (Closes: #884705)
90 * Bump Standards-Version to 4.2.0, no changes needed.
91
92 -- Stefano Rivera <[email protected]> Sun, 26 Aug 2018 22:17:20 +0100
93
94 python-cffi (1.11.5-1) unstable; urgency=medium
95
96 * New upstream release.
97 * Drop patches, superseded upstream.
98
99 -- Stefano Rivera <[email protected]> Tue, 27 Feb 2018 11:34:07 -0800
100
101 python-cffi (1.11.4-1) unstable; urgency=medium
102
103 [ Stefano Rivera ]
104 * New upstream release.
105 * Drop patches, superseded upstream.
106 * Update copyright years.
107 * Bump Standards-Version to 4.1.3, no changes needed.
108 * Declare Rules-Requires-Root: no
109 * Bump debhelper compat to 11.
110 * Patch: Avoid embedded bootstrapping race in recent python2.7
111 (Closes: #889813)
112
113 [ Ondřej Nový ]
114 * d/control: Set Vcs-* to salsa.debian.org
115 * d/copyright: Use https protocol in Format field
116 * d/control: Deprecating priority extra as per policy 4.0.1
117
118 -- Stefano Rivera <[email protected]> Tue, 20 Feb 2018 10:24:15 -0800
119
120 python-cffi (1.9.1-2) unstable; urgency=medium
121
122 * Patch kfreebsd-mtime-resolution: Explicitly flush import cache after
123 creating a Python module in test_recompiler. Fixes test failures on
124 kFreeBSD.
125
126 -- Stefano Rivera <[email protected]> Fri, 30 Dec 2016 19:15:07 +0100
127
128 python-cffi (1.9.1-1) unstable; urgency=medium
129
130 * New upstream release.
131
132 -- Stefano Rivera <[email protected]> Fri, 30 Dec 2016 12:54:55 +0100
133
134 python-cffi (1.7.0-1) unstable; urgency=medium
135
136 * New upstream release. (Closes: #811953)
137
138 -- Stefano Rivera <[email protected]> Mon, 01 Aug 2016 12:52:35 -0400
139
140 python-cffi (1.6.0-1) unstable; urgency=medium
141
142 * New upstream release.
143 * Bump Standards-Version to 3.9.8, no changes needed.
144 * britney now supports versioned Provides, so generate them in pydist.
145
146 -- Stefano Rivera <[email protected]> Sat, 07 May 2016 18:57:57 +0200
147
148 python-cffi (1.5.2-1) unstable; urgency=medium
149
150 * New upstream release.
151 * Drop all patches, superseded upstream.
152 * Switch VCS fields to the same https URL
153 * Switch watch file to use https.
154 * Bump Standards-Version to 3.9.7, no changes needed.
155 * Instruct virtualenv to never download, during package tests.
156
157 -- Stefano Rivera <[email protected]> Thu, 18 Feb 2016 00:09:22 -0800
158
159 python-cffi (1.5.0-1) unstable; urgency=medium
160
161 * New upstream release
162 * Bump dh-python Build-Dep to a version that can correctly use
163 --ext-dest-dir.
164 * Drop patches superseded upstream.
165 * Patch the new extension system to work with pybuild, and support -dbg
166 interpreters.
167 * Bump copyright years.
168
169 -- Stefano Rivera <[email protected]> Sun, 17 Jan 2016 11:03:41 -0800
170
171 python-cffi (1.4.2-2) unstable; urgency=medium
172
173 * Workaround a libffi bug in struct return value handling on arm64, which
174 was causing tests to fail.
175
176 -- Stefano Rivera <[email protected]> Tue, 29 Dec 2015 10:46:03 +0200
177
178 python-cffi (1.4.2-1) unstable; urgency=medium
179
180 * New upstream release
181
182 -- Stefano Rivera <[email protected]> Fri, 25 Dec 2015 17:16:28 +0200
183
184 python-cffi (1.3.1-1) unstable; urgency=medium
185
186 * New upstream release.
187
188 -- Stefano Rivera <[email protected]> Tue, 24 Nov 2015 08:52:16 -0800
189
190 python-cffi (1.3.0-3) unstable; urgency=medium
191
192 * Install setuptools for autopkgtests.
193 * Allow test_zdist to be run standalane, for autopkgtests.
194
195 -- Stefano Rivera <[email protected]> Mon, 26 Oct 2015 23:52:12 -0700
196
197 python-cffi (1.3.0-2) unstable; urgency=medium
198
199 * Fix test failures on 32bit ARM.
200
201 -- Stefano Rivera <[email protected]> Thu, 22 Oct 2015 08:35:44 -0700
202
203 python-cffi (1.3.0-1) unstable; urgency=medium
204
205 * New upstream release (Closes: #799278).
206 * Update VCS fields for Git migration.
207
208 -- Stefano Rivera <[email protected]> Wed, 21 Oct 2015 17:11:18 -0700
209
210 python-cffi (1.2.1-1) unstable; urgency=medium
211
212 * New upstream release.
213 * Upload to unstable.
214 * Use stricter dependencies (python{3,}-cffi-backend-api-XXX), until we can
215 use versioned provides.
216
217 -- Stefano Rivera <[email protected]> Thu, 17 Sep 2015 11:56:41 -0400
218
219 python-cffi (1.1.2-2) experimental; urgency=medium
220
221 * Upload to experimental
222 * Rewrite cffi dependencies to python-cffi-backend with a PyDist
223 file, so that pre-built cffi modules only depend on the backend.
224
225 -- Stefano Rivera <[email protected]> Mon, 29 Jun 2015 15:53:54 -0700
226
227 python-cffi (1.1.2-1) unstable; urgency=medium
228
229 * New upstream release.
230 * Update clean rule for test-suite reorg.
231 * Patch: Correctly locate py2.7 debug build extensions.
232 * Remove package data from -dbg packages.
233 * Install upstream's new shiny changelog as a changelog.
234 * Drop now-obsolete XS-Testsuite field.
235 * Update autopkgtests, for test-suite reorg. Ignore test_parse_c_type.py.
236 * Split the cffi_backend module into python-cffi-backend (and similarly for
237 Python 3). (Closes: #782275)
238
239 -- Stefano Rivera <[email protected]> Mon, 29 Jun 2015 14:13:00 -0700
240
241 python-cffi (0.9.2-2) unstable; urgency=medium
242
243 * Upload to unstable, now that jessie has released.
244
245 -- Stefano Rivera <[email protected]> Fri, 08 May 2015 22:50:47 -0700
246
247 python-cffi (0.9.2-1) experimental; urgency=medium
248
249 * New upstream release.
250
251 -- Stefano Rivera <[email protected]> Tue, 17 Mar 2015 21:24:23 -0700
252
253 python-cffi (0.9.0-1) experimental; urgency=medium
254
255 * New upstream release. (Closes: #733517, 774787)
256 * Drop patches, applied upstream.
257 * Point watch file at pypi.debian.net.
258 * Update copyright years.
259 * Bump Standards-Version to 3.9.6, no changes needed.
260 * Upload to experimental, due to the freeze.
261
262 -- Stefano Rivera <[email protected]> Wed, 04 Mar 2015 14:58:17 +0200
263
264 python-cffi (0.8.6-1) unstable; urgency=medium
265
266 * New upstream release.
267 * Drop patches, applied upstream.
268 * Patch: arm64: Test suite passes on arm64 (LP: #1271256)
269 * Bump Standards-Version to 3.9.5, no changes needed.
270 * Use pybuild's --name feature. Bump B-D appropriately.
271 * Use --tb=native for ADT tests, so that logs won't get GB long
272 (Closes: #743244)
273 * Depend on build-essential in ADT tests.
274 * Build-Depend (and ADT Depend) on the new virtualenv package, rather than
275 python-virtualenv, for the zintegration tests.
276 * Add DEP-12 upstream metadata.
277
278 -- Stefano Rivera <[email protected]> Thu, 24 Jul 2014 10:55:19 +0200
279
280 python-cffi (0.8.1-2) unstable; urgency=medium
281
282 * Team upload
283
284 [ Stefano Rivera ]
285 * Patch: link-libm. Fixes build failures on Sparc and S390x, where libm
286 isn't implicitly linked (Closes: #733517)
287 * Patch: skip-sparc-failure. Skip a test on Sparc that crashes the test
288 runner.
289
290 -- Scott Kitterman <[email protected]> Mon, 14 Jul 2014 01:13:49 -0400
291
292 python-cffi (0.8.1-1) unstable; urgency=medium
293
294 * New upstream release.
295 * Drop big-endian-bitfields patch, superseded upstream.
296 * Patch: py3.4-test-failure. Add a missing goto to an error path.
297 (Closes: #734299, LP: #1270401)
298
299 -- Stefano Rivera <[email protected]> Sat, 18 Jan 2014 20:22:26 +0200
300
301 python-cffi (0.7.2-2) unstable; urgency=low
302
303 * Patch: big-endian-bitfields. Handle bitfields correctly on big endian
304 archs.
305
306 -- Stefano Rivera <[email protected]> Sun, 01 Sep 2013 17:41:20 +0200
307
308 python-cffi (0.7.2-1) unstable; urgency=low
309
310 [ Stefano Rivera ]
311 * New upstream release.
312 - Supports creating void * handles for Python objects.
313 * Switched watch file to https.
314 * Build with pybuild.
315 * Use -m pytest in autopkgtests.
316
317 [ Jakub Wilk ]
318 * Use canonical URIs for Vcs-* fields.
319
320 -- Stefano Rivera <[email protected]> Fri, 09 Aug 2013 16:22:47 +0200
321
322 python-cffi (0.6-1) unstable; urgency=low
323
324 * New upstream release.
325 - Fixing most of the build failures.
326 * Drop all patches (superseded upstream).
327 * autopkgtests: Depend on python-dev / python3-dev.
328 * Suggest python-dev / python3-dev (needed for building verifier
329 extensions).
330
331 -- Stefano Rivera <[email protected]> Tue, 16 Apr 2013 18:18:19 +0200
332
333 python-cffi (0.5-1) unstable; urgency=low
334
335 * Initial package (Closes: #700084)
336
337 -- Stefano Rivera <[email protected]> Mon, 25 Feb 2013 12:12:31 +0200
0 *.egg-info/*
1 debian/*.pydist
2 doc/build/
3 .pytest_cache/
0 Source: python-cffi
1 Section: python
2 Priority: optional
3 Maintainer: Debian Python Modules Team <[email protected]>
4 Uploaders: Stefano Rivera <[email protected]>
5 Build-Depends:
6 debhelper-compat (= 12),
7 dh-python,
8 libffi-dev,
9 python-all-dbg,
10 python-all-dev,
11 python-py,
12 python-pycparser,
13 python-pytest,
14 python-setuptools,
15 python3-all-dbg,
16 python3-all-dev,
17 python3-py,
18 python3-pycparser,
19 python3-pytest,
20 python3-setuptools,
21 python3-sphinx,
22 virtualenv
23 Standards-Version: 4.5.0
24 Homepage: http://cffi.readthedocs.org/
25 Vcs-Git: https://salsa.debian.org/python-team/modules/python-cffi.git
26 Vcs-Browser: https://salsa.debian.org/python-team/modules/python-cffi
27 Rules-Requires-Root: no
28
29 Package: python-cffi
30 Architecture: all
31 Depends:
32 python-cffi-backend (<< ${source:Version}+c),
33 python-cffi-backend (>= ${source:Version}),
34 ${misc:Depends},
35 ${python:Depends}
36 Suggests: python-dev
37 Description: Foreign Function Interface for Python calling C code
38 Convenient and reliable way of calling C code from Python.
39 .
40 The aim of this project is to provide a convenient and reliable way of calling
41 C code from Python. It keeps Python logic in Python, and minimises the C
42 required. It is able to work at either the C API or ABI level, unlike most
43 other approaches, that only support the ABI level.
44 .
45 This package contains the necessary build and runtime support for cffi
46 modules.
47
48 Package: python-cffi-backend
49 Architecture: any
50 Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}
51 Provides: ${cffi:Provides}
52 Description: Foreign Function Interface for Python calling C code - backend
53 Convenient and reliable way of calling C code from Python.
54 .
55 The aim of this project is to provide a convenient and reliable way of calling
56 C code from Python. It keeps Python logic in Python, and minimises the C
57 required. It is able to work at either the C API or ABI level, unlike most
58 other approaches, that only support the ABI level.
59 .
60 This package contains the runtime support for pre-built cffi modules.
61
62 Package: python-cffi-backend-dbg
63 Architecture: any
64 Section: debug
65 Depends:
66 python-cffi-backend (= ${binary:Version}),
67 ${misc:Depends},
68 ${python:Depends},
69 ${shlibs:Depends}
70 Description: Foreign Function Interface for Python calling C code (Debug version)
71 Convenient and reliable way of calling C code from Python.
72 .
73 The aim of this project is to provide a convenient and reliable way of calling
74 C code from Python. It keeps Python logic in Python, and minimises the C
75 required. It is able to work at either the C API or ABI level, unlike most
76 other approaches, that only support the ABI level.
77 .
78 This package contains the debug version of the python-cffi backend.
79
80 Package: python3-cffi
81 Architecture: all
82 Depends:
83 python3-cffi-backend (<< ${source:Version}+c),
84 python3-cffi-backend (>= ${source:Version}),
85 ${misc:Depends},
86 ${python3:Depends}
87 Suggests: python3-dev
88 Description: Foreign Function Interface for Python 3 calling C code
89 Convenient and reliable way of calling C code from Python 3.
90 .
91 The aim of this project is to provide a convenient and reliable way of calling
92 C code from Python. It keeps Python logic in Python, and minimises the C
93 required. It is able to work at either the C API or ABI level, unlike most
94 other approaches, that only support the ABI level.
95 .
96 This package contains the necessary build and runtime support for cffi
97 modules.
98
99 Package: python3-cffi-backend
100 Architecture: any
101 Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}
102 Provides: ${cffi:Provides}
103 Description: Foreign Function Interface for Python 3 calling C code - runtime
104 Convenient and reliable way of calling C code from Python 3.
105 .
106 The aim of this project is to provide a convenient and reliable way of calling
107 C code from Python. It keeps Python logic in Python, and minimises the C
108 required. It is able to work at either the C API or ABI level, unlike most
109 other approaches, that only support the ABI level.
110 .
111 This package contains the runtime support for pre-built cffi modules.
112
113 Package: python3-cffi-backend-dbg
114 Architecture: any
115 Section: debug
116 Depends:
117 python3-cffi-backend (= ${binary:Version}),
118 ${misc:Depends},
119 ${python3:Depends},
120 ${shlibs:Depends}
121 Description: Foreign Function Interface for Python 3 calling C code (Debug version)
122 Convenient and reliable way of calling C code from Python 3.
123 .
124 The aim of this project is to provide a convenient and reliable way of calling
125 C code from Python. It keeps Python logic in Python, and minimises the C
126 required. It is able to work at either the C API or ABI level, unlike most
127 other approaches, that only support the ABI level.
128 .
129 This package contains the debug version of the python3-cffi backend.
130
131 Package: python-cffi-doc
132 Architecture: all
133 Section: doc
134 Depends: ${misc:Depends}, ${sphinxdoc:Depends}
135 Description: Foreign Function Interface for Python calling C code - documentation
136 Convenient and reliable way of calling C code from Python.
137 .
138 The aim of this project is to provide a convenient and reliable way of calling
139 C code from Python. It keeps Python logic in Python, and minimises the C
140 required. It is able to work at either the C API or ABI level, unlike most
141 other approaches, that only support the ABI level.
142 .
143 This package contains the developer documentation for cffi.
0 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1 Upstream-Name: CFFI
2 Upstream-Contact: Armin Rigo
3 Source: http://pypi.python.org/pypi/cffi/
4
5 Files: *
6 Copyright: 2012-2020, Armin Rigo
7 2012-2013, Maciej Fijalkowski
8 License: Expat
9
10 Files: c/libffi_msvc/*
11 Copyright: 1996-2003, Red Hat, Inc.
12 2002, Bo Thorsen
13 2001, John Beniton
14 2002, Ranjit Mathew
15 2002, Roger Sayle
16 License: Expat
17
18 Files: debian/*
19 Copyright: 2012-2020, Stefano Rivera <[email protected]>
20 License: Expat
21
22 License: Expat
23 Permission is hereby granted, free of charge, to any person obtaining a copy
24 of this software and associated documentation files (the "Software"), to deal
25 in the Software without restriction, including without limitation the rights
26 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
27 copies of the Software, and to permit persons to whom the Software is
28 furnished to do so, subject to the following conditions:
29 .
30 The above copyright notice and this permission notice shall be included in all
31 copies or substantial portions of the Software.
32 .
33 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
34 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
35 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
36 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
37 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
38 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
39 SOFTWARE.
0 #!/usr/bin/python3
1
2 import re
3
4
5 def target_version():
6 with open('cffi/recompiler.py', encoding='UTF-8') as f:
7 for line in f:
8 m = re.match(r'^VERSION_BASE = (0x[0-9A-F]+)$', line)
9 if m:
10 return int(m.group(1), 16)
11 raise Exception('Version not found')
12
13
14 def backend_supported_versions():
15 versions = {}
16 with open('c/cffi1_module.c', encoding='UTF-8') as f:
17 for line in f:
18 m = re.match(r'^#define CFFI_VERSION_(MIN|MAX) *(0x[0-9A-F]+)$',
19 line)
20 if m:
21 versions[m.group(1)] = int(m.group(2), 16)
22 if len(versions) == 2:
23 return versions['MIN'], versions['MAX']
24 raise Exception('Versions not found')
25
26
27 versions = backend_supported_versions()
28 target = target_version()
29 for pkg in ('python-cffi', 'python3-cffi'):
30 subst = {
31 'pkg': pkg,
32 'min': versions[0],
33 'max': versions[1],
34 'target': target,
35 }
36 with open('debian/{0}-backend.substvars'.format(pkg), 'a',
37 encoding='UTF-8') as f:
38 f.write('cffi:Provides={pkg}-backend-api-min (= {min}), '
39 '{pkg}-backend-api-max (= {max}), '
40 '{pkg}-backend-api-{target}\n'.format(**subst))
41 with open('debian/{0}.pydist'.format(pkg), 'w', encoding='UTF-8') as f:
42 f.write('cffi {pkg}-backend-api-min (<= {target}), '
43 '{pkg}-backend-api-max (>= {target})\n'
44 .format(**subst))
0 Document: python-cffi-doc
1 Title: cffi Foreign Function Interface for Python calling C code
2 Abstract: Convenient and reliable way of calling C code from Python.
3 The aim of this project is to provide a convenient and reliable way of calling
4 C code from Python. It keeps Python logic in Python, and minimises the C
5 required. It is able to work at either the C API or ABI level, unlike most
6 other approaches, that only support the ABI level.
7 Author: Armin Rigo
8 Section: Programming/Python
9
10 Format: HTML
11 Index: /usr/share/doc/python-cffi-doc/html/index.html
12 Files: /usr/share/doc/python-cffi-doc/html/*.html
13
14 Format: text
15 Index: /usr/share/doc/python-cffi-doc/rst/index.rst.txt
16 Files: /usr/share/doc/python-cffi-doc/rst/*.txt
0 /usr/share/doc/python-cffi-doc/html/ /usr/share/doc/python-cffi/html
1 /usr/share/doc/python-cffi-doc/html/ /usr/share/doc/python3-cffi/html
2 /usr/share/doc/python-cffi-doc/html/_sources /usr/share/doc/python-cffi-doc/rst
3 /usr/share/doc/python-cffi-doc/html/_sources /usr/share/doc/python-cffi/rst
4 /usr/share/doc/python-cffi-doc/html/_sources /usr/share/doc/python3-cffi/rst
0 #!/usr/bin/make -f
1
2 export PYBUILD_DESTDIR_python2=debian/python-cffi
3 export PYBUILD_DESTDIR_python3=debian/python3-cffi
4 export PYBUILD_EXT_DESTDIR_python2=debian/python-cffi-backend
5 export PYBUILD_EXT_DESTDIR_python3=debian/python3-cffi-backend
6 export PYBUILD_EXT_DESTDIR_python2-dbg=debian/python-cffi-backend-dbg
7 export PYBUILD_EXT_DESTDIR_python3-dbg=debian/python3-cffi-backend-dbg
8
9 export VIRTUALENV_DOWNLOAD=no
10
11 %:
12 dh $@ --with python2,python3,sphinxdoc --buildsystem pybuild
13
14 override_dh_auto_build-indep:
15 dh_auto_build --indep
16 python3 -m sphinx -b html -d doc/build/doctrees doc/source doc/build/html
17
18 override_dh_auto_test:
19 PYBUILD_SYSTEM=custom \
20 PYBUILD_TEST_ARGS="{interpreter} -m pytest c/ testing/" \
21 dh_auto_test
22
23 override_dh_install:
24 debian/gen-backend-versions.py
25 dh_install
26
27 override_dh_installdocs-indep:
28 dh_installdocs -p python-cffi-doc --doc-main-package python-cffi-doc
29 dh_installdocs --indep -N python-cffi-doc
30
31 override_dh_installchangelogs:
32 dh_installchangelogs doc/source/whatsnew.rst
33
34 override_dh_strip:
35 dh_strip -p python-cffi-backend -p python-cffi-backend-dbg \
36 --dbg-package=python-cffi-backend-dbg
37 dh_strip -p python3-cffi-backend -p python3-cffi-backend-dbg \
38 --dbg-package=python3-cffi-backend-dbg
39 dh_strip --remaining-packages
40
41 override_dh_clean:
42 dh_clean
43 rm -rf $(wildcard testing/*/snippets/*/build testing/*/snippets/*/dist testing/*/snippets/*/*.egg-info)
0 3.0 (quilt)
0 Tests: unittests
1 Depends:
2 build-essential,
3 python-all-dbg,
4 python-all-dev,
5 python-cffi,
6 python-cffi-backend-dbg,
7 python-py,
8 python-pytest,
9 python-setuptools,
10 virtualenv
11
12 Tests: unittests3
13 Depends:
14 build-essential,
15 python3-all-dbg,
16 python3-all-dev,
17 python3-cffi,
18 python3-cffi-backend-dbg,
19 python3-py,
20 python3-pytest,
21 python3-setuptools,
22 virtualenv
0 #!/bin/sh
1 set -efu
2
3 pythons="$(pyversions -s)"
4 cp -a c testing "$AUTOPKGTEST_TMP"
5
6 # Not appropriate:
7 rm "$AUTOPKGTEST_TMP"/testing/cffi0/test_version.py
8 rm "$AUTOPKGTEST_TMP"/testing/cffi1/test_parse_c_type.py
9
10 # Temporary hack until cffi defaults to calling virtualenv with --never-download
11 export VIRTUALENV_DOWNLOAD=no
12
13 # Delete any stale __pycache__s
14 find "$AUTOPKGTEST_TMP" -name '__pycache__' -print0 | xargs -0 rm -rf
15
16 cd "$AUTOPKGTEST_TMP"
17 for py in $pythons; do
18 echo "======= $py ======="
19 $py -m pytest --tb=native c testing
20 echo "======= $py-dbg ======="
21 $py-dbg -m pytest --tb=native c testing 2>&1
22 done
0 #!/bin/sh
1 set -efu
2
3 pythons="$(py3versions -s)"
4 cp -a c testing "$AUTOPKGTEST_TMP"
5
6 # Not appropriate:
7 rm "$AUTOPKGTEST_TMP"/testing/cffi0/test_version.py
8 rm "$AUTOPKGTEST_TMP"/testing/cffi1/test_parse_c_type.py
9
10 # Temporary hack until cffi defaults to calling virtualenv with --never-download
11 export VIRTUALENV_DOWNLOAD=no
12
13 # Delete any stale __pycache__s
14 find "$AUTOPKGTEST_TMP" -name '__pycache__' -print0 | xargs -0 rm -rf
15
16 cd "$AUTOPKGTEST_TMP"
17 for py in $pythons; do
18 echo "======= $py ======="
19 $py -m pytest --tb=native c testing
20 echo "======= $py-dbg ======="
21 $py-dbg -m pytest --tb=native c testing 2>&1
22 done
0 Archive: PyPI
1 Bug-Database: https://bitbucket.org/cffi/cffi/issues
2 Bug-Submit: https://bitbucket.org/cffi/cffi/issues/new
3 Contact: https://groups.google.com/forum/#!forum/python-cffi
4 Name: CFFI
5 Homepage: http://cffi.readthedocs.org/
6 Repository: https://bitbucket.org/cffi/cffi
7 Repository-Browse: https://bitbucket.org/cffi/cffi
0 version=3
1 opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
2 https://pypi.debian.net/cffi/cffi-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))