Codebase list rust-libslirp / 5ef3489
chrono - new upstream release. Peter Michael Green 1 year, 5 months ago
6 changed file(s) with 46 addition(s) and 28 deletion(s). Raw diff Collapse all Expand all
0 rust-chrono (0.4.23-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
1
2 * Team upload.
3 * Package chrono 0.4.23 from crates.io using debcargo 2.6.0 (Closes: #1024454)
4 * Update patches for new upstream.
5 * Fix tests with --no-default-features.
6
7 -- Peter Michael Green <plugwash@debian.org> Sun, 20 Nov 2022 08:37:24 +0000
8
09 rust-chrono (0.4.22-1) unstable; urgency=medium
110
211 [ Blair Noctis ]
1111 be correct information so you should review and fix this before uploading to
1212 the archive.
1313
14 Files: ./LICENSE.txt
14 Files: LICENSE.txt
1515 Copyright:
1616 2014--2017, Kang Seonghoon and
1717 2014, Kang Seonghoon.
2020 FIXME (overlay): These notices are extracted from files. Please review them
2121 before uploading to the archive.
2222
23 Files: ./src/format/parse.rs
23 Files: src/format/parse.rs
2424 Copyright: 2015, John Nagle.
2525 License: UNKNOWN-LICENSE; FIXME (overlay)
2626 Comment:
2727 FIXME (overlay): These notices are extracted from files. Please review them
2828 before uploading to the archive.
2929
30 Files: ./src/offset/local/stub.rs
30 Files: src/offset/local/stub.rs
3131 Copyright: 2012-2014 The Rust Project Developers
3232 License: UNKNOWN-LICENSE; FIXME (overlay)
3333 Comment:
3434 FIXME (overlay): These notices are extracted from files. Please review them
3535 before uploading to the archive.
3636
37 Files: ./src/offset/local/unix.rs
37 Files: src/offset/local/unix.rs
3838 Copyright: 2012-2014 The Rust Project Developers
3939 License: UNKNOWN-LICENSE; FIXME (overlay)
4040 Comment:
4141 FIXME (overlay): These notices are extracted from files. Please review them
4242 before uploading to the archive.
4343
44 Files: ./src/offset/local/windows.rs
44 Files: src/offset/local/windows.rs
4545 Copyright: 2012-2014 The Rust Project Developers
4646 License: UNKNOWN-LICENSE; FIXME (overlay)
4747 Comment:
4848 FIXME (overlay): These notices are extracted from files. Please review them
4949 before uploading to the archive.
5050
51 Files: ./src/oldtime.rs
51 Files: src/oldtime.rs
5252 Copyright: 2012-2014 The Rust Project Developers
5353 License: UNKNOWN-LICENSE; FIXME (overlay)
5454 Comment:
77 "iana-time-zone",
88 ]
99 default = [
10 @@ -115,17 +114,6 @@
10 @@ -115,13 +114,3 @@
1111 version = "0.2"
1212 optional = true
1313
2121 - "timezoneapi",
2222 -]
2323 -optional = true
24 -
25 [badges.appveyor]
26 repository = "chronotope/chrono"
27
0 --- rust-chrono-0.4.23.orig/tests/dateutils.rs
1 +++ rust-chrono-0.4.23/tests/dateutils.rs
2 @@ -1,10 +1,11 @@
3 use chrono::offset::TimeZone;
4 +#[cfg(feature="clock")]
5 use chrono::Local;
6 use chrono::{Datelike, NaiveDate, NaiveDateTime, Timelike};
7
8 use std::{path, process};
9
10 -#[cfg(unix)]
11 +#[cfg(all(unix,feature="clock"))]
12 fn verify_against_date_command_local(path: &'static str, dt: NaiveDateTime) {
13 let output = process::Command::new(path)
14 .arg("-d")
15 @@ -49,7 +50,7 @@ fn verify_against_date_command_local(pat
16 }
17
18 #[test]
19 -#[cfg(unix)]
20 +#[cfg(all(unix,feature="clock"))]
21 fn try_verify_against_date_command() {
22 let date_path = "/usr/bin/date";
23
77
88 [package.metadata.docs.rs]
99 features = ["serde"]
10 @@ -41,22 +42,6 @@
11 [lib]
12 name = "chrono"
13
10 @@ -44,4 +44,0 @@
1411 -[[bench]]
1512 -name = "chrono"
1613 -harness = false
1714 -required-features = ["__internal_bench"]
18 -
15 @@ -49,7 +46,0 @@
1916 -[[bench]]
2017 -name = "serde"
2118 -harness = false
2320 - "__internal_bench",
2421 - "serde",
2522 -]
26 -
23 @@ -60,3 +60,0 @@
2724 -[dependencies.criterion]
28 -version = "0.3"
25 -version = "0.4.0"
2926 -optional = true
30
31 [dependencies.iana-time-zone]
32 version = "0.1.44"
33 @@ -107,7 +92,6 @@
34
35 [features]
36 __doctest = []
27 @@ -110 +94,0 @@
3728 -__internal_bench = ["criterion"]
38 alloc = []
39 clock = [
40 "std",
22 remove-benchmarks.patch
33 remove-time.patch
44 drop-windows-dep.patch
5 fix-tests-no-default-features.patch