File: 0004-change-shebang-to-python3.patch

package info (click to toggle)
pycares 4.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,428 kB
  • sloc: ansic: 32,482; cpp: 13,107; python: 2,952; makefile: 250; sh: 146
file content (14 lines) | stat: -rw-r--r-- 463 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Set shebang line to fetch Python3
 Modify the shebang line to be full compatible with Python3.
Author: Manuel Guerra <ar.manuelguerra@gmail.com>
Forwarded: not-needed
Last-Update: 2025-10-12

--- pycares-4.9.0.orig/examples/cares-context-manager.py
+++ pycares-4.9.0/examples/cares-context-manager.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 """
 Example of using pycares Channel as a context manager with event_thread=True.