Differences between revisions 7 and 8
Revision 7 as of 2015-04-22 08:41:21
Size: 2062
Comment:
Revision 8 as of 2015-04-22 09:03:19
Size: 2381
Comment:
Deletions are marked like this. Additions are marked like this.
Line 34: Line 34:
=== Build-depends and Depends generation ===
dh-make-perl and gem2deb use different approaches.
 * dh-make-perl uses local packages and apt-file to identify packages
 * gem2deb converts gem names to Debian package names

=== Copyright file generation ===
TODO. 'cme update dpkg-copyright' is another approach.

This page references tools that aim at providing basic working Debian packages.

Language

Any

Perl

Ruby

Python

Tool (package name)

dh-make

dh-make-perl

gem2deb

python-stdeb

Upstream repository

N/A

CPAN.org

Rubygems.org

Pypi

Usage

Download upstream package from repository

Debianize (without building source)

Debianize and build source package

Debianize and build binary packages

Debianize, build, install

Refresh already created package

TODO: other use cases?

Features

version

0.84-2

0.14

0.8.2-4

cdbs or dh?

dh

dh

dh

use DEBEMAIL

yes

yes

no

Build-Depends

no

yes

no

Depends

no

yes

no

Homepage

yes

yes

no

short/long descriptions

yes

yes

short only

DEP8 tests

no

only template

no

.docs / .examples / etc.

docs + examples

docs only

no

debian/copyright

yes

only template

no

debian/watch

yes

yes

no

Refresh mode (regenerate all files, moving old ones to .bak)

yes

no

no

git repo creation, pristine-tar, etc.

yes

no

no

debian/upstream/metadata (UpstreamMetadata)

yes

no

no

Notes

  • There's a Git repo with some example outputs

  • only template means that the tool provides a file that is not customized per-package

Build-depends and Depends generation

dh-make-perl and gem2deb use different approaches.

  • dh-make-perl uses local packages and apt-file to identify packages
  • gem2deb converts gem names to Debian package names

TODO. 'cme update dpkg-copyright' is another approach.

TO-DO List