summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2012-08-03 18:51:55 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2012-08-03 18:51:55 +0000
commita5e167cc9936cf1d6bddfbe624d1864c72759f0f (patch)
tree8c60d352fe218639c71771c267d3a89684dcdd14 /sci-libs/getdata
parentx86 stable, see bug 413977 (diff)
downloadgentoo-2-a5e167cc9936cf1d6bddfbe624d1864c72759f0f.tar.gz
gentoo-2-a5e167cc9936cf1d6bddfbe624d1864c72759f0f.tar.bz2
gentoo-2-a5e167cc9936cf1d6bddfbe624d1864c72759f0f.zip
Fixed perl diretory install, keyword amd64-linux x86-linux
(Portage version: 2.2.01.20796-prefix/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/getdata')
-rw-r--r--sci-libs/getdata/ChangeLog7
-rw-r--r--sci-libs/getdata/getdata-0.8.0.ebuild20
-rw-r--r--sci-libs/getdata/metadata.xml15
3 files changed, 24 insertions, 18 deletions
diff --git a/sci-libs/getdata/ChangeLog b/sci-libs/getdata/ChangeLog
index 27d1c54010bc..a136ebfd9922 100644
--- a/sci-libs/getdata/ChangeLog
+++ b/sci-libs/getdata/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-libs/getdata
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/getdata/ChangeLog,v 1.9 2012/07/17 14:01:12 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/getdata/ChangeLog,v 1.10 2012/08/03 18:51:55 bicatali Exp $
+
+ 03 Aug 2012; Sébastien Fabbro <bicatali@gentoo.org> getdata-0.8.0.ebuild,
+ metadata.xml:
+ Fixed perl diretory install, keyword amd64-linux x86-linux
*getdata-0.8.0 (17 Jul 2012)
@@ -41,4 +45,3 @@
+metadata.xml:
Initial commit for getdata. Ebuild by Matěj Laitl <strohel@gmail.com>
(bug #335017).
-
diff --git a/sci-libs/getdata/getdata-0.8.0.ebuild b/sci-libs/getdata/getdata-0.8.0.ebuild
index 57602262d649..ac6070690c5d 100644
--- a/sci-libs/getdata/getdata-0.8.0.ebuild
+++ b/sci-libs/getdata/getdata-0.8.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/getdata/getdata-0.8.0.ebuild,v 1.1 2012/07/17 14:01:12 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/getdata/getdata-0.8.0.ebuild,v 1.2 2012/08/03 18:51:55 bicatali Exp $
EAPI=3
@@ -18,7 +18,7 @@ SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="bzip2 fortran lzma python perl static-libs"
DEPEND="
@@ -29,15 +29,18 @@ RDEPEND="${DEPEND}"
pkg_setup() {
use fortran && fortran-2_pkg_setup
+ use python && python_pkg_setup
}
src_prepare() {
# Python bindings are built/tested/installed manually.
- sed -e "/PY_SUBDIR/s/python//" -i bindings/Makefile.am
+ sed -e "/PY_SUBDIR/s/python//" -i bindings/Makefile.am || die
eautoreconf
}
src_configure() {
+ local myconf
+ use perl && myconf="--with-perl-dir=vendor"
econf \
--disable-idl \
--without-libslim \
@@ -50,7 +53,8 @@ src_configure() {
$(use_enable perl) \
$(use_enable static-libs static) \
$(use_with bzip2 libbz2) \
- $(use_with lzma liblzma)
+ $(use_with lzma liblzma) \
+ ${myconf}
}
src_compile() {
@@ -64,8 +68,8 @@ src_compile() {
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)"
+ pyexecdir="${EPREFIX}$(python_get_sitedir)" \
+ pythondir="${EPREFIX}$(python_get_sitedir)"
}
python_execute_function -s --source-dir bindings/python building
fi
@@ -81,8 +85,8 @@ src_install() {
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)" \
+ pyexecdir="${EPREFIX}$(python_get_sitedir)" \
+ pythondir="${EPREFIX}$(python_get_sitedir)" \
install
if use static-libs; then
find "${ED}/$(python_get_sitedir)" -type f -name "*.a" -delete || die
diff --git a/sci-libs/getdata/metadata.xml b/sci-libs/getdata/metadata.xml
index b0a80b9d4e86..6d19e6591fa5 100644
--- a/sci-libs/getdata/metadata.xml
+++ b/sci-libs/getdata/metadata.xml
@@ -1,12 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer>
- <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>
+<herd>sci</herd>
+<longdescription lang="en">
+ The GetData Project is the reference implementation of the Dirfile
+ Standards, a filesystem-based, column-oriented database format for
+ time-ordered binary data. The Dirfile database format is designed to
+ provide a fast, simple format for storing and reading data.
+</longdescription>
</pkgmetadata>