File: 0003-Use-pycrytodomex-instead-of-pycryptodome.patch

package info (click to toggle)
streamlink 7.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,512 kB
  • sloc: python: 50,317; sh: 184; makefile: 145
file content (44 lines) | stat: -rw-r--r-- 1,419 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
From: Alexis Murzeau <amubtdx@gmail.com>
Date: Fri, 23 Aug 2019 18:54:27 +0200
Subject: Use pycrytodomex instead of pycryptodome

Streamlink use features specific to pycryptodome which are not available
in python3-crypto package. Only pycryptodomex python module is available
in Debian, so replace the use of pycrytodome with pycrytodomex.

Related bug python3-pycryptodome: #886291: python3-pycryptodome contains
pycryptodomex instead of pycryptodome.

Forwarded: not-needed
Author: Alexis Murzeau <amubtdx@gmail.com>
---
 pyproject.toml                       | 2 +-
 src/streamlink.egg-info/requires.txt | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pyproject.toml b/pyproject.toml
index 4de22c5..cbcfa32 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -60,7 +60,7 @@ dependencies = [
   "isodate",
   "lxml >=4.6.4,<7",
   "pycountry",
-  "pycryptodome >=3.4.3,<4",
+  "pycryptodomex >=3.4.3,<4",
   "PySocks >=1.5.6,!=1.5.7",
   "requests >=2.26.0,<3",
   "trio >=0.25.0,<1 ; python_version>='3.13'",
diff --git a/src/streamlink.egg-info/requires.txt b/src/streamlink.egg-info/requires.txt
index a6f50db..75fef63 100644
--- a/src/streamlink.egg-info/requires.txt
+++ b/src/streamlink.egg-info/requires.txt
@@ -2,7 +2,7 @@ certifi
 isodate
 lxml<7,>=4.6.4
 pycountry
-pycryptodome<4,>=3.4.3
+pycryptodomex<4,>=3.4.3
 PySocks!=1.5.7,>=1.5.6
 requests<3,>=2.26.0
 trio-websocket<1,>=0.9.0