--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: ITP: debmake -- helper script to make the Debian source package
- From: Osamu Aoki <osamu@debian.org>
- Date: Fri, 10 May 2013 01:40:39 +0900
- Message-id: <20130509164039.GA13712@goofy.localdomain>
Package: wnpp
Severity: wishlist
Owner: Osamu Aoki <osamu@debian.org>
* Package name : debmake
Version : 4.0.0
Upstream Author : Osamu Aoki <osamu@debian.org>
* URL : <none yet>
* License : MIT
Programming Lang: Python3
Description : helper script to make the Debian source package
This package helps you to convert a upstream source package (or VCS contents)
into the Debian package by adding files required for the Debian source
package. The generated debian/rules file uses the new dh command syntax from
the debhelper (>9) package.
.
The debmake command invoked in the upstream source tree without any option
can generate template files which is good enough to create a single arch=any
Debian binary package for local use. The generated files should be edited to
make it conform to the Debian policy if the package is uploaded to the Debian
archive. By adding few options, this command can generate template files for
the arbitrary combination of the multi-binary and multi-arch package, etc.
.
This debmake command also scans copyright and license texts in the source
files to help crafting the proper DEP-5 compatible debian/copyright file.
----
This is working here. This generates proper dh command line with "--with ..."
for python2 and python3 (with override lines). This also has options to use
upstream "make dist" or tarball as the starting point. I am cleaning up code
before upload. No problem for running multiple times and no more extra
template files unless requested.
FYI:
The author thanks previous efforts on this topic (GPL):
* debmake: 1996-1997 Christoph Lameter <clameter@debian.org>
1997-2006 Santiago Vila <sanvila@debian.org>
command: deb-make, version up to 3.8 (shell script)
(not in wheezy)
* dh-make: 1998-2012 Craig Small <csmall@debian.org>
command: dh_make (perl script)
Version starts from 4.0.0 since old debmake was 3.8.
=======================================================================
$ debmake -h
usage: debmake [-h] [-a upstream-version.tar.gz | -d] [-p package_name]
[-u upstream_version] [-r debian_revision] [-z extension]
[-b package[:type]] [-c license_file] [-e foo@example.org]
[-f "firstname lastname"] [-i] [-m] [-n] [-o] [-q] [-v] [-x]
debmake: make Debian source package Version: 4.0.0
Copyright © 2013 Osamu Aoki <osamu@debian.org>
debmake builds the Debian package from the upstream source.
Normally, this is done as follows:
* The upstream tarball is downloaded as the upstream-version.tar.gz file.
* The upstream_version.orig.tar.gz symlink is generated pointing to the upstream tarball.
* It is untared to create many files under the upstream-version/ directory.
* debmake is invoked in the upstream-version/ directory without any arguments.
* Files in the upstream-version/debian/ directory are manually adjusted.
* dpkg-buildpackage is invoked in the upstream-version/ directory to make debian packages.
optional arguments:
-h, --help show this help message and exit
-a upstream-version.tar.gz, --archive upstream-version.tar.gz
use the upstream source tarball directly (-p, -u, -z:
overridden)
-d, --dist run "make dist" equivalent first to generate upstream
tarball and use it
-p package_name, --package package_name
set the Debian package name
-u upstream_version, --upstreamversion upstream_version
set the upstream package version
-r debian_revision, --revision debian_revision
set the Debian package revision
-z extension, --targz extension
set the tarball type,
extension=(tar.gz|tar.bz2|tar.xz)
-b package[:type], --binaryspec package[:type]
set binary package specs,
package=(-|-doc|-dev|-common|-bin|-dbg),
type=(all|any|foreign|same)
(This can have -b"package1:type1,package2:type2,package3:type3")
-c license_file, --copyright license_file
add formatted license to debian/copyright
-e foo@example.org, --email foo@example.org
set e-mail address
-f "firstname lastname", --fullname "firstname lastname"
set the fullname
-i, --initialize set-up debhelper to run "autoreconf -ivf" to
initialize for Autotools
-m, --monoarch force packages to be non-multiarch
-n, --native make a native source package without .orig.tar.gz
-o, --overwrite overwrite existing configuration files
-q, --quitearly quit early before creating files in the debian
directory
-v, --version show version information
-x, --extra generate extra configuration files as templates
Osamu
--- End Message ---
--- Begin Message ---
Source: debmake
Source-Version: 4.0.0-1
We believe that the bug you reported is fixed in the latest version of
debmake, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 707601@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Osamu Aoki <osamu@debian.org> (supplier of updated debmake package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sat, 11 May 2013 12:36:02 +0900
Source: debmake
Binary: debmake
Architecture: source amd64
Version: 4.0.0-1
Distribution: unstable
Urgency: low
Maintainer: Osamu Aoki <osamu@debian.org>
Changed-By: Osamu Aoki <osamu@debian.org>
Description:
debmake - helper script to make the Debian source package
Closes: 707601
Changes:
debmake (4.0.0-1) unstable; urgency=low
.
* Initial release. Closes: #707601
Checksums-Sha1:
ae3242928ddc3b078b4add9cd1c8bb01ef9dfaa0 1192 debmake_4.0.0-1.dsc
6d8d43c0e7681e9d6ae7c7814f5299cfae9a970d 35896 debmake_4.0.0.orig.tar.gz
ccba199434c6790f6a5212cac5349146b0ce6c2d 2794 debmake_4.0.0-1.debian.tar.gz
e72be7ee9e44a4ae540581fa64fce79635f7bcef 36008 debmake_4.0.0-1_amd64.deb
Checksums-Sha256:
6bfd8521f7e188b7e9300dda48cb77d31c785d31e4f22c2ad8af496ed06578d8 1192 debmake_4.0.0-1.dsc
39edfce4d76e21987cef2180afbfddc3a713f8e0f2ad892dd2fff5c39aa3df84 35896 debmake_4.0.0.orig.tar.gz
fa87dd0c5c909bfd6daf62dea6e2a36d08f1401b9cbfb5c653a18c108e03dbbb 2794 debmake_4.0.0-1.debian.tar.gz
43dd7a063b7d8ddf99d5545c63d6887a3cd317865f0df153131a679b8116d8fd 36008 debmake_4.0.0-1_amd64.deb
Files:
42c3df5b02e31ed947b81d893a587899 1192 devel extra debmake_4.0.0-1.dsc
800cb4b759272d2afc69115df88145d6 35896 devel extra debmake_4.0.0.orig.tar.gz
7219c816587828183c50c554578f3647 2794 devel extra debmake_4.0.0-1.debian.tar.gz
c18f78c9589b24b4ddc1dbf563746055 36008 devel extra debmake_4.0.0-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlGPsggACgkQ6A/EwagGHzJ6nACcCRNVqeYpCFWbV0Cz8waXieF4
OgkAmwQZcRj5BOiVxMAGTIE1hqwgi8gQ
=FbWz
-----END PGP SIGNATURE-----
--- End Message ---