Gentoo Archives: gentoo-commits

From: Benda XU <heroxbd@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/opticks-okconf/files/, sci-physics/opticks-okconf/
Date: Sat, 04 Jan 2020 16:36:44
Message-Id: 1578155659.c02c897d1474bc08ea50455fe2a1eb26232a8849.heroxbd@gentoo
1 commit: c02c897d1474bc08ea50455fe2a1eb26232a8849
2 Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 4 16:28:55 2020 +0000
4 Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 4 16:34:19 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=c02c897d
7
8 sci-physics/opticks-okconf: add cuda inherit.
9
10 Remove installation of test cases into /usr/lib.
11
12 Suggested-By: Xuewei Liu <18800136075 <AT> 163.com>
13 Package-Manager: Portage-2.3.79, Repoman-2.3.18
14 Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>
15
16 .../opticks-okconf-0.0.1_p20191110-no_lib_install.patch | 12 ++++++++++++
17 .../opticks-okconf/opticks-okconf-0.0.1_p20191110.ebuild | 8 ++++++--
18 2 files changed, 18 insertions(+), 2 deletions(-)
19
20 diff --git a/sci-physics/opticks-okconf/files/opticks-okconf-0.0.1_p20191110-no_lib_install.patch b/sci-physics/opticks-okconf/files/opticks-okconf-0.0.1_p20191110-no_lib_install.patch
21 new file mode 100644
22 index 000000000..89b0b7cab
23 --- /dev/null
24 +++ b/sci-physics/opticks-okconf/files/opticks-okconf-0.0.1_p20191110-no_lib_install.patch
25 @@ -0,0 +1,12 @@
26 +Index: opticks-okconf-0.0.1_p20191110/okconf/tests/CMakeLists.txt
27 +===================================================================
28 +--- opticks-okconf-0.0.1_p20191110.orig/okconf/tests/CMakeLists.txt
29 ++++ opticks-okconf-0.0.1_p20191110/okconf/tests/CMakeLists.txt
30 +@@ -46,7 +46,6 @@ foreach(TEST_SOURCE ${TEST_SOURCES})
31 + )
32 +
33 +
34 +- install(TARGETS ${TGT} DESTINATION lib)
35 + endforeach()
36 +
37 +
38
39 diff --git a/sci-physics/opticks-okconf/opticks-okconf-0.0.1_p20191110.ebuild b/sci-physics/opticks-okconf/opticks-okconf-0.0.1_p20191110.ebuild
40 index fa0a5e70c..1b67f2751 100644
41 --- a/sci-physics/opticks-okconf/opticks-okconf-0.0.1_p20191110.ebuild
42 +++ b/sci-physics/opticks-okconf/opticks-okconf-0.0.1_p20191110.ebuild
43 @@ -1,9 +1,9 @@
44 -# Copyright 1999-2019 Gentoo Authors
45 +# Copyright 1999-2020 Gentoo Authors
46 # Distributed under the terms of the GNU General Public License v2
47
48 EAPI=7
49
50 -inherit mercurial cmake-utils
51 +inherit mercurial cmake-utils cuda
52
53 EHG_REPO_URI="https://bitbucket.org/simoncblyth/${PN//-*}"
54 EHG_REVISION="a580e704afe9d2c138072835e986542c835c29fc"
55 @@ -23,6 +23,10 @@ DEPEND="dev-util/cmake
56 dev-util/plog
57 ${RDEPEND}"
58
59 +PATCHES=(
60 + "${FILESDIR}"/${PN}-0.0.1_p20191110-no_lib_install.patch
61 +)
62 +
63 src_prepare() {
64 cmake-utils_src_prepare
65 cuda_src_prepare