From 463397cf1e064185110fe57c568d73f99a06f5d1 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 17 Feb 2021 10:35:54 +0000 Subject: gentoo resync : 17.02.2021 --- dev-python/pyilmbase/Manifest | 2 + dev-python/pyilmbase/pyilmbase-2.5.5.ebuild | 62 +++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 dev-python/pyilmbase/pyilmbase-2.5.5.ebuild (limited to 'dev-python/pyilmbase') diff --git a/dev-python/pyilmbase/Manifest b/dev-python/pyilmbase/Manifest index 9eca17a42e71..7d6e81251e5f 100644 --- a/dev-python/pyilmbase/Manifest +++ b/dev-python/pyilmbase/Manifest @@ -1,6 +1,8 @@ AUX pyilmbase-2.5.2-0001-Fix-pkgconfig-file-for-PyIlmBase-to-include-prefixes.patch 1192 BLAKE2B 7590379873fd2be694a70d272a082fe6916e596f3b0945bc5f6c390880cc31e6b07da9bcedeb4e9bb048cd50f87ccff5b61857903f0e295af37dc005e4792a7e SHA512 7ef4a769086e5cf62cd3ad18bb169578da5557bb7006250f7dc13e6b623e46e2805ec9b51926f0eba27fb414eecf2f0017dc282f67ee639edf013ff135c54086 DIST pyilmbase-2.5.2.tar.gz 27525326 BLAKE2B c48a61513457f2c04f3a512963ae27eaf154933ffe7c6ff3e2d71f27f246ae624a34dbe6f8ab500c51a56898ad0f61e6784f5cd3f9c3df591ce347b46ba4ac88 SHA512 62f98695cf56600303db9c2d13d34cacc1851a103d8ffb7e7ce8c6d9d14e6bf02804836c718ae03e8d685ef3dda0cf7b2130e2d363f8095b22a15bf30d706fab DIST pyilmbase-2.5.4.tar.gz 27535491 BLAKE2B 8951383d31ceea49202e3b77999d71c261bc9a17433fb65debd446aefd62cc1f6776a4b37fb1161196135a8883a397a94496a2295a2e0d22bc43c59e2ad0eaa5 SHA512 f0fe305987981e0c7e5a854367702585e4935ad37b0e8c10dcbc7468ae3a6d34bf963ec9ec75cc3abe4cf00e359644476b643978d0289dca46c9785a25d3f7f1 +DIST pyilmbase-2.5.5.tar.gz 27536865 BLAKE2B d0c0b2fd39b2cfafb60b6d0de3960063ff62341cf22be519f874c0c83f05cb604c5d503bb8b88514c71c5a54a79afa80a7fd00c2df15ec2193f6b3cffdc117c6 SHA512 e511af26a8fe2175a641fd25d2dcc6ef807e00bee2aff06a4784125f916ffd47fe376fe0621d385b604180a239bbfee063f8ceee3f7b731fde3c38558e9fdcdf EBUILD pyilmbase-2.5.2-r1.ebuild 1482 BLAKE2B b7145c71881dc1a9dd07428adead308ab5e11797bf6c73e54e0fd85f047e30467c3d9aa15eed78372043de9328b29366b38d954f6a5a1ea83546f3c53d787e29 SHA512 ec730c7d8fae912b524a07000e09a9b54ec101b964d379c252ba08d1c01973c9efdbe39152459e167847b60a7dc663c9b6f2073e7a1842a8e8c90b991afbe78f EBUILD pyilmbase-2.5.4.ebuild 1529 BLAKE2B 3f5b87fc5883a5af729d930a03a217bea0ffcdc9c41bdff9a0d5de017dd3937de4c7f34ff2fcff7deb3bd5c3e4daa645ff0d94b8210e8e96b13aca64b38f191e SHA512 26c197da6cb9ddf0404454bf929499cc328989ec4c0722e2f52ecbe81f6d8c0be5c515602c917115db5a6021d49ca70b130068738c1c18d14b25a3bcc1b43506 +EBUILD pyilmbase-2.5.5.ebuild 1529 BLAKE2B 3f5b87fc5883a5af729d930a03a217bea0ffcdc9c41bdff9a0d5de017dd3937de4c7f34ff2fcff7deb3bd5c3e4daa645ff0d94b8210e8e96b13aca64b38f191e SHA512 26c197da6cb9ddf0404454bf929499cc328989ec4c0722e2f52ecbe81f6d8c0be5c515602c917115db5a6021d49ca70b130068738c1c18d14b25a3bcc1b43506 MISC metadata.xml 660 BLAKE2B e1a4d9bf411ee4d67651d4783313d813652953abaae6b04b2e1fb11bea190f2d8611778fba87623ba859b6792225759686fcdce3f7b7690f569e64bac733f2a9 SHA512 740e753bc83c71ffd08c20d33a34a3fce7537d87b168d5ccec51f0810c1253e237fa6a97dba18651f17a8d9fa4a730d3d916ee46731efaae817651282e37c219 diff --git a/dev-python/pyilmbase/pyilmbase-2.5.5.ebuild b/dev-python/pyilmbase/pyilmbase-2.5.5.ebuild new file mode 100644 index 000000000000..223f1a8e4a37 --- /dev/null +++ b/dev-python/pyilmbase/pyilmbase-2.5.5.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) +inherit cmake python-single-r1 + +DESCRIPTION="IlmBase Python bindings" +HOMEPAGE="https://www.openexr.com" +SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/25" +KEYWORDS="~amd64 ~x86" +IUSE="exceptions +numpy test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +RDEPEND=" + ${PYTHON_DEPS} + ~media-libs/ilmbase-${PV}:= + sys-libs/zlib + $(python_gen_cond_dep ' + >=dev-libs/boost-1.62.0-r1:=[python,${PYTHON_MULTI_USEDEP}] + numpy? ( >=dev-python/numpy-1.10.4[${PYTHON_MULTI_USEDEP}] ) + ') +" +DEPEND="${RDEPEND}" +BDEPEND=" + app-admin/chrpath + virtual/pkgconfig +" + +S="${WORKDIR}/openexr-${PV}/PyIlmBase" + +PATCHES=( + "${FILESDIR}"/${PN}-2.5.2-0001-Fix-pkgconfig-file-for-PyIlmBase-to-include-prefixes.patch +) + +DOCS=( README.md ) + +src_configure() { + local mycmakeargs=( + -DCMAKE_DISABLE_FIND_PACKAGE_Python2=ON + -DPYILMBASE_INSTALL_PKG_CONFIG=ON + -DPYIMATH_ENABLE_EXCEPTIONS=$(usex exceptions) + -DPython3_EXECUTABLE="${PYTHON}" + -DPython3_INCLUDE_DIR=$(python_get_includedir) + -DPython3_LIBRARY=$(python_get_library_path) + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + if use numpy; then + python_domodule "${BUILD_DIR}/${EPYTHON/./_}/imathnumpy.so" + chmod +x "${D}/$(python_get_sitedir)/imathnumpy.so" || die + chrpath -d "${D}/$(python_get_sitedir)/imathnumpy.so" || die + fi +} -- cgit v1.2.3