summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-03-28 18:46:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-03-28 18:46:55 +0000
commitc828d0dbc00fc63f768adf95cdefffc6a38a0043 (patch)
tree9ec49459ccdbdd99dff6d192666fec7366cf6a86
parentAdding upstream version 0.5.1. (diff)
downloadrust-serial-test-c828d0dbc00fc63f768adf95cdefffc6a38a0043.tar.xz
rust-serial-test-c828d0dbc00fc63f768adf95cdefffc6a38a0043.zip
Adding debian version 0.5.1-1.debian/0.5.1-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/cargo-checksum.json1
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control39
-rw-r--r--debian/copyright33
-rw-r--r--debian/copyright.debcargo.hint45
-rw-r--r--debian/debcargo.toml2
-rw-r--r--debian/patches/lower-parking-lot-dep.diff13
-rw-r--r--debian/patches/series1
-rwxr-xr-xdebian/rules6
-rw-r--r--debian/source/format1
-rw-r--r--debian/tests/control14
-rw-r--r--debian/watch4
13 files changed, 165 insertions, 0 deletions
diff --git a/debian/cargo-checksum.json b/debian/cargo-checksum.json
new file mode 100644
index 0000000..b5623be
--- /dev/null
+++ b/debian/cargo-checksum.json
@@ -0,0 +1 @@
+{"package":"Could not get crate checksum","files":{}}
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..cc23741
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+rust-serial-test (0.5.1-1) unstable; urgency=medium
+
+ * Package serial_test 0.5.1 from crates.io using debcargo 2.4.4-alpha.0
+
+ -- Sylvestre Ledru <sylvestre@debian.org> Sat, 26 Dec 2020 00:36:34 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..48082f7
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+12
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..c6416cf
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,39 @@
+Source: rust-serial-test
+Section: rust
+Priority: optional
+Build-Depends: debhelper (>= 12),
+ dh-cargo (>= 24),
+ cargo:native <!nocheck>,
+ rustc:native <!nocheck>,
+ libstd-rust-dev <!nocheck>,
+ librust-lazy-static-1+default-dev (>= 1.2-~~) <!nocheck>,
+ librust-parking-lot-0.10+default-dev <!nocheck>,
+ librust-serial-test-derive-0.5+default-dev (>= 0.5.1-~~) <!nocheck>
+Maintainer: Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
+Uploaders:
+ Sylvestre Ledru <sylvestre@debian.org>
+Standards-Version: 4.5.1
+Vcs-Git: https://salsa.debian.org/rust-team/debcargo-conf.git [src/serial-test]
+Vcs-Browser: https://salsa.debian.org/rust-team/debcargo-conf/tree/master/src/serial-test
+X-Cargo-Crate: serial_test
+Rules-Requires-Root: no
+
+Package: librust-serial-test-dev
+Architecture: any
+Multi-Arch: same
+Depends:
+ ${misc:Depends},
+ librust-lazy-static-1+default-dev (>= 1.2-~~),
+ librust-parking-lot-0.10+default-dev,
+ librust-serial-test-derive-0.5+default-dev (>= 0.5.1-~~)
+Provides:
+ librust-serial-test+default-dev (= ${binary:Version}),
+ librust-serial-test-0-dev (= ${binary:Version}),
+ librust-serial-test-0+default-dev (= ${binary:Version}),
+ librust-serial-test-0.5-dev (= ${binary:Version}),
+ librust-serial-test-0.5+default-dev (= ${binary:Version}),
+ librust-serial-test-0.5.1-dev (= ${binary:Version}),
+ librust-serial-test-0.5.1+default-dev (= ${binary:Version})
+Description: Allows for the creation of serialised Rust tests - Rust source code
+ This package contains the source for the Rust serial_test crate, packaged by
+ debcargo for use with cargo and dh-cargo.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..f1c6840
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,33 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: serial_test
+Upstream-Contact: Tom Parker-Shemilt <palfrey@tevp.net>
+Source: https://github.com/palfrey/serial_test/
+
+Files: *
+Copyright: 2018-2020 Tom Parker-Shemilt <palfrey@tevp.net>
+License: MIT
+
+Files: debian/*
+Copyright:
+ 2020 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
+ 2020 Sylvestre Ledru <sylvestre@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.
diff --git a/debian/copyright.debcargo.hint b/debian/copyright.debcargo.hint
new file mode 100644
index 0000000..e70b49c
--- /dev/null
+++ b/debian/copyright.debcargo.hint
@@ -0,0 +1,45 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: serial_test
+Upstream-Contact: Tom Parker-Shemilt <palfrey@tevp.net>
+Source: https://github.com/palfrey/serial_test/
+
+Files: *
+Copyright: FIXME (overlay) UNKNOWN-YEARS Tom Parker-Shemilt <palfrey@tevp.net>
+License: MIT
+Comment:
+ FIXME (overlay): Since upstream copyright years are not available in
+ Cargo.toml, they were extracted from the upstream Git repository. This may not
+ be correct information so you should review and fix this before uploading to
+ the archive.
+
+Files: ./LICENSE
+Copyright: 2018 Tom Parker-Shemilt
+License: UNKNOWN-LICENSE; FIXME (overlay)
+Comment:
+ FIXME (overlay): These notices are extracted from files. Please review them
+ before uploading to the archive.
+
+Files: debian/*
+Copyright:
+ 2020 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
+ 2020 Sylvestre Ledru <sylvestre@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.
diff --git a/debian/debcargo.toml b/debian/debcargo.toml
new file mode 100644
index 0000000..d4f56da
--- /dev/null
+++ b/debian/debcargo.toml
@@ -0,0 +1,2 @@
+overlay = "."
+uploaders = ["Sylvestre Ledru <sylvestre@debian.org>"]
diff --git a/debian/patches/lower-parking-lot-dep.diff b/debian/patches/lower-parking-lot-dep.diff
new file mode 100644
index 0000000..a5784cb
--- /dev/null
+++ b/debian/patches/lower-parking-lot-dep.diff
@@ -0,0 +1,13 @@
+Index: serial-test/Cargo.toml
+===================================================================
+--- serial-test.orig/Cargo.toml
++++ serial-test/Cargo.toml
+@@ -24,7 +24,7 @@ repository = "https://github.com/palfrey
+ version = "1.2"
+
+ [dependencies.parking_lot]
+-version = ">= 0.10, < 0.12"
++version = "0.10"
+
+ [dependencies.serial_test_derive]
+ version = "~0.5.1"
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e50b803
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+lower-parking-lot-dep.diff
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..92c239b
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+%:
+ dh $@ --buildsystem cargo
+
+override_dh_auto_test:
+ dh_auto_test -- test --all
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..8fd4782
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,14 @@
+Test-Command: /usr/share/cargo/bin/cargo-auto-test serial_test 0.5.1 --all-targets --all-features
+Features: test-name=rust-serial-test:@
+Depends: dh-cargo (>= 18), @
+Restrictions: allow-stderr, skip-not-installable
+
+Test-Command: /usr/share/cargo/bin/cargo-auto-test serial_test 0.5.1 --all-targets
+Features: test-name=librust-serial-test-dev:default
+Depends: dh-cargo (>= 18), @
+Restrictions: allow-stderr, skip-not-installable
+
+Test-Command: /usr/share/cargo/bin/cargo-auto-test serial_test 0.5.1 --all-targets --no-default-features
+Features: test-name=librust-serial-test-dev:
+Depends: dh-cargo (>= 18), @
+Restrictions: allow-stderr, skip-not-installable
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..a2ce849
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+opts=filenamemangle=s/.*\/(.*)\/download/serial_test-$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/serial_test .*/crates/serial_test/@ANY_VERSION@/download