Package + RFS difference 2.0.0
Robin Krahl
5 years ago
40 | 40 | wasm-bindgen-macro |
41 | 41 | wasm-bindgen |
42 | 42 | combine |
43 | difference | |
43 | 44 | |
44 | 45 | Delayed/problematic:: |
45 | 46 |
0 | rust-difference (2.0.0-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium | |
1 | ||
2 | * Package difference 2.0.0 from crates.io using debcargo 2.2.9 | |
3 | ||
4 | -- Robin Krahl <robin.krahl@ireas.org> Tue, 22 Jan 2019 23:45:47 +0000 |
0 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | |
1 | Upstream-Name: difference | |
2 | Upstream-Contact: Johann Hofmann <mail@johann-hofmann.com> | |
3 | Source: https://github.com/johannhof/difference.rs | |
4 | ||
5 | Files: * | |
6 | Copyright: 2015-2018 Johann Hofmann <mail@johann-hofmann.com> | |
7 | License: MIT | |
8 | ||
9 | Files: debian/* | |
10 | Copyright: | |
11 | 2019 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | |
12 | 2019 Robin Krahl <robin.krahl@ireas.org> | |
13 | License: MIT | |
14 | ||
15 | License: MIT | |
16 | Permission is hereby granted, free of charge, to any person obtaining a copy | |
17 | of this software and associated documentation files (the "Software"), to deal | |
18 | in the Software without restriction, including without limitation the rights | |
19 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
20 | copies of the Software, and to permit persons to whom the Software is | |
21 | furnished to do so, subject to the following conditions: | |
22 | . | |
23 | The above copyright notice and this permission notice shall be included in all | |
24 | copies or substantial portions of the Software. | |
25 | . | |
26 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
27 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
28 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
29 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
30 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
31 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
32 | SOFTWARE. |
0 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | |
1 | Upstream-Name: difference | |
2 | Upstream-Contact: Johann Hofmann <mail@johann-hofmann.com> | |
3 | Source: https://github.com/johannhof/difference.rs | |
4 | ||
5 | Files: * | |
6 | Copyright: FIXME (overlay) UNKNOWN-YEARS Johann Hofmann <mail@johann-hofmann.com> | |
7 | License: MIT | |
8 | Comment: | |
9 | FIXME (overlay): Since upstream copyright years are not available in | |
10 | Cargo.toml, they were extracted from the upstream Git repository. This may not | |
11 | be correct information so you should review and fix this before uploading to | |
12 | the archive. | |
13 | ||
14 | Files: ./LICENSE | |
15 | Copyright: 2015 Johann Hofmann | |
16 | License: UNKNOWN-LICENSE; FIXME (overlay) | |
17 | Comment: | |
18 | FIXME (overlay): These notices are extracted from files. Please review them | |
19 | before uploading to the archive. | |
20 | ||
21 | Files: debian/* | |
22 | Copyright: | |
23 | 2019 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | |
24 | 2019 Robin Krahl <robin.krahl@ireas.org> | |
25 | License: MIT | |
26 | ||
27 | License: MIT | |
28 | Permission is hereby granted, free of charge, to any person obtaining a copy | |
29 | of this software and associated documentation files (the "Software"), to deal | |
30 | in the Software without restriction, including without limitation the rights | |
31 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
32 | copies of the Software, and to permit persons to whom the Software is | |
33 | furnished to do so, subject to the following conditions: | |
34 | . | |
35 | The above copyright notice and this permission notice shall be included in all | |
36 | copies or substantial portions of the Software. | |
37 | . | |
38 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
39 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
40 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
41 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
42 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
43 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
44 | SOFTWARE. |
0 | overlay = "." | |
1 | uploaders = ["Robin Krahl <robin.krahl@ireas.org>"] | |
2 | summary = "text diffing and assertion library" | |
3 | ||
4 | [packages.bin] | |
5 | section = "utils" | |
6 | summary = "text diffing tool" | |
7 | description = """ | |
8 | difference compares two strings and prints a colorful visual representation of | |
9 | the diff. | |
10 | """ |
0 | .\" (C) Copyright 2019 Robin Krahl <robin.krahl@ireas.org> | |
1 | .TH DIFFERENCE 1 2019-01-23 | |
2 | .SH NAME | |
3 | difference \- compares two strings and prints a colorful diff | |
4 | .SH SYNOPSIS | |
5 | \fBdifference\fR [\fB\-\-split \fIsplit\fR] \fIorig\fR \fIedit\fR | |
6 | .SH DESCRIPTION | |
7 | \fBdifference\fR compares the strings \fIorig\fR and \fIedit\fR and prints | |
8 | a colorful representation of the difference to the standard output. | |
9 | .SH OPTIONS | |
10 | .TP | |
11 | \fB\-s\fR, \fB\-\-split\fR \fBchar\fR|\fBword\fR|\fBline\fR | |
12 | Select the level of detail in the diff (default: \fB word\fR). | |
13 | .SH EXAMPLES | |
14 | In the examples, text that would be printed in red is formatted \fIin | |
15 | italics\fR, and text that would be printed in green is formatted \fBbold\fR. | |
16 | .P | |
17 | Compare characters: | |
18 | $ \fBdifference --split char brown green\fR | |
19 | \fIb\fBg\fRr\fIow\fBee\fRn | |
20 | .P | |
21 | Compare words: | |
22 | $ \fBdifference --split word brown green\fR | |
23 | \fIbrown\fB green\fR | |
24 | ||
25 | $ \fBdifference --split word "The quick brown fox jumps over the lazy dog." \ | |
26 | "The huge brown fox is cool."\fR | |
27 | The \fIquick\fB huge\fR brown fox \fIjumps over the lazy dog.\fB is \ | |
28 | really cool.\fR | |
29 | .P | |
30 | Compare lines: | |
31 | $ \fBdifference --split word brown green\fR | |
32 | \fIbrown\fR | |
33 | \fBgreen\fR | |
34 | ||
35 | $ \fBdifference --split word "The quick brown fox jumps over the lazy dog." \ | |
36 | "The huge brown fox is cool."\fR | |
37 | \fIThe quick brown fox jumps over the lazy dog.\fR | |
38 | \fBThe huge brown fox is cool.\fR | |
39 | ||
40 | $ \fBdifference --split line "Roses are red, violets are blue,\fR | |
41 | > \fBI wrote this library here,\fR | |
42 | > \fBjust for you.\fR | |
43 | > \fB(It's true)." "Roses are red, violets are blue,\fR | |
44 | > \fBI wrote this documentation here,\fR | |
45 | > \fBjust for you.\fR | |
46 | > (\fBIt's quite true)."\fR | |
47 | Roses are red, violets are blue, | |
48 | \fII wrote this library here,\fR | |
49 | \fBI wrote this documentation here,\fR | |
50 | just for you. | |
51 | \fI(It's true).\fR | |
52 | \fB(It's quite true).\fR |
0 | debian/difference.1 |
0 | difference provides both a library and a binary, but the binary is only built | |
1 | properly if the non-default bin feature is set. As we cannot select different | |
2 | features for the library and binary build, we make bin a default feature. | |
3 | Index: difference/Cargo.toml | |
4 | =================================================================== | |
5 | --- difference.orig/Cargo.toml | |
6 | +++ difference/Cargo.toml | |
7 | @@ -36,7 +36,7 @@ version = ">= 0.2.7, < 0.6" | |
8 | ||
9 | [features] | |
10 | bin = ["getopts"] | |
11 | -default = [] | |
12 | +default = ["bin"] | |
13 | [badges.appveyor] | |
14 | repository = "johannhof/difference.rs" | |
15 |
0 | bin-default-feature.patch |