comparison contrib/packaging/debian/control @ 43320:7b638d25b8e4 stable

packaging: ship only a single binary Debian package We merge the mercurial and mercurial-common binary packages into a single mercurial package. This is essentially to ease installation (and upgrade) using a simple "dpkg -i" command. This also simplifies debian/rules by removing arch (in)dependent cleanups during installation. We have the mercurial binary Breaks: and Replaces: mercurial-common so that the latter will be removed upon upgrade. Also note the change from "override_dh_install" to "override_dh_auto_install" in debian/rules: this is because we do not want "make install" to be run automatically as we need the --install-layout=deb of "setup.py install" (otherwise, files would end up in $DESTDIR/usr/local).
author Denis Laxalde <denis.laxalde@logilab.fr>
date Wed, 23 Oct 2019 17:18:16 +0200
parents 88928063addb
children 8fda98a68427
comparison
equal deleted inserted replaced
43319:11c85873e106 43320:7b638d25b8e4
15 Standards-Version: 3.9.4 15 Standards-Version: 3.9.4
16 X-Python3-Version: >= 3.5 16 X-Python3-Version: >= 3.5
17 17
18 Package: mercurial 18 Package: mercurial
19 Depends: 19 Depends:
20 sensible-utils,
20 ${shlibs:Depends}, 21 ${shlibs:Depends},
21 ${misc:Depends}, 22 ${misc:Depends},
22 ${python3:Depends}, 23 ${python3:Depends},
23 mercurial-common (= ${source:Version}) 24 Recommends: ca-certificates
25 Suggests: wish
26 Replaces: mercurial-common (<< ${source:Version})
27 Breaks: mercurial-common (<< ${source:Version})
24 Architecture: any 28 Architecture: any
25 Description: fast, easy to use, distributed revision control tool. 29 Description: fast, easy to use, distributed revision control tool.
26 Mercurial is a fast, lightweight Source Control Management system designed 30 Mercurial is a fast, lightweight Source Control Management system designed
27 for efficient handling of very large distributed projects. 31 for efficient handling of very large distributed projects.
28 . 32 .
33 * Robust SHA1-based integrity checking and append-only storage model 37 * Robust SHA1-based integrity checking and append-only storage model
34 * Decentralized development model with arbitrary merging between trees 38 * Decentralized development model with arbitrary merging between trees
35 * Easy-to-use command-line interface 39 * Easy-to-use command-line interface
36 * Integrated stand-alone web interface 40 * Integrated stand-alone web interface
37 * Small Python codebase 41 * Small Python codebase
38
39 Package: mercurial-common
40 Architecture: all
41 Depends:
42 sensible-utils,
43 ${misc:Depends},
44 ${python3:Depends},
45 Recommends: mercurial (= ${source:Version}), ca-certificates
46 Suggests: wish
47 Breaks: mercurial (<< ${source:Version})
48 Replaces: mercurial (<< 2.6.3)
49 Description: easy-to-use, scalable distributed version control system (common files)
50 Mercurial is a fast, lightweight Source Control Management system designed
51 for efficient handling of very large distributed projects.
52 .
53 This package contains the architecture independent components of Mercurial,
54 and is generally useless without the mercurial package.