From 9025f30f29ab9c7df4ea19e4010d6312d7b41204 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 4 May 2025 23:19:35 +0200 Subject: [PATCH] Adding debian version 0.6.0-1. Signed-off-by: Daniel Baumann --- debian/cargo-checksum.json | 1 + debian/changelog | 5 ++ debian/control | 94 ++++++++++++++++++++++++++++++++++++++ debian/copyright | 31 +++++++++++++ debian/rules | 6 +++ debian/source/format | 1 + debian/tests/control | 32 +++++++++++++ debian/watch | 4 ++ 8 files changed, 174 insertions(+) create mode 100644 debian/cargo-checksum.json create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/tests/control create mode 100644 debian/watch diff --git a/debian/cargo-checksum.json b/debian/cargo-checksum.json new file mode 100644 index 0000000..b40994c --- /dev/null +++ b/debian/cargo-checksum.json @@ -0,0 +1 @@ +{"package":"5276a2544863a6ce5294195f4ef9fe24c36a761618c63e64709e06f18ce67c85","files":{}} diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..f921f9c --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +git-graph (0.6.0-1) unstable; urgency=low + + * Initial upload to sid (Closes: #1100779). + + -- Daniel Baumann Sun, 04 May 2025 23:10:41 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..c9f77e4 --- /dev/null +++ b/debian/control @@ -0,0 +1,94 @@ +Source: git-graph +Section: utils +Priority: optional +Maintainer: Daniel Baumann +Build-Depends: + debhelper-compat (= 13), + dh-sequence-cargo, +Build-Depends-Arch: + cargo:native, + librust-atty-0.2+default-dev, + librust-chrono-0.4+default-dev, + librust-clap-4+cargo-dev, + librust-clap-4+default-dev, + librust-crossterm-0.25+default-dev, + librust-git2-0.15-dev, + librust-itertools-0.10+default-dev, + librust-lazy-static-1+default-dev (>= 1.4-~~), + librust-platform-dirs-0.3+default-dev, + librust-regex-1+std-dev (>= 1.7-~~), + librust-serde-1+default-dev, + librust-serde-derive-1-dev, + librust-svg-0.12+default-dev, + librust-textwrap-0.16+unicode-width-dev, + librust-toml-0.5+default-dev, + librust-yansi-0.5+default-dev, + libstd-rust-dev, + rustc:native, +Rules-Requires-Root: no +Standards-Version: 4.7.2 +Homepage: https://github.com/mlange-42/git-graph +Vcs-Browser: https://forgejo.debian.net/git/git-graph +Vcs-Git: https://forgejo.debian.net/git/git-graph +X-Cargo-Crate: git-graph + +Package: librust-git-graph-dev +Section: rust +Architecture: any +Multi-Arch: same +Depends: + librust-atty-0.2+default-dev, + librust-chrono-0.4+default-dev, + librust-clap-4+cargo-dev, + librust-clap-4+default-dev, + librust-crossterm-0.25+default-dev, + librust-git2-0.15-dev, + librust-itertools-0.10+default-dev, + librust-lazy-static-1+default-dev (>= 1.4-~~), + librust-platform-dirs-0.3+default-dev, + librust-regex-1+std-dev (>= 1.7-~~), + librust-serde-1+default-dev, + librust-serde-derive-1-dev, + librust-svg-0.12+default-dev, + librust-textwrap-0.16+unicode-width-dev, + librust-toml-0.5+default-dev, + librust-yansi-0.5+default-dev, + ${misc:Depends}, +Provides: + librust-git-graph+default-dev (= ${binary:Version}), + librust-git-graph-0+default-dev (= ${binary:Version}), + librust-git-graph-0-dev (= ${binary:Version}), + librust-git-graph-0.6+default-dev (= ${binary:Version}), + librust-git-graph-0.6-dev (= ${binary:Version}), + librust-git-graph-0.6.0+default-dev (= ${binary:Version}), + librust-git-graph-0.6.0-dev (= ${binary:Version}), +Description: Command line tool to show clear git graphs arranged for your branching model - Rust source code + Source code for Debianized Rust crate "git-graph" + +Package: git-graph +Section: utils +Architecture: any +Multi-Arch: allowed +Depends: + ${cargo:Depends}, + ${misc:Depends}, + ${shlibs:Depends}, +Recommends: + ${cargo:Recommends}, +Suggests: + ${cargo:Suggests}, +Provides: + ${cargo:Provides}, +Built-Using: + ${cargo:Built-Using}, +Static-Built-Using: ${cargo:Static-Built-Using} +Description: Command line tool to show git graphs supporting different branching models + git-graph is a command line tool to visualize Git history graphs in a + comprehensible way, following different branching models. + . + Some of the git-graph features: + . + * view structured graphs directly in the terminal + * pre-defined and custom branching models and coloring + * different styles, including ASCII-only (i.e. no "special characters") + * custom commit formatting, like with git log --format="..." diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..7801f8c --- /dev/null +++ b/debian/copyright @@ -0,0 +1,31 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: git-graph +Upstream-Contact: https://github.com/mlange-42/git-graph/issues +Source: https://github.com/mlange-42/git-graph/tags + +Files: * +Copyright: 2020-2025 Martin Lange +License: MIT + +Files: debian/* +Copyright: 2025 Daniel Baumann +License: MIT + +License: MIT + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..66be5aa --- /dev/null +++ b/debian/rules @@ -0,0 +1,6 @@ +#!/usr/bin/make -f +%: + dh ${@} --buildsystem cargo + +override_dh_auto_test: + dh_auto_test -- test --all diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..4772b0d --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,32 @@ +Test-Command: /usr/share/cargo/bin/cargo-auto-test git-graph 0.6.0 --all-targets --all-features +Features: + test-name=rust-git-graph:@, +Depends: + dh-cargo (>= 31), + rustc, + @, +Restrictions: + allow-stderr, + skip-not-installable, + +Test-Command: /usr/share/cargo/bin/cargo-auto-test git-graph 0.6.0 --all-targets +Features: + test-name=librust-git-graph-dev:default, +Depends: + dh-cargo (>= 31), + rustc, + @, +Restrictions: + allow-stderr, + skip-not-installable, + +Test-Command: /usr/share/cargo/bin/cargo-auto-test git-graph 0.6.0 --all-targets --no-default-features +Features: + test-name=librust-git-graph-dev:, +Depends: + dh-cargo (>= 31), + rustc, + @, +Restrictions: + allow-stderr, + skip-not-installable, diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..ee73115 --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=4 +opts=filenamemangle=s/.*\/(.*)\/download/git-graph-$1\.tar\.gz/g,\ +uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\.?\d*)$/$1~$2/ \ +https://qa.debian.org/cgi-bin/fakeupstream.cgi?upstream=crates.io/git-graph .*/crates/git-graph/@ANY_VERSION@/download