Patchwork D9983: packaging: add Provides: python3-mercurial and Homepage to debian package

login
register
mail settings
Submitter phabricator
Date Feb. 11, 2021, 7:59 p.m.
Message ID <differential-rev-PHID-DREV-pmuwiv3rk227o3mkvtub-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/48298/
State Superseded
Headers show

Comments

phabricator - Feb. 11, 2021, 7:59 p.m.
spectral created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  There are other packages that depend on python3-mercurial, like debian's
  mercurial-git, so we should mark ourselves as providing it.
  
  I compared the control file we generate to the one that the debian maintainers
  generate, and noticed several differences:
  
  - the Homepage bit. I included this, because why not
  - a more robust Suggests list that includes a graphical merge tool
  - a more robust Breaks list
  - debian's Recommends openssh-client, we only Recommends ca-certificates
  - a split into `mercurial` and `mercurial-common` (and possibly others?)
  - a slightly different description

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D9983

AFFECTED FILES
  contrib/packaging/debian/control

CHANGE DETAILS




To: spectral, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/contrib/packaging/debian/control b/contrib/packaging/debian/control
--- a/contrib/packaging/debian/control
+++ b/contrib/packaging/debian/control
@@ -25,7 +25,9 @@ 
 Suggests: wish
 Replaces: mercurial-common
 Breaks: mercurial-common
+Provides: python3-mercurial
 Architecture: any
+Homepage: https://www.mercurial-scm.org/
 Description: fast, easy to use, distributed revision control tool.
  Mercurial is a fast, lightweight Source Control Management system designed
  for efficient handling of very large distributed projects.