diff --git a/TODO.rst b/TODO.rst index 973dbc1..30804f7 100644 --- a/TODO.rst +++ b/TODO.rst @@ -72,6 +72,7 @@ http-body quick-xml pretty_assertions (update) + dirs-sys Delayed/problematic:: diff --git a/src/dirs-sys/debian/changelog b/src/dirs-sys/debian/changelog new file mode 100644 index 0000000..1238797 --- /dev/null +++ b/src/dirs-sys/debian/changelog @@ -0,0 +1,5 @@ +rust-dirs-sys (0.3.3-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium + + * Package dirs-sys 0.3.3 from crates.io using debcargo 2.2.10 + + -- kpcyrd Sat, 13 Jul 2019 13:20:17 +0000 diff --git a/src/dirs-sys/debian/copyright b/src/dirs-sys/debian/copyright new file mode 100644 index 0000000..af86e96 --- /dev/null +++ b/src/dirs-sys/debian/copyright @@ -0,0 +1,39 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: dirs-sys +Upstream-Contact: Simon Ochsenreither +Source: https://github.com/soc/dirs-sys-rs + +Files: * +Copyright: + 2018-2019 Simon Ochsenreither + 2018-2019 dirs-rs contributors +License: MIT or Apache-2.0 + +Files: debian/* +Copyright: + 2019 Debian Rust Maintainers + 2019 kpcyrd +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/dirs-sys/debian/copyright.debcargo.hint b/src/dirs-sys/debian/copyright.debcargo.hint new file mode 100644 index 0000000..e692ea1 --- /dev/null +++ b/src/dirs-sys/debian/copyright.debcargo.hint @@ -0,0 +1,49 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: dirs-sys +Upstream-Contact: Simon Ochsenreither +Source: https://github.com/soc/dirs-sys-rs + +Files: * +Copyright: FIXME (overlay) UNKNOWN-YEARS Simon Ochsenreither +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-MIT +Copyright: 2018-2019 dirs-rs contributors +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: + 2019 Debian Rust Maintainers + 2019 kpcyrd +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/dirs-sys/debian/debcargo.toml b/src/dirs-sys/debian/debcargo.toml new file mode 100644 index 0000000..5681f40 --- /dev/null +++ b/src/dirs-sys/debian/debcargo.toml @@ -0,0 +1,5 @@ +overlay = "." +uploaders = ["kpcyrd "] + +# The auto-generated summary is too long. +summary = "Helper functions for the dirs crate" diff --git a/src/dirs-sys/debian/patches/series b/src/dirs-sys/debian/patches/series new file mode 100644 index 0000000..d0f2120 --- /dev/null +++ b/src/dirs-sys/debian/patches/series @@ -0,0 +1 @@ +strip-nightly-redox-users.patch diff --git a/src/dirs-sys/debian/patches/strip-nightly-redox-users.patch b/src/dirs-sys/debian/patches/strip-nightly-redox-users.patch new file mode 100644 index 0000000..a500163 --- /dev/null +++ b/src/dirs-sys/debian/patches/strip-nightly-redox-users.patch @@ -0,0 +1,11 @@ +--- a/Cargo.toml ++++ b/Cargo.toml +@@ -20,8 +20,6 @@ + repository = "https://github.com/soc/dirs-sys-rs" + [dependencies.cfg-if] + version = "0.1" +-[target."cfg(target_os = \"redox\")".dependencies.redox_users] +-version = "0.3.0" + [target."cfg(unix)".dependencies.libc] + version = "0.2" + [target."cfg(windows)".dependencies.winapi]