1
0
Fork 0

Adding debian version 0.2.3-1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-05 06:17:56 +01:00
parent 7f48381065
commit 15a2dfb4b2
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
9 changed files with 126 additions and 0 deletions

1
debian/cargo-checksum.json vendored Normal file
View file

@ -0,0 +1 @@
{"package":"572818b3472910acbd5dff46a3413715c18e934b071ab2ba464a7b2c2af16376","files":{}}

5
debian/changelog vendored Normal file
View file

@ -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

40
debian/control vendored Normal file
View file

@ -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.

34
debian/copyright vendored Normal file
View file

@ -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.

View file

@ -0,0 +1 @@
examples/*

17
debian/rules vendored Executable file
View file

@ -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

1
debian/source/format vendored Normal file
View file

@ -0,0 +1 @@
3.0 (quilt)

23
debian/tests/control vendored Normal file
View file

@ -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

4
debian/watch vendored Normal file
View file

@ -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