summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-09-22 07:34:17 +0200
committerHans de Graaff <graaff@gentoo.org>2021-09-22 07:34:17 +0200
commitc7b36c62b5436d0321100ec3ba767b28f7c73ff9 (patch)
tree2d9b3d61c72ff6f789b70fe8bde19094bd45f6a2
parentmedia-sound/sox: removed 14.4.2_p20200803-r3 (diff)
downloadgentoo-c7b36c62b5436d0321100ec3ba767b28f7c73ff9.tar.gz
gentoo-c7b36c62b5436d0321100ec3ba767b28f7c73ff9.tar.bz2
gentoo-c7b36c62b5436d0321100ec3ba767b28f7c73ff9.zip
dev-ruby/marcel: add 1.0.2
Package-Manager: Portage-3.0.20, Repoman-3.0.3 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.2.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/marcel/Manifest b/dev-ruby/marcel/Manifest
index ec31e4232cf..1a32a7ec10a 100644
--- a/dev-ruby/marcel/Manifest
+++ b/dev-ruby/marcel/Manifest
@@ -1,3 +1,4 @@
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
+DIST marcel-1.0.2.tar.gz 8305198 BLAKE2B 264737cdb29852a186bf0e719748caca6c63626528f486dbefc3eedc7df6d7fe6f34e5cf68eb8b04f8b2b75c52bed59222d5f7bbcf60047cd5db7c4c935802ff SHA512 cd159545b246dcbd26ca07ac69e36ff13a965ac0e99ebd040c53b6a92f8ec8fd65786783c9a173d669fe6b32340a23d72c83c483011eec2e1097bdea73810ed6
diff --git a/dev-ruby/marcel/marcel-1.0.2.ebuild b/dev-ruby/marcel/marcel-1.0.2.ebuild
new file mode 100644
index 00000000000..822c13dedc8
--- /dev/null
+++ b/dev-ruby/marcel/marcel-1.0.2.ebuild
@@ -0,0 +1,28 @@
+# 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="${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"' -e '/byebug/ s:^:#:' test/test_helper.rb || die
+
+ sed -i -e '/bundler/ s:^:#:' Rakefile || die
+}