From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/mimemagic/
Date: Thu, 25 Nov 2021 12:27:43 +0000 (UTC) [thread overview]
Message-ID: <1637843246.30739e8504b43b6bd31d30088c5689d3b107c814.graaff@gentoo> (raw)
commit: 30739e8504b43b6bd31d30088c5689d3b107c814
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 21 09:06:30 2021 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Thu Nov 25 12:27:26 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30739e85
dev-ruby/mimemagic: mark extension as installed
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
dev-ruby/mimemagic/mimemagic-0.3.10-r1.ebuild | 41 ++++++++++++++++++++++++
dev-ruby/mimemagic/mimemagic-0.4.3-r1.ebuild | 45 +++++++++++++++++++++++++++
2 files changed, 86 insertions(+)
diff --git a/dev-ruby/mimemagic/mimemagic-0.3.10-r1.ebuild b/dev-ruby/mimemagic/mimemagic-0.3.10-r1.ebuild
new file mode 100644
index 000000000000..14cda3064dd1
--- /dev/null
+++ b/dev-ruby/mimemagic/mimemagic-0.3.10-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27 ruby30"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_GEMSPEC=mimemagic.gemspec
+
+inherit prefix ruby-fakegem
+
+DESCRIPTION="Fast mime detection by extension or content"
+HOMEPAGE="https://github.com/mimemagicrb/mimemagic"
+SRC_URI="https://github.com/mimemagicrb/mimemagic/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RDEPEND+=" x11-misc/shared-mime-info"
+
+ruby_add_rdepend "
+ dev-ruby/nokogiri
+ dev-ruby/rake
+"
+
+ruby_add_bdepend "test? ( dev-ruby/minitest )"
+
+all_ruby_prepare() {
+ cp "${FILESDIR}/${PN}-0.3.9-path.rb" lib/mimemagic/path.rb || die
+ eprefixify lib/mimemagic/path.rb
+
+ sed -i -e 's/git ls-files/find * -print/' ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+each_ruby_install() {
+ each_fakegem_install
+ ruby_fakegem_extensions_installed
+}
diff --git a/dev-ruby/mimemagic/mimemagic-0.4.3-r1.ebuild b/dev-ruby/mimemagic/mimemagic-0.4.3-r1.ebuild
new file mode 100644
index 000000000000..8b8fb492af14
--- /dev/null
+++ b/dev-ruby/mimemagic/mimemagic-0.4.3-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby25 ruby26 ruby27 ruby30"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_GEMSPEC=mimemagic.gemspec
+
+inherit prefix ruby-fakegem
+
+DESCRIPTION="Fast mime detection by extension or content"
+HOMEPAGE="https://github.com/mimemagicrb/mimemagic"
+SRC_URI="https://github.com/mimemagicrb/mimemagic/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RDEPEND+=" x11-misc/shared-mime-info"
+
+ruby_add_rdepend "
+ dev-ruby/nokogiri
+ dev-ruby/rake
+"
+
+ruby_add_bdepend "test? ( dev-ruby/minitest )"
+
+all_ruby_prepare() {
+ cp "${FILESDIR}/${PN}-0.3.9-path.rb" lib/mimemagic/path.rb || die
+ eprefixify lib/mimemagic/path.rb
+
+ sed -i -e 's/git ls-files/find * -print/' ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib:.:test -e 'Dir["test/**/*_test.rb"].each {|f| require f}' || die
+}
+
+each_ruby_install() {
+ each_fakegem_install
+ ruby_fakegem_extensions_installed
+}
next reply other threads:[~2021-11-25 12:27 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-25 12:27 Hans de Graaff [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-05 7:30 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/mimemagic/ Hans de Graaff
2024-06-01 7:04 Hans de Graaff
2023-12-29 7:18 Hans de Graaff
2023-12-29 7:18 Hans de Graaff
2023-03-31 1:03 Sam James
2023-03-27 8:35 Sam James
2022-03-27 10:32 Hans de Graaff
2021-07-09 6:55 Hans de Graaff
2021-07-09 6:55 Hans de Graaff
2021-03-27 6:33 Hans de Graaff
2021-03-26 7:04 Hans de Graaff
2020-08-09 9:47 Hans de Graaff
2020-08-09 9:47 Hans de Graaff
2020-01-30 12:03 Hans de Graaff
2019-11-03 7:46 Hans de Graaff
2019-02-01 11:01 Hans de Graaff
2019-01-03 19:23 Sergei Trofimovich
2019-01-03 19:23 Sergei Trofimovich
2018-12-21 6:29 Hans de Graaff
2018-08-06 8:16 Sergei Trofimovich
2018-06-12 11:36 Thomas Deutschmann
2018-02-04 15:15 Hans de Graaff
2018-02-04 15:15 Hans de Graaff
2017-07-10 6:04 Hans de Graaff
2016-08-03 6:19 Hans de Graaff
2016-03-02 21:58 Manuel Rüger
2016-01-05 6:07 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=1637843246.30739e8504b43b6bd31d30088c5689d3b107c814.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