File: 2001_crc32c.patch

package info (click to toggle)
python-aiortc 1.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,040 kB
  • sloc: python: 19,999; javascript: 286; makefile: 18; sh: 1
file content (19 lines) | stat: -rw-r--r-- 623 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
Description: use Python module crc32c (not google-crc32c)
 Upstream reason for using google-crc32c is a more liberal license,
 which is irrelevant for Debian use,
 and Debian currently only have crc32c packaged.
Author: Jonas Smedegaard <dr@jones.dk>
Last-Update: 2022-02-01
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/src/aiortc/rtcsctptransport.py
+++ b/src/aiortc/rtcsctptransport.py
@@ -22,7 +22,7 @@
     no_type_check,
 )
 
-from google_crc32c import value as crc32c
+from crc32c import crc32c
 from pyee.asyncio import AsyncIOEventEmitter
 
 from .exceptions import InvalidStateError