summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-04-03 07:57:33 +0200
committerHans de Graaff <graaff@gentoo.org>2021-04-04 08:53:50 +0200
commitcb50b9b23db2cf2bb0a285cbff075168aa343b67 (patch)
tree80f94d4ff895efcc06b1ffdee167d8162a2befc7
parentdev-ruby/liquid: add 5.0.1 (diff)
downloadgentoo-cb50b9b23db2cf2bb0a285cbff075168aa343b67.tar.gz
gentoo-cb50b9b23db2cf2bb0a285cbff075168aa343b67.tar.bz2
gentoo-cb50b9b23db2cf2bb0a285cbff075168aa343b67.zip
dev-ruby/marcel: add 1.0.1
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r--dev-ruby/marcel/Manifest1
-rw-r--r--dev-ruby/marcel/marcel-1.0.1.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/marcel/Manifest b/dev-ruby/marcel/Manifest
index e8c3dc18b7f5..ec31e4232cf0 100644
--- a/dev-ruby/marcel/Manifest
+++ b/dev-ruby/marcel/Manifest
@@ -1,2 +1,3 @@
DIST marcel-0.3.3.tar.gz 7845456 BLAKE2B e27d851119f434144a790cd1bfb1ca21662357b1875ae9193273e00c5abc6156c217efeb961356d4967d984b4c8fb4b4047620fa5d0448cc20651aa1ce05bb69 SHA512 d9be185fd6f5185fc67f3eed931ecf3084da671840b6e464bf341f51c9dec4ab1b4650abd1916e640b7caced230d6cb90370bffb559151e0047a8b03211dc751
DIST marcel-1.0.0.tar.gz 7929941 BLAKE2B b8f956e9876a86f26ceb789d59da4821d512f83fe619b81a6ebf4c638a03eda245d617a504ff24ad89295797ca98473f613eb46f635f45382ba4e6ce92c57b1d SHA512 1c8addecc7ab2a7c58a22ff114f3bc453e7cf8f620cd212a4213da4743e5992d2becf947bdf91ce8976b8c0819ed6799bfcddc1948ab08713e9b01dd2410954e
+DIST marcel-1.0.1.tar.gz 7978633 BLAKE2B f65489e7a398099b8856d6bdffdcded56547a601d8d23f4094673694904b00a9aecb545aebee8863a2f7b52fc36956450ed293b725971e65fdb0c275ec39bb2d SHA512 d72580e6bc626173e17485996773eef895c44eae26c0695b6aec16a5b194e8cf23693b1a1b981bdbbadf1256b91c8918896ba69fada9897287613ce17c4ae533
diff --git a/dev-ruby/marcel/marcel-1.0.1.ebuild b/dev-ruby/marcel/marcel-1.0.1.ebuild
new file mode 100644
index 000000000000..e7b50e045730
--- /dev/null
+++ b/dev-ruby/marcel/marcel-1.0.1.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="Apache-2.0 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
+}