From: | "Michael Januszewski (spock)" <spock@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/protobuf/files: protobuf-2.0.1-python-unittest.patch |
Date: | Thu, 11 Sep 2008 20:16:58 |
Message-Id: | E1Kdsb1-0002SZ-83@stork.gentoo.org |
1 | spock 08/09/11 20:16:55 |
2 | |
3 | Added: protobuf-2.0.1-python-unittest.patch |
4 | Log: |
5 | Version bump. |
6 | (Portage version: 2.2_rc8/cvs/Linux 2.6.27-rc5 x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 dev-libs/protobuf/files/protobuf-2.0.1-python-unittest.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/protobuf/files/protobuf-2.0.1-python-unittest.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/protobuf/files/protobuf-2.0.1-python-unittest.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: protobuf-2.0.1-python-unittest.patch |
15 | =================================================================== |
16 | diff -Naurp protobuf-2.0.1-orig/python/setup.py protobuf-2.0.1/python/setup.py |
17 | --- protobuf-2.0.1-orig/python/setup.py 2008-09-11 21:52:47.000000000 +0200 |
18 | +++ protobuf-2.0.1/python/setup.py 2008-09-11 21:53:58.000000000 +0200 |
19 | @@ -47,6 +47,9 @@ def generate_proto(source): |
20 | sys.exit(-1) |
21 | |
22 | def MakeTestSuite(): |
23 | + if 'google' in sys.modules: |
24 | + del sys.modules['google'] |
25 | + |
26 | generate_proto("../src/google/protobuf/unittest.proto") |
27 | generate_proto("../src/google/protobuf/unittest_import.proto") |
28 | generate_proto("../src/google/protobuf/unittest_mset.proto") |