From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 04D56138359 for ; Fri, 28 Aug 2020 23:47:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 397E2E07FA; Fri, 28 Aug 2020 23:47:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C4BACE07FA for ; Fri, 28 Aug 2020 23:47:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6CDB4335CD6 for ; Fri, 28 Aug 2020 23:47:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E25AE2D1 for ; Fri, 28 Aug 2020 23:47:27 +0000 (UTC) From: "Kent Fredric" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Kent Fredric" Message-ID: <1598658436.7673c9474da74a2a7c559d106c0c666bfee16cb1.kentnl@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/File-LibMagic/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-perl/File-LibMagic/File-LibMagic-1.220.0-r1.ebuild dev-perl/File-LibMagic/metadata.xml X-VCS-Directories: dev-perl/File-LibMagic/ X-VCS-Committer: kentnl X-VCS-Committer-Name: Kent Fredric X-VCS-Revision: 7673c9474da74a2a7c559d106c0c666bfee16cb1 X-VCS-Branch: master Date: Fri, 28 Aug 2020 23:47:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 055ed271-74bf-485f-b891-ff67c930e73b X-Archives-Hash: 00e30e9b836e1e3b1fe93ce4c07a56a2 commit: 7673c9474da74a2a7c559d106c0c666bfee16cb1 Author: Kent Fredric gentoo org> AuthorDate: Fri Aug 28 23:45:05 2020 +0000 Commit: Kent Fredric gentoo org> CommitDate: Fri Aug 28 23:47:16 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7673c947 dev-perl/File-LibMagic: -r bump for toolchain love + fixes - Remove rm-files logic from src_prepare (the files are gone upstream) - Fix being broken by LD being set in ENV to an actual LD instead of a CCLD - Ensure CFLAGS passed to make/compiler, but much more differently than is usually done due to some fun behaviour upstream that breaks binary asset persistence between 'make' calls. - Add missing remote-id's - Add missing (virtual) dependencies. Bug: https://github.com/houseabsolute/File-LibMagic/issues/28 Package-Manager: Portage-3.0.4, Repoman-2.3.22 Signed-off-by: Kent Fredric gentoo.org> .../File-LibMagic/File-LibMagic-1.220.0-r1.ebuild | 50 ++++++++++++++++++++++ dev-perl/File-LibMagic/metadata.xml | 1 + 2 files changed, 51 insertions(+) diff --git a/dev-perl/File-LibMagic/File-LibMagic-1.220.0-r1.ebuild b/dev-perl/File-LibMagic/File-LibMagic-1.220.0-r1.ebuild new file mode 100644 index 00000000000..c2d48c90888 --- /dev/null +++ b/dev-perl/File-LibMagic/File-LibMagic-1.220.0-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DIST_AUTHOR="DROLSKY" +DIST_VERSION="1.22" + +inherit perl-module + +DESCRIPTION="Perl wrapper for libmagic" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + sys-apps/file + virtual/perl-Carp + virtual/perl-Exporter + virtual/perl-XSLoader + virtual/perl-Scalar-List-Utils +" +BDEPEND="${RDEPEND} + dev-perl/Config-AutoConf + virtual/perl-ExtUtils-CBuilder + virtual/perl-ExtUtils-MakeMaker + test? ( + virtual/perl-File-Spec + virtual/perl-File-Temp + dev-perl/Test-Fatal + >=virtual/perl-Test-Simple-0.960.0 + ) +" +src_configure() { + unset LD + [[ -n "${CCLD}" ]] && export LD="${CCLD}" + # Note: the usual approach of passing this to compile doesn't work here + # as something is weird and recompiles the code 3 times, once in `make`, + # once in `make test` and once again in `make install`, the latter clobbering + # the same files generated in other passes. The only sane way to avoid this is + # to convince EUMM to hardcode the settings in Makefile, and at least then, it does + # the same thing in all 3 stages. BUT THIS SHOULDNT BE HAPPENING + # https://github.com/houseabsolute/File-LibMagic/issues/28 + myconf=( + "OPTIMIZE=${CFLAGS}" + ) + perl-module_src_configure +} diff --git a/dev-perl/File-LibMagic/metadata.xml b/dev-perl/File-LibMagic/metadata.xml index 89daaefc1d5..f40eb4f38cd 100644 --- a/dev-perl/File-LibMagic/metadata.xml +++ b/dev-perl/File-LibMagic/metadata.xml @@ -14,5 +14,6 @@ File-LibMagic File::LibMagic + File::LibMagic::Constants