diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-03-02 07:15:19 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-03-02 07:18:36 +0100 |
commit | 5f7bce51c88b39d471d0441d004baaecb92c7564 (patch) | |
tree | 7ccacaf6afb7b97ec8d7e98e02c93bdf23cd2f81 /dev-ruby/marcel | |
parent | app-shells/peco: drop 0.5.8 (diff) | |
download | gentoo-5f7bce51c88b39d471d0441d004baaecb92c7564.tar.gz gentoo-5f7bce51c88b39d471d0441d004baaecb92c7564.tar.bz2 gentoo-5f7bce51c88b39d471d0441d004baaecb92c7564.zip |
dev-ruby/marcel: add 1.0.4
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/marcel')
-rw-r--r-- | dev-ruby/marcel/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/marcel/marcel-1.0.4.ebuild | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/marcel/Manifest b/dev-ruby/marcel/Manifest index 68487f290d5f..442ea9b8f6d5 100644 --- a/dev-ruby/marcel/Manifest +++ b/dev-ruby/marcel/Manifest @@ -1,2 +1,3 @@ DIST marcel-1.0.2.tar.gz 8305198 BLAKE2B 264737cdb29852a186bf0e719748caca6c63626528f486dbefc3eedc7df6d7fe6f34e5cf68eb8b04f8b2b75c52bed59222d5f7bbcf60047cd5db7c4c935802ff SHA512 cd159545b246dcbd26ca07ac69e36ff13a965ac0e99ebd040c53b6a92f8ec8fd65786783c9a173d669fe6b32340a23d72c83c483011eec2e1097bdea73810ed6 DIST marcel-1.0.3.tar.gz 8340151 BLAKE2B d622007d8b1651696244751241f50b355275f99286a63d6a1777f0729afe6343d276ea4bc11cb5f4b6ba9ea8cfb9d3b1578556e338345b40b7f3b68cd0be976c SHA512 041ac547f3b3a307daff549e000a4e39d803753b9442a2627268a631d4376f6b2352cf2e1bfc33a2fd86c3cf6b2739833b5e3db6f597206ea41ab4ea26bdf251 +DIST marcel-1.0.4.tar.gz 8340487 BLAKE2B 6f5260408de9997f8515619a661ea5b5293182a73cb45671aa2b5302e99b73b0ecb148acbeca2b8afdab8991fdd7ff789d2d79075fb5d37b0166c6a776802d03 SHA512 68811c3116ecafdea322c97637b3566102c21363de05678862fe1d9f1300ff6c0056449440169a69a353d77b568d0401930fbeac1651e0fea8189ae4960ce189 diff --git a/dev-ruby/marcel/marcel-1.0.4.ebuild b/dev-ruby/marcel/marcel-1.0.4.ebuild new file mode 100644 index 000000000000..14e9c91fdd92 --- /dev/null +++ b/dev-ruby/marcel/marcel-1.0.4.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +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:2.2 )" + +all_ruby_prepare() { + sed -i \ + -e '1igem "rack", "~> 2.0"' \ + -e '2irequire "pathname"' \ + test/test_helper.rb || die + + sed -i -e '/bundler/ s:^:#:' Rakefile || die +} |