1
0
Fork 0

Adding debian version 0.3.0-1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-05-04 23:37:23 +02:00
parent d61cd7bdb0
commit 9cb419149b
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
8 changed files with 117 additions and 0 deletions

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

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

5
debian/changelog vendored Normal file
View file

@ -0,0 +1,5 @@
rust-platform-dirs (0.3.0-1) unstable; urgency=low
* Initial upload to sid, needed for git-graph.
-- Daniel Baumann <daniel@debian.org> Sun, 04 May 2025 23:33:42 +0200

36
debian/control vendored Normal file
View file

@ -0,0 +1,36 @@
Source: rust-platform-dirs
Section: rust
Priority: optional
Maintainer: Daniel Baumann <daniel@debian.org>
Build-Depends:
debhelper-compat (= 13),
dh-sequence-cargo,
Build-Depends-Arch:
cargo:native <!nocheck>,
librust-dirs-next-dev <!nocheck>,
libstd-rust-dev <!nocheck>,
rustc:native <!nocheck>,
Rules-Requires-Root: no
Homepage: https://github.com/cjbassi/platform-dirs-rs
Standards-Version: 4.7.0
Vcs-Browser: https://forgejo.debian.net/git/rust-platform-dirs
Vcs-Git: https://forgejo.debian.net/git/rust-platform-dirs
X-Cargo-Crate: platform-dirs
Package: librust-platform-dirs-dev
Section: rust
Architecture: any
Multi-Arch: same
Depends:
librust-dirs-next-1+default-dev (>= 1.0.1-~~),
${misc:Depends},
Provides:
librust-platform-dirs+default-dev (= ${binary:Version}),
librust-platform-dirs-0+default-dev (= ${binary:Version}),
librust-platform-dirs-0-dev (= ${binary:Version}),
librust-platform-dirs-0.3+default-dev (= ${binary:Version}),
librust-platform-dirs-0.3-dev (= ${binary:Version}),
librust-platform-dirs-0.3.0+default-dev (= ${binary:Version}),
librust-platform-dirs-0.3.0-dev (= ${binary:Version}),
Description: Obtaining platform dependant directory paths for application and user directories - Rust source code
Source code for Debianized Rust crate "platform-dirs"

31
debian/copyright vendored Normal file
View file

@ -0,0 +1,31 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: platform-dirs-rs
Upstream-Contact: https://github.com/cjbassi/platform-dirs-rs/issues
Source: https://github.com/cjbassi/platform-dirs-rs/tags
Files: *
Copyright: 2019-2021 Caleb Bassi <calebjbassi@gmail.com>
License: MIT
Files: debian/*
Copyright: 2025 Daniel Baumann <daniel@debian.org>
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.

7
debian/rules vendored Executable file
View file

@ -0,0 +1,7 @@
#!/usr/bin/make -f
%:
dh ${@} --buildsystem cargo
override_dh_auto_test:
dh_auto_test -- test --all

1
debian/source/format vendored Normal file
View file

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

32
debian/tests/control vendored Normal file
View file

@ -0,0 +1,32 @@
Test-Command: /usr/share/cargo/bin/cargo-auto-test platform-dirs 0.3.0 --all-targets --all-features
Features:
test-name=rust-platform-dirs:@,
Depends:
dh-cargo (>= 31),
rustc,
@,
Restrictions:
allow-stderr,
skip-not-installable,
Test-Command: /usr/share/cargo/bin/cargo-auto-test platform-dirs 0.3.0 --all-targets
Features:
test-name=librust-platform-dirs-dev:default,
Depends:
dh-cargo (>= 31),
rustc,
@,
Restrictions:
allow-stderr,
skip-not-installable,
Test-Command: /usr/share/cargo/bin/cargo-auto-test platform-dirs 0.3.0 --all-targets --no-default-features
Features:
test-name=librust-platform-dirs-dev:,
Depends:
dh-cargo (>= 31),
rustc,
@,
Restrictions:
allow-stderr,
skip-not-installable,

4
debian/watch vendored Normal file
View file

@ -0,0 +1,4 @@
version=4
opts=filenamemangle=s/.*\/(.*)\/download/platform-dirs-$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/platform-dirs .*/crates/platform-dirs/@ANY_VERSION@/download