From: | "Justin Lecher (jlec)" <jlec@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-physics/camfr/files: camfr-20070717-python.patch |
Date: | Fri, 25 Jun 2010 13:25:03 |
Message-Id: | 20100625132500.B4C1F2CF60@corvid.gentoo.org |
1 | jlec 10/06/25 13:25:00 |
2 | |
3 | Added: camfr-20070717-python.patch |
4 | Log: |
5 | Fixes for PYTHON ABIs, #316245 |
6 | (Portage version: 2.2_rc67/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 sci-physics/camfr/files/camfr-20070717-python.patch |
10 | |
11 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/camfr/files/camfr-20070717-python.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/camfr/files/camfr-20070717-python.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: camfr-20070717-python.patch |
15 | =================================================================== |
16 | diff --git a/setup.py b/setup.py |
17 | index bfefba1..ea09efc 100755 |
18 | --- a/setup.py |
19 | +++ b/setup.py |
20 | @@ -1,7 +1,6 @@ |
21 | #! /usr/bin/env python |
22 | |
23 | from distutils.core import setup |
24 | -from distutils.util import byte_compile |
25 | from distutils.command.build import build |
26 | from distutils.command.install_data import install_data |
27 | |
28 | @@ -32,18 +31,6 @@ class camfr_build(build): |
29 | class camfr_install_data(install_data): |
30 | def run(self): |
31 | |
32 | - # Byte-compile Python files. |
33 | - |
34 | - scripts = [] |
35 | - |
36 | - for i in self.data_files: |
37 | - for j in i[1]: |
38 | - if j[-2:] == "py": |
39 | - scripts.append(j) |
40 | - i[1].append(j+'c') |
41 | - |
42 | - byte_compile(scripts) |
43 | - |
44 | # Change install dir to library dir. |
45 | |
46 | install_cmd = self.get_finalized_command('install') |