]> git.proxmox.com Git - debcargo-conf.git/commitdiff
rkyv_derive: update to 0.7.39-2
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 19 Apr 2023 12:07:44 +0000 (14:07 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 19 Apr 2023 12:11:30 +0000 (14:11 +0200)
from Debian unstable

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
src/rkyv-derive/debian/changelog [new file with mode: 0644]
src/rkyv-derive/debian/copyright [new file with mode: 0644]
src/rkyv-derive/debian/copyright.debcargo.hint [new file with mode: 0644]
src/rkyv-derive/debian/debcargo.toml [new file with mode: 0644]
src/rkyv-derive/debian/patches/fix-build-32-bit.patch [new file with mode: 0644]
src/rkyv-derive/debian/patches/series [new file with mode: 0644]

diff --git a/src/rkyv-derive/debian/changelog b/src/rkyv-derive/debian/changelog
new file mode 100644 (file)
index 0000000..f1358d8
--- /dev/null
@@ -0,0 +1,12 @@
+rust-rkyv-derive (0.7.39-2) unstable; urgency=medium
+
+  * Team upload.
+  * Package rkyv_derive 0.7.39 from crates.io using debcargo 2.5.0
+
+ -- Peter Michael Green <plugwash@debian.org>  Sun, 06 Nov 2022 11:38:19 +0000
+
+rust-rkyv-derive (0.7.39-1) unstable; urgency=medium
+
+  * Package rkyv_derive 0.7.39 from crates.io using debcargo 2.5.0
+
+ -- Reinhard Tartler <siretart@tauware.de>  Sat, 09 Jul 2022 06:58:44 -0400
diff --git a/src/rkyv-derive/debian/copyright b/src/rkyv-derive/debian/copyright
new file mode 100644 (file)
index 0000000..099cccd
--- /dev/null
@@ -0,0 +1,33 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: rkyv_derive
+Upstream-Contact: David Koloski <djkoloski@gmail.com>
+Source: https://github.com/rkyv/rkyv
+
+Files: *
+Copyright: 2020-2022 David Koloski <djkoloski@gmail.com>
+License: MIT
+
+Files: debian/*
+Copyright:
+ 2022 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
+ 2022 Reinhard Tartler <siretart@tauware.de>
+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/src/rkyv-derive/debian/copyright.debcargo.hint b/src/rkyv-derive/debian/copyright.debcargo.hint
new file mode 100644 (file)
index 0000000..2041d3e
--- /dev/null
@@ -0,0 +1,45 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: rkyv_derive
+Upstream-Contact: David Koloski <djkoloski@gmail.com>
+Source: https://github.com/rkyv/rkyv
+
+Files: *
+Copyright: FIXME (overlay) UNKNOWN-YEARS David Koloski <djkoloski@gmail.com>
+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: 2021 David Koloski
+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:
+ 2022 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
+ 2022 Reinhard Tartler <siretart@tauware.de>
+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/src/rkyv-derive/debian/debcargo.toml b/src/rkyv-derive/debian/debcargo.toml
new file mode 100644 (file)
index 0000000..624c9dc
--- /dev/null
@@ -0,0 +1,2 @@
+overlay = "."
+uploaders = ["Reinhard Tartler <siretart@tauware.de>"]
diff --git a/src/rkyv-derive/debian/patches/fix-build-32-bit.patch b/src/rkyv-derive/debian/patches/fix-build-32-bit.patch
new file mode 100644 (file)
index 0000000..d5b2d9a
--- /dev/null
@@ -0,0 +1,14 @@
+Description: fix build on 32-bit.
+Author: Peter Michael Green <plugwash@debian.org>
+
+--- rust-rkyv-derive-0.7.39.orig/src/archive.rs
++++ rust-rkyv-derive-0.7.39/src/archive.rs
+@@ -778,7 +778,7 @@ fn derive_archive_impl(
+                 // If unspecified, the base repr is set to u* with the smallest unsigned integer
+                 // that can represent the number of variants
+                 None => {
+-                    let int_repr = match data.variants.len() {
++                    let int_repr = match data.variants.len() as u128 {
+                         0..=255 => IntRepr::U8,
+                         256..=65_535 => IntRepr::U16,
+                         65_536..=4_294_967_295 => IntRepr::U32,
diff --git a/src/rkyv-derive/debian/patches/series b/src/rkyv-derive/debian/patches/series
new file mode 100644 (file)
index 0000000..bb06af3
--- /dev/null
@@ -0,0 +1 @@
+fix-build-32-bit.patch