aboutsummaryrefslogtreecommitdiff
blob: 6574116c5c91dbd70141918bd6847b8383e3edb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

PYTHON_COMPAT=( python{2_7,3_4} )

inherit distutils-r1 multilib git-r3

DESCRIPTION="C++ header-only library for reading Oxford Nanopore Fast5 files"
HOMEPAGE="https://github.com/mateidavid/fast5"
EGIT_REPO_URI="https://github.com/mateidavid/fast5.git"

LICENSE="MIT"
SLOT="0"
KEYWORDS=""
IUSE=""

DEPEND="
	dev-python/cython[${PYTHON_USEDEP}]
	sci-libs/hdf5"
RDEPEND="${DEPEND}"

src_compile(){
	emake -C python develop-user HDF5_DIR="${EPREFIX}"/usr HDF5_LIB_DIR="${EPREFIX}"/usr/$(get_libdir)
}

# BUG: python stuff and binaries get installed into "${IMAGEDIR}"/homedir/.local/