Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyilmbase/
Date: Sat, 27 Feb 2021 16:38:43
Message-Id: 1614443834.0e851261a3c6551bfd7619f97ca9f180c4a4fec2.sam@gentoo
1 commit: 0e851261a3c6551bfd7619f97ca9f180c4a4fec2
2 Author: Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net>
3 AuthorDate: Sat Feb 27 14:22:32 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 27 16:37:14 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e851261
7
8 dev-python/pyilmbase: drop 2.5.4
9
10 Security cleanup. See #770229
11
12 Package-Manager: Portage-3.0.15, Repoman-3.0.2
13 Signed-off-by: Bernd Waibel <waebbl-gentoo <AT> posteo.net>
14 Signed-off-by: Sam James <sam <AT> gentoo.org>
15
16 dev-python/pyilmbase/Manifest | 1 -
17 dev-python/pyilmbase/pyilmbase-2.5.4.ebuild | 62 -----------------------------
18 2 files changed, 63 deletions(-)
19
20 diff --git a/dev-python/pyilmbase/Manifest b/dev-python/pyilmbase/Manifest
21 index d0688c7b6b1..7e8d99f7190 100644
22 --- a/dev-python/pyilmbase/Manifest
23 +++ b/dev-python/pyilmbase/Manifest
24 @@ -1,2 +1 @@
25 -DIST pyilmbase-2.5.4.tar.gz 27535491 BLAKE2B 8951383d31ceea49202e3b77999d71c261bc9a17433fb65debd446aefd62cc1f6776a4b37fb1161196135a8883a397a94496a2295a2e0d22bc43c59e2ad0eaa5 SHA512 f0fe305987981e0c7e5a854367702585e4935ad37b0e8c10dcbc7468ae3a6d34bf963ec9ec75cc3abe4cf00e359644476b643978d0289dca46c9785a25d3f7f1
26 DIST pyilmbase-2.5.5.tar.gz 27536865 BLAKE2B d0c0b2fd39b2cfafb60b6d0de3960063ff62341cf22be519f874c0c83f05cb604c5d503bb8b88514c71c5a54a79afa80a7fd00c2df15ec2193f6b3cffdc117c6 SHA512 e511af26a8fe2175a641fd25d2dcc6ef807e00bee2aff06a4784125f916ffd47fe376fe0621d385b604180a239bbfee063f8ceee3f7b731fde3c38558e9fdcdf
27
28 diff --git a/dev-python/pyilmbase/pyilmbase-2.5.4.ebuild b/dev-python/pyilmbase/pyilmbase-2.5.4.ebuild
29 deleted file mode 100644
30 index 223f1a8e4a3..00000000000
31 --- a/dev-python/pyilmbase/pyilmbase-2.5.4.ebuild
32 +++ /dev/null
33 @@ -1,62 +0,0 @@
34 -# Copyright 1999-2021 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -
39 -PYTHON_COMPAT=( python3_{7..9} )
40 -inherit cmake python-single-r1
41 -
42 -DESCRIPTION="IlmBase Python bindings"
43 -HOMEPAGE="https://www.openexr.com"
44 -SRC_URI="https://github.com/AcademySoftwareFoundation/openexr/archive/v${PV}.tar.gz -> ${P}.tar.gz"
45 -
46 -LICENSE="BSD"
47 -SLOT="0/25"
48 -KEYWORDS="~amd64 ~x86"
49 -IUSE="exceptions +numpy test"
50 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
51 -RESTRICT="!test? ( test )"
52 -
53 -RDEPEND="
54 - ${PYTHON_DEPS}
55 - ~media-libs/ilmbase-${PV}:=
56 - sys-libs/zlib
57 - $(python_gen_cond_dep '
58 - >=dev-libs/boost-1.62.0-r1:=[python,${PYTHON_MULTI_USEDEP}]
59 - numpy? ( >=dev-python/numpy-1.10.4[${PYTHON_MULTI_USEDEP}] )
60 - ')
61 -"
62 -DEPEND="${RDEPEND}"
63 -BDEPEND="
64 - app-admin/chrpath
65 - virtual/pkgconfig
66 -"
67 -
68 -S="${WORKDIR}/openexr-${PV}/PyIlmBase"
69 -
70 -PATCHES=(
71 - "${FILESDIR}"/${PN}-2.5.2-0001-Fix-pkgconfig-file-for-PyIlmBase-to-include-prefixes.patch
72 -)
73 -
74 -DOCS=( README.md )
75 -
76 -src_configure() {
77 - local mycmakeargs=(
78 - -DCMAKE_DISABLE_FIND_PACKAGE_Python2=ON
79 - -DPYILMBASE_INSTALL_PKG_CONFIG=ON
80 - -DPYIMATH_ENABLE_EXCEPTIONS=$(usex exceptions)
81 - -DPython3_EXECUTABLE="${PYTHON}"
82 - -DPython3_INCLUDE_DIR=$(python_get_includedir)
83 - -DPython3_LIBRARY=$(python_get_library_path)
84 - )
85 - cmake_src_configure
86 -}
87 -
88 -src_install() {
89 - cmake_src_install
90 - if use numpy; then
91 - python_domodule "${BUILD_DIR}/${EPYTHON/./_}/imathnumpy.so"
92 - chmod +x "${D}/$(python_get_sitedir)/imathnumpy.so" || die
93 - chrpath -d "${D}/$(python_get_sitedir)/imathnumpy.so" || die
94 - fi
95 -}