diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-17 09:07:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-17 09:07:15 +0000 |
commit | 9bd54251864651f49e673a08aec9ef79cfe08f04 (patch) | |
tree | bac28788ab54849c5d28edb190a687167737e736 /dev-python/pyilmbase/pyilmbase-2.2.0.ebuild | |
parent | 6b933047f46efec1aa747570f945344254227457 (diff) |
gentoo resync : 17.12.2017
Diffstat (limited to 'dev-python/pyilmbase/pyilmbase-2.2.0.ebuild')
-rw-r--r-- | dev-python/pyilmbase/pyilmbase-2.2.0.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/pyilmbase/pyilmbase-2.2.0.ebuild b/dev-python/pyilmbase/pyilmbase-2.2.0.ebuild new file mode 100644 index 000000000000..bf77c879e00c --- /dev/null +++ b/dev-python/pyilmbase/pyilmbase-2.2.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit eutils autotools python-single-r1 multilib-minimal + +DESCRIPTION="ilmbase Python bindings" +HOMEPAGE="http://www.openexr.com" +SRC_URI="http://download.savannah.gnu.org/releases/openexr/${P}.tar.gz" +LICENSE="BSD" + +SLOT="0" +KEYWORDS="~amd64" +IUSE="+numpy" + +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE}" + +DEPEND=" + ${PYTHON_DEP} + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]" + +RDEPEND=" + ${PYTHON_DEP} + >=media-libs/ilmbase-${PV}:=[${MULTILIB_USEDEP}] + >=dev-libs/boost-1.62.0-r1[${MULTILIB_USEDEP},python(+),${PYTHON_USEDEP}] + numpy? ( >=dev-python/numpy-1.10.4 )" + +AT_M4DIR=m4 +PATCHES=( + "${FILESDIR}/${P}-configure-boost_python.patch" +) + +pkg_setup() { + python-single-r1_pkg_setup +} + +src_prepare() { + default + eautoreconf + multilib_copy_sources +} + +multilib_src_configure() { + ECONF_SOURCE=${S} econf "$(use_with numpy numpy)" +} + +# fails to install successfully if MAKEOPTS is set to use more than one core. +multilib_src_install() { + EMAKE_SOURCE=${S} emake DESTDIR="${D}" -j1 install +} |