diff --git a/src/is-terminal/debian/changelog b/src/is-terminal/debian/changelog new file mode 100644 index 0000000..1966fb8 --- /dev/null +++ b/src/is-terminal/debian/changelog @@ -0,0 +1,5 @@ +rust-is-terminal (0.4.3-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium + + * Package is-terminal 0.4.3 from crates.io using debcargo 2.6.0 + + -- Sylvestre Ledru Sun, 19 Feb 2023 09:49:10 +0100 diff --git a/src/is-terminal/debian/copyright b/src/is-terminal/debian/copyright new file mode 100644 index 0000000..21b0eb2 --- /dev/null +++ b/src/is-terminal/debian/copyright @@ -0,0 +1,37 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: is-terminal +Upstream-Contact: + softprops + Dan Gohman +Source: https://github.com/sunfishcode/is-terminal + +Files: * +Copyright: + 2015-2019 Doug Tangren + 2015-2022 Dan Gohman +License: MIT + +Files: debian/* +Copyright: + 2023 Debian Rust Maintainers + 2023 Sylvestre Ledru +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/is-terminal/debian/copyright.debcargo.hint b/src/is-terminal/debian/copyright.debcargo.hint new file mode 100644 index 0000000..6221c9d --- /dev/null +++ b/src/is-terminal/debian/copyright.debcargo.hint @@ -0,0 +1,49 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: is-terminal +Upstream-Contact: + softprops + Dan Gohman +Source: https://github.com/sunfishcode/is-terminal + +Files: * +Copyright: + FIXME (overlay) UNKNOWN-YEARS softprops + FIXME (overlay) UNKNOWN-YEARS Dan Gohman +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-MIT-atty +Copyright: 2015-2019 Doug Tangren +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: + 2023 Debian Rust Maintainers + 2023 Sylvestre Ledru +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/is-terminal/debian/debcargo.toml b/src/is-terminal/debian/debcargo.toml new file mode 100644 index 0000000..d4f56da --- /dev/null +++ b/src/is-terminal/debian/debcargo.toml @@ -0,0 +1,2 @@ +overlay = "." +uploaders = ["Sylvestre Ledru "] diff --git a/src/is-terminal/debian/patches/disable-windows.diff b/src/is-terminal/debian/patches/disable-windows.diff new file mode 100644 index 0000000..0132f55 --- /dev/null +++ b/src/is-terminal/debian/patches/disable-windows.diff @@ -0,0 +1,41 @@ +Index: is-terminal/Cargo.toml +=================================================================== +--- is-terminal.orig/Cargo.toml ++++ is-terminal/Cargo.toml +@@ -44,23 +44,23 @@ version = "1.0.0" + [dev-dependencies.atty] + version = "0.2.14" + +-[target."cfg(any(unix, target_os = \"wasi\"))".dev-dependencies.libc] +-version = "0.2.110" ++# [target."cfg(any(unix, target_os = \"wasi\"))".dev-dependencies.libc] ++# version = "0.2.110" + + [target."cfg(not(any(windows, target_os = \"hermit\", target_os = \"unknown\")))".dependencies.rustix] + version = "0.36.4" + features = ["termios"] + +-[target."cfg(target_os = \"hermit\")".dependencies.hermit-abi] +-version = "0.3.0" ++# [target."cfg(target_os = \"hermit\")".dependencies.hermit-abi] ++# version = "0.3.0" + +-[target."cfg(windows)".dependencies.windows-sys] +-version = "0.45.0" +-features = [ +- "Win32_Foundation", +- "Win32_Storage_FileSystem", +- "Win32_System_Console", +-] ++# [target."cfg(windows)".dependencies.windows-sys] ++# version = "0.45.0" ++# features = [ ++# "Win32_Foundation", ++# "Win32_Storage_FileSystem", ++# "Win32_System_Console", ++# ] + +-[target."cfg(windows)".dev-dependencies.tempfile] +-version = "3" ++# [target."cfg(windows)".dev-dependencies.tempfile] ++# version = "3" diff --git a/src/is-terminal/debian/patches/series b/src/is-terminal/debian/patches/series new file mode 100644 index 0000000..39970cf --- /dev/null +++ b/src/is-terminal/debian/patches/series @@ -0,0 +1 @@ +disable-windows.diff