public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Kent Fredric" <kentnl@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/File-LibMagic/
Date: Fri, 28 Aug 2020 23:47:27 +0000 (UTC)	[thread overview]
Message-ID: <1598658436.7673c9474da74a2a7c559d106c0c666bfee16cb1.kentnl@gentoo> (raw)

commit:     7673c9474da74a2a7c559d106c0c666bfee16cb1
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 28 23:45:05 2020 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> 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 <kentnl <AT> 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 @@
   <upstream>
     <remote-id type="cpan">File-LibMagic</remote-id>
     <remote-id type="cpan-module">File::LibMagic</remote-id>
+    <remote-id type="cpan-module">File::LibMagic::Constants</remote-id>
   </upstream>
 </pkgmetadata>


             reply	other threads:[~2020-08-28 23:47 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-28 23:47 Kent Fredric [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-25  4:46 [gentoo-commits] repo/gentoo:master commit in: dev-perl/File-LibMagic/ Sam James
2024-06-25  4:00 Sam James
2024-06-25  3:54 Sam James
2024-05-22  2:18 Sam James
2023-12-14  4:13 Sam James
2022-02-05  6:34 Sam James
2021-10-29 16:31 Andreas K. Hüttel
2021-06-07 16:16 Sam James
2021-06-07  6:28 Sergei Trofimovich
2021-06-07  6:25 Sergei Trofimovich
2021-06-06  7:14 Agostino Sarubbo
2021-06-02 14:33 Sergei Trofimovich
2020-10-19  5:22 Kent Fredric
2020-09-07  7:31 Sergei Trofimovich
2020-09-02  6:33 Sergei Trofimovich
2020-09-01  3:02 Sam James
2020-08-31  4:32 Sam James
2020-08-30 12:49 Kent Fredric
2020-08-21 13:10 Michael Orlitzky
2020-05-25  9:36 Sergei Trofimovich
2018-11-18 10:43 Sergei Trofimovich
2018-08-02 18:44 Sergei Trofimovich
2018-07-30 23:54 Mikle Kolyada
2018-07-28 20:26 Sergei Trofimovich
2018-07-28 13:24 Thomas Deutschmann
2018-07-27  7:12 Sergei Trofimovich
2016-10-02  7:32 Jeroen Roovers
2016-09-03 14:02 Michael Orlitzky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1598658436.7673c9474da74a2a7c559d106c0c666bfee16cb1.kentnl@gentoo \
    --to=kentnl@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox