Merge lp:~tribaal/storm/storm-packaging-fix-python-central into lp:~landscape/storm/storm-packaging-lds

Proposed by Chris Glass
Status: Merged
Merged at revision: 14
Proposed branch: lp:~tribaal/storm/storm-packaging-fix-python-central
Merge into: lp:~landscape/storm/storm-packaging-lds
Diff against target: 554 lines (+378/-96)
13 files modified
changelog (+6/-0)
compat (+1/-1)
control (+72/-32)
copyright (+256/-33)
docs (+2/-0)
install (+4/-0)
patches/allow-zope-component.patch (+14/-0)
patches/no-tests-in-deb.patch (+0/-13)
patches/series (+1/-0)
pycompat (+0/-1)
python-storm-dbg.install (+1/-0)
rules (+20/-16)
source/format (+1/-0)
To merge this branch: bzr merge lp:~tribaal/storm/storm-packaging-fix-python-central
Reviewer Review Type Date Requested Status
Andreas Hasenack Approve
Landscape Pending
Review via email: mp+203737@code.launchpad.net

Description of the change

Fixes the packaging for trusty.

To post a comment you must log in.
22. By Chris Glass

Changed maintainer to point to us (<email address hidden>)

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Try with this patch to disable the test suite if it's building in a ppa. I grabbed this trick from juju-deployer, which disables tests that require networking if DEB_BUILD_ARCH or TESTING_ENVIRONMENT are set.

=== modified file 'rules'
--- rules revid:<email address hidden>
+++ rules 2014-01-30 19:18:09 +0000
@@ -10,11 +10,15 @@
  rm -rf storm.egg-info

 override_dh_auto_test:
+# don't run tests if the user set nocheck
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
- for python in $(shell pyversions -r); do \
- $$python setup.py test; \
- $$python-dbg setup.py test; \
- done
+# don't run tests if in a ppa builder
+ ifeq (,$(DEB_BUILD_ARCH))
+ for python in $(shell pyversions -r); do \
+ $$python setup.py test; \
+ $$python-dbg setup.py test; \
+ done
+ endif
 endif

 override_dh_strip:

Watch tab/spaces above: the "ifeq" and "endif" statements use spaces, the rest uses tabs (makefile syntax).

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Actually, juju-deployer checks this this:

TEST_OFFLINE = ("DEB_BUILD_ARCH" in os.environ or "TEST_OFFLINE" in os.environ)

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Forget that DEB_BUILD_ARCH test, doesn't seem to work, I get it defined when building locally.

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Actually, it might work :)

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Actually², let's disable tests during package build for now.

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Ok, with this patch http://pastebin.ubuntu.com/6845731/ it builds and runs *some* tests.

I also removed the Vcs options, no sense in pointing to that if we are keeping our own packaging branch I think.

Here is a build log with the patch applied:
http://pastebin.ubuntu.com/6845736/

review: Needs Fixing
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

http://pastebin.ubuntu.com/6845894/ buildlog for precise, also with the above patch applied.

23. By Chris Glass

Applying Andreas's patch to change the way tests are run.

Revision history for this message
Chris Glass (tribaal) wrote :

