1 |
swegener 13/02/24 09:50:34 |
2 |
|
3 |
Added: hiredis-0.1.1-system-libs.patch |
4 |
Log: |
5 |
Initial commit, ebuild written by me. |
6 |
|
7 |
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 0x64D4CF24) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 dev-python/hiredis/files/hiredis-0.1.1-system-libs.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/hiredis/files/hiredis-0.1.1-system-libs.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/hiredis/files/hiredis-0.1.1-system-libs.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: hiredis-0.1.1-system-libs.patch |
16 |
=================================================================== |
17 |
--- hiredis-0.1.1/setup.py |
18 |
+++ hiredis-0.1.1/setup.py |
19 |
@@ -20,13 +20,9 @@ |
20 |
if self.distribution.has_ext_modules(): |
21 |
self.run_command('build_ext') |
22 |
|
23 |
-lib = ("hiredis", { |
24 |
- "sources": ["vendor/hiredis/%s.c" % src for src in ("hiredis", "net", "sds")], |
25 |
- "include_dirs": ["vendor/hiredis"]}) |
26 |
- |
27 |
ext = Extension("hiredis.hiredis", |
28 |
sources=glob.glob("src/*.c"), |
29 |
- include_dirs=["src", "vendor"], |
30 |
+ include_dirs=["src"], |
31 |
libraries=["hiredis"]) |
32 |
|
33 |
setup( |
34 |
@@ -39,7 +35,6 @@ |
35 |
keywords=["Redis"], |
36 |
license="BSD", |
37 |
packages=["hiredis"], |
38 |
- libraries=[lib], |
39 |
ext_modules=[ext], |
40 |
|
41 |
# Override "install_lib" command |