From b4bf8a4e4dde96f62ccea75f20bae15ccb494f0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 22 Jan 2020 22:46:17 +0100 Subject: dev-python/pyilmbase: Revbump post dep change MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/pyilmbase/pyilmbase-2.3.0-r1.ebuild | 71 ++++++++++++++++++++++++++ dev-python/pyilmbase/pyilmbase-2.3.0.ebuild | 71 -------------------------- 2 files changed, 71 insertions(+), 71 deletions(-) create mode 100644 dev-python/pyilmbase/pyilmbase-2.3.0-r1.ebuild delete mode 100644 dev-python/pyilmbase/pyilmbase-2.3.0.ebuild (limited to 'dev-python') diff --git a/dev-python/pyilmbase/pyilmbase-2.3.0-r1.ebuild b/dev-python/pyilmbase/pyilmbase-2.3.0-r1.ebuild new file mode 100644 index 000000000000..ea1f2d49fe50 --- /dev/null +++ b/dev-python/pyilmbase/pyilmbase-2.3.0-r1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit autotools python-single-r1 + +DESCRIPTION="IlmBase Python bindings" +HOMEPAGE="https://www.openexr.com" +SRC_URI="https://github.com/openexr/openexr/releases/download/v${PV}/${P}.tar.gz" +LICENSE="BSD" + +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="+numpy" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + >=dev-libs/boost-1.62.0-r1[python(+),${PYTHON_USEDEP}] + ~media-libs/ilmbase-${PV}:= + numpy? ( + || ( + dev-python/numpy-python2[${PYTHON_USEDEP}] + >=dev-python/numpy-1.10.4[${PYTHON_USEDEP}] + ) + )" +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + >=virtual/pkgconfig-0-r1" + +PATCHES=( + "${FILESDIR}/${P}-link-pyimath.patch" + "${FILESDIR}/${P}-fix-build-system.patch" +) + +DOCS=( README.md ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local boostpython_ver="${EPYTHON:6}" + if has_version ">=dev-libs/boost-1.70.0"; then + boostpython_ver="${boostpython_ver/./}" + else + boostpython_ver="-${boostpython_ver}" + fi + + local myeconfargs=( + --with-boost-include-dir="${EPREFIX}/usr/include/boost" + --with-boost-lib-dir="${EPREFIX}/usr/$(get_libdir)" + --with-boost-python-libname="boost_python${boostpython_ver}" + $(use_with numpy) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + # Fails to install with multiple jobs + emake DESTDIR="${D}" -j1 install + + einstalldocs + + # package provides pkg-config files + find "${D}" -name '*.la' -delete || die +} diff --git a/dev-python/pyilmbase/pyilmbase-2.3.0.ebuild b/dev-python/pyilmbase/pyilmbase-2.3.0.ebuild deleted file mode 100644 index ea1f2d49fe50..000000000000 --- a/dev-python/pyilmbase/pyilmbase-2.3.0.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 ) - -inherit autotools python-single-r1 - -DESCRIPTION="IlmBase Python bindings" -HOMEPAGE="https://www.openexr.com" -SRC_URI="https://github.com/openexr/openexr/releases/download/v${PV}/${P}.tar.gz" -LICENSE="BSD" - -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="+numpy" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS} - >=dev-libs/boost-1.62.0-r1[python(+),${PYTHON_USEDEP}] - ~media-libs/ilmbase-${PV}:= - numpy? ( - || ( - dev-python/numpy-python2[${PYTHON_USEDEP}] - >=dev-python/numpy-1.10.4[${PYTHON_USEDEP}] - ) - )" -DEPEND="${RDEPEND} - ${PYTHON_DEPS} - >=virtual/pkgconfig-0-r1" - -PATCHES=( - "${FILESDIR}/${P}-link-pyimath.patch" - "${FILESDIR}/${P}-fix-build-system.patch" -) - -DOCS=( README.md ) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - local boostpython_ver="${EPYTHON:6}" - if has_version ">=dev-libs/boost-1.70.0"; then - boostpython_ver="${boostpython_ver/./}" - else - boostpython_ver="-${boostpython_ver}" - fi - - local myeconfargs=( - --with-boost-include-dir="${EPREFIX}/usr/include/boost" - --with-boost-lib-dir="${EPREFIX}/usr/$(get_libdir)" - --with-boost-python-libname="boost_python${boostpython_ver}" - $(use_with numpy) - ) - - econf "${myeconfargs[@]}" -} - -src_install() { - # Fails to install with multiple jobs - emake DESTDIR="${D}" -j1 install - - einstalldocs - - # package provides pkg-config files - find "${D}" -name '*.la' -delete || die -} -- cgit v1.2.3