Patch applied - it seems to build fine indeed (https://launchpad.net/~tribaal/+archive/storm-trunk-ppa).
Thanks a lot!

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Nice, +1

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'changelog'
2--- changelog 2013-08-05 21:41:57 +0000
3+++ changelog 2014-01-31 08:21:22 +0000
4@@ -1,3 +1,9 @@
5+storm (0.20.0.99-0landscape2) trusty; urgency=medium
6+
7+ * Fixed pacakging for trusty since python-central is not available anymore.
8+
9+ -- Christopher Glass (Canonical) <christopher.glass@canonical.com> Wed, 29 Jan 2014 14:20:35 +0100
10+
11 storm (0.20.0.99-0landscape1) precise; urgency=low
12
13 * Bump version to 0.20.0.99, taken from the __init__.py file.
14
15=== modified file 'compat'
16--- compat 2011-08-05 19:47:25 +0000
17+++ compat 2014-01-31 08:21:22 +0000
18@@ -1,1 +1,1 @@
19-5
20+7
21
22=== modified file 'control'
23--- control 2012-03-29 15:17:05 +0000
24+++ control 2014-01-31 08:21:22 +0000
25@@ -1,41 +1,81 @@
26 Source: storm
27 Section: python
28 Priority: extra
29-Maintainer: Ubuntu MOTU Developers <ubuntu-motu@lists.ubuntu.com>
30-Build-Depends: cdbs (>= 0.4.49), debhelper (>= 5.0.38), python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6),
31- python-setuptools, python-zope.security (>= 3.7.2), python-fixtures (>= 0.3.5)
32-Standards-Version: 3.8.3
33-XS-Python-Version: all
34+Maintainer: Landscape Developers <landscape-devel@lists.canonical.com>
35+Build-Depends:
36+ debhelper (>= 7.0.50~),
37+ python-all-dbg (>= 2.6.6-3~),
38+ python-all-dev (>= 2.6.6-3~),
39+ python-setuptools,
40+ python-fixtures
41+Standards-Version: 3.9.2
42+X-Python-Version: >= 2.4
43 Homepage: http://storm.canonical.com/
44
45 Package: python-storm
46+Maintainer: Landscape Developers <landscape-devel@lists.canonical.com>
47 Architecture: any
48 Depends: ${misc:Depends}, ${shlibs:Depends}, ${python:Depends}
49-Provides: ${python:Provides}
50-Suggests: python-psycopg2, python-mysqldb, python-pysqlite2
51-XB-Python-Version: ${python:Versions}
52+Suggests: python-psycopg2 | python-mysqldb | python-pysqlite2
53 Description: object-relational mapper (ORM) for Python
54- Storm is an object-relation mapper (ORM) for the Python language. In
55- simple terms, that kind of system allows rows from a relational
56- database to be seen as objects in an object-oriented language like
57- Python.
58- .
59- Features:
60- * Clean and lightweight API offers a short learning curve and long-
61- erm maintainability.
62- * Storm is developed in a test-driven manner. An untested line of
63- code is considered a bug.
64- * Storm needs no special class constructors, nor imperative base
65- classes.
66- * Storm is well designed (different classes have very clear
67- boundaries, with small and clean public APIs).
68- * Designed from day one to work both with thin relational databases,
69- such as SQLite, and big iron systems like PostgreSQL and MySQL.
70- * Storm is easy to debug, since its code is written with a KISS
71- principle, and thus is easy to understand.
72- * Designed from day one to work both at the low end, with trivial
73- small databases, and the high end, with applications accessing
74- billion row tables and committing to multiple database backends.
75- * It's very easy to write and support backends for Storm (current
76- backends have around 100 lines of code).
77-
78+ Storm is an object-relation mapper (ORM) for the Python language. In
79+ simple terms, that kind of system allows rows from a relational
80+ database to be seen as objects in an object-oriented language like
81+ Python.
82+ .
83+ Features:
84+ * Clean and lightweight API offers a short learning curve and long-
85+ erm maintainability.
86+ * Storm is developed in a test-driven manner. An untested line of
87+ code is considered a bug.
88+ * Storm needs no special class constructors, nor imperative base
89+ classes.
90+ * Storm is well designed (different classes have very clear
91+ boundaries, with small and clean public APIs).
92+ * Designed from day one to work both with thin relational databases,
93+ such as SQLite, and big iron systems like PostgreSQL and MySQL.
94+ * Storm is easy to debug, since its code is written with a KISS
95+ principle, and thus is easy to understand.
96+ * Designed from day one to work both at the low end, with trivial
97+ small databases, and the high end, with applications accessing
98+ billion row tables and committing to multiple database backends.
99+ * It's very easy to write and support backends for Storm (current
100+ backends have around 100 lines of code).
101+
102+Package: python-storm-dbg
103+Maintainer: Landscape Developers <landscape-devel@lists.canonical.com>
104+Architecture: any
105+Section: debug
106+Depends:
107+ python-storm (= ${binary:Version}),
108+ ${misc:Depends},
109+ ${python:Depends},
110+ ${shlibs:Depends}
111+Recommends: python-dbg
112+Suggests: python-psycopg2 | python-mysqldb | python-pysqlite2
113+Description: object-relational mapper (ORM) for Python - debugging files
114+ Storm is an object-relation mapper (ORM) for the Python language. In
115+ simple terms, that kind of system allows rows from a relational
116+ database to be seen as objects in an object-oriented language like
117+ Python.
118+ .
119+ Features:
120+ * Clean and lightweight API offers a short learning curve and long-
121+ erm maintainability.
122+ * Storm is developed in a test-driven manner. An untested line of
123+ code is considered a bug.
124+ * Storm needs no special class constructors, nor imperative base
125+ classes.
126+ * Storm is well designed (different classes have very clear
127+ boundaries, with small and clean public APIs).
128+ * Designed from day one to work both with thin relational databases,
129+ such as SQLite, and big iron systems like PostgreSQL and MySQL.
130+ * Storm is easy to debug, since its code is written with a KISS
131+ principle, and thus is easy to understand.
132+ * Designed from day one to work both at the low end, with trivial
133+ small databases, and the high end, with applications accessing
134+ billion row tables and committing to multiple database backends.
135+ * It's very easy to write and support backends for Storm (current
136+ backends have around 100 lines of code).
137+ .
138+ This package contains the extension built for the Python debug interpreter.
139
140=== modified file 'copyright'
141--- copyright 2011-08-05 19:47:25 +0000
142+++ copyright 2014-01-31 08:21:22 +0000
143@@ -1,33 +1,256 @@
144-This package was debianized by Soren Hansen <soren@ubuntu.com> on
145-Fri, 13 Jul 2007 09:38:21 +0100.
146-
147-It was downloaded from https://launchpad.net/storm/+download
148-
149-Upstream Author:
150-
151- Gustavo Niemeyer <gustavo@niemeyer.net>
152-
153-Copyright:
154-
155- Copyright (c) 2006-2009 Canonical
156-
157-License:
158-
159- Storm is free software; you can redistribute it and/or modify
160- it under the terms of the GNU Lesser General Public License as
161- published by the Free Software Foundation; either version 2.1 of
162- the License, or (at your option) any later version.
163-
164- Storm is distributed in the hope that it will be useful,
165- but WITHOUT ANY WARRANTY; without even the implied warranty of
166- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
167- GNU Lesser General Public License for more details.
168-
169- You should have received a copy of the GNU Lesser General Public License
170- along with this program. If not, see <http://www.gnu.org/licenses/>.
171-
172-On Debian systems, the complete text of the GNU Lesser General Public
173-License version 2.1 can be found in /usr/share/common-licenses/LGPL-2.1 file.
174-
175-The Debian packaging is copyright 2007, Soren Hansen <soren@ubuntu.com> and
176-is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
177+Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=174
178+Upstream-Name: storm
179+Upstream-Contact: Gustavo Niemeyer <gustavo@niemeyer.net>
180+Source: https://launchpad.net/storm/+download
181+Comment: Upstream author is Gustavo Niemeyer <gustavo@niemeyer.net>.
182+
183+Files: *
184+Copyright: © 2006-2011, Canonical.
185+License: LGPL-2.1
186+
187+Files: tests/mocker.py
188+Copyright: © 2007, Gustavo Niemeyer <gustavo@niemeyer.net>
189+License: Python-2.0
190+
191+Files: storm/tz.py
192+Copyright: © 2003-2005, Gustavo Niemeyer <gustavo@niemeyer.net>
193+License: Python-2.0
194+
195+Files: debian/*
196+Copyright: © 2006-2008, Soren Hansen <soren@ubuntu.com>,
197+ © 2008-2009, Morten Kjeldgaard <mok@bioxray.au.dk>,
198+ © 2008, Alessio Treglia <quadrispro@ubuntu.com>,
199+ © 2009, Morten Kjeldgaard <mok0@ubuntu.com>,
200+ © 2009, William Grant <wgrant@ubuntu.com>,
201+ © 2010, Matthias Klose <doko@ubuntu.com>,
202+ © 2011, Scott Kitterman <scott@kitterman.com>,
203+ © 2011, Miguel Landaeta <miguel@miguel.cc>
204+License: GPL-2
205+
206+License: LGPL-2.1
207+ This library is free software; you can redistribute it and/or
208+ modify it under the terms of the GNU Lesser General Public
209+ License as published by the Free Software Foundation; either
210+ version 2.1 of the License, or (at your option) any later version.
211+ .
212+ This library is distributed in the hope that it will be useful,
213+ but WITHOUT ANY WARRANTY; without even the implied warranty of
214+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
215+ Lesser General Public License for more details.
216+ .
217+ You should have received a copy of the GNU Lesser General Public
218+ License along with this library; if not, write to the Free Software
219+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
220+ .
221+ On Debian systems, the complete text of the GNU Lesser General Public
222+ License version 2.1 can be found in /usr/share/common-licenses/LGPL-2.1 file.
223+
224+License: GPL-2
225+ This program is free software; you can redistribute it and/or modify
226+ it under the terms of the GNU General Public License as published by
227+ the Free Software Foundation; either version 2 of the License, or
228+ (at your option) any later version.
229+ .
230+ This program is distributed in the hope that it will be useful,
231+ but WITHOUT ANY WARRANTY; without even the implied warranty of
232+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
233+ GNU General Public License for more details.
234+ .
235+ You should have received a copy of the GNU General Public License along
236+ with this program; if not, write to the Free Software Foundation, Inc.,
237+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
238+ .
239+ On Debian systems, the complete text of the GNU General Public License
240+ version 2 can be found in /usr/share/common-licenses/GPL-2 file.
241+
242+License: Python-2.0
243+ PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
244+ --------------------------------------------
245+ .
246+ 1. This LICENSE AGREEMENT is between the Python Software Foundation
247+ ("PSF"), and the Individual or Organization ("Licensee") accessing and
248+ otherwise using this software ("Python") in source or binary form and
249+ its associated documentation.
250+ .
251+ 2. Subject to the terms and conditions of this License Agreement, PSF
252+ hereby grants Licensee a nonexclusive, royalty-free, world-wide
253+ license to reproduce, analyze, test, perform and/or display publicly,
254+ prepare derivative works, distribute, and otherwise use Python
255+ alone or in any derivative version, provided, however, that PSF's
256+ License Agreement and PSF's notice of copyright, i.e., "Copyright (c)
257+ 2001, 2002, 2003, 2004, 2005, 2006 Python Software Foundation; All Rights
258+ Reserved" are retained in Python alone or in any derivative version
259+ prepared by Licensee.
260+ .
261+ 3. In the event Licensee prepares a derivative work that is based on
262+ or incorporates Python or any part thereof, and wants to make
263+ the derivative work available to others as provided herein, then
264+ Licensee hereby agrees to include in any such work a brief summary of
265+ the changes made to Python.
266+ .
267+ 4. PSF is making Python available to Licensee on an "AS IS"
268+ basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
269+ IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
270+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
271+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
272+ INFRINGE ANY THIRD PARTY RIGHTS.
273+ .
274+ 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
275+ FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
276+ A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
277+ OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
278+ .
279+ 6. This License Agreement will automatically terminate upon a material
280+ breach of its terms and conditions.
281+ .
282+ 7. Nothing in this License Agreement shall be deemed to create any
283+ relationship of agency, partnership, or joint venture between PSF and
284+ Licensee. This License Agreement does not grant permission to use PSF
285+ trademarks or trade name in a trademark sense to endorse or promote
286+ products or services of Licensee, or any third party.
287+ .
288+ 8. By copying, installing or otherwise using Python, Licensee
289+ agrees to be bound by the terms and conditions of this License
290+ Agreement.
291+ .
292+ BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0
293+ -------------------------------------------
294+ .
295+ BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1
296+ .
297+ 1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an
298+ office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the
299+ Individual or Organization ("Licensee") accessing and otherwise using
300+ this software in source or binary form and its associated
301+ documentation ("the Software").
302+ .
303+ 2. Subject to the terms and conditions of this BeOpen Python License
304+ Agreement, BeOpen hereby grants Licensee a non-exclusive,
305+ royalty-free, world-wide license to reproduce, analyze, test, perform
306+ and/or display publicly, prepare derivative works, distribute, and
307+ otherwise use the Software alone or in any derivative version,
308+ provided, however, that the BeOpen Python License is retained in the
309+ Software, alone or in any derivative version prepared by Licensee.
310+ .
311+ 3. BeOpen is making the Software available to Licensee on an "AS IS"
312+ basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
313+ IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND
314+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
315+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT
316+ INFRINGE ANY THIRD PARTY RIGHTS.
317+ .
318+ 4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE
319+ SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS
320+ AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY
321+ DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
322+ .
323+ 5. This License Agreement will automatically terminate upon a material
324+ breach of its terms and conditions.
325+ .
326+ 6. This License Agreement shall be governed by and interpreted in all
327+ respects by the law of the State of California, excluding conflict of
328+ law provisions. Nothing in this License Agreement shall be deemed to
329+ create any relationship of agency, partnership, or joint venture
330+ between BeOpen and Licensee. This License Agreement does not grant
331+ permission to use BeOpen trademarks or trade names in a trademark
332+ sense to endorse or promote products or services of Licensee, or any
333+ third party. As an exception, the "BeOpen Python" logos available at
334+ http://www.pythonlabs.com/logos.html may be used according to the
335+ permissions granted on that web page.
336+ .
337+ 7. By copying, installing or otherwise using the software, Licensee
338+ agrees to be bound by the terms and conditions of this License
339+ Agreement.
340+ .
341+ CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1
342+ ---------------------------------------
343+ .
344+ 1. This LICENSE AGREEMENT is between the Corporation for National
345+ Research Initiatives, having an office at 1895 Preston White Drive,
346+ Reston, VA 20191 ("CNRI"), and the Individual or Organization
347+ ("Licensee") accessing and otherwise using Python 1.6.1 software in
348+ source or binary form and its associated documentation.
349+ .
350+ 2. Subject to the terms and conditions of this License Agreement, CNRI
351+ hereby grants Licensee a nonexclusive, royalty-free, world-wide
352+ license to reproduce, analyze, test, perform and/or display publicly,
353+ prepare derivative works, distribute, and otherwise use Python 1.6.1
354+ alone or in any derivative version, provided, however, that CNRI's
355+ License Agreement and CNRI's notice of copyright, i.e., "Copyright (c)
356+ 1995-2001 Corporation for National Research Initiatives; All Rights
357+ Reserved" are retained in Python 1.6.1 alone or in any derivative
358+ version prepared by Licensee. Alternately, in lieu of CNRI's License
359+ Agreement, Licensee may substitute the following text (omitting the
360+ quotes): "Python 1.6.1 is made available subject to the terms and
361+ conditions in CNRI's License Agreement. This Agreement together with
362+ Python 1.6.1 may be located on the Internet using the following
363+ unique, persistent identifier (known as a handle): 1895.22/1013. This
364+ Agreement may also be obtained from a proxy server on the Internet
365+ using the following URL: http://hdl.handle.net/1895.22/1013".
366+ .
367+ 3. In the event Licensee prepares a derivative work that is based on
368+ or incorporates Python 1.6.1 or any part thereof, and wants to make
369+ the derivative work available to others as provided herein, then
370+ Licensee hereby agrees to include in any such work a brief summary of
371+ the changes made to Python 1.6.1.
372+ .
373+ 4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS"
374+ basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
375+ IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND
376+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
377+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT
378+ INFRINGE ANY THIRD PARTY RIGHTS.
379+ .
380+ 5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
381+ 1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
382+ A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1,
383+ OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
384+ .
385+ 6. This License Agreement will automatically terminate upon a material
386+ breach of its terms and conditions.
387+ .
388+ 7. This License Agreement shall be governed by the federal
389+ intellectual property law of the United States, including without
390+ limitation the federal copyright law, and, to the extent such
391+ U.S. federal law does not apply, by the law of the Commonwealth of
392+ Virginia, excluding Virginia's conflict of law provisions.
393+ Notwithstanding the foregoing, with regard to derivative works based
394+ on Python 1.6.1 that incorporate non-separable material that was
395+ previously distributed under the GNU General Public License (GPL), the
396+ law of the Commonwealth of Virginia shall govern this License
397+ Agreement only as to issues arising under or with respect to
398+ Paragraphs 4, 5, and 7 of this License Agreement. Nothing in this
399+ License Agreement shall be deemed to create any relationship of
400+ agency, partnership, or joint venture between CNRI and Licensee. This
401+ License Agreement does not grant permission to use CNRI trademarks or
402+ trade name in a trademark sense to endorse or promote products or
403+ services of Licensee, or any third party.
404+ .
405+ 8. By clicking on the "ACCEPT" button where indicated, or by copying,
406+ installing or otherwise using Python 1.6.1, Licensee agrees to be
407+ bound by the terms and conditions of this License Agreement.
408+ .
409+ ACCEPT
410+ .
411+ CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2
412+ --------------------------------------------------
413+ .
414+ Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam,
415+ The Netherlands. All rights reserved.
416+ .
417+ Permission to use, copy, modify, and distribute this software and its
418+ documentation for any purpose and without fee is hereby granted,
419+ provided that the above copyright notice appear in all copies and that
420+ both that copyright notice and this permission notice appear in
421+ supporting documentation, and that the name of Stichting Mathematisch
422+ Centrum or CWI not be used in advertising or publicity pertaining to
423+ distribution of the software without specific, written prior
424+ permission.
425+ .
426+ STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
427+ THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
428+ FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
429+ FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
430+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
431+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
432+ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
433
434=== added file 'docs'
435--- docs 1970-01-01 00:00:00 +0000
436+++ docs 2014-01-31 08:21:22 +0000
437@@ -0,0 +1,2 @@
438+README
439+TODO
440
441=== added file 'install'
442--- install 1970-01-01 00:00:00 +0000
443+++ install 2014-01-31 08:21:22 +0000
444@@ -0,0 +1,4 @@
445+usr/lib/python2.*/*-packages/*.egg-info
446+usr/lib/python2.*/*-packages/storm/*.py
447+usr/lib/python2.*/*-packages/storm/*/*
448+usr/lib/python2.*/*-packages/storm/cextensions.so
449
450=== added file 'patches/allow-zope-component.patch'
451--- patches/allow-zope-component.patch 1970-01-01 00:00:00 +0000
452+++ patches/allow-zope-component.patch 2014-01-31 08:21:22 +0000
453@@ -0,0 +1,14 @@
454+--- a/setup.py
455++++ b/setup.py
456+@@ -65,11 +65,6 @@
457+ "transaction >= 1.0.0",
458+ "twisted >= 10.0.0",
459+ "zope.component >= 3.8.0",
460+- # zope.component 3.11.0 requires a version of zope.interface that no
461+- # version of Ubuntu yet packages. The following rule exists for the
462+- # sake of convenience rather than necessity, for the situation where
463+- # zope.interface is installed via a package but zope.component is not.
464+- "zope.component < 3.11.0",
465+ "zope.security >= 3.7.2",
466+ ],
467+ )
468
469=== removed file 'patches/no-tests-in-deb.patch'
470--- patches/no-tests-in-deb.patch 2012-02-01 20:06:46 +0000
471+++ patches/no-tests-in-deb.patch 1970-01-01 00:00:00 +0000
472@@ -1,13 +0,0 @@
473-=== modified file 'setup.py'
474---- setup.py 2011-10-28 14:44:04 +0000
475-+++ setup.py 2012-02-01 20:03:31 +0000
476-@@ -32,7 +32,7 @@
477- license="LGPL",
478- url="https://storm.canonical.com",
479- download_url="https://launchpad.net/storm/+download",
480-- packages=find_packages(),
481-+ packages=filter(lambda pkg: not pkg.startswith("tests"), find_packages()),
482- package_data={"": ["*.zcml"]},
483- classifiers=[
484- "Development Status :: 5 - Production/Stable",
485-
486
487=== added file 'patches/series'
488--- patches/series 1970-01-01 00:00:00 +0000
489+++ patches/series 2014-01-31 08:21:22 +0000
490@@ -0,0 +1,1 @@
491+allow-zope-component.patch
492
493=== removed file 'pycompat'
494--- pycompat 2011-08-05 19:47:25 +0000
495+++ pycompat 1970-01-01 00:00:00 +0000
496@@ -1,1 +0,0 @@
497-2
498
499=== added file 'python-storm-dbg.install'
500--- python-storm-dbg.install 1970-01-01 00:00:00 +0000
501+++ python-storm-dbg.install 2014-01-31 08:21:22 +0000
502@@ -0,0 +1,1 @@
503+usr/lib/python2.*/*-packages/storm/cextensions_d.so
504
505=== modified file 'rules'
506--- rules 2012-03-29 12:20:29 +0000
507+++ rules 2014-01-31 08:21:22 +0000
508@@ -1,19 +1,23 @@
509 #!/usr/bin/make -f
510-
511-ver=0.18
512-DEB_PYTHON_SYSTEM = pycentral
513-
514-include /usr/share/cdbs/1/rules/debhelper.mk
515-include /usr/share/cdbs/1/class/python-distutils.mk
516-include /usr/share/cdbs/1/rules/simple-patchsys.mk
517-
518-get-orig-source:
519- cd ..; wget https://launchpad.net/storm/trunk/$(ver)/+download/storm-$(ver).tar.bz2
520- cd ..; bzcat storm-$(ver).tar.bz2 | gzip -c -9 > storm_$(ver).orig.tar.gz
521-
522+%:
523+ dh $@ --with python2 --buildsystem=python_distutils
524+
525+override_dh_installchangelogs:
526+ dh_installchangelogs NEWS
527+
528+override_dh_auto_clean:
529+ dh_auto_clean
530+ rm -rf storm.egg-info
531+
532+override_dh_auto_test:
533 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
534-build/python-storm::
535- # don't run mysql and postgresql tests as we don't have these databases
536- # setup in the build environment
537- python test
538+ for python in $(shell pyversions -r); do \
539+ $$python test; \
540+ $$python-dbg test; \
541+ done
542+endif
543+
544+override_dh_strip:
545+ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
546+ dh_strip --dbg-package=python-storm-dbg
547 endif
548
549=== added directory 'source'
550=== added file 'source/format'
551--- source/format 1970-01-01 00:00:00 +0000
552+++ source/format 2014-01-31 08:21:22 +0000
553@@ -0,0 +1,1 @@
554+3.0 (quilt)

Subscribers

People subscribed via source and target branches

to all changes: