* [gentoo-commits] gentoo-x86 commit in sci-libs/getdata: metadata.xml ChangeLog getdata-0.6.3-r1.ebuild
@ 2011-09-13 21:05 Justin Lecher (jlec)
0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2011-09-13 21:05 UTC (permalink / raw
To: gentoo-commits
jlec 11/09/13 21:05:24
Modified: metadata.xml ChangeLog
Added: getdata-0.6.3-r1.ebuild
Log:
Cleaned and enhanced ebuild
(Portage version: 2.2.0_alpha55/cvs/Linux x86_64)
Revision Changes Path
1.6 sci-libs/getdata/metadata.xml
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/getdata/metadata.xml?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/getdata/metadata.xml?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/getdata/metadata.xml?r1=1.5&r2=1.6
Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-libs/getdata/metadata.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- metadata.xml 13 Sep 2011 19:54:37 -0000 1.5
+++ metadata.xml 13 Sep 2011 21:05:24 -0000 1.6
@@ -6,4 +6,8 @@
<email>sci@gentoo.org</email>
</maintainer>
<longdescription lang="en"/>
+ <use>
+ <flag name="fortran">Build fortran bindings</flag>
+ <flag name="python">Build python bindings</flag>
+ </use>
</pkgmetadata>
1.5 sci-libs/getdata/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/getdata/ChangeLog?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/getdata/ChangeLog?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/getdata/ChangeLog?r1=1.4&r2=1.5
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-libs/getdata/ChangeLog,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ChangeLog 13 Sep 2011 19:54:37 -0000 1.4
+++ ChangeLog 13 Sep 2011 21:05:24 -0000 1.5
@@ -1,6 +1,12 @@
# ChangeLog for sci-libs/getdata
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/getdata/ChangeLog,v 1.4 2011/09/13 19:54:37 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/getdata/ChangeLog,v 1.5 2011/09/13 21:05:24 jlec Exp $
+
+*getdata-0.6.3-r1 (13 Sep 2011)
+
+ 13 Sep 2011; Justin Lecher <jlec@gentoo.org> +getdata-0.6.3-r1.ebuild,
+ metadata.xml:
+ Cleaned and enhanced ebuild
13 Sep 2011; Justin Lecher <jlec@gentoo.org> metadata.xml:
sci takes maintainer ship
1.1 sci-libs/getdata/getdata-0.6.3-r1.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/getdata/getdata-0.6.3-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/getdata/getdata-0.6.3-r1.ebuild?rev=1.1&content-type=text/plain
Index: getdata-0.6.3-r1.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-libs/getdata/getdata-0.6.3-r1.ebuild,v 1.1 2011/09/13 21:05:24 jlec Exp $
EAPI=3
PYTHON_DEPEND="python? 2"
SUPPORT_PYTHON_ABIS="1"
FORTRAN_STANDARD="95"
inherit autotools fortran-2 python
DESCRIPTION="Reference implementation of the Dirfile, format for time-ordered binary data"
HOMEPAGE="http://getdata.sourceforge.net/"
SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="bzip2 fortran lzma python static-libs"
DEPEND="
bzip2? ( app-arch/bzip2 )
lzma? ( app-arch/xz-utils )"
RDEPEND="${DEPEND}"
pkg_setup() {
use fortran && fortran-2_pkg_setup
}
src_prepare() {
# Python bindings are built/tested/installed manually.
sed -e "/PY_SUBDIR/s/python//" -i bindings/Makefile.am
eautoreconf
}
src_configure() {
econf \
--disable-idl \
--without-libslim \
--with-libz \
--enable-shared \
--docdir="${EPREFIX}/usr/share/doc/${P}" \
$(use_enable fortran) \
$(use_enable fortran fortran95) \
$(use_enable python) \
$(use_enable static-libs static) \
$(use_with bzip2 libbz2) \
$(use_with lzma liblzma)
}
src_compile() {
default
if use python; then
python_copy_sources bindings/python
building() {
sed "s:-lpython...:$(python_get_library --linker-option):g" -i Makefile || die
emake \
PYTHON_VERSION="$(python_get_version)" \
NUMPY_CPPFLAGS="-I${EPREFIX}$(python_get_sitedir)/numpy/core/include" \
PYTHON_CPPFLAGS="-I${EPREFIX}$(python_get_includedir)" \
pyexecdir="$(python_get_sitedir)" \
pythondir="$(python_get_sitedir)"
}
python_execute_function -s --source-dir bindings/python building
fi
}
src_install() {
emake DESTDIR="${D}" install || die "Install failed"
if use python; then
installation() {
emake \
DESTDIR="${D}" \
PYTHON_VERSION="$(python_get_version)" \
NUMPY_CPPFLAGS="-I${EPREFIX}$(python_get_sitedir)/numpy/core/include" \
PYTHON_CPPFLAGS="-I${EPREFIX}$(python_get_includedir)" \
PYTHON_VERSION="$(python_get_version)" \
pyexecdir="$(python_get_sitedir)" \
pythondir="$(python_get_sitedir)" \
install
if use static-libs; then
find "${ED}/$(python_get_sitedir)" -type f -name "*.a" -delete || die
fi
}
python_execute_function -s --source-dir bindings/python installation
python_clean_installation_image
fi
dodoc AUTHORS ChangeLog NEWS README TODO || die "Installing docs failed"
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-09-13 21:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-13 21:05 [gentoo-commits] gentoo-x86 commit in sci-libs/getdata: metadata.xml ChangeLog getdata-0.6.3-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