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
=== added directory 'debian'
=== added file 'debian/changelog'
--- debian/changelog 1970-01-01 00:00:00 +0000
+++ debian/changelog 2014-09-03 09:47:19 +0000
@@ -0,0 +1,5 @@
1sextant (1.1) precise; urgency=low
2
3 * Initial release for Ubuntu.
4
5 -- Robert Wills <robert.wills@ensoft.co.uk> Mon, 01 Sep 2014 12:04:23 +0100
06
=== added file 'debian/compat'
--- debian/compat 1970-01-01 00:00:00 +0000
+++ debian/compat 2014-09-03 09:47:19 +0000
@@ -0,0 +1,1 @@
17
02
=== added file 'debian/control'
--- debian/control 1970-01-01 00:00:00 +0000
+++ debian/control 2014-09-03 09:47:19 +0000
@@ -0,0 +1,13 @@
1Source: sextant
2Maintainer: Robert Wills <robert.wills@ensoft.co.uk>
3Section: misc
4Priority: optional
5Build-Depends: debhelper,python,python-setuptools
6Standards-Version: 3.9.3
7
8Package: sextant
9Architecture: all
10Depends: python,python-support,python-twisted,graphviz,${misc:Depends}
11Description: Call graph generator and analysis tool, supporting C and Python.
12 Sextant analyzes C and Python programs and is able to produce a call graph.
13 It also provides command-line querying tools.
014
=== added file 'debian/copyright'
--- debian/copyright 1970-01-01 00:00:00 +0000
+++ debian/copyright 2014-09-03 09:47:19 +0000
@@ -0,0 +1,2 @@
1Copyright 2014, Ensoft Ltd.
2All rights reserved.
03
=== added file 'debian/rules'
--- debian/rules 1970-01-01 00:00:00 +0000
+++ debian/rules 2014-09-03 09:47:19 +0000
@@ -0,0 +1,6 @@
1#!/usr/bin/make -f
2
3WITH_PYTHON2 = $(shell test -f /usr/bin/dh_python2 && echo "--with python2")
4
5%:
6 dh ${WITH_PYTHON2} $@
07
=== modified file 'etc/sextant.conf'
--- etc/sextant.conf 2014-08-29 13:10:17 +0000
+++ etc/sextant.conf 2014-09-03 09:47:19 +0000
@@ -1,15 +1,15 @@
1[Neo4j]1[Neo4j]
2# URL of the Neo4J server2# URL of the Neo4J server
3remote_neo4j = 3#remote_neo4j = http://localhost:7474
4# Port on which to serve Sextant Web4# Port on which to serve Sextant Web
5#port = 29055#port = 2905
6# Number of calls incoming before we consider a function to be 'common'.6# Number of calls incoming before we consider a function to be 'common'.
7# Defaults to 10.7# Defaults to 10.
8#common_function_calls = 108#common_function_calls = 10
9# Whether to connect using SSH to the remote server. Warning: if remote_neo4j9# Whether to connect using SSH to the remote server. Warning: if remote_neo4j
10# is some kind of localhost, we won't be able to SSH. Default is True (that is,10# is some kind of localhost, we won't be able to SSH. Default is False (that is,
11# automatically SSH).11# don't SSH but connect directly).
12#use_ssh_tunnel = True12#use_ssh_tunnel = False
13# Which username to use on the remote SSH server. Default, or empty, is your13# Which username to use on the remote SSH server. Default, or empty, is your
14# currently-logged-in username.14# currently-logged-in username.
15#ssh_username =15#ssh_username =
1616
=== modified file 'setup.py'
--- setup.py 2014-09-02 13:29:08 +0000
+++ setup.py 2014-09-03 09:47:19 +0000
@@ -11,18 +11,14 @@
1111
12setup(12setup(
13 name='Sextant',13 name='Sextant',
14 version='1.0.1',14 version='1.1',
15 description= 'Navigating the C',15 description= 'Navigating the C',
16 url='http://open.ensoft.co.uk/Sextant',16 url='http://open.ensoft.co.uk/Sextant',
17 license='Simplified BSD License',17 license='Simplified BSD License',
18 packages=['sextant', 'sextant.web', 'resources', 'etc'],18 packages=['sextant', 'sextant.web', 'resources', 'etc'],
19 package_dir={'sextant': 'src/sextant', 'resources': 'resources', 'etc': 'etc'},19 package_dir={'sextant': 'src/sextant', 'resources': 'resources', 'etc': 'etc'},
20 scripts=['bin/sextant'],20 scripts=['bin/sextant'],
21 # neo4jrestclient has no python-neo4jrestclient package on Ubuntu 12,21 install_requires=['neo4jrestclient', 'twisted'],
22 # so we remove its dependency here. You *must* install neo4jrestclient
23 # somehow before using Sextant; we recommend pip.
24 install_requires=['twisted'],
25 #install_requires=['neo4jrestclient', 'twisted'],
26 package_data={22 package_data={
27 'resources': ['sextant/web/*'],23 'resources': ['sextant/web/*'],
28 'etc': ['*.conf', 'init/*'],24 'etc': ['*.conf', 'init/*'],
2925
=== modified file 'src/sextant/environment.py'
--- src/sextant/environment.py 2014-09-01 10:23:22 +0000
+++ src/sextant/environment.py 2014-09-03 09:47:19 +0000
@@ -108,7 +108,7 @@
108 conf = ConfigParser.ConfigParser({'remote_neo4j': 'http://localhost:7474',108 conf = ConfigParser.ConfigParser({'remote_neo4j': 'http://localhost:7474',
109 'port': '2905',109 'port': '2905',
110 'common_function_calls': '10',110 'common_function_calls': '10',
111 'use_ssh_tunnel': 'True',111 'use_ssh_tunnel': 'False',
112 'ssh_username': ''})112 'ssh_username': ''})
113 # It turns out that getint, getboolean etc want the defaults to be strings.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 the114 # When getboolean is called and the default is not a string, and the

Subscribers

People subscribed via source and target branches