]> git.proxmox.com Git - debcargo-conf.git/commitdiff
package smol_str, needed for schemars
authorAlexander Kjäll <alexander.kjall@gmail.com>
Tue, 11 Jul 2023 15:53:30 +0000 (17:53 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 25 Jul 2024 08:50:30 +0000 (10:50 +0200)
(cherry picked from commit ef42f1fead4e3b1f2c2e361e1c5187d25ebbb3fb)

src/smol-str/debian/RFS [new file with mode: 0644]
src/smol-str/debian/changelog [new file with mode: 0644]
src/smol-str/debian/copyright [new file with mode: 0644]
src/smol-str/debian/copyright.debcargo.hint [new file with mode: 0644]
src/smol-str/debian/debcargo.toml [new file with mode: 0644]
src/smol-str/debian/patches/disable-broken-test.patch [new file with mode: 0644]
src/smol-str/debian/patches/series [new file with mode: 0644]

diff --git a/src/smol-str/debian/RFS b/src/smol-str/debian/RFS
new file mode 100644 (file)
index 0000000..7b91786
--- /dev/null
@@ -0,0 +1 @@
+needed for schemars
diff --git a/src/smol-str/debian/changelog b/src/smol-str/debian/changelog
new file mode 100644 (file)
index 0000000..78510e0
--- /dev/null
@@ -0,0 +1,5 @@
+rust-smol-str (0.2.0-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
+
+  * Package smol_str 0.2.0 from crates.io using debcargo 2.6.0
+
+ -- Alexander Kjäll <alexander.kjall@gmail.com>  Tue, 11 Jul 2023 17:36:26 +0200
diff --git a/src/smol-str/debian/copyright b/src/smol-str/debian/copyright
new file mode 100644 (file)
index 0000000..ba6f5c9
--- /dev/null
@@ -0,0 +1,37 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: smol_str
+Upstream-Contact: Aleksey Kladov <aleksey.kladov@gmail.com>
+Source: https://github.com/rust-analyzer/smol_str
+
+Files: *
+Copyright: 2018-2023 Aleksey Kladov <aleksey.kladov@gmail.com>
+License: MIT or Apache-2.0
+
+Files: debian/*
+Copyright:
+ 2023 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
+ 2023 Alexander Kjäll <alexander.kjall@gmail.com>
+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/smol-str/debian/copyright.debcargo.hint b/src/smol-str/debian/copyright.debcargo.hint
new file mode 100644 (file)
index 0000000..91ff5b2
--- /dev/null
@@ -0,0 +1,42 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: smol_str
+Upstream-Contact: Aleksey Kladov <aleksey.kladov@gmail.com>
+Source: https://github.com/rust-analyzer/smol_str
+
+Files: *
+Copyright: FIXME (overlay) UNKNOWN-YEARS Aleksey Kladov <aleksey.kladov@gmail.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: debian/*
+Copyright:
+ 2023 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
+ 2023 Alexander Kjäll <alexander.kjall@gmail.com>
+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/smol-str/debian/debcargo.toml b/src/smol-str/debian/debcargo.toml
new file mode 100644 (file)
index 0000000..7cc506f
--- /dev/null
@@ -0,0 +1,3 @@
+overlay = "."
+uploaders = ["Alexander Kjäll <alexander.kjall@gmail.com>"]
+collapse_features = true
diff --git a/src/smol-str/debian/patches/disable-broken-test.patch b/src/smol-str/debian/patches/disable-broken-test.patch
new file mode 100644 (file)
index 0000000..90b250c
--- /dev/null
@@ -0,0 +1,13 @@
+diff --git a/tests/tidy.rs b/tests/tidy.rs
+index a716e35..a774774 100644
+--- a/tests/tidy.rs
++++ b/tests/tidy.rs
+@@ -31,7 +31,7 @@ fn run(cmd: &str, dir: impl AsRef<Path>) -> Result<(), ()> {
+     }
+ }
+-#[test]
++//#[test]
+ fn check_code_formatting() {
+     let dir = project_root();
+     if run("rustfmt +stable --version", &dir).is_err() {
diff --git a/src/smol-str/debian/patches/series b/src/smol-str/debian/patches/series
new file mode 100644 (file)
index 0000000..0bce7a8
--- /dev/null
@@ -0,0 +1 @@
+disable-broken-test.patch