diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/pyilmbase | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/pyilmbase')
-rw-r--r-- | dev-python/pyilmbase/Manifest | 4 | ||||
-rw-r--r-- | dev-python/pyilmbase/files/pyilmbase-2.2.0-configure-boost_python.patch | 22 | ||||
-rw-r--r-- | dev-python/pyilmbase/metadata.xml | 16 | ||||
-rw-r--r-- | dev-python/pyilmbase/pyilmbase-2.2.0.ebuild | 53 |
4 files changed, 95 insertions, 0 deletions
diff --git a/dev-python/pyilmbase/Manifest b/dev-python/pyilmbase/Manifest new file mode 100644 index 000000000000..0321ca322df4 --- /dev/null +++ b/dev-python/pyilmbase/Manifest @@ -0,0 +1,4 @@ +AUX pyilmbase-2.2.0-configure-boost_python.patch 782 BLAKE2B eaafa48b991524400c70f9c6c156ae8abb5dc25132dde1f001b8852efc7fc6187fa27aec533c0022d15efd1ba60342c051f071d32582e0675838a8a20c8593dd SHA512 ffbba202eea36a14a9734633a9510632f8859bdf4f9791f72f020c9600a48a1941e58ea74d5f6b2b9b1e03d874f04cb6e9f5e8ef9cbcc5cd604e0b33ce297772 +DIST pyilmbase-2.2.0.tar.gz 469927 BLAKE2B 74a806f30bf8881a4c58135110c3e805b9748074eab08e9afa17735630ee7de16ffe6a797ced926bb93d122eafdeb04c5e6e80ddba1a90bc551cb87ddeb30671 SHA512 111deb65a73b4d0454454d4fb64d09165fb25aad2e5714e35510c2b7ef301dc8765041de3188c2f89c9bd2770494a55a24372953fcda8dcedb23c401137e4344 +EBUILD pyilmbase-2.2.0.ebuild 1129 BLAKE2B b3876947d8104e5dca92dc6e02780228b30c5c3b3fcf0975b8a8876b3b48e8f95990d16b1a94101626d439972128e0c4f0d901d847a93468f88592e92f0855bc SHA512 abe726f6a70ee90242eee1a9b70ca8386e09a1c7de32e30372407cf4c49ef653e260f392b15407f7d13d76b737a424699d72d0c35f92793c470bddeedbda3e65 +MISC metadata.xml 537 BLAKE2B 88a1d7d89fac2094eefd766ad23b01c12cc49bff080e83f6ad63318294c97b18ecd83c6d908979ae8345a6601898b7a01295d9db886f0de500e460129d9c4a6a SHA512 c685de970979ac4ad5c3392a4b41b23bb523da5d003e3f6757a8d61fbdf0be1ea2bddc1a756176a9887101cc5bd6e19f5ac7e038e9dc9e5976c676a8817b9a87 diff --git a/dev-python/pyilmbase/files/pyilmbase-2.2.0-configure-boost_python.patch b/dev-python/pyilmbase/files/pyilmbase-2.2.0-configure-boost_python.patch new file mode 100644 index 000000000000..897bc02baf90 --- /dev/null +++ b/dev-python/pyilmbase/files/pyilmbase-2.2.0-configure-boost_python.patch @@ -0,0 +1,22 @@ +diff --git a/configure.ac b/configure.ac +index a4d6027..edfb49f 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -76,7 +76,7 @@ LIBS="$LIBS -lpython$PYTHON_VERSION" + BOOST_PYTHON_CXXFLAGS="" + BOOST_PYTHON_LDFLAGS="" + BOOST_PYTHON_LIBS="" +-BOOST_PYTHON_LIBNAME="boost_python" ++BOOST_PYTHON_LIBNAME="boost_python-$PYTHON_VERSION" + + AC_ARG_WITH( + [boost-include-dir], +@@ -90,7 +90,7 @@ AC_ARG_WITH( + + AC_ARG_WITH( + [boost-python-libname], +- [AS_HELP_STRING([--with-boost-python-libname],["boost::python library name (default: boost_python)"])], ++ [AS_HELP_STRING([--with-boost-python-libname],["boost::python library name (default: boost_python-$PYTHON_VERSION)"])], + [BOOST_PYTHON_LIBNAME="$withval"]) + + CXXFLAGS="$CXXFLAGS $BOOST_PYTHON_CXXFLAGS -I$PYTHON_INC_DIR" diff --git a/dev-python/pyilmbase/metadata.xml b/dev-python/pyilmbase/metadata.xml new file mode 100644 index 000000000000..73126d2e6640 --- /dev/null +++ b/dev-python/pyilmbase/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>waebbl@gmail.com</email> + <name>Bernd Waibel</name> +</maintainer> +<maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> +</maintainer> +<longdescription>Provides python bindings for <pkg>media-libs/ilmbase</pkg></longdescription> +<use> + <flag name="numpy">Add bindings for <pkg>dev-python/numpy</pkg> use.</flag> +</use> +</pkgmetadata> 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 +} |