summaryrefslogtreecommitdiff
path: root/dev-ruby/magic
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-ruby/magic
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ruby/magic')
-rw-r--r--dev-ruby/magic/Manifest5
-rw-r--r--dev-ruby/magic/magic-0.2.9.ebuild31
-rw-r--r--dev-ruby/magic/metadata.xml11
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-ruby/magic/Manifest b/dev-ruby/magic/Manifest
new file mode 100644
index 000000000000..09879009af87
--- /dev/null
+++ b/dev-ruby/magic/Manifest
@@ -0,0 +1,5 @@
+DIST magic-0.2.9.tar.gz 11642 SHA256 dabc0278a8a22b2cc19195cbeca6de014be770de2864c0e800be266623feaeeb SHA512 5bc6d6e1b2646b12af7dad15273dc125db68be2d6e6c109484339c8f651349827a90ea81d8feb0441c5811567d85130cda35167e2dbb426842f952fc2ff8ea15 WHIRLPOOL 1ee21f1810df75470c678b6dbf4e39680e72394a7ec20cc687d03a16d6d77b86b87ff42b858eccefc42aa3e1a475bcd482c66dffcc45b46ac0bbba71c1d186ec
+EBUILD magic-0.2.9.ebuild 715 SHA256 cf9803d6105c852e3c64d5b4aedf4ed6ebaf205ec903bccd5c82e1fc44b2f2b9 SHA512 f163973daaf4f606338d9b477fd3d2e2c4c0e9acb4d1f748ebfa4253c6345cedb2e514031771c22ecd14e747e0fbf8a762bf3dc62a8b7de675cf3efca653a1e8 WHIRLPOOL 225263640c442152867daee0505a7a108dea57fcc72e18728aac92814d8463ac48123df8c68ce4d3c790b4ad7962f067bf04f16ee7b2e0b65a004b034bf1aa54
+MISC ChangeLog 2660 SHA256 55336e4ed59ddddcb495450da515180cedefc1af121d03a1a0a96f43c05f0ee9 SHA512 63c7d1ac21c866544e438e066b8ff7532a87ad54a8c04c83a9f894826ba1d35073324bb0ec52d27a8605220830b5ac987512939a44a3c55d6a60b0df875bd27e WHIRLPOOL 8600317fa884ae5b73b65a25e36fa158e27aca34a551fbe23ffcb35f4eeab7e21bcd7fa7b4d7b7699ac4a97f3ecef0f7a0e5de8188233c0f44bf90554a6703b7
+MISC ChangeLog-2015 1397 SHA256 447abd941ff5b48c5ab54f43c10587e68a2dbad4076c039a59d7021e59327e93 SHA512 f17bf02b522ec6f8c16d3df71084ba1ba1c52a1a10df1f16c5bbaf54c64f2fde31ae374ce843059a7562cf2749b3790503122317241c91211b61b591d0a8d233 WHIRLPOOL f93b5c303482d7c19d3136ba0116d52f0b4cc35d4c2e845b2f644a54e3b686b9d3203056316cc07895085095ea116f5d8b688a6c2a0c6aaf1c6df59fc1b40850
+MISC metadata.xml 338 SHA256 056adb1ca5a65c5dec9e19be33f8c468dc71ff3ff17501197a2ab11aa92854eb SHA512 db6b9f165aa7ee6e276f417dc31297ed6ba53ba7a08c4fdb579fa33a936ba16e586756a991ea540f492dc8d4c99145bb2514f7b9ad065d2da673f20e4f47edf4 WHIRLPOOL eea6048a20ef8db0d5256c0b2773da09acab19749241216eaebda4a856506c0321a8610356b515047d71bf5e53f87d6b3212cad31f73919a5b8cb0e44a1f2b65
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..70729b4d35d1
--- /dev/null
+++ b/dev-ruby/magic/magic-0.2.9.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
+
+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>