Merge lp:~canonical-isd-hackers/ubuntu-webcatalog/packaging into lp:ubuntu-webcatalog

Proposed by Łukasz Czyżykowski
Status: Merged
Approved by: Ricardo Kirkner
Approved revision: 21
Merged at revision: 19
Proposed branch: lp:~canonical-isd-hackers/ubuntu-webcatalog/packaging
Merge into: lp:ubuntu-webcatalog
Diff against target: 93 lines (+57/-0)
7 files modified
debian/changelog (+7/-0)
debian/compat (+1/-0)
debian/control (+23/-0)
debian/copyright (+7/-0)
debian/rules (+10/-0)
debian/update-version (+8/-0)
src/webcatalog/__init__.py (+1/-0)
To merge this branch: bzr merge lp:~canonical-isd-hackers/ubuntu-webcatalog/packaging
Reviewer Review Type Date Requested Status
Ricardo Kirkner (community) Approve
Review via email: mp+65022@code.launchpad.net

Commit message

Add debian packaging.

Description of the change

Overview
========
This branch adds debian/ directory (and packaging ability).

To post a comment you must log in.
21. By Łukasz Czyżykowski

Fixed upstream name in copyright file.

Revision history for this message
Ricardo Kirkner (ricardokirkner) wrote :

LGTM

review: Approve

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 2011-06-17 15:42:38 +0000
5@@ -0,0 +1,7 @@
6+ubuntu-webcatalog (0.1-1) lucid; urgency=low
7+
8+ * Initial release
9+
10+ -- Łukasz Czyżykowski <lukasz.czyzykowski@canonical.com> Fri, 17 Jun 2011 16:50:33 +0200
11+
12+
13
14=== added file 'debian/compat'
15--- debian/compat 1970-01-01 00:00:00 +0000
16+++ debian/compat 2011-06-17 15:42:38 +0000
17@@ -0,0 +1,1 @@
18+7
19
20=== added file 'debian/control'
21--- debian/control 1970-01-01 00:00:00 +0000
22+++ debian/control 2011-06-17 15:42:38 +0000
23@@ -0,0 +1,23 @@
24+Source: ubuntu-webcatalog
25+Section: python
26+Priority: extra
27+Build-Depends: cdbs (>= 0.4.43),
28+ debhelper (>= 6),
29+ python,
30+ python-central (>= 0.6),
31+ python-setuptools
32+Maintainer: Canonical ISD Hackers <canonical-isd@lists.launchpad.net>
33+Standards-Version: 3.8.2
34+XS-Python-Version: current
35+
36+Package: python-ubuntu-webcatalog
37+Architecture: all
38+XB-Python-Version: ${python:Versions}
39+Depends: ${misc:Depends},
40+ ${python:Depends},
41+ python-django (>> 1.2.4),
42+ python-imaging,
43+ python-configglue (>> 0.9.1),
44+ python-django-configglue (>> 0.3)
45+Description: Ubuntu Web Catalog
46+ Providing web access to the Ubuntu Software Center.
47
48=== added file 'debian/copyright'
49--- debian/copyright 1970-01-01 00:00:00 +0000
50+++ debian/copyright 2011-06-17 15:42:38 +0000
51@@ -0,0 +1,7 @@
52+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
53+Upstream-Name: ubuntu-webcatalog
54+Upstream-Maintainer: Canonical ISD Hackers <canonical-isd@lists.launchpad.net>
55+
56+Files: *
57+Copyright: (C) 2011 Canonical Ltd.
58+License: AGPL-3
59
60=== added file 'debian/rules'
61--- debian/rules 1970-01-01 00:00:00 +0000
62+++ debian/rules 2011-06-17 15:42:38 +0000
63@@ -0,0 +1,10 @@
64+#!/usr/bin/make -f
65+
66+DEB_PYTHON_SYSTEM := pycentral
67+
68+include /usr/share/cdbs/1/rules/debhelper.mk
69+include /usr/share/cdbs/1/class/python-distutils.mk
70+include /usr/share/cdbs/1/rules/langpack.mk
71+
72+clean::
73+ debian/update-version
74\ No newline at end of file
75
76=== added file 'debian/update-version'
77--- debian/update-version 1970-01-01 00:00:00 +0000
78+++ debian/update-version 2011-06-17 15:42:38 +0000
79@@ -0,0 +1,8 @@
80+#!/bin/bash
81+
82+deb_version=`dpkg-parsechangelog | sed -n '/^Version/s/Version: //p'`
83+rev_no=`bzr version-info | sed -n '/^revno/s/revno: //p'`
84+
85+version="__version__ = '$deb_version; r$rev_no'"
86+
87+sed -i "/^__version__/s/^__version__.*$/$version/" src/webcatalog/__init__.py
88
89=== modified file 'src/webcatalog/__init__.py'
90--- src/webcatalog/__init__.py 2011-04-05 02:19:30 +0000
91+++ src/webcatalog/__init__.py 2011-06-17 15:42:38 +0000
92@@ -0,0 +1,1 @@
93+__version__ = '0.1-1; r19'

Subscribers

People subscribed via source and target branches