]> git.proxmox.com Git - dh-cargo.git/log
dh-cargo.git
7 years agoDepend on ${perl:Depends}
Josh Triplett [Mon, 5 Dec 2016 03:49:28 +0000 (19:49 -0800)]
Depend on ${perl:Depends}

This produces a redundant dependency on perl (which debhelper already
depends on), but avoids a warning about an unused substvar.

7 years agoHandle feature packages
Josh Triplett [Sat, 3 Dec 2016 06:32:49 +0000 (22:32 -0800)]
Handle feature packages

Skip feature packages (whose names contain a '+') when looking for a lib
package name.

Symlink the doc directory of feature packages to the main lib package.

7 years agoRewrite to avoid invoking cargo directly on .crate contents
Josh Triplett [Wed, 23 Nov 2016 08:46:58 +0000 (00:46 -0800)]
Rewrite to avoid invoking cargo directly on .crate contents

According to Cargo upstream, crates don't necessarily support running
cargo on them directly; a .crate file only includes enough to build as a
dependency or with "cargo install $crate", not as the top-level crate.
For instance, when building as the top-level crate, cargo expects
other crates referenced by workspaces to exist; otherwise, cargo ignores
workspaces.

7 years agoDetect a package as bin if Architecture not "all", rather than only if "any"
Josh Triplett [Wed, 23 Nov 2016 04:29:34 +0000 (20:29 -0800)]
Detect a package as bin if Architecture not "all", rather than only if "any"

This provides future-proofing in case a package needs to exclude some
architectures.

7 years agoSet install root to /usr, and remove .crates.toml
Josh Triplett [Wed, 23 Nov 2016 03:54:25 +0000 (19:54 -0800)]
Set install root to /usr, and remove .crates.toml

7 years agoconfig: Drop workaround for bug in cargo 0.13
Josh Triplett [Mon, 21 Nov 2016 15:45:17 +0000 (07:45 -0800)]
config: Drop workaround for bug in cargo 0.13

cargo 0.13 required specifying a registry for source.crates-io even when
overriding it.  cargo 0.14 no longer requires that.  Drop the
workaround.

7 years agoInitial version of dh-cargo
Josh Triplett [Mon, 21 Nov 2016 15:16:57 +0000 (07:16 -0800)]
Initial version of dh-cargo