]> git.pld-linux.org Git - packages/python-enet.git/blob - pyenet-build-against-system-enet.patch
new, version 0.0.0 at svn rev24
[packages/python-enet.git] / pyenet-build-against-system-enet.patch
1 Description: Make python-enet build against system libenet 0.0~svn21-1
2 Origin: debian
3 Forwarded: no
4 Last-Update: 2011-05-01
5
6 --- python-enet-0.0~svn21.orig/setup.py
7 +++ python-enet-0.0~svn21/setup.py
8 @@ -31,22 +31,22 @@ import sys
9  
10  source_files = ["enet.pyx"]
11  
12 -_enet_files = glob.glob("enet/*.c")
13 +# _enet_files = glob.glob("enet/*.c")
14  
15 -if not _enet_files:
16 -    print("You need to download and extract the enet 1.3 source to enet/")
17 -    print("Download the source from: http://enet.bespin.org/SourceDistro.html")
18 -    print("See the README for more instructions")
19 -    sys.exit(1)
20 -
21 -source_files.extend(_enet_files)
22 +# if not _enet_files:
23 +#     print("You need to download and extract the enet 1.3 source to enet/")
24 +#     print("Download the source from: http://enet.bespin.org/SourceDistro.html")
25 +#     print("See the README for more instructions")
26 +#     sys.exit(1)
27 +#
28 +# source_files.extend(_enet_files)
29  
30  define_macros = [('HAS_POLL', None),
31                   ('HAS_FCNTL', None),
32                   ('HAS_MSGHDR_FLAGS', None),
33                   ('HAS_SOCKLEN_T', None) ]
34  
35 -libraries = []
36 +libraries = ['enet']
37  
38  if sys.platform == 'win32':
39      define_macros.extend([('WIN32', None)])
This page took 0.077869 seconds and 3 git commands to generate.