summaryrefslogtreecommitdiff
path: root/sci-libs/getdata
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-libs/getdata
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-libs/getdata')
-rw-r--r--sci-libs/getdata/Manifest12
-rw-r--r--sci-libs/getdata/files/getdata-0.8.5-out-of-source.patch16
-rw-r--r--sci-libs/getdata/files/getdata-0.8.5-serial-test.patch42
-rw-r--r--sci-libs/getdata/files/getdata-0.9.0-remove-python-test.patch13
-rw-r--r--sci-libs/getdata/files/getdata-0.9.0-serial-test.patch41
-rw-r--r--sci-libs/getdata/getdata-0.8.5.ebuild94
-rw-r--r--sci-libs/getdata/getdata-0.9.0-r1.ebuild64
-rw-r--r--sci-libs/getdata/getdata-0.9.0.ebuild94
-rw-r--r--sci-libs/getdata/metadata.xml17
9 files changed, 393 insertions, 0 deletions
diff --git a/sci-libs/getdata/Manifest b/sci-libs/getdata/Manifest
new file mode 100644
index 000000000000..0bb053a53f9c
--- /dev/null
+++ b/sci-libs/getdata/Manifest
@@ -0,0 +1,12 @@
+AUX getdata-0.8.5-out-of-source.patch 660 SHA256 c6a685027ffaddd477ae58fae55791ef4f38b20830c24d074599ab70d79020ff SHA512 03205c0472df80f487476ee24e8a5478e8a67ef2e87fe47e59f709653b9a74356ba566657e662f606584431f03e918ae35111b1c202cbd6a5eee83a820e9c347 WHIRLPOOL e1b75e57e7dc8f12e6601e5693970ffd74ed035001fced239543b0303535095fd1c917fa3021f1c8ddcb6c67b634de7a017486b7112a60c28aeec881f94a434d
+AUX getdata-0.8.5-serial-test.patch 1386 SHA256 03605a8624ba92389fd0e652593e76d45caec1844a5656f39c7b81862d785393 SHA512 2610bd2b7aa76117e16361833c77c61bef68ed0080cbb39520c089b00430e5aced32694dea24e9cd52a89fafc609f82cb54c17b7e7ee7c38860dd163d1659eb0 WHIRLPOOL 565f1d24c65f5d17f5b642146281138d1413703f0066c6ce7746e3f38b6873ebc14f4853555157c9f68a2e755c52cfac223783c5dafe86f2fabf6717890ddc60
+AUX getdata-0.9.0-remove-python-test.patch 257 SHA256 72bb37b0c29569a9255f6dc3a6faa08c2cfadc7beeca02ec0241360b5c9a6057 SHA512 7a8b5e8e1f2164fca9caba81c7b24f705c6caac036f8f2a3c6dd436961311e4dc34aa6a669eb0bd9e50fb50c09a8b22d32fe04961085c983a29da00e438cbc7c WHIRLPOOL 19d256a2b521c2714334a5e282d05afc26153412715af1ee1e49f497d2e6e3cfd3f99879ccbf799e7b17cc3ab9a418b4433553381616924d82f4e60b76fed51e
+AUX getdata-0.9.0-serial-test.patch 1399 SHA256 5bf762e0870930238c19abb2b99a120f79ed471f3029baf63e63acee4b1f23d8 SHA512 8892dc1f1ba7ba268d66085e34c82dc8cd07fac28aecfad54153a6f0e27fcac82f2d801e376e4635170c45c82aba72816db40160af825881821c4c90b6a80e04 WHIRLPOOL ebda5b495d4a0de5740f8920cb50dd31498aad5aec12a53330ee26c429e4908c7c7f4e487590df3f789f0d83018da0433f825bd371e3dd030fc284d6e064e0d3
+DIST getdata-0.8.5.tar.bz2 1015954 SHA256 ee0322c1cca62660daed7941b24d41fc902cd7989539dcba432f5514f682a64e SHA512 3a87ea2fbaa5491ac1d6faecdf10f0a80eef62fb8beefc6103f7f18e74efd404884f100f1d123b1fec672d1a09ea2c87e75626b7c62ea56b568a11cc44feaad0 WHIRLPOOL 7c4566bf7a56d99d41da7d007469d85ea5194f7b7417e6c5e976397f5514f9efd2ad47476f03e050f8dc30cd5348fc02eb7aa5048b14bf62fce629d602d7d84a
+DIST getdata-0.9.0.tar.xz 920652 SHA256 b38de059ff21df873e95978867eb82f716b89fc7e8e503e2cc7cef93d22685a2 SHA512 28d720141e34cc56a5166594d0a6ac293144d123706988ed170e40dd9d7aaf13b920305e8bd8343ecd7cbe43eee5d83720e3e5f5d2da0cdccdc1444725cc6844 WHIRLPOOL afc557f26b60edb5aa787fcff35aec2cd6b1bc599b74ddd1583b526f1c9d22e522baf093675f11c2367c42f28f236d53a1e88a7b6613acfa44f52cc277691ed2
+EBUILD getdata-0.8.5.ebuild 2427 SHA256 0cd3792d27970e1b12401d23054760f5d30a2982202e0441ebab18248526c362 SHA512 257452ae0aed4f691f4482681579d1f1ac3639e7951a42e724509804acebda53d2d21a153ba350b68eaa67a61296c74b8a9a3eb12983e24ed453d0ace1d8ec1f WHIRLPOOL 44a0f0ee7411ee929a6afe781c79a3d1c6f3aad6769b8b6e4451240c2d8849b684c1f7158e2c4643d6270b517602122c4af287a40c5455e8df1a475e96bf1201
+EBUILD getdata-0.9.0-r1.ebuild 1443 SHA256 f0370bfce76f5f61922e5f681ad28857cbf3d87d1ae066defa4f2239d2381e0d SHA512 96cbabaa512443277327fe68fa1c0ca0b0bc645b07c063398af0f07ba887f998d15c5261581dbca03ee51ffb68c1338941e97f3e9915e1ac0f93a016a8877653 WHIRLPOOL 7cc4878038f0698fa6b6b5000075cfba36d052270590e4095f5c3d43a248386379ea41514b14d4587b24d270efa92995c9e1d66b9fdead92d42c71759f9a15a5
+EBUILD getdata-0.9.0.ebuild 2412 SHA256 74a252c57ac3cd2ef5a64df07f4170bc6f97421244d60144802d64e9b23ad946 SHA512 5da44d448efa5eac32364728eac9bbe003cea02940fc78a74cd0737f92c1fa2e25319769fb8379a84ecd979658c0a9caa3ec3b49a417713690a1a47a401a8937 WHIRLPOOL 5a7d43eac8f2343dae9c250c6ac05da45006813a9271aea48a6d304ec4638ee799d815628665363546de9f2d1d948a16c56be0618f758ab06205d57fc09676da
+MISC ChangeLog 3568 SHA256 ba695537446ac6ba4591349db434ac643881a330c1f5034530cbd1471a24a37e SHA512 adc3f463aa19ef09539104c863c3ad15293e8b0fcc7a29ba2c4ac44205a791a9509b3d747716ae4d5f48f407617d53ac5ade0ca1e755d80b81f15f73df20cbf9 WHIRLPOOL 4e4f8fb49a1302d3eb17485f386e6ba6996c673a11a46edc032262ff0f44958a05f1aac3a536b1e1bb28414e8503857b7be11ac18dd933591ab8c0407380ddd0
+MISC ChangeLog-2015 2409 SHA256 7eccb885a8051470038c43a373bb944c7b747d3a8ebe5b1658d14ae3fd8cae26 SHA512 139e7f848b5b871d051265a3b73c9be95466dd40b9c198ed9fb39bad403314ba4d1183104d24dfcc52bbc577de1871e7d7ed26902343251604d36b214506ca8c WHIRLPOOL a57598e6166cd6b32ec11637bfb830876d84e2e1b64738c839e304332dffdf5a548ce6ce4d5f53fcc61b0008e39e3d10ca2b127c89017768851d6a9a4ed5caed
+MISC metadata.xml 660 SHA256 809a55235948762a85e5b89cc71e89800e53ae6361039e43805cac1497a3ea84 SHA512 d821e374438aad1beb22199383ebbc8a48247867b08370f08c370e02d7abaf7273a62e750a9ed3befc5e9674489a2a8e56453a6dad09a363a514986a79eb7460 WHIRLPOOL 5b802294aab768085c4696e9740c6b06008bdc3c6882b492740d4a3d46593cb7e432489f66832c1f8165cdecee545d3f5f7cdd3578d6c2bd6c8dcdc83a30f71c
diff --git a/sci-libs/getdata/files/getdata-0.8.5-out-of-source.patch b/sci-libs/getdata/files/getdata-0.8.5-out-of-source.patch
new file mode 100644
index 000000000000..45a6c7e14c31
--- /dev/null
+++ b/sci-libs/getdata/files/getdata-0.8.5-out-of-source.patch
@@ -0,0 +1,16 @@
+ bindings/python/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/bindings/python/Makefile.am b/bindings/python/Makefile.am
+index c2ab221..f5ade68 100644
+--- a/bindings/python/Makefile.am
++++ b/bindings/python/Makefile.am
+@@ -35,7 +35,7 @@ LIBS=
+
+ BUILT_SOURCES = pyconstants.c
+ AM_CFLAGS = ${WALL} -fno-strict-aliasing
+-AM_CPPFLAGS = $(CPPFLAGS) $(PYTHON_CPPFLAGS) $(NUMPY_CPPFLAGS)
++AM_CPPFLAGS = $(CPPFLAGS) $(PYTHON_CPPFLAGS) $(NUMPY_CPPFLAGS) -I$(top_srcdir)/src
+ pygetdata_la_LDFLAGS = -module -avoid-version \
+ -export-symbols-regex initpygetdata
+ pygetdata_la_LIBADD = $(PYTHON_LIBS) ../../src/libgetdata.la
diff --git a/sci-libs/getdata/files/getdata-0.8.5-serial-test.patch b/sci-libs/getdata/files/getdata-0.8.5-serial-test.patch
new file mode 100644
index 000000000000..976757ea8646
--- /dev/null
+++ b/sci-libs/getdata/files/getdata-0.8.5-serial-test.patch
@@ -0,0 +1,42 @@
+ bindings/Makefile.am | 6 +-----
+ bindings/python/test/Makefile.am | 3 +--
+ 2 files changed, 2 insertions(+), 7 deletions(-)
+
+diff --git a/bindings/Makefile.am b/bindings/Makefile.am
+index df53b0f..ec33316 100644
+--- a/bindings/Makefile.am
++++ b/bindings/Makefile.am
+@@ -38,10 +38,6 @@ if MAKE_MATLABBINDINGS
+ MATLAB_SUBDIR=matlab
+ endif
+
+-if MAKE_PYBINDINGS
+-PY_SUBDIR=python
+-endif
+-
+ if MAKE_PERLBINDINGS
+ PERL_SUBDIR=perl
+ endif
+@@ -52,7 +48,7 @@ make_parameters_SOURCES = make_parameters.c
+ nodist_make_parameters_SOURCES = ../src/getdata.h ../src/gd_config.h
+
+ SUBDIRS = . ${F77_SUBDIR} ${CXX_SUBDIR} ${IDL_SUBDIR} ${MATLAB_SUBDIR} \
+- ${PY_SUBDIR} ${PERL_SUBDIR}
++ ${PERL_SUBDIR}
+
+ make_parameters$(EXEEXT): $(make_parameters_SOURCES) \
+ $(nodist_make_parameters_SOURCES)
+diff --git a/bindings/python/test/Makefile.am b/bindings/python/test/Makefile.am
+index d159cad..b793b02 100644
+--- a/bindings/python/test/Makefile.am
++++ b/bindings/python/test/Makefile.am
+@@ -18,8 +18,7 @@
+ # along with GetData; if not, write to the Free Software Foundation, Inc.,
+ # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ #
+-AUTOMAKE_OPTIONS = foreign
+-
++AUTOMAKE_OPTIONS = foreign serial-tests
+ if TEST_PYTHON
+ TESTS_ENVIRONMENT=${DL_LIBRARY_PATH}=${${DL_LIBRARY_PATH}}:../../../src/.libs PYTHONPATH=../.libs/ ${PYTHON}
+ pyTESTS=callback.py big_test.py
diff --git a/sci-libs/getdata/files/getdata-0.9.0-remove-python-test.patch b/sci-libs/getdata/files/getdata-0.9.0-remove-python-test.patch
new file mode 100644
index 000000000000..98da89dfb8ec
--- /dev/null
+++ b/sci-libs/getdata/files/getdata-0.9.0-remove-python-test.patch
@@ -0,0 +1,13 @@
+Remove python test suite.
+
+--- getdata-0.9.0/bindings/python/Makefile.am
++++ getdata-0.9.0/bindings/python/Makefile.am
+@@ -20,8 +20,6 @@
+ #
+ AUTOMAKE_OPTIONS = foreign
+
+-SUBDIRS=test
+-
+ nodist_python_SCRIPTS = pygetdata.so
+
+ BUILT_SOURCES = pyconstants.c
diff --git a/sci-libs/getdata/files/getdata-0.9.0-serial-test.patch b/sci-libs/getdata/files/getdata-0.9.0-serial-test.patch
new file mode 100644
index 000000000000..ea17e548da2f
--- /dev/null
+++ b/sci-libs/getdata/files/getdata-0.9.0-serial-test.patch
@@ -0,0 +1,41 @@
+ bindings/Makefile.am | 6 +-----
+ bindings/python/test/Makefile.am | 2 +-
+ 2 files changed, 2 insertions(+), 6 deletions(-)
+
+diff --git a/bindings/Makefile.am b/bindings/Makefile.am
+index ad9f0d2..9e333a5 100644
+--- a/bindings/Makefile.am
++++ b/bindings/Makefile.am
+@@ -38,10 +38,6 @@ if MAKE_MATLABBINDINGS
+ MATLAB_SUBDIR=matlab
+ endif
+
+-if MAKE_PYBINDINGS
+-PY_SUBDIR=python
+-endif
+-
+ if MAKE_PERLBINDINGS
+ PERL_SUBDIR=perl
+ endif
+@@ -55,7 +51,7 @@ noinst_PROGRAMS=make_parameters
+ make_parameters_SOURCES = make_parameters.c
+ nodist_make_parameters_SOURCES = ../src/getdata.h ../src/gd_config.h
+
+-SUBDIRS = . ${F77_SUBDIR} ${CXX_SUBDIR} ${IDL_SUBDIR} ${PY_SUBDIR} \
++SUBDIRS = . ${F77_SUBDIR} ${CXX_SUBDIR} ${IDL_SUBDIR} \
+ ${PERL_SUBDIR} ${MATLAB_SUBDIR} ${PHP_SUBDIR}
+
+ make_parameters$(EXEEXT): $(make_parameters_SOURCES) \
+diff --git a/bindings/python/test/Makefile.am b/bindings/python/test/Makefile.am
+index 32d786f..f4be3de 100644
+--- a/bindings/python/test/Makefile.am
++++ b/bindings/python/test/Makefile.am
+@@ -18,7 +18,7 @@
+ # along with GetData; if not, write to the Free Software Foundation, Inc.,
+ # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ #
+-AUTOMAKE_OPTIONS = foreign serial-tests
++AUTOMAKE_OPTIONS = foreign
+
+ if TEST_PYTHON
+ TESTS_ENVIRONMENT=${DL_LIBRARY_PATH}=../../../src/.libs:${${DL_LIBRARY_PATH}} PYTHONPATH=..:${PYTHONPATH} ${PYTHON}
diff --git a/sci-libs/getdata/getdata-0.8.5.ebuild b/sci-libs/getdata/getdata-0.8.5.ebuild
new file mode 100644
index 000000000000..e22e53814e25
--- /dev/null
+++ b/sci-libs/getdata/getdata-0.8.5.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+AUTOTOOLS_AUTORECONF=true
+
+FORTRAN_STANDARD="95"
+FORTRAN_NEEDED=fortran
+
+inherit autotools-utils fortran-2 python-single-r1
+
+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"
+
+SLOT="0"
+LICENSE="LGPL-2.1"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="bzip2 debug fortran lzma python perl static-libs"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}
+ bzip2? ( app-arch/bzip2 )
+ lzma? ( app-arch/xz-utils )
+ perl? ( dev-lang/perl )"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-serial-test.patch
+ "${FILESDIR}"/${P}-out-of-source.patch
+ )
+
+src_configure() {
+ local myeconfargs=()
+ use perl && myeconfargs+=( --with-perl-dir=vendor )
+ myeconfargs+=(
+ --disable-idl
+ --without-libslim
+ --with-libz
+ --docdir="${EPREFIX}/usr/share/doc/${P}"
+ $(use_enable debug)
+ $(use_enable fortran)
+ $(use_enable fortran fortran95)
+ $(use_enable python)
+ $(use_enable perl)
+ $(use_with bzip2 libbz2)
+ $(use_with lzma liblzma)
+ )
+ autotools-utils_src_configure
+}
+
+src_compile() {
+ autotools-utils_src_compile
+
+ if use python; then
+ python_copy_sources
+ building() {
+ cd "${BUILD_DIR}"/bindings/python || die
+ sed "s:-lpython...:$(python_get_LIBS):g" -i Makefile || die
+ emake \
+ PYTHON_VERSION="${EPYTHON#python}" \
+ NUMPY_CPPFLAGS="-I${EPREFIX}$(python_get_sitedir)/numpy/core/include" \
+ PYTHON_CPPFLAGS="-I${EPREFIX}$(python_get_includedir)" \
+ pyexecdir="${EPREFIX}$(python_get_sitedir)" \
+ pythondir="${EPREFIX}$(python_get_sitedir)"
+ }
+ python_foreach_impl building
+ fi
+}
+
+src_install() {
+ autotools-utils_src_install
+ if use python; then
+ installation() {
+ cd "${BUILD_DIR}"/bindings/python || die
+ emake \
+ DESTDIR="${D}" \
+ PYTHON_VERSION="${EPYTHON#python}" \
+ NUMPY_CPPFLAGS="-I${EPREFIX}$(python_get_sitedir)/numpy/core/include" \
+ PYTHON_CPPFLAGS="-I${EPREFIX}$(python_get_includedir)" \
+ pyexecdir="${EPREFIX}$(python_get_sitedir)" \
+ pythondir="${EPREFIX}$(python_get_sitedir)" \
+ install
+ find \
+ "${ED}/$(python_get_sitedir)" \
+ -type f \( -name "*.a" -o -name "*.la" \) -delete || die
+ }
+ python_foreach_impl installation
+ fi
+}
diff --git a/sci-libs/getdata/getdata-0.9.0-r1.ebuild b/sci-libs/getdata/getdata-0.9.0-r1.ebuild
new file mode 100644
index 000000000000..9bbc02d66ae9
--- /dev/null
+++ b/sci-libs/getdata/getdata-0.9.0-r1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+FORTRAN_STANDARD="95"
+FORTRAN_NEEDED=fortran
+
+inherit autotools eutils fortran-2 python-single-r1
+
+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.xz"
+
+SLOT="0"
+LICENSE="LGPL-2.1"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="bzip2 cxx debug flac fortran lzma perl python static-libs"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+DEPEND="
+ bzip2? ( app-arch/bzip2 )
+ lzma? ( app-arch/xz-utils )
+ perl? ( dev-lang/perl )
+ python? ( dev-python/numpy[${PYTHON_USEDEP}] ${PYTHON_DEPS} )"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${P}-remove-python-test.patch"
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-idl \
+ --disable-matlab \
+ --disable-php \
+ $(use_enable cxx cplusplus) \
+ $(use_enable debug) \
+ $(use_enable fortran) \
+ $(use_enable fortran fortran95) \
+ $(use_enable perl) \
+ $(use_enable python) \
+ $(use_enable static-libs static) \
+ --with-libz \
+ --without-libslim \
+ --without-libzzip \
+ $(use_with bzip2 libbz2) \
+ $(use_with flac libFLAC) \
+ $(use_with lzma liblzma) \
+ $(usex perl --with-perl-dir=vendor)
+}
+
+src_install() {
+ default
+ prune_libtool_files --all
+}
diff --git a/sci-libs/getdata/getdata-0.9.0.ebuild b/sci-libs/getdata/getdata-0.9.0.ebuild
new file mode 100644
index 000000000000..458e6a8186ac
--- /dev/null
+++ b/sci-libs/getdata/getdata-0.9.0.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+AUTOTOOLS_AUTORECONF=true
+
+FORTRAN_STANDARD="95"
+FORTRAN_NEEDED=fortran
+
+inherit autotools-utils fortran-2 python-single-r1
+
+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.xz"
+
+SLOT="0"
+LICENSE="LGPL-2.1"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="bzip2 debug fortran lzma python perl static-libs"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+DEPEND="
+ bzip2? ( app-arch/bzip2 )
+ lzma? ( app-arch/xz-utils )
+ python? ( ${PYTHON_DEPS} )
+ perl? ( dev-lang/perl )"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-serial-test.patch
+ )
+
+src_configure() {
+ local myeconfargs=()
+ use perl && myeconfargs+=( --with-perl-dir=vendor )
+ myeconfargs+=(
+ --disable-idl
+ --without-libslim
+ --with-libz
+ --docdir="${EPREFIX}/usr/share/doc/${P}"
+ $(use_enable debug)
+ $(use_enable fortran)
+ $(use_enable fortran fortran95)
+ $(use_enable python)
+ $(use_enable perl)
+ $(use_with bzip2 libbz2)
+ $(use_with lzma liblzma)
+ )
+ autotools-utils_src_configure
+}
+
+src_compile() {
+ autotools-utils_src_compile
+
+ if use python; then
+ python_copy_sources
+ building() {
+ cd "${BUILD_DIR}"/bindings/python || die
+ sed "s:-lpython...:$(python_get_LIBS):g" -i Makefile || die
+ emake \
+ PYTHON_VERSION="${EPYTHON#python}" \
+ NUMPY_CPPFLAGS="-I${EPREFIX}$(python_get_sitedir)/numpy/core/include" \
+ PYTHON_CPPFLAGS="-I${EPREFIX}$(python_get_includedir)" \
+ pyexecdir="${EPREFIX}$(python_get_sitedir)" \
+ pythondir="${EPREFIX}$(python_get_sitedir)"
+ }
+ python_foreach_impl building
+ fi
+}
+
+src_install() {
+ autotools-utils_src_install
+ if use python; then
+ installation() {
+ cd "${BUILD_DIR}"/bindings/python || die
+ emake \
+ DESTDIR="${D}" \
+ PYTHON_VERSION="${EPYTHON#python}" \
+ NUMPY_CPPFLAGS="-I${EPREFIX}$(python_get_sitedir)/numpy/core/include" \
+ PYTHON_CPPFLAGS="-I${EPREFIX}$(python_get_includedir)" \
+ pyexecdir="${EPREFIX}$(python_get_sitedir)" \
+ pythondir="${EPREFIX}$(python_get_sitedir)" \
+ install
+ find \
+ "${ED}/$(python_get_sitedir)" \
+ -type f \( -name "*.a" -o -name "*.la" \) -delete || die
+ }
+ python_foreach_impl installation
+ fi
+}
diff --git a/sci-libs/getdata/metadata.xml b/sci-libs/getdata/metadata.xml
new file mode 100644
index 000000000000..7a03fbedeac4
--- /dev/null
+++ b/sci-libs/getdata/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <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>
+ <upstream>
+ <remote-id type="sourceforge">getdata</remote-id>
+ </upstream>
+</pkgmetadata>