From 71deace00d1a2b091313fe137ab7092418c6f87c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 10 Feb 2020 21:05:55 +0000 Subject: gentoo resync : 10.02.2020 --- dev-python/pyilmbase/Manifest | 2 +- dev-python/pyilmbase/pyilmbase-2.3.0-r1.ebuild | 71 ------------------------- dev-python/pyilmbase/pyilmbase-2.3.0-r2.ebuild | 73 ++++++++++++++++++++++++++ 3 files changed, 74 insertions(+), 72 deletions(-) delete mode 100644 dev-python/pyilmbase/pyilmbase-2.3.0-r1.ebuild create mode 100644 dev-python/pyilmbase/pyilmbase-2.3.0-r2.ebuild (limited to 'dev-python/pyilmbase') diff --git a/dev-python/pyilmbase/Manifest b/dev-python/pyilmbase/Manifest index a21cbbab837a..2af84a496c1d 100644 --- a/dev-python/pyilmbase/Manifest +++ b/dev-python/pyilmbase/Manifest @@ -1,5 +1,5 @@ AUX pyilmbase-2.3.0-fix-build-system.patch 1169 BLAKE2B 6afa0faf264ffb4c863a148684d162ef3154fa2802cffb2802315933e5df4781fc24d9fca23a985627a29d123a53cd4d6815beaa3b56487cace67896a22ae57c SHA512 691cdeec3361954fd41c085b38f8ec3a2a6a024ac174aeecb2b32df83844c3e25dbffcb3905b91e0b516eea6ac4597a067bb9ac794a25f5d1ac8502094b4095a AUX pyilmbase-2.3.0-link-pyimath.patch 454 BLAKE2B 5e2bc6d09bb7012f8d0087aa0d76b8a89280349fa978cbf926cd9cbce1b2b611a6862d73da35642e037ba84161e658915831e63ed9aeafac9db5669e38e5c4f4 SHA512 760a217d5af2e8de48f52351bab18370f3a74453135a401d8f5d964d3c445519ddc41a853c989c4f29d492764e42dfbcf4a8bcf839e43164b4bbe3e125e9d1fc DIST pyilmbase-2.3.0.tar.gz 524975 BLAKE2B 7c3114921392ad29198025c672c366e6c98d2da968ed213ccfb446533b81fae4b78c687aba2108e476e16c4e97f11924799d0b0474ff3f82f17632f886bb6a39 SHA512 c20c26155315f2ae38efc183e5f33e2c18610365f5f1bca7a50363a005ff91c8782177293290ea037cf5f164f9b404f5710ce3cccba862e5e7f830727753589f -EBUILD pyilmbase-2.3.0-r1.ebuild 1509 BLAKE2B 50317fb153056ef663b190fa06be7b782c2b2a8f20907ef9c19d71136129e4f58504c6963298f39673a46d782d955a03e5625aee004d25c676c75a53540804ea SHA512 3d614e898140b5bd9536e34cb19fad89ddcd73916820df2c5acb2548bfd009ea337e078de9bf1d441a5156482487c6362eb0853dc18654ceb3c97028591765b6 +EBUILD pyilmbase-2.3.0-r2.ebuild 1563 BLAKE2B e13ceefe8eaf32d75d8ea61372cebc26f057dad652f76660300d149016aa7c6820a51e64a3b01d688d973f41631d1e18641e82edf045b1573320546e2dfa8aee SHA512 2c2e81c0530ceef420aa1aa7f0ca8cd3a0ffff251a47b12d9b141111339fa8a4894478b0650acc056bc016220e14392e59309b18155361a38b533e0ec9b1d3ec MISC metadata.xml 537 BLAKE2B 88a1d7d89fac2094eefd766ad23b01c12cc49bff080e83f6ad63318294c97b18ecd83c6d908979ae8345a6601898b7a01295d9db886f0de500e460129d9c4a6a SHA512 c685de970979ac4ad5c3392a4b41b23bb523da5d003e3f6757a8d61fbdf0be1ea2bddc1a756176a9887101cc5bd6e19f5ac7e038e9dc9e5976c676a8817b9a87 diff --git a/dev-python/pyilmbase/pyilmbase-2.3.0-r1.ebuild b/dev-python/pyilmbase/pyilmbase-2.3.0-r1.ebuild deleted file mode 100644 index ea1f2d49fe50..000000000000 --- a/dev-python/pyilmbase/pyilmbase-2.3.0-r1.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 -} diff --git a/dev-python/pyilmbase/pyilmbase-2.3.0-r2.ebuild b/dev-python/pyilmbase/pyilmbase-2.3.0-r2.ebuild new file mode 100644 index 000000000000..c3f5e7b949a1 --- /dev/null +++ b/dev-python/pyilmbase/pyilmbase-2.3.0-r2.ebuild @@ -0,0 +1,73 @@ +# 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} + ~media-libs/ilmbase-${PV}:= + $(python_gen_cond_dep ' + >=dev-libs/boost-1.62.0-r1[python(+),${PYTHON_MULTI_USEDEP}] + numpy? ( + || ( + dev-python/numpy-python2[${PYTHON_MULTI_USEDEP}] + >=dev-python/numpy-1.10.4[${PYTHON_MULTI_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