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