* [gentoo-commits] gentoo-x86 commit in sci-chemistry/apbs: ChangeLog apbs-1.3-r3.ebuild
@ 2012-07-19 10:20 Justin Lecher (jlec)
0 siblings, 0 replies; 2+ messages in thread
From: Justin Lecher (jlec) @ 2012-07-19 10:20 UTC (permalink / raw
To: gentoo-commits
jlec 12/07/19 10:20:51
Modified: ChangeLog
Added: apbs-1.3-r3.ebuild
Log:
sci-chemistry/apbs: Fix patching problem which lead to an empty pkg-config file, #425294
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Revision Changes Path
1.58 sci-chemistry/apbs/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/apbs/ChangeLog?rev=1.58&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/apbs/ChangeLog?rev=1.58&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/apbs/ChangeLog?r1=1.57&r2=1.58
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/ChangeLog,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- ChangeLog 16 Jun 2012 15:37:21 -0000 1.57
+++ ChangeLog 19 Jul 2012 10:20:51 -0000 1.58
@@ -1,6 +1,12 @@
# ChangeLog for sci-chemistry/apbs
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/ChangeLog,v 1.57 2012/06/16 15:37:21 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/ChangeLog,v 1.58 2012/07/19 10:20:51 jlec Exp $
+
+*apbs-1.3-r3 (19 Jul 2012)
+
+ 19 Jul 2012; Justin Lecher <jlec@gentoo.org> +apbs-1.3-r3.ebuild,
+ +files/apbs-1.3/0016-apbs-1.3-apbs.pc-in-AC_CONFIG_FILES.patch:
+ Fix patching problem which lead to an empty pkg-config file, #425294
25 Apr 2012; Justin Lecher <jlec@gentoo.org> apbs-1.3-r2.ebuild:
Don't run libtoolize twice
1.1 sci-chemistry/apbs/apbs-1.3-r3.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/apbs/apbs-1.3-r3.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/apbs/apbs-1.3-r3.ebuild?rev=1.1&content-type=text/plain
Index: apbs-1.3-r3.ebuild
===================================================================
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/apbs-1.3-r3.ebuild,v 1.1 2012/07/19 10:20:51 jlec Exp $
EAPI=4
PYTHON_DEPEND="python? 2"
inherit autotools-utils eutils fortran-2 python toolchain-funcs versionator
MY_PV=$(get_version_component_range 1-3)
MY_P="${PN}-${MY_PV}"
DESCRIPTION="For evaluation of electrostatic properties of nanoscale biomolecular systems"
HOMEPAGE="http://apbs.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}-source.tar.gz"
SLOT="0"
LICENSE="BSD"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
IUSE="arpack doc examples fetk mpi openmp python static-libs tools"
REQUIRED_USE="mpi? ( !python )"
DEPEND="
dev-libs/maloc[mpi=]
virtual/blas
sys-libs/readline
virtual/fortran
arpack? ( sci-libs/arpack )
fetk? (
sci-libs/fetk
sci-libs/amd
sci-libs/umfpack
sci-libs/superlu )
mpi? ( virtual/mpi )"
RDEPEND="${DEPEND}"
S="${WORKDIR}"/"${MY_P}-source"
AUTOTOOLS_IN_SOURCE_BUILD=1
MAKEOPTS+=" -j1"
pkg_setup() {
fortran-2_pkg_setup
use python && python_set_active_version 2 && python_pkg_setup
if [[ -z ${MAXMEM} ]]; then
einfo "You can specify the max amount of RAM used"
einfo "by setting MAXMEM=\"your size in MB\""
else
einfo "Settings max memory usage to ${MAXMEM} MB"
fi
}
# git clone ssh://woodpecker/home/jlec/apbs.git
PATCHES=( "${FILESDIR}"/${P}/00{01..16}* )
src_prepare() {
rm -rf contrib/{blas,maloc,opal,zlib} || die
find -name "._*" -delete || die
EPATCH_OPTS="-p1" \
autotools-utils_src_prepare
sed \
-e "s:GENTOO_PKG_NAME:${PN}:g" \
-i Makefile.am || die "Cannot correct package name"
sed \
-e 's:libmaloc.a:libmaloc.so:g' \
-e 's:-lblas::g' \
-i configure.ac || die
sed -e 's:opal::g' -i contrib/Makefile.am || die
sed \
-e 's:noinst_PROGRAMS:bin_PROGRAMS:g' \
-i tools/*/Makefile.am || die
AT_NOELIBTOOLIZE=yes eautoreconf
}
src_configure() {
local myeconfargs=( --docdir="${EPREFIX}/usr/share/doc/${PF}" )
use arpack && myeconfargs+=( --with-arpack="${EPREFIX}/usr/$(get_libdir)" )
# check which mpi version is installed and tell configure
if use mpi; then
export CC="${EPREFIX}/usr/bin/mpicc"
export F77="${EPREFIX}/usr/bin/mpif77"
if has_version sys-cluster/mpich; then
myeconfargs+=( --with-mpich="${EPREFIX}/usr" )
elif has_version sys-cluster/mpich2; then
myeconfargs+=( --with-mpich2="${EPREFIX}/usr" )
elif has_version sys-cluster/openmpi; then
myeconfargs+=( --with-openmpi="${EPREFIX}/usr" )
fi
fi || die "Failed to select proper mpi implementation"
if use fetk; then
myeconfargs+=( --with-fetk-include="${EPREFIX}/usr/include" --with-fetk-library="${EPREFIX}/usr/$(get_libdir)" )
else
myeconfargs+=( --disable-fetk )
fi
[[ -n ${MAXMEM} ]] && myeconfargs+=( --with-maxmem=${MAXMEM} )
if use python; then
myeconfargs+=( --enable-tools )
else
myeconfargs+=( $(use_enable tools) )
fi
myeconfargs+=(
--disable-maloc-rebuild
--enable-shared
$(use_enable openmp)
$(use_enable python)
)
autotools-utils_src_configure
}
src_test() {
export LC_NUMERIC=C
cd examples && make test \
|| die "Tests failed"
grep -q 'FAILED' "${S}"/examples/TESTRESULTS.log && die "Tests failed"
}
src_install() {
autotools-utils_src_install
use doc && dohtml -r doc/*
use examples && insinto /usr/share/${PN} && doins -r examples
use tools && emake DESTDIR="${D}" install-tools
if use python && ! use mpi; then
insinto $(python_get_sitedir)/${PN}
doins tools/manip/*.py
doins tools/python/{*.py,*.pqr}
doins tools/python/*/{*.py,*.so}
python_clean_installation_image
fi
if use python || use tools; then
mv "${ED}"/usr/bin/analysis{,_apbs} || die
mv "${ED}"/usr/bin/smooth{,_apbs} || die
fi
}
pkg_postinst() {
use python && python_mod_optimize ${PN}
if use python || use tools; then
echo
elog "Following apps have been renamed"
elog "${EPREFIX}/usr/bin/analysis -> ${EPREFIX}/usr/bin/analysis_apbs"
elog "${EPREFIX}/usr/bin/smooth -> ${EPREFIX}/usr/bin/smooth_apbs"
echo
fi
}
pkg_postrm() {
use python && python_mod_cleanup ${PN}
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sci-chemistry/apbs: ChangeLog apbs-1.3-r3.ebuild
@ 2013-05-02 15:16 Justin Lecher (jlec)
0 siblings, 0 replies; 2+ messages in thread
From: Justin Lecher (jlec) @ 2013-05-02 15:16 UTC (permalink / raw
To: gentoo-commits
jlec 13/05/02 15:16:35
Modified: ChangeLog apbs-1.3-r3.ebuild
Log:
sci-chemistry/apbs: Fix obsolete macros in automake-1.13
(Portage version: 2.2.0_alpha173/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
Revision Changes Path
1.63 sci-chemistry/apbs/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/apbs/ChangeLog?rev=1.63&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/apbs/ChangeLog?rev=1.63&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/apbs/ChangeLog?r1=1.62&r2=1.63
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/ChangeLog,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -r1.62 -r1.63
--- ChangeLog 23 Apr 2013 14:01:32 -0000 1.62
+++ ChangeLog 2 May 2013 15:16:35 -0000 1.63
@@ -1,6 +1,9 @@
# ChangeLog for sci-chemistry/apbs
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/ChangeLog,v 1.62 2013/04/23 14:01:32 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/ChangeLog,v 1.63 2013/05/02 15:16:35 jlec Exp $
+
+ 02 May 2013; Justin Lecher <jlec@gentoo.org> apbs-1.3-r3.ebuild:
+ Fix obsolete macros in automake-1.13
23 Apr 2013; Justin Lecher <jlec@gentoo.org> apbs-1.2.1b-r4.ebuild,
apbs-1.3-r3.ebuild:
1.5 sci-chemistry/apbs/apbs-1.3-r3.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/apbs/apbs-1.3-r3.ebuild?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/apbs/apbs-1.3-r3.ebuild?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/apbs/apbs-1.3-r3.ebuild?r1=1.4&r2=1.5
Index: apbs-1.3-r3.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/apbs-1.3-r3.ebuild,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- apbs-1.3-r3.ebuild 23 Apr 2013 14:01:33 -0000 1.4
+++ apbs-1.3-r3.ebuild 2 May 2013 15:16:35 -0000 1.5
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/apbs-1.3-r3.ebuild,v 1.4 2013/04/23 14:01:33 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/apbs-1.3-r3.ebuild,v 1.5 2013/05/02 15:16:35 jlec Exp $
EAPI=4
@@ -72,6 +72,12 @@
sed \
-e 's:noinst_PROGRAMS:bin_PROGRAMS:g' \
-i tools/*/Makefile.am || die
+
+ sed \
+ -e "s:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:g" \
+ -e "s:AM_PROG_CC_STDC:AC_PROG_CC:g" \
+ -i configure.ac || die
+
AT_NOELIBTOOLIZE=yes eautoreconf
}
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-05-02 15:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-02 15:16 [gentoo-commits] gentoo-x86 commit in sci-chemistry/apbs: ChangeLog apbs-1.3-r3.ebuild Justin Lecher (jlec)
-- strict thread matches above, loose matches on Subject: below --
2012-07-19 10:20 Justin Lecher (jlec)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox