]> git.proxmox.com Git - debcargo-conf.git/commitdiff
futures-channel: new packaging
authorHenry-Nicolas Tourneur <debian@nilux.be>
Sat, 31 Oct 2020 20:03:09 +0000 (20:03 +0000)
committerHenry-Nicolas Tourneur <debian@nilux.be>
Sat, 31 Oct 2020 20:03:09 +0000 (20:03 +0000)
src/futures-channel/debian/changelog [new file with mode: 0644]
src/futures-channel/debian/copyright [new file with mode: 0644]
src/futures-channel/debian/copyright.debcargo.hint [new file with mode: 0644]
src/futures-channel/debian/debcargo.toml [new file with mode: 0644]
src/futures-channel/debian/patches/collapse-features.patch [new file with mode: 0644]
src/futures-channel/debian/patches/series [new file with mode: 0644]

diff --git a/src/futures-channel/debian/changelog b/src/futures-channel/debian/changelog
new file mode 100644 (file)
index 0000000..e7cacf4
--- /dev/null
@@ -0,0 +1,5 @@
+rust-futures-channel (0.3.6-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
+
+  * Package futures-channel 0.3.6 from crates.io using debcargo 2.4.3
+
+ -- Henry-Nicolas Tourneur <debian@nilux.be>  Fri, 23 Oct 2020 17:02:31 +0000
diff --git a/src/futures-channel/debian/copyright b/src/futures-channel/debian/copyright
new file mode 100644 (file)
index 0000000..01bb28f
--- /dev/null
@@ -0,0 +1,41 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: futures-channel
+Upstream-Contact: Alex Crichton <alex@alexcrichton.com>
+Source: https://github.com/rust-lang/futures-rs
+
+Files: *
+Copyright: 2018-2020 Alex Crichton <alex@alexcrichton.com>
+License: MIT or Apache-2.0
+
+Files: ./src/mpsc/queue.rs
+Copyright: 2010-2011 Dmitry Vyukov.
+License: MIT
+
+Files: debian/*
+Copyright:
+ 2020 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
+ 2020 Henry-Nicolas Tourneur <debian@nilux.be>
+License: MIT or Apache-2.0
+
+License: Apache-2.0
+ Debian systems provide the Apache 2.0 license in
+ /usr/share/common-licenses/Apache-2.0
+
+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/src/futures-channel/debian/copyright.debcargo.hint b/src/futures-channel/debian/copyright.debcargo.hint
new file mode 100644 (file)
index 0000000..496709f
--- /dev/null
@@ -0,0 +1,67 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: futures-channel
+Upstream-Contact: Alex Crichton <alex@alexcrichton.com>
+Source: https://github.com/rust-lang/futures-rs
+
+Files: *
+Copyright: FIXME (overlay) UNKNOWN-YEARS Alex Crichton <alex@alexcrichton.com>
+License: MIT or Apache-2.0
+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-APACHE
+Copyright:
+ 2016 Alex Crichton
+ 2017 The Tokio Authors
+License: UNKNOWN-LICENSE; FIXME (overlay)
+Comment:
+ FIXME (overlay): These notices are extracted from files. Please review them
+ before uploading to the archive.
+
+Files: ./LICENSE-MIT
+Copyright:
+ 2016 Alex Crichton
+ 2017 The Tokio Authors
+License: UNKNOWN-LICENSE; FIXME (overlay)
+Comment:
+ FIXME (overlay): These notices are extracted from files. Please review them
+ before uploading to the archive.
+
+Files: ./src/mpsc/queue.rs
+Copyright: 2010-2011 Dmitry Vyukov. All rights reserved.
+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 Henry-Nicolas Tourneur <debian@nilux.be>
+License: MIT or Apache-2.0
+
+License: Apache-2.0
+ Debian systems provide the Apache 2.0 license in
+ /usr/share/common-licenses/Apache-2.0
+
+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/src/futures-channel/debian/debcargo.toml b/src/futures-channel/debian/debcargo.toml
new file mode 100644 (file)
index 0000000..537a053
--- /dev/null
@@ -0,0 +1,6 @@
+overlay = "."
+uploaders = ["Henry-Nicolas Tourneur <debian@nilux.be>"]
+
+[packages.lib]
+# see here why tests are failing: https://github.com/rust-lang/futures-rs/issues/2025
+test_is_broken = true
diff --git a/src/futures-channel/debian/patches/collapse-features.patch b/src/futures-channel/debian/patches/collapse-features.patch
new file mode 100644 (file)
index 0000000..97443ec
--- /dev/null
@@ -0,0 +1,19 @@
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -26,16 +26,3 @@ rustdoc-args = ["--cfg", "docsrs"]
+ [dependencies.futures-core]
+ version = "0.3.6"
+ default-features = false
+-
+-[dependencies.futures-sink]
+-version = "0.3.6"
+-optional = true
+-default-features = false
+-
+-[features]
+-alloc = ["futures-core/alloc"]
+-cfg-target-has-atomic = ["futures-core/cfg-target-has-atomic"]
+-default = ["std"]
+-sink = ["futures-sink"]
+-std = ["alloc", "futures-core/std"]
+-unstable = ["futures-core/unstable"]
diff --git a/src/futures-channel/debian/patches/series b/src/futures-channel/debian/patches/series
new file mode 100644 (file)
index 0000000..aeda11e
--- /dev/null
@@ -0,0 +1 @@
+collapse-features.patch