Packaging for loggerv
Henry-Nicolas Tourneur authored 3 years ago
Wolfgang Silbermayr committed 3 years ago
0 | rust-loggerv (0.7.2-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium | |
1 | ||
2 | * Package loggerv 0.7.2 from crates.io using debcargo 2.4.2 | |
3 | ||
4 | -- Henry-Nicolas Tourneur <debian@nilux.be> Thu, 18 Jun 2020 19:27:11 +0000 |
0 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | |
1 | Upstream-Name: loggerv | |
2 | Upstream-Contact: | |
3 | Eirik Albrigtsen <sszynrae@gmail.com> | |
4 | Christopher Field <cfield2@gmail.com> | |
5 | Source: https://github.com/clux/loggerv | |
6 | ||
7 | Files: * | |
8 | Copyright: | |
9 | 2017-2020 Eirik Albrigtsen <sszynrae@gmail.com> | |
10 | 2017-2018 Christopher Field <cfield2@gmail.com> | |
11 | License: MIT | |
12 | ||
13 | Files: debian/* | |
14 | Copyright: | |
15 | 2020 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | |
16 | 2020 Henry-Nicolas Tourneur <debian@nilux.be> | |
17 | License: MIT | |
18 | ||
19 | License: MIT | |
20 | Permission is hereby granted, free of charge, to any person obtaining a copy | |
21 | of this software and associated documentation files (the "Software"), to deal | |
22 | in the Software without restriction, including without limitation the rights | |
23 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
24 | copies of the Software, and to permit persons to whom the Software is | |
25 | furnished to do so, subject to the following conditions: | |
26 | . | |
27 | The above copyright notice and this permission notice shall be included in all | |
28 | copies or substantial portions of the Software. | |
29 | . | |
30 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
31 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
32 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
33 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
34 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
35 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
36 | SOFTWARE. |
0 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | |
1 | Upstream-Name: loggerv | |
2 | Upstream-Contact: | |
3 | Eirik Albrigtsen <sszynrae@gmail.com> | |
4 | Christopher Field <cfield2@gmail.com> | |
5 | Source: https://github.com/clux/loggerv | |
6 | ||
7 | Files: * | |
8 | Copyright: | |
9 | FIXME (overlay) UNKNOWN-YEARS Eirik Albrigtsen <sszynrae@gmail.com> | |
10 | FIXME (overlay) UNKNOWN-YEARS Christopher Field <cfield2@gmail.com> | |
11 | License: MIT | |
12 | Comment: | |
13 | FIXME (overlay): Since upstream copyright years are not available in | |
14 | Cargo.toml, they were extracted from the upstream Git repository. This may not | |
15 | be correct information so you should review and fix this before uploading to | |
16 | the archive. | |
17 | ||
18 | Files: ./LICENSE | |
19 | Copyright: 2016 Eirik Albrigtsen | |
20 | License: UNKNOWN-LICENSE; FIXME (overlay) | |
21 | Comment: | |
22 | FIXME (overlay): These notices are extracted from files. Please review them | |
23 | before uploading to the archive. | |
24 | ||
25 | Files: debian/* | |
26 | Copyright: | |
27 | 2020 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | |
28 | 2020 Henry-Nicolas Tourneur <debian@nilux.be> | |
29 | License: MIT | |
30 | ||
31 | License: MIT | |
32 | Permission is hereby granted, free of charge, to any person obtaining a copy | |
33 | of this software and associated documentation files (the "Software"), to deal | |
34 | in the Software without restriction, including without limitation the rights | |
35 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
36 | copies of the Software, and to permit persons to whom the Software is | |
37 | furnished to do so, subject to the following conditions: | |
38 | . | |
39 | The above copyright notice and this permission notice shall be included in all | |
40 | copies or substantial portions of the Software. | |
41 | . | |
42 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
43 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
44 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
45 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
46 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
47 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
48 | SOFTWARE. |
0 | overlay = "." | |
1 | uploaders = ["Henry-Nicolas Tourneur <debian@nilux.be>"] | |
2 | ||
3 | [packages.lib] | |
4 | summary = "Logging implementation with stdout/stderr color support" |
0 | Description: Fixes a failed autopkg test case by backporting the fix from upstream | |
1 | Origin: https://github.com/clux/loggerv/commit/97e521dac76c14abfc1aee57bcb317e3d1b16f00 | |
2 | --- | |
3 | This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ | |
4 | --- a/src/lib.rs | |
5 | +++ b/src/lib.rs | |
6 | @@ -876,7 +876,7 @@ | |
7 | assert_eq!(logger.include_level, DEFAULT_INCLUDE_LEVEL); | |
8 | assert_eq!(logger.include_line_numbers, DEFAULT_INCLUDE_LINE_NUMBERS); | |
9 | assert_eq!(logger.include_module_path, DEFAULT_INCLUDE_MODULE_PATH); | |
10 | - assert_eq!(logger.colors, DEFAULT_COLORS); | |
11 | + assert_eq!(logger.colors, DEFAULT_COLORS && atty::is(atty::Stream::Stdout) && atty::is(atty::Stream::Stderr)); | |
12 | assert_eq!(logger.level, DEFAULT_LEVEL); | |
13 | assert_eq!(logger.separator, String::from(DEFAULT_SEPARATOR)); | |
14 | assert_eq!(logger.error.color, DEFAULT_ERROR_COLOR); |
0 | fix_autopkgtest.diff |