File: 2001_crc32c.patch

package info (click to toggle)
python-aiortc 1.14.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,052 kB
  • sloc: python: 20,890; javascript: 321; makefile: 21; sh: 1
file content (19 lines) | stat: -rw-r--r-- 687 bytes parent folder | download
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
@@ -11,7 +11,7 @@
 from struct import pack, unpack_from
 from typing import Deque, Optional, Union, cast
 
-from google_crc32c import value as crc32c
+from crc32c import crc32c
 from pyee.asyncio import AsyncIOEventEmitter
 
 from .exceptions import InvalidStateError