Source: rust-async-channel
Version: 1.9.0-2
Severity: normal
Tags: patch
X-Debbugs-Cc: werdah...@riseup.net

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi Jonas, please update async-channel for event-listener 5.x, too.
Attached patch builds and tests fine for me.

best,

werdahias



- -- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-2-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: OpenRC (via /run/openrc), PID 1: init
LSM: AppArmor: enabled

-----BEGIN PGP SIGNATURE-----

iQJJBAEBCgAzFiEEwuGmy/3s5RGopBdtGL0QaztsVHUFAmYapQkVHHdlcmRhaGlh
c0ByaXNldXAubmV0AAoJEBi9EGs7bFR1hyMQAKRtSRifqo1DoIqgGTRCTiQnxy7V
sVhDVHQuKdjB+Sjhk4mPmSzDQshjwOYaQkImetq0eHvuwlMXZAvSdGwhDyfi6Jge
pVgJk5b3/WaxAT5IIfux/0mVhtJ2UVgoKhGGAQxmmNBVzxj/cP7zAqqdzwekCjyB
EUQQojcRMh3PAO4InY/otP6xp8yLwqBbsPYTPHJ3exFIO4DwBvxK3EjzRUJJYtll
Jie5xJrsvnG0z7tNkLdw9m166MxQcAovzp34giL5JWqUwam4U5jATWyT3XAksv1U
HMgoyLGOvt2fqnr3NShp3qCfOlKNfPqbUjAJjaIVHxsosjA8rfj7erjwWQUvqfJv
z46sEO8X/ElnqgUocI4gRgcmtNFVKOrK8iAUMheB6H06CG1A3snxo/OBEvw1vcKo
D1DUYqtBBWG7c7AP11BHrajCUGwqEOqO/BgSja5OJOqnjbim0LlOD/Es5UBcSPhG
5i5l/IuSqvUZaNiNPwzd1Z5V8AmeluvHVLkOd6QHV4eMjZwyCDSk7CqzS8cny/Rx
OyNmfql4COldIV1hXokkUuJmLn2ZVgW+QbEb8bQCOYZgKFw4fZ505Vn1L8zqnwHt
uMV+TTAYI9UiYMfRe8g/EZfFm15t1SIPZSS811I4YtVLjyg3EzBrx5OMOEM4s5M9
lWOXmV+DY9wm7AHP
=Rj36
-----END PGP SIGNATURE-----
diff -Nru rust-async-channel-1.9.0/debian/changelog 
rust-async-channel-1.9.0/debian/changelog
--- rust-async-channel-1.9.0/debian/changelog   2023-08-14 12:40:20.000000000 
+0200
+++ rust-async-channel-1.9.0/debian/changelog   2024-04-13 15:58:06.000000000 
+0200
@@ -1,3 +1,10 @@
+rust-async-channel (1.9.0-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Add patch for event-listener 5.x
+
+ -- Matthias Geiger <werdah...@riseup.net>  Sat, 13 Apr 2024 15:58:06 +0200
+
 rust-async-channel (1.9.0-2) unstable; urgency=medium
 
   * update dh-cargo fork;
diff -Nru rust-async-channel-1.9.0/debian/control 
rust-async-channel-1.9.0/debian/control
--- rust-async-channel-1.9.0/debian/control     2023-07-16 11:32:14.000000000 
+0200
+++ rust-async-channel-1.9.0/debian/control     2024-04-13 15:58:06.000000000 
+0200
@@ -6,7 +6,7 @@
  dh-cargo (>= 25),
  librust-concurrent-queue-2+default-dev <!nocheck>,
  librust-easy-parallel-3+default-dev <!nocheck>,
- librust-event-listener-2+default-dev <!nocheck>,
+ librust-event-listener-5+default-dev <!nocheck>,
  librust-futures-core-0.3+default-dev <!nocheck>,
  librust-futures-lite-1+default-dev <!nocheck>,
  libstring-shellquote-perl,
@@ -22,7 +22,7 @@
 Multi-Arch: foreign
 Depends:
  librust-concurrent-queue-2+default-dev,
- librust-event-listener-2+default-dev,
+ librust-event-listener-5+default-dev,
  librust-futures-core-0.3+default-dev,
  ${misc:Depends},
 Provides:
diff -Nru rust-async-channel-1.9.0/debian/patches/relax-event-listener.diff 
rust-async-channel-1.9.0/debian/patches/relax-event-listener.diff
--- rust-async-channel-1.9.0/debian/patches/relax-event-listener.diff   
1970-01-01 01:00:00.000000000 +0100
+++ rust-async-channel-1.9.0/debian/patches/relax-event-listener.diff   
2024-04-13 15:58:06.000000000 +0200
@@ -0,0 +1,23 @@
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -16,7 +16,7 @@
+ 
+ [dependencies]
+ concurrent-queue = "2"
+-event-listener = "2.4.0"
++event-listener = "5"
+ futures-core = "0.3.5"
+ 
+ [dev-dependencies]
+--- a/src/lib.rs
++++ b/src/lib.rs
+@@ -40,7 +40,7 @@
+ use std::usize;
+ 
+ use concurrent_queue::{ConcurrentQueue, PopError, PushError};
+-use event_listener::{Event, EventListener};
++use event_listener::{Event, EventListener, Listener};
+ use futures_core::stream::Stream;
+ 
+ struct Channel<T> {
+
diff -Nru rust-async-channel-1.9.0/debian/patches/series 
rust-async-channel-1.9.0/debian/patches/series
--- rust-async-channel-1.9.0/debian/patches/series      1970-01-01 
01:00:00.000000000 +0100
+++ rust-async-channel-1.9.0/debian/patches/series      2024-04-13 
15:57:59.000000000 +0200
@@ -0,0 +1 @@
+relax-event-listener.diff

Reply via email to