1 |
jlec 14/10/28 13:10:30 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: apbs-1.4.1-r1.ebuild |
5 |
Removed: apbs-1.4.1.ebuild |
6 |
Log: |
7 |
sci-chemistry/apbs: Link python libs completely |
8 |
|
9 |
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!) |
10 |
|
11 |
Revision Changes Path |
12 |
1.68 sci-chemistry/apbs/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/apbs/ChangeLog?rev=1.68&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/apbs/ChangeLog?rev=1.68&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/apbs/ChangeLog?r1=1.67&r2=1.68 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/ChangeLog,v |
21 |
retrieving revision 1.67 |
22 |
retrieving revision 1.68 |
23 |
diff -u -r1.67 -r1.68 |
24 |
--- ChangeLog 24 Oct 2014 11:38:49 -0000 1.67 |
25 |
+++ ChangeLog 28 Oct 2014 13:10:30 -0000 1.68 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for sci-chemistry/apbs |
28 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/ChangeLog,v 1.67 2014/10/24 11:38:49 jlec Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/ChangeLog,v 1.68 2014/10/28 13:10:30 jlec Exp $ |
31 |
+ |
32 |
+*apbs-1.4.1-r1 (28 Oct 2014) |
33 |
+ |
34 |
+ 28 Oct 2014; Justin Lecher <jlec@g.o> -apbs-1.4.1.ebuild, |
35 |
+ +apbs-1.4.1-r1.ebuild, files/apbs-1.4.1-manip.patch, |
36 |
+ +files/apbs-1.4.1-python.patch: |
37 |
+ Link python libs completely |
38 |
|
39 |
24 Oct 2014; Justin Lecher <jlec@g.o> apbs-1.4.1.ebuild: |
40 |
Add missing requiered use |
41 |
|
42 |
|
43 |
|
44 |
1.1 sci-chemistry/apbs/apbs-1.4.1-r1.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/apbs/apbs-1.4.1-r1.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/apbs/apbs-1.4.1-r1.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: apbs-1.4.1-r1.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2014 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/apbs-1.4.1-r1.ebuild,v 1.1 2014/10/28 13:10:30 jlec Exp $ |
54 |
|
55 |
EAPI=5 |
56 |
|
57 |
PYTHON_COMPAT=( python2_7 ) |
58 |
|
59 |
inherit cmake-utils distutils-r1 flag-o-matic multilib toolchain-funcs |
60 |
|
61 |
GITHUB_REV="74fcb8676de69ed04ddab8976a8b05a6caaf4d65" |
62 |
|
63 |
DESCRIPTION="Evaluation of electrostatic properties of nanoscale biomolecular systems" |
64 |
HOMEPAGE="http://www.poissonboltzmann.org/apbs/" |
65 |
#SRC_URI="mirror://sourceforge/${PN}/${P}-source.tar.gz" |
66 |
SRC_URI="https://github.com/Electrostatics/apbs-pdb2pqr/archive/${GITHUB_REV}.zip -> ${P}.zip" |
67 |
|
68 |
SLOT="0" |
69 |
LICENSE="BSD" |
70 |
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" |
71 |
IUSE="debug doc examples fast +fetk mpi openmp python tools" |
72 |
|
73 |
REQUIRED_USE=" |
74 |
mpi? ( !python ) |
75 |
python? ( tools fetk ${PYTHON_REQUIRED_USE} )" |
76 |
|
77 |
RDEPEND=" |
78 |
dev-cpp/eigen:3 |
79 |
dev-libs/maloc[mpi=] |
80 |
virtual/blas |
81 |
sys-libs/readline |
82 |
fetk? ( |
83 |
sci-libs/fetk |
84 |
sci-libs/amd |
85 |
sci-libs/umfpack |
86 |
sci-libs/superlu |
87 |
) |
88 |
mpi? ( virtual/mpi ) |
89 |
python? ( ${PYTHON_DEPS} ) |
90 |
" |
91 |
DEPEND="${DEPEND} |
92 |
virtual/pkgconfig |
93 |
doc? ( app-doc/doxygen ) |
94 |
" |
95 |
|
96 |
S="${WORKDIR}"/${PN}-pdb2pqr-${GITHUB_REV}/${PN} |
97 |
|
98 |
PATCHES=( |
99 |
"${FILESDIR}"/${P}-multilib.patch |
100 |
"${FILESDIR}"/${P}-manip.patch |
101 |
"${FILESDIR}"/${P}-python.patch |
102 |
) |
103 |
|
104 |
src_prepare() { |
105 |
cmake-utils_src_prepare |
106 |
append-cppflags $($(tc-getPKG_CONFIG) --cflags eigen3) |
107 |
|
108 |
sed \ |
109 |
-e "s:-lblas:$($(tc-getPKG_CONFIG) --libs blas):g" \ |
110 |
-e "/TOOLS_PATH/d" \ |
111 |
-i CMakeLists.txt || die |
112 |
use doc && MAKEOPTS+=" -j1" |
113 |
if use python; then |
114 |
unset PATCHES || die |
115 |
cd tools/python && distutils-r1_src_prepare |
116 |
fi |
117 |
} |
118 |
|
119 |
src_configure() { |
120 |
local mycmakeargs=( |
121 |
-DCMAKE_SKIP_RPATH=ON |
122 |
-DTOOLS_PATH="${ED}"/usr |
123 |
-DSYS_LIBPATHS="${EPREFIX}"/usr/$(get_libdir) |
124 |
-DLIBRARY_INSTALL_PATH=$(get_libdir) |
125 |
-DFETK_PATH="${EPREFIX}"/usr/ |
126 |
-DBUILD_SHARED_LIBS=ON |
127 |
-DENABLE_QUIT=OFF |
128 |
$(cmake-utils_use_build doc DOC) |
129 |
$(cmake-utils_use_build tools TOOLS) |
130 |
-DENABLE_BEM=OFF |
131 |
# ENABLE_BEM: Boundary element method using TABIPB |
132 |
$(cmake-utils_use_enable debug DEBUG) |
133 |
$(cmake-utils_use_enable debug VERBOSE_DEBUG) |
134 |
$(cmake-utils_use_enable fast FAST) |
135 |
$(cmake-utils_use_enable fetk FETK) |
136 |
$(cmake-utils_use_enable mpi MPI) |
137 |
$(cmake-utils_use_enable python PYTHON) |
138 |
# ENABLE_TINKER: Enable TINKER support |
139 |
# ENABLE_iAPBS: Enable iAPBS |
140 |
-DENABLE_iAPBS=ON |
141 |
# MAX_MEMORY: Set the maximum memory (in MB) to be used for a job |
142 |
) |
143 |
cmake-utils_src_configure |
144 |
if use python; then |
145 |
cd tools/python && distutils-r1_src_configure |
146 |
fi |
147 |
} |
148 |
|
149 |
src_compile(){ |
150 |
cmake-utils_src_compile |
151 |
if use python; then |
152 |
cd tools/python && distutils-r1_src_compile |
153 |
fi |
154 |
} |
155 |
|
156 |
src_test() { |
157 |
cd tests || die |
158 |
"${PYTHON}" apbs_tester.py -l log || die |
159 |
grep -q 'FAILED' log && die "Tests failed" |
160 |
} |
161 |
|
162 |
src_install() { |
163 |
dodir /usr/bin |
164 |
cmake-utils_src_install |
165 |
local i |
166 |
for i in "${ED}"/usr/bin/*; do |
167 |
if [[ ! "${i}" =~ .*apbs$ ]]; then |
168 |
mv "${i}" "${i}-apbs" || die |
169 |
fi |
170 |
done |
171 |
if use python; then |
172 |
cd tools/python && distutils-r1_src_install |
173 |
fi |
174 |
} |