Package: python-enet / 0.0~vcs.2017.05.26.git-2.1

debian-changes Patch series | download
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 python-enet (0.0~vcs.2017.05.26.git-1) experimental; urgency=medium
 .
   * New upstream snapshot
   * Enable python3
   * Use dgit for package
Author: Christoph Egger <christoph@debian.org>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2017-05-28

--- python-enet-0.0~vcs.2017.05.26.git.orig/setup.py
+++ python-enet-0.0~vcs.2017.05.26.git/setup.py
@@ -7,22 +7,22 @@ import sys
 
 source_files = ["enet.pyx"]
 
-_enet_files = glob.glob("enet/*.c")
+# _enet_files = glob.glob("enet/*.c")
 
-if not _enet_files:
-    print("You need to download and extract the enet 1.3 source to enet/")
-    print("Download the source from: http://enet.bespin.org/SourceDistro.html")
-    print("See the README for more instructions")
-    sys.exit(1)
-
-source_files.extend(_enet_files)
+# if not _enet_files:
+#     print("You need to download and extract the enet 1.3 source to enet/")
+#     print("Download the source from: http://enet.bespin.org/SourceDistro.html")
+#     print("See the README for more instructions")
+#     sys.exit(1)
+#
+# source_files.extend(_enet_files)
 
 define_macros = [('HAS_POLL', None),
                  ('HAS_FCNTL', None),
                  ('HAS_MSGHDR_FLAGS', None),
                  ('HAS_SOCKLEN_T', None) ]
 
-libraries = []
+libraries = ['enet']
 
 if sys.platform == 'win32':
     define_macros.extend([('WIN32', None)])