Merge lp:~rjwills/ensoft-sextant/packaging into lp:ensoft-sextant

Proposed by Robert
Status: Superseded
Proposed branch: lp:~rjwills/ensoft-sextant/packaging
Merge into: lp:ensoft-sextant
Diff against target: 114 lines (+34/-11)
8 files modified
debian/changelog (+5/-0)
debian/compat (+1/-0)
debian/control (+13/-0)
debian/copyright (+2/-0)
debian/rules (+6/-0)
etc/sextant.conf (+4/-4)
setup.py (+2/-6)
src/sextant/environment.py (+1/-1)
To merge this branch: bzr merge lp:~rjwills/ensoft-sextant/packaging
Reviewer Review Type Date Requested Status
Phil Connell Needs Fixing
Review via email: mp+233183@code.launchpad.net

This proposal has been superseded by a proposal from 2014-09-03.

Commit message

Add support for debian packaging.

Description of the change

These changes add support for debian packaging.

To post a comment you must log in.
Revision history for this message
Patrick Stevens (patrickas) wrote :

One question

Revision history for this message
Phil Connell (pconnell) wrote :

One comment inline that may or may not need addressing.

review: Needs Fixing
Revision history for this message
Patrick Stevens (patrickas) wrote :

Reply

lp:~rjwills/ensoft-sextant/packaging updated
17. By Robert Wills <email address hidden>

Markups from review.

18. By Robert Wills <email address hidden>

Merge with trunk.

19. By Robert Wills <email address hidden>

Fix packaging so that pip works inside a virtualenv.

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added directory 'debian'
2=== added file 'debian/changelog'
3--- debian/changelog 1970-01-01 00:00:00 +0000
4+++ debian/changelog 2014-09-03 09:47:19 +0000
5@@ -0,0 +1,5 @@
6+sextant (1.1) precise; urgency=low
7+
8+ * Initial release for Ubuntu.
9+
10+ -- Robert Wills <robert.wills@ensoft.co.uk> Mon, 01 Sep 2014 12:04:23 +0100
11
12=== added file 'debian/compat'
13--- debian/compat 1970-01-01 00:00:00 +0000
14+++ debian/compat 2014-09-03 09:47:19 +0000
15@@ -0,0 +1,1 @@
16+7
17
18=== added file 'debian/control'
19--- debian/control 1970-01-01 00:00:00 +0000
20+++ debian/control 2014-09-03 09:47:19 +0000
21@@ -0,0 +1,13 @@
22+Source: sextant
23+Maintainer: Robert Wills <robert.wills@ensoft.co.uk>
24+Section: misc
25+Priority: optional
26+Build-Depends: debhelper,python,python-setuptools
27+Standards-Version: 3.9.3
28+
29+Package: sextant
30+Architecture: all
31+Depends: python,python-support,python-twisted,graphviz,${misc:Depends}
32+Description: Call graph generator and analysis tool, supporting C and Python.
33+ Sextant analyzes C and Python programs and is able to produce a call graph.
34+ It also provides command-line querying tools.
35
36=== added file 'debian/copyright'
37--- debian/copyright 1970-01-01 00:00:00 +0000
38+++ debian/copyright 2014-09-03 09:47:19 +0000
39@@ -0,0 +1,2 @@
40+Copyright 2014, Ensoft Ltd.
41+All rights reserved.
42
43=== added file 'debian/rules'
44--- debian/rules 1970-01-01 00:00:00 +0000
45+++ debian/rules 2014-09-03 09:47:19 +0000
46@@ -0,0 +1,6 @@
47+#!/usr/bin/make -f
48+
49+WITH_PYTHON2 = $(shell test -f /usr/bin/dh_python2 && echo "--with python2")
50+
51+%:
52+ dh ${WITH_PYTHON2} $@
53
54=== modified file 'etc/sextant.conf'
55--- etc/sextant.conf 2014-08-29 13:10:17 +0000
56+++ etc/sextant.conf 2014-09-03 09:47:19 +0000
57@@ -1,15 +1,15 @@
58 [Neo4j]
59 # URL of the Neo4J server
60-remote_neo4j =
61+#remote_neo4j = http://localhost:7474
62 # Port on which to serve Sextant Web
63 #port = 2905
64 # Number of calls incoming before we consider a function to be 'common'.
65 # Defaults to 10.
66 #common_function_calls = 10
67 # Whether to connect using SSH to the remote server. Warning: if remote_neo4j
68-# is some kind of localhost, we won't be able to SSH. Default is True (that is,
69-# automatically SSH).
70-#use_ssh_tunnel = True
71+# is some kind of localhost, we won't be able to SSH. Default is False (that is,
72+# don't SSH but connect directly).
73+#use_ssh_tunnel = False
74 # Which username to use on the remote SSH server. Default, or empty, is your
75 # currently-logged-in username.
76 #ssh_username =
77
78=== modified file 'setup.py'
79--- setup.py 2014-09-02 13:29:08 +0000
80+++ setup.py 2014-09-03 09:47:19 +0000
81@@ -11,18 +11,14 @@
82
83 setup(
84 name='Sextant',
85- version='1.0.1',
86+ version='1.1',
87 description= 'Navigating the C',
88 url='http://open.ensoft.co.uk/Sextant',
89 license='Simplified BSD License',
90 packages=['sextant', 'sextant.web', 'resources', 'etc'],
91 package_dir={'sextant': 'src/sextant', 'resources': 'resources', 'etc': 'etc'},
92 scripts=['bin/sextant'],
93- # neo4jrestclient has no python-neo4jrestclient package on Ubuntu 12,
94- # so we remove its dependency here. You *must* install neo4jrestclient
95- # somehow before using Sextant; we recommend pip.
96- install_requires=['twisted'],
97- #install_requires=['neo4jrestclient', 'twisted'],
98+ install_requires=['neo4jrestclient', 'twisted'],
99 package_data={
100 'resources': ['sextant/web/*'],
101 'etc': ['*.conf', 'init/*'],
102
103=== modified file 'src/sextant/environment.py'
104--- src/sextant/environment.py 2014-09-01 10:23:22 +0000
105+++ src/sextant/environment.py 2014-09-03 09:47:19 +0000
106@@ -108,7 +108,7 @@
107 conf = ConfigParser.ConfigParser({'remote_neo4j': 'http://localhost:7474',
108 'port': '2905',
109 'common_function_calls': '10',
110- 'use_ssh_tunnel': 'True',
111+ 'use_ssh_tunnel': 'False',
112 'ssh_username': ''})
113 # It turns out that getint, getboolean etc want the defaults to be strings.
114 # When getboolean is called and the default is not a string, and the

Subscribers

People subscribed via source and target branches