1
0
Fork 0

Compare commits

...

7 commits

Author SHA1 Message Date
a6811e617c
Releasing debian version 0.2.3-3.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 09:08:53 +01:00
180c18a33c
Using codenames in changelog.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 07:48:14 +01:00
921c058385
Updating year in debian copyright for 2025.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 06:55:25 +01:00
a41a447301
Adding vcs fields.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 06:18:28 +01:00
dc72e17915
Releasing debian version 0.2.3-2.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 06:18:18 +01:00
66b3252a52
Updating maintainer email address.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 06:18:15 +01:00
15a2dfb4b2
Adding debian version 0.2.3-1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 06:17:56 +01:00
9 changed files with 142 additions and 0 deletions

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

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

19
debian/changelog vendored Normal file
View file

@ -0,0 +1,19 @@
rust-terminal-prompt (0.2.3-3) sid; urgency=medium
* Adding vcs fields.
* Updating year in debian copyright for 2025.
* Using codenames in changelog.
-- Daniel Baumann <daniel@debian.org> Wed, 05 Feb 2025 09:08:50 +0100
rust-terminal-prompt (0.2.3-2) sid; urgency=medium
* Updating maintainer email address.
-- Daniel Baumann <daniel@debian.org> Sun, 15 Dec 2024 20:29:38 +0100
rust-terminal-prompt (0.2.3-1) sid; 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

42
debian/control vendored Normal file
View file

@ -0,0 +1,42 @@
Source: rust-terminal-prompt
Section: rust
Priority: optional
Maintainer: Daniel Baumann <daniel@debian.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
Vcs-Browser: https://forgejo.debian.net/forgejo/rust-terminal-prompt
Vcs-Git: https://forgejo.debian.net/forgejo/rust-terminal-prompt
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-2025 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