diff options
author | Hans de Graaff <graaff@gentoo.org> | 2021-03-27 07:31:43 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2021-03-27 07:31:43 +0100 |
commit | 225fb63ecd26b8cc30d24dc4b8f54d0e6cf2ffc0 (patch) | |
tree | 47b5fec64514f810c46ee3c5477622d58e25a0c4 /dev-ruby | |
parent | dev-ruby/marcel: add Apache-2.0 license (diff) | |
download | gentoo-225fb63ecd26b8cc30d24dc4b8f54d0e6cf2ffc0.tar.gz gentoo-225fb63ecd26b8cc30d24dc4b8f54d0e6cf2ffc0.tar.bz2 gentoo-225fb63ecd26b8cc30d24dc4b8f54d0e6cf2ffc0.zip |
dev-ruby/mimemagic: add 0.3.10
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/mimemagic/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/mimemagic/mimemagic-0.3.10.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/mimemagic/Manifest b/dev-ruby/mimemagic/Manifest index da60d05e6bad..70415e33b51c 100644 --- a/dev-ruby/mimemagic/Manifest +++ b/dev-ruby/mimemagic/Manifest @@ -1 +1,2 @@ +DIST mimemagic-0.3.10.tar.gz 56979 BLAKE2B 5a3113172747b911abe92ad8c20b04992ec4cea5eca91d6fe0c71c2aba14a0e5094a6d6cf710815ef8f728fe67c25151b5997e74b8dfb3c6de77b78960f054e2 SHA512 1c967509bb3ded1512859d9542fb56022debfe3864a63f2fd45c899a94e5c6aaab1e8714bfb797dc0719baf8bafbd3ba56c67d26d8c6c5f18c967ea6a2efea72 DIST mimemagic-0.3.9.tar.gz 56322 BLAKE2B 41904211bfd0912ef3a161a26c3568dd1cc39ba0a4170969fec7285dbb38302bc94b6bc088f96a1d68e1367deccc9c5616d047cd1946be96dd9e44a892d28f0c SHA512 139ccb23418c476425cd850d2268139b7f1657713ea706c95bf116535fde2ffb4b7902c62f057992d3fa02fee7520a31433c97cce084b7abb5682cffa12b82ce diff --git a/dev-ruby/mimemagic/mimemagic-0.3.10.ebuild b/dev-ruby/mimemagic/mimemagic-0.3.10.ebuild new file mode 100644 index 000000000000..95b97506ad87 --- /dev/null +++ b/dev-ruby/mimemagic/mimemagic-0.3.10.ebuild @@ -0,0 +1,36 @@ +# 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=mimemagic.gemspec + +inherit prefix ruby-fakegem + +DESCRIPTION="Fast mime detection by extension or content" +HOMEPAGE="https://github.com/mimemagicrb/mimemagic" +SRC_URI="https://github.com/mimemagicrb/mimemagic/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +RDEPEND+=" x11-misc/shared-mime-info" + +ruby_add_rdepend " + dev-ruby/nokogiri + dev-ruby/rake +" + +ruby_add_bdepend "test? ( dev-ruby/minitest )" + +all_ruby_prepare() { + cp "${FILESDIR}/${PN}-0.3.9-path.rb" lib/mimemagic/path.rb || die + eprefixify lib/mimemagic/path.rb + + sed -i -e 's/git ls-files/find * -print/' ${RUBY_FAKEGEM_GEMSPEC} || die +} |