Update lscolors
kpcyrd
4 years ago
|
0 |
rust-lscolors (0.6.0-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
|
|
1 |
|
|
2 |
* Team upload.
|
|
3 |
* Package lscolors 0.6.0 from crates.io using debcargo 2.4.0
|
|
4 |
|
|
5 |
-- kpcyrd <git@rxv.cc> Thu, 19 Sep 2019 03:35:52 +0000
|
|
6 |
|
0 | 7 |
rust-lscolors (0.5.0-2) unstable; urgency=medium
|
1 | 8 |
|
2 | 9 |
* Source only to allow the transition
|
src/lscolors/debian/patches/0001-Move-from-tempdir-to-tempfile.patch
less
more
0 | |
From d995e5030716f17a31bc45f7d99283bf3108339b Mon Sep 17 00:00:00 2001
|
1 | |
From: Sylvestre Ledru <sylvestre@debian.org>
|
2 | |
Date: Tue, 19 Feb 2019 13:56:08 +0100
|
3 | |
Subject: [PATCH] Move from tempdir to tempfile
|
4 | |
|
5 | |
---
|
6 | |
Cargo.toml | 2 +-
|
7 | |
src/lib.rs | 4 ++--
|
8 | |
2 files changed, 3 insertions(+), 3 deletions(-)
|
9 | |
|
10 | |
Index: lscolors/Cargo.toml
|
11 | |
===================================================================
|
12 | |
--- lscolors.orig/Cargo.toml
|
13 | |
+++ lscolors/Cargo.toml
|
14 | |
@@ -30,8 +30,8 @@ required-features = ["ansi_term"]
|
15 | |
[dependencies.ansi_term]
|
16 | |
version = "0.11"
|
17 | |
optional = true
|
18 | |
-[dev-dependencies.tempdir]
|
19 | |
-version = "0.3"
|
20 | |
+[dev-dependencies.tempfile]
|
21 | |
+version = "^3"
|
22 | |
|
23 | |
[features]
|
24 | |
default = ["ansi_term"]
|
25 | |
Index: lscolors/src/lib.rs
|
26 | |
===================================================================
|
27 | |
--- lscolors.orig/src/lib.rs
|
28 | |
+++ lscolors/src/lib.rs
|
29 | |
@@ -395,8 +395,8 @@ mod tests {
|
30 | |
assert_eq!(None, style_artifact.background);
|
31 | |
}
|
32 | |
|
33 | |
- fn temp_dir() -> tempdir::TempDir {
|
34 | |
- tempdir::TempDir::new("lscolors-test").expect("temporary directory")
|
35 | |
+ fn temp_dir() -> tempfile::TempDir {
|
36 | |
+ tempfile::tempdir().expect("temporary directory")
|
37 | |
}
|
38 | |
|
39 | |
fn create_file<P: AsRef<Path>>(path: P) -> PathBuf {
|
src/lscolors/debian/patches/series
less
more
0 | |
0001-Move-from-tempdir-to-tempfile.patch
|