Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/elfutils/
Date: Sun, 06 Sep 2020 08:34:51
Message-Id: 1599381280.f560326ae8cbd5e64c02d8d21ab785a48ed66fb8.slyfox@gentoo
1 commit: f560326ae8cbd5e64c02d8d21ab785a48ed66fb8
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 6 08:30:54 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 6 08:34:40 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f560326a
7
8 dev-libs/elfutils: drop old
9
10 Package-Manager: Portage-3.0.5, Repoman-3.0.1
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 dev-libs/elfutils/Manifest | 1 -
14 dev-libs/elfutils/elfutils-0.177.ebuild | 78 ---------------------------------
15 2 files changed, 79 deletions(-)
16
17 diff --git a/dev-libs/elfutils/Manifest b/dev-libs/elfutils/Manifest
18 index 91accd0a2a1..f8c5896077e 100644
19 --- a/dev-libs/elfutils/Manifest
20 +++ b/dev-libs/elfutils/Manifest
21 @@ -1,2 +1 @@
22 -DIST elfutils-0.177.tar.bz2 8852413 BLAKE2B 03f432342651f7646d73b7847325bd14b722ce34d85df01b1ad072b916af9b9da2d0d119cd24e952073bd584ec76b027ba9b6c7d45fb057372b3e700b1f5741a SHA512 2779987463a22ed220759e25a09c9a1eb84c0f36db37675136e59aa55c7f8f90b7a7d34ffc4e6a4291d7fa73692a1bd1a303a74270b11d1623b4f9868d19498f
23 DIST elfutils-0.180.tar.bz2 9079640 BLAKE2B bd7863b82a71d2932a23c9d125d5eb6485977a3256a8a0b25980183d33f7345c3d9fae78277de5c955eb0ceeb955f8fa71d209f4f39bcf6dd49e46a8bbd7efcf SHA512 62e96035ccfe8928baca2285decbe8b8703a2daa956df81ece18fecf643272fb68955806b3e807a514141a7a9bf44520bf09461672aa580bd6807485fb604d25
24
25 diff --git a/dev-libs/elfutils/elfutils-0.177.ebuild b/dev-libs/elfutils/elfutils-0.177.ebuild
26 deleted file mode 100644
27 index e0fb96346a9..00000000000
28 --- a/dev-libs/elfutils/elfutils-0.177.ebuild
29 +++ /dev/null
30 @@ -1,78 +0,0 @@
31 -# Copyright 2003-2020 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -inherit flag-o-matic multilib-minimal
37 -
38 -DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)"
39 -HOMEPAGE="http://elfutils.org/"
40 -SRC_URI="https://sourceware.org/elfutils/ftp/${PV}/${P}.tar.bz2"
41 -
42 -LICENSE="|| ( GPL-2+ LGPL-3+ ) utils? ( GPL-3+ )"
43 -SLOT="0"
44 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux"
45 -IUSE="bzip2 lzma nls static-libs test +threads +utils"
46 -
47 -RDEPEND=">=sys-libs/zlib-1.2.8-r1[static-libs?,${MULTILIB_USEDEP}]
48 - bzip2? ( >=app-arch/bzip2-1.0.6-r4[static-libs?,${MULTILIB_USEDEP}] )
49 - lzma? ( >=app-arch/xz-utils-5.0.5-r1[static-libs?,${MULTILIB_USEDEP}] )
50 - !dev-libs/libelf"
51 -DEPEND="${RDEPEND}"
52 -BDEPEND="nls? ( sys-devel/gettext )
53 - >=sys-devel/flex-2.5.4a
54 - sys-devel/m4"
55 -
56 -RESTRICT="!test? ( test )"
57 -
58 -PATCHES=(
59 - "${FILESDIR}"/${PN}-0.118-PaX-support.patch
60 - "${FILESDIR}"/${PN}-0.175-disable-biarch-test-PR24158.patch
61 - "${FILESDIR}"/${PN}-0.177-disable-large.patch
62 -)
63 -
64 -src_prepare() {
65 - default
66 -
67 - if ! use static-libs; then
68 - sed -i -e '/^lib_LIBRARIES/s:=.*:=:' -e '/^%.os/s:%.o$::' lib{asm,dw,elf}/Makefile.in || die
69 - fi
70 - # https://sourceware.org/PR23914
71 - sed -i 's:-Werror::' */Makefile.in || die
72 -}
73 -
74 -src_configure() {
75 - use test && append-flags -g #407135
76 -
77 - # Symbol aliases are implemented as asm statements.
78 - # Will require porting: https://gcc.gnu.org/PR48200
79 - filter-flags '-flto*'
80 -
81 - multilib-minimal_src_configure
82 -}
83 -
84 -multilib_src_configure() {
85 - ECONF_SOURCE="${S}" econf \
86 - $(use_enable nls) \
87 - $(use_enable threads thread-safety) \
88 - --program-prefix="eu-" \
89 - --with-zlib \
90 - $(use_with bzip2 bzlib) \
91 - $(use_with lzma)
92 -}
93 -
94 -multilib_src_test() {
95 - env LD_LIBRARY_PATH="${BUILD_DIR}/libelf:${BUILD_DIR}/libebl:${BUILD_DIR}/libdw:${BUILD_DIR}/libasm" \
96 - LC_ALL="C" \
97 - emake check VERBOSE=1
98 -}
99 -
100 -multilib_src_install_all() {
101 - einstalldocs
102 - dodoc NOTES
103 - # These build quick, and are needed for most tests, so don't
104 - # disable their building when the USE flag is disabled.
105 - if ! use utils; then
106 - rm -rf "${ED}"/usr/bin || die
107 - fi
108 -}