public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/ruby-filemagic/
Date: Sun, 24 Apr 2022 07:06:26 +0000 (UTC)	[thread overview]
Message-ID: <1650783979.709d004d4ec13e5c415d5bd648ed9e108072b0fc.graaff@gentoo> (raw)

commit:     709d004d4ec13e5c415d5bd648ed9e108072b0fc
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 24 06:27:58 2022 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Apr 24 07:06:19 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=709d004d

dev-ruby/ruby-filemagic: add 0.7.3

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/ruby-filemagic/Manifest                   |  1 +
 .../ruby-filemagic/ruby-filemagic-0.7.3.ebuild     | 41 ++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/dev-ruby/ruby-filemagic/Manifest b/dev-ruby/ruby-filemagic/Manifest
index 0db39a866a4d..a69c7dfd96db 100644
--- a/dev-ruby/ruby-filemagic/Manifest
+++ b/dev-ruby/ruby-filemagic/Manifest
@@ -1 +1,2 @@
 DIST ruby-filemagic-0.7.2.gem 19456 BLAKE2B 5008fb27a5b6bbd93522c72381b1c74788e544e6120f3c44f4a594b360ee783d4e92e73ef584a8e56c1776a5e5e824d6fa603df135b6e1779fa460c19c3bb4a7 SHA512 b68324dfb0cd2e55cd200696fabe87c0aa68a11922789ae40abc999db7d200810cffa2c414c07bc96e2fee54aab775f01752f951b3a3273289594201ca547494
+DIST ruby-filemagic-0.7.3.gem 18944 BLAKE2B 5694e4e2dfa4af05c6e9966715feaf1442c4c884b42fe98751af1a4fc74506461c9d42cd42cbe99ed341670950dda5c06ae5a23afb73bf8a88273f9ca6880cd6 SHA512 8bbc7fcb1dd7746061264ee433d501a842bfea30d7eff40b6dfb0f5c567192e6aa161e67181a474a4b805bb1adb9fa3bd43e314abf14c3ce3ac11d72598b2fc6

diff --git a/dev-ruby/ruby-filemagic/ruby-filemagic-0.7.3.ebuild b/dev-ruby/ruby-filemagic/ruby-filemagic-0.7.3.ebuild
new file mode 100644
index 000000000000..84da5465bfd0
--- /dev/null
+++ b/dev-ruby/ruby-filemagic/ruby-filemagic-0.7.3.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27 ruby30 ruby31"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="ChangeLog README TODO"
+
+RUBY_FAKEGEM_EXTENSIONS=(ext/filemagic/extconf.rb)
+RUBY_FAKEGEM_EXTENSION_LIBDIR="lib/filemagic"
+
+RUBY_FAKEGEM_TASK_TEST=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="Ruby binding to libmagic"
+HOMEPAGE="https://github.com/blackwinter/ruby-filemagic"
+
+LICENSE="Ruby"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
+IUSE=""
+
+DEPEND="${DEPEND} sys-apps/file test? ( >=sys-apps/file-5.30 )"
+RDEPEND="${RDEPEND} sys-apps/file"
+
+all_ruby_prepare() {
+	# Fix up broken test symlink and regenerate compiled magic file
+	pushd test || die
+	rm -f pylink && ln -s pyfile pylink || die
+	file -C -m perl || die
+	popd || die
+
+	sed -i -e '/test_check_compiled/aomit "different result with file 5.41"' test/filemagic_test.rb || die
+}
+
+each_ruby_test() {
+	find test
+	${RUBY} -Ctest -I../lib filemagic_test.rb || die
+}


             reply	other threads:[~2022-04-24  7:06 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-24  7:06 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-03  7:27 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/ruby-filemagic/ Hans de Graaff
2023-06-24 20:35 Hans de Graaff
2022-07-30  8:22 Hans de Graaff
2022-07-30  8:22 Hans de Graaff
2021-11-01  6:08 Hans de Graaff
2021-10-27 11:26 Hans de Graaff
2020-06-21  7:12 Hans de Graaff
2019-01-24  6:33 Hans de Graaff
2018-02-10  7:42 Hans de Graaff
2017-08-24  5:49 Hans de Graaff
2017-07-21  6:29 Hans de Graaff
2016-03-28 22:05 Manuel Rüger
2015-10-28  5:31 Hans de Graaff
2015-10-28  5:31 Hans de Graaff

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=1650783979.709d004d4ec13e5c415d5bd648ed9e108072b0fc.graaff@gentoo \
    --to=graaff@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