Mercurial > hg
comparison contrib/debian/control @ 26148:7f49efcaa9b4
debian: switch to using debhelper and dh_python2 to build debs
This is a much larger commit than I'd like, but I honestly don't see a
good way to break it up and leave things working. Summary:
We now use debian/rules with debhelper to build our debs. This is much
more standard, and means we use dh_python2 to do things like handle
leaving .pyc files out of the built debs.
The resulting package is split into mercurial and mercurial-common,
with the former being the hg stub and all the native .sos, and the
latter being basically everything else.
builddeb and dockerdeb are updated to use the new system. The old way
(using dpkg by hand) breaks with the above changes because
debian/control no longer contains a version string (that's now guessed
from the phony changelog.)
Tests are updated to assert that the right files end up in the right
debs.
author | Augie Fackler <augie@google.com> |
---|---|
date | Wed, 26 Aug 2015 10:59:09 -0400 |
parents | ab75baaf81d5 |
children | 8d407e358bee |
comparison
equal
deleted
inserted
replaced
26147:a02c22e48142 | 26148:7f49efcaa9b4 |
---|---|
1 Package: mercurial | 1 Source: mercurial |
2 Version: __VERSION__ | |
3 Section: vcs | 2 Section: vcs |
4 Priority: optional | 3 Priority: optional |
4 Maintainer: Mercurial Developers <mercurial-devel@selenic.com> | |
5 Build-Depends: | |
6 debhelper (>= 7), | |
7 dh-python, | |
8 python-all | |
9 Standards-Version: 3.9.4 | |
10 X-Python-Version: >= 2.6 | |
11 | |
12 Package: mercurial | |
13 Depends: | |
14 python, | |
15 ${shlibs:Depends}, | |
16 ${misc:Depends}, | |
17 ${python:Depends}, | |
18 mercurial-common (= ${source:Version}) | |
19 Architecture: any | |
20 Description: fast, easy to use, distributed revision control tool. | |
21 Mercurial is a fast, lightweight Source Control Management system designed | |
22 for efficient handling of very large distributed projects. | |
23 . | |
24 Its features include: | |
25 * O(1) delta-compressed file storage and retrieval scheme | |
26 * Complete cross-indexing of files and changesets for efficient exploration | |
27 of project history | |
28 * Robust SHA1-based integrity checking and append-only storage model | |
29 * Decentralized development model with arbitrary merging between trees | |
30 * Easy-to-use command-line interface | |
31 * Integrated stand-alone web interface | |
32 * Small Python codebase | |
33 | |
34 Package: mercurial-common | |
5 Architecture: all | 35 Architecture: all |
6 Depends: python | 36 Depends: |
7 Conflicts: mercurial-common | 37 ${misc:Depends}, |
8 Maintainer: Mercurial Developers <mercurial-devel@selenic.com> | 38 ${python:Depends}, |
9 Description: Mercurial (probably nightly) package built by upstream. | 39 Recommends: mercurial (= ${source:Version}), ca-certificates |
40 Breaks: mercurial (<< ${source:Version}) | |
41 Replaces: mercurial (<< 2.6.3) | |
42 Description: easy-to-use, scalable distributed version control system (common files) | |
43 Mercurial is a fast, lightweight Source Control Management system designed | |
44 for efficient handling of very large distributed projects. | |
45 . | |
46 This package contains the architecture independent components of Mercurial, | |
47 and is generally useless without the mercurial package. |