dev-ruby/marcel: add 1.1.0

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2025-09-19 10:25:27 +02:00
parent 382da9e191
commit 4c380a8be3
2 changed files with 34 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST marcel-1.0.4.tar.gz 8340487 BLAKE2B 6f5260408de9997f8515619a661ea5b5293182a73cb45671aa2b5302e99b73b0ecb148acbeca2b8afdab8991fdd7ff789d2d79075fb5d37b0166c6a776802d03 SHA512 68811c3116ecafdea322c97637b3566102c21363de05678862fe1d9f1300ff6c0056449440169a69a353d77b568d0401930fbeac1651e0fea8189ae4960ce189
DIST marcel-1.1.0.tar.gz 8353868 BLAKE2B 88ca72d9c11da62052152fab9a8d49b170509365386efac281704b5e9722925aa3a8f7290e4dd26316bcffe0db49f1bafc45a529cd1585c12fc4bc415323020b SHA512 0465955f7cb0d8001d6116c5d3fef6bd6ab4a114cab5a8efb74e17ee53e2ab844aae935e716ddd522d266dd9bf0dd8a0e4e0f5aaee903d8cd61870f4de4617a1

View File

@@ -0,0 +1,33 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby32 ruby33 ruby34"
RUBY_FAKEGEM_BINWRAP=""
RUBY_FAKEGEM_EXTRADOC="README.md"
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
inherit ruby-fakegem
DESCRIPTION="Simple mime type detection using magic numbers, filenames, and extensions"
HOMEPAGE="https://github.com/rails/marcel"
SRC_URI="https://github.com/rails/marcel/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0 MIT"
SLOT="$(ver_cut 1-2)"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
IUSE="test"
ruby_add_bdepend "test? ( dev-ruby/rack:3.1 )"
all_ruby_prepare() {
sed -i \
-e '1igem "rack", "~> 3.1.0"' \
-e '2irequire "pathname"' \
test/test_helper.rb || die
sed -i -e '/bundler/ s:^:#:' Rakefile || die
}