summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2024-11-20 08:05:11 +0100
committerDaniel Baumann <daniel@debian.org>2024-11-20 08:36:32 +0100
commit1a5016a25ff3e5217d25b08c0bb9b980408e6744 (patch)
tree117eb5ca976ff68851eb91334f093620b4693a45
parentAdding upstream version 0.2.3. (diff)
downloadrust-terminal-prompt-1a5016a25ff3e5217d25b08c0bb9b980408e6744.tar.xz
rust-terminal-prompt-1a5016a25ff3e5217d25b08c0bb9b980408e6744.zip
Adding debian version 0.2.3-1.debian/0.2.3-1
Signed-off-by: Daniel Baumann <daniel@debian.org>
-rw-r--r--debian/cargo-checksum.json1
-rw-r--r--debian/changelog5
-rw-r--r--debian/control40
-rw-r--r--debian/copyright34
-rw-r--r--debian/librust-terminal-prompt-dev.examples1
-rwxr-xr-xdebian/rules17
-rw-r--r--debian/source/format1
-rw-r--r--debian/tests/control23
-rw-r--r--debian/watch4
9 files changed, 126 insertions, 0 deletions
diff --git a/debian/cargo-checksum.json b/debian/cargo-checksum.json
new file mode 100644
index 0000000..0ceb8d0
--- /dev/null
+++ b/debian/cargo-checksum.json
@@ -0,0 +1 @@
+{"package":"572818b3472910acbd5dff46a3413715c18e934b071ab2ba464a7b2c2af16376","files":{}}
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..7ae47b2
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+rust-terminal-prompt (0.2.3-1) unstable; urgency=low
+
+ * Initial upload to sid (build-depends of forgejo-cli via rust-auth-git2).
+
+ -- Daniel Baumann <daniel@debian.org> Wed, 20 Nov 2024 08:01:07 +0100
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..f96581e
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,40 @@
+Source: rust-terminal-prompt
+Section: rust
+Priority: optional
+Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org>
+Build-Depends:
+ cargo:native <!nocheck>,
+ debhelper-compat (= 13),
+ dh-sequence-cargo,
+ librust-libc-0.2+default-dev (>= 0.2.147-~~) <!nocheck>,
+ librust-winapi-0.3+consoleapi-dev (>= 0.3.9-~~) <!nocheck>,
+ librust-winapi-0.3+default-dev (>= 0.3.9-~~) <!nocheck>,
+ libstd-rust-dev <!nocheck>,
+ rustc:native (>= 1.66) <!nocheck>,
+Rules-Requires-Root: no
+Standards-Version: 4.7.0
+Homepage: https://github.com/de-vri-es/terminal-prompt-rs
+X-Cargo-Crate: terminal-prompt
+
+Package: librust-terminal-prompt-dev
+Section: rust
+Architecture: any
+Multi-Arch: same
+Depends:
+ librust-libc-0.2+default-dev (>= 0.2.147-~~),
+ librust-winapi-0.3+consoleapi-dev (>= 0.3.9-~~),
+ librust-winapi-0.3+default-dev (>= 0.3.9-~~),
+ ${misc:Depends},
+Provides:
+ librust-terminal-prompt+default-dev (= ${binary:Version}),
+ librust-terminal-prompt-0+default-dev (= ${binary:Version}),
+ librust-terminal-prompt-0-dev (= ${binary:Version}),
+ librust-terminal-prompt-0.2+default-dev (= ${binary:Version}),
+ librust-terminal-prompt-0.2-dev (= ${binary:Version}),
+ librust-terminal-prompt-0.2.3+default-dev (= ${binary:Version}),
+ librust-terminal-prompt-0.2.3-dev (= ${binary:Version}),
+Description: prompting data on the terminal - Rust source code
+ Tiny library for prompting sensitive or non-sensitive data on the terminal.
+ .
+ This package contains the source for the Rust terminal-prompt
+ for use with cargo and dh-cargo.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..9a32ce8
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,34 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: terminal-prompt
+Upstream-Contact: https://github.com/de-vri-es/terminal-prompt-rs/issues
+Source: https://github.com/de-vri-es/terminal-prompt-rs/tags
+
+Files: *
+Copyright: 2023 Maarten de Vries <maarten@de-vri.es>
+License: BSD-2-Clause
+
+Files: debian/*
+Copyright: 2024 Daniel Baumann <daniel@debian.org>
+License: BSD-2-Clause
+
+License: BSD-2-Clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+ 1. Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+ .
+ 2. Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/debian/librust-terminal-prompt-dev.examples b/debian/librust-terminal-prompt-dev.examples
new file mode 100644
index 0000000..e39721e
--- /dev/null
+++ b/debian/librust-terminal-prompt-dev.examples
@@ -0,0 +1 @@
+examples/*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..ff22a07
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+%:
+ dh $@ --buildsystem cargo
+
+override_dh_auto_test:
+ dh_auto_test -- test --all
+
+execute_after_dh_auto_install:
+ # removing unneeded files
+ rm -rf debian/librust-*/usr/share/cargo/registry/*/.git*
+ rm -f debian/librust-*/usr/share/cargo/registry/*/*.orig
+ rm -f debian/librust-*/usr/share/cargo/registry/*/*.md
+ rm -f debian/librust-*/usr/share/cargo/registry/*/*.tpl
+ rm -f debian/librust-*/usr/share/cargo/registry/*/CHANGELOG
+
+ # installed via librust-terminal-prompt-dev.examples
+ rm -rf debian/librust-*/usr/share/cargo/registry/*/examples
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..d805899
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,23 @@
+Test-Command: /usr/share/cargo/bin/cargo-auto-test terminal-prompt 0.2.3 --all-targets --all-features
+Features: test-name=rust-terminal-prompt:@
+Depends:
+ dh-cargo (>= 31),
+ rustc (>= 1.66),
+ @,
+Restrictions: allow-stderr, skip-not-installable
+
+Test-Command: /usr/share/cargo/bin/cargo-auto-test terminal-prompt 0.2.3 --all-targets
+Features: test-name=librust-terminal-prompt-dev:default
+Depends:
+ dh-cargo (>= 31),
+ rustc (>= 1.66),
+ @,
+Restrictions: allow-stderr, skip-not-installable
+
+Test-Command: /usr/share/cargo/bin/cargo-auto-test terminal-prompt 0.2.3 --all-targets --no-default-features
+Features: test-name=librust-terminal-prompt-dev:
+Depends:
+ dh-cargo (>= 31),
+ rustc (>= 1.66),
+ @,
+Restrictions: allow-stderr, skip-not-installable
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..45ef7bc
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+opts=filenamemangle=s/.*\/(.*)\/download/terminal-prompt-$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/terminal-prompt .*/crates/terminal-prompt/@ANY_VERSION@/download