Compare commits
7 commits
3f0cf5eebc
...
374ea30617
Author | SHA1 | Date | |
---|---|---|---|
374ea30617 | |||
7a66b7c996 | |||
986ad41a03 | |||
2371a1bed5 | |||
3a31da61e0 | |||
6981820337 | |||
400f64105e |
8 changed files with 145 additions and 0 deletions
1
debian/cargo-checksum.json
vendored
Normal file
1
debian/cargo-checksum.json
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{"package":"b5097ec7ea7218135541ad96348f1441d0c616537dd4ed9c47205920c35d7d97","files":{}}
|
19
debian/changelog
vendored
Normal file
19
debian/changelog
vendored
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
rust-soft-assert (0.1.1-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:07:48 +0100
|
||||||
|
|
||||||
|
rust-soft-assert (0.1.1-2) sid; urgency=medium
|
||||||
|
|
||||||
|
* Updating maintainer email address.
|
||||||
|
|
||||||
|
-- Daniel Baumann <daniel@debian.org> Thu, 23 Jan 2025 20:33:14 +0100
|
||||||
|
|
||||||
|
rust-soft-assert (0.1.1-1) sid; urgency=low
|
||||||
|
|
||||||
|
* Initial upload to sid (build-depends of forgejo-api).
|
||||||
|
|
||||||
|
-- Daniel Baumann <daniel@debian.org> Wed, 20 Nov 2024 06:56:26 +0100
|
37
debian/control
vendored
Normal file
37
debian/control
vendored
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
Source: rust-soft-assert
|
||||||
|
Section: rust
|
||||||
|
Priority: optional
|
||||||
|
Maintainer: Daniel Baumann <daniel@debian.org>
|
||||||
|
Build-Depends:
|
||||||
|
cargo:native <!nocheck>,
|
||||||
|
debhelper-compat (= 13),
|
||||||
|
dh-sequence-cargo,
|
||||||
|
libstd-rust-dev <!nocheck>,
|
||||||
|
rustc:native <!nocheck>,
|
||||||
|
Rules-Requires-Root: no
|
||||||
|
Standards-Version: 4.7.0
|
||||||
|
Homepage: https://github.com/Cyborus04/soft_assert
|
||||||
|
Vcs-Browser: https://forgejo.debian.net/forgejo/rust-soft-assert
|
||||||
|
Vcs-Git: https://forgejo.debian.net/forgejo/rust-soft-assert
|
||||||
|
X-Cargo-Crate: soft_assert
|
||||||
|
|
||||||
|
Package: librust-soft-assert-dev
|
||||||
|
Section: rust
|
||||||
|
Architecture: any
|
||||||
|
Multi-Arch: same
|
||||||
|
Depends:
|
||||||
|
${misc:Depends},
|
||||||
|
Provides:
|
||||||
|
librust-soft-assert+default-dev (= ${binary:Version}),
|
||||||
|
librust-soft-assert-0+default-dev (= ${binary:Version}),
|
||||||
|
librust-soft-assert-0-dev (= ${binary:Version}),
|
||||||
|
librust-soft-assert-0.1+default-dev (= ${binary:Version}),
|
||||||
|
librust-soft-assert-0.1-dev (= ${binary:Version}),
|
||||||
|
librust-soft-assert-0.1.1+default-dev (= ${binary:Version}),
|
||||||
|
librust-soft-assert-0.1.1-dev (= ${binary:Version}),
|
||||||
|
Description: Non-panicking assertions - Rust source code
|
||||||
|
Various macros that return early if a given condition is false,
|
||||||
|
similar to the various `assert` macros in `std`
|
||||||
|
.
|
||||||
|
This package contains the source for the Rust soft_assert crate
|
||||||
|
for use with cargo and dh-cargo.
|
47
debian/copyright
vendored
Normal file
47
debian/copyright
vendored
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
|
Upstream-Name: soft_assert
|
||||||
|
Upstream-Contact: https://github.com/Cyborus04/soft_assert/issues
|
||||||
|
Source: https://github.com/Cyborus04/soft_assert
|
||||||
|
|
||||||
|
Files: *
|
||||||
|
Copyright: 2021 Cyborus <cyborus@cyborus.xyz>
|
||||||
|
License: Apache-2.0 or MIT
|
||||||
|
|
||||||
|
Files: debian/*
|
||||||
|
Copyright: 2024-2025 Daniel Baumann <daniel@debian.org>
|
||||||
|
License: Apache-2.0 or MIT
|
||||||
|
|
||||||
|
License: Apache-2.0
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
.
|
||||||
|
https://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
.
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
.
|
||||||
|
The complete text of the Apache-2.0 License
|
||||||
|
can be found in /usr/share/common-licenses/Apache-2.0 file.
|
||||||
|
|
||||||
|
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.
|
13
debian/rules
vendored
Executable file
13
debian/rules
vendored
Executable file
|
@ -0,0 +1,13 @@
|
||||||
|
#!/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/*/LICENSE*
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
3.0 (quilt)
|
23
debian/tests/control
vendored
Normal file
23
debian/tests/control
vendored
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
Test-Command: /usr/share/cargo/bin/cargo-auto-test soft_assert 0.1.1 --all-targets --all-features
|
||||||
|
Features: test-name=rust-soft-assert:@
|
||||||
|
Depends:
|
||||||
|
dh-cargo (>= 31),
|
||||||
|
rustc,
|
||||||
|
@,
|
||||||
|
Restrictions: allow-stderr, skip-not-installable
|
||||||
|
|
||||||
|
Test-Command: /usr/share/cargo/bin/cargo-auto-test soft_assert 0.1.1 --all-targets
|
||||||
|
Features: test-name=librust-soft-assert-dev:default
|
||||||
|
Depends:
|
||||||
|
dh-cargo (>= 31),
|
||||||
|
rustc,
|
||||||
|
@,
|
||||||
|
Restrictions: allow-stderr, skip-not-installable
|
||||||
|
|
||||||
|
Test-Command: /usr/share/cargo/bin/cargo-auto-test soft_assert 0.1.1 --all-targets --no-default-features
|
||||||
|
Features: test-name=librust-soft-assert-dev:
|
||||||
|
Depends:
|
||||||
|
dh-cargo (>= 31),
|
||||||
|
rustc,
|
||||||
|
@,
|
||||||
|
Restrictions: allow-stderr, skip-not-installable
|
4
debian/watch
vendored
Normal file
4
debian/watch
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
version=4
|
||||||
|
opts=filenamemangle=s/.*\/(.*)\/download/soft_assert-$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/soft_assert .*/crates/soft_assert/@ANY_VERSION@/download
|
Loading…
Add table
Reference in a new issue