* [gentoo-commits] gentoo-x86 commit in sci-libs/cbflib: ChangeLog cbflib-0.9.0-r2.ebuild cbflib-0.9.0-r1.ebuild
@ 2010-07-05 12:45 Justin Lecher (jlec)
0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2010-07-05 12:45 UTC (permalink / raw
To: gentoo-commits
jlec 10/07/05 12:45:05
Modified: ChangeLog
Added: cbflib-0.9.0-r2.ebuild
Removed: cbflib-0.9.0-r1.ebuild
Log:
Small python fix
(Portage version: 2.2_rc67/cvs/Linux x86_64, RepoMan options: --force)
Revision Changes Path
1.12 sci-libs/cbflib/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/cbflib/ChangeLog?rev=1.12&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/cbflib/ChangeLog?rev=1.12&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/cbflib/ChangeLog?r1=1.11&r2=1.12
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-libs/cbflib/ChangeLog,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- ChangeLog 5 Jul 2010 11:36:51 -0000 1.11
+++ ChangeLog 5 Jul 2010 12:45:05 -0000 1.12
@@ -1,6 +1,12 @@
# ChangeLog for sci-libs/cbflib
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/cbflib/ChangeLog,v 1.11 2010/07/05 11:36:51 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cbflib/ChangeLog,v 1.12 2010/07/05 12:45:05 jlec Exp $
+
+*cbflib-0.9.0-r2 (05 Jul 2010)
+
+ 05 Jul 2010; Justin Lecher <jlec@gentoo.org> +files/0.9.0-python.patch,
+ -cbflib-0.9.0-r1.ebuild, +cbflib-0.9.0-r2.ebuild:
+ Small python fix
*cbflib-0.9.0-r1 (05 Jul 2010)
1.1 sci-libs/cbflib/cbflib-0.9.0-r2.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/cbflib/cbflib-0.9.0-r2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/cbflib/cbflib-0.9.0-r2.ebuild?rev=1.1&content-type=text/plain
Index: cbflib-0.9.0-r2.ebuild
===================================================================
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-libs/cbflib/cbflib-0.9.0-r2.ebuild,v 1.1 2010/07/05 12:45:05 jlec Exp $
EAPI="3"
PYTHON_DEPEND="python? 2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.*"
inherit distutils eutils flag-o-matic toolchain-funcs
PYTHON_MODNAME="pycbf.py"
MY_P1="CBFlib-${PV}"
MY_P2="CBFlib_${PV}"
DESCRIPTION="Library providing a simple mechanism for accessing CBF files and imgCIF files."
HOMEPAGE="http://www.bernstein-plus-sons.com/software/CBF/"
#BASE_TEST_URI="http://arcib.dowling.edu/software/CBFlib/downloads/version_${PV}/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P1}_14Feb10.tar.gz"
# test? (
# ${BASE_TEST_URI}/${MY_P2}_Data_Files_Input.tar.gz
# ${BASE_TEST_URI}/${MY_P2}_Data_Files_Output.tar.gz
# )"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc python"
#RDEPEND=""
#DEPEND="test? ( sys-process/time )"
S="${WORKDIR}/${MY_P1}"
src_prepare(){
rm -rf Py* drel* dRel* ply*
epatch "${FILESDIR}"/${PV}-Makefile.patch
edos2unix pycbf/setup.py
epatch "${FILESDIR}"/${PV}-python.patch
cp Makefile_LINUX_gcc42 Makefile
append-fflags -fno-range-check
append-cflags -D_USE_XOPEN_EXTENDED
sed \
-e "s:^CC.*$:CC = $(tc-getCC):" \
-e "s:^C++.*$:C++ = $(tc-getCXX):" \
-e "s:C++:CXX:g" \
-e "s:^CFLAGS.*$:CFLAGS = ${CFLAGS}:" \
-e "s:^F90C.*$:F90C = $(tc-getFC):" \
-e "s:^F90FLAGS.*$:F90FLAGS = ${FFLAGS}:" \
-e "s:^SOLDFLAGS.*$:SOLDFLAGS = -shared ${LDFLAGS}:g" \
-e "s: /bin: ${EPREFIX}/bin:g" \
-e "s:/usr:${EPREFIX}/usr:g" \
-i Makefile || die
}
src_compile() {
emake -j1 shared || die
if use python; then
cd pycbf
distutils_src_compile
fi
}
# test app is borked in this version
# produces buffer overflows
#src_test(){
# emake -j1 tests || die
#}
src_install() {
insinto /usr/include/${PN}
doins include/*.h || die
dolib.so solib/lib* || die
dodoc README || die
if use doc; then
dohtml -r README.html html_graphics doc || die
fi
if use python; then
cd pycbf
distutils_src_install
fi
}
pkg_postinst() {
use python && distutils_pkg_postinst
}
pkg_postrm() {
use python && distutils_pkg_postrm
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-07-05 12:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-05 12:45 [gentoo-commits] gentoo-x86 commit in sci-libs/cbflib: ChangeLog cbflib-0.9.0-r2.ebuild cbflib-0.9.0-r1.ebuild 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