Gentoo Archives: gentoo-commits

From: "Benda XU (heroxbd)" <heroxbd@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pyplusplus/files: pyplusplus-1.0.0_p20131206-numpy.patch
Date: Sat, 03 May 2014 02:02:10
Message-Id: 20140503020206.424A52004C@flycatcher.gentoo.org
1 heroxbd 14/05/03 02:02:05
2
3 Modified: pyplusplus-1.0.0_p20131206-numpy.patch
4 Log:
5 refine the boost numpy patch to only handle arithmatic typed arrays
6
7 (Portage version: 2.2.8-r1/cvs/Linux x86_64, unsigned Manifest commit)
8
9 Revision Changes Path
10 1.4 dev-python/pyplusplus/files/pyplusplus-1.0.0_p20131206-numpy.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyplusplus/files/pyplusplus-1.0.0_p20131206-numpy.patch?rev=1.4&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyplusplus/files/pyplusplus-1.0.0_p20131206-numpy.patch?rev=1.4&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyplusplus/files/pyplusplus-1.0.0_p20131206-numpy.patch?r1=1.3&r2=1.4
15
16 Index: pyplusplus-1.0.0_p20131206-numpy.patch
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/pyplusplus/files/pyplusplus-1.0.0_p20131206-numpy.patch,v
19 retrieving revision 1.3
20 retrieving revision 1.4
21 diff -u -r1.3 -r1.4
22 --- pyplusplus-1.0.0_p20131206-numpy.patch 25 Feb 2014 01:56:52 -0000 1.3
23 +++ pyplusplus-1.0.0_p20131206-numpy.patch 3 May 2014 02:02:05 -0000 1.4
24 @@ -168,7 +168,7 @@
25 elif declarations.is_array( self.curr_decl.type ):
26 - wrapper = code_creators.array_mv_wrapper_t( variable=self.curr_decl )
27 - maker = code_creators.array_mv_t( variable=self.curr_decl, wrapper=wrapper )
28 -+ if declarations.is_fundamental(declarations.array_item_type( self.curr_decl.type )):
29 ++ if declarations.is_arithmetic(declarations.array_item_type( self.curr_decl.type )):
30 + wrapper = code_creators.array_numpy_wrapper_t( variable=self.curr_decl )
31 + maker = code_creators.array_numpy_t( variable=self.curr_decl, wrapper=wrapper )
32 + else: