diff options
author | Hans de Graaff <graaff@gentoo.org> | 2021-03-27 07:26:04 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2021-03-27 07:26:04 +0100 |
commit | bf0fca379b3f9ce24f8c5f59dc66918642c6995c (patch) | |
tree | a998b0dac76736d7be1a546d1b2e4fb16e8cfd48 /dev-ruby | |
parent | dev-ruby/rack: add ruby30 (diff) | |
download | gentoo-bf0fca379b3f9ce24f8c5f59dc66918642c6995c.tar.gz gentoo-bf0fca379b3f9ce24f8c5f59dc66918642c6995c.tar.bz2 gentoo-bf0fca379b3f9ce24f8c5f59dc66918642c6995c.zip |
dev-ruby/marcel: add 1.0.0
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/marcel/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/marcel/marcel-1.0.0.ebuild | 28 |
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/marcel/Manifest b/dev-ruby/marcel/Manifest index a1304b1415da..e8c3dc18b7f5 100644 --- a/dev-ruby/marcel/Manifest +++ b/dev-ruby/marcel/Manifest @@ -1 +1,2 @@ DIST marcel-0.3.3.tar.gz 7845456 BLAKE2B e27d851119f434144a790cd1bfb1ca21662357b1875ae9193273e00c5abc6156c217efeb961356d4967d984b4c8fb4b4047620fa5d0448cc20651aa1ce05bb69 SHA512 d9be185fd6f5185fc67f3eed931ecf3084da671840b6e464bf341f51c9dec4ab1b4650abd1916e640b7caced230d6cb90370bffb559151e0047a8b03211dc751 +DIST marcel-1.0.0.tar.gz 7929941 BLAKE2B b8f956e9876a86f26ceb789d59da4821d512f83fe619b81a6ebf4c638a03eda245d617a504ff24ad89295797ca98473f613eb46f635f45382ba4e6ce92c57b1d SHA512 1c8addecc7ab2a7c58a22ff114f3bc453e7cf8f620cd212a4213da4743e5992d2becf947bdf91ce8976b8c0819ed6799bfcddc1948ab08713e9b01dd2410954e diff --git a/dev-ruby/marcel/marcel-1.0.0.ebuild b/dev-ruby/marcel/marcel-1.0.0.ebuild new file mode 100644 index 000000000000..08a72a1a2bee --- /dev/null +++ b/dev-ruby/marcel/marcel-1.0.0.ebuild @@ -0,0 +1,28 @@ +# 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="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Simple mime type detection using magic numbers, filenames, and extensions" +HOMEPAGE="https://github.com/basecamp/marcel" +SRC_URI="https://github.com/basecamp/marcel/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/rack )" + +all_ruby_prepare() { + sed -i -e '2irequire "pathname"' test/test_helper.rb || die + + sed -i -e '/bundler/ s:^:#:' Rakefile || die +} |