diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-ruby/magic | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ruby/magic')
-rw-r--r-- | dev-ruby/magic/Manifest | 3 | ||||
-rw-r--r-- | dev-ruby/magic/magic-0.2.9.ebuild | 31 | ||||
-rw-r--r-- | dev-ruby/magic/metadata.xml | 11 |
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-ruby/magic/Manifest b/dev-ruby/magic/Manifest new file mode 100644 index 000000000000..d5fc259d7034 --- /dev/null +++ b/dev-ruby/magic/Manifest @@ -0,0 +1,3 @@ +DIST magic-0.2.9.tar.gz 11642 BLAKE2B 1208e40e1c95ebd8a31f71d860b68acf9663a165fa5f775459f874d79f41c51268a0f0be5d9f6ca416b85a838879d179ccbc10e40047cba1e330f891dbd6297c SHA512 5bc6d6e1b2646b12af7dad15273dc125db68be2d6e6c109484339c8f651349827a90ea81d8feb0441c5811567d85130cda35167e2dbb426842f952fc2ff8ea15 +EBUILD magic-0.2.9.ebuild 708 BLAKE2B d98fb9e46c19981b77de1fe0400c37d4837808c05519d1fd52770e4ccd234926d9d2a0ee6b7930b8dcd55b925510ed71e2dec8b78adcdfde26516c5b6f4c91c7 SHA512 a451e5924cdfd9447523a61b63719b7dc0b11964884aadc115e17102c2d5ee1c4996d63258cf1315c6926b6a1b99c5d7ff2cfbdc6a5447c787ce4c7bfbfcb848 +MISC metadata.xml 338 BLAKE2B f81dd992467b77188ca7dab18afb9a054899aa7317e417f6564e0857267e5f644b9ddd04b1877190050ea6a90eb4c3a6946ee240532f5b62449f5f4a518e78c9 SHA512 db6b9f165aa7ee6e276f417dc31297ed6ba53ba7a08c4fdb579fa33a936ba16e586756a991ea540f492dc8d4c99145bb2514f7b9ad065d2da673f20e4f47edf4 diff --git a/dev-ruby/magic/magic-0.2.9.ebuild b/dev-ruby/magic/magic-0.2.9.ebuild new file mode 100644 index 000000000000..637093b9cdbf --- /dev/null +++ b/dev-ruby/magic/magic-0.2.9.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby22 ruby23 ruby24" + +RUBY_FAKEGEM_EXTRADOC="README.rdoc" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="none" + +inherit ruby-fakegem + +SRC_URI="https://github.com/qoobaa/magic/archive/v${PV}.tar.gz -> ${P}.tar.gz" +DESCRIPTION="Ruby FFI bindings to libmagic" +HOMEPAGE="https://github.com/qoobaa/magic" + +IUSE="test" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND+="sys-apps/file" +DEPEND+="test? ( sys-apps/file )" + +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )" +ruby_add_rdepend "virtual/ruby-ffi" + +each_ruby_test() { + ${RUBY} -Ilib -Itest test/test_magic.rb || die +} diff --git a/dev-ruby/magic/metadata.xml b/dev-ruby/magic/metadata.xml new file mode 100644 index 000000000000..5c70aa7e1b66 --- /dev/null +++ b/dev-ruby/magic/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">qoobaa/magic</remote-id> + </upstream> +</pkgmetadata> |