summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-07-03 10:11:12 +0000
committerHans de Graaff <graaff@gentoo.org>2010-07-03 10:11:12 +0000
commit919f8170b44b46b2f02100006260caf433a29bd1 (patch)
treec05d62f69efdd712559e2b17bbd168b503f4bc5e /dev-ruby/ruby-filemagic
parentExplicitly depend on perl-5.10, pointed out by Nikoli <nikoli@lavabit.com> in... (diff)
downloadhistorical-919f8170b44b46b2f02100006260caf433a29bd1.tar.gz
historical-919f8170b44b46b2f02100006260caf433a29bd1.tar.bz2
historical-919f8170b44b46b2f02100006260caf433a29bd1.zip
Convert to ruby-ng.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/ruby-filemagic')
-rw-r--r--dev-ruby/ruby-filemagic/ChangeLog8
-rw-r--r--dev-ruby/ruby-filemagic/Manifest13
-rw-r--r--dev-ruby/ruby-filemagic/ruby-filemagic-0.1.1-r1.ebuild45
3 files changed, 59 insertions, 7 deletions
diff --git a/dev-ruby/ruby-filemagic/ChangeLog b/dev-ruby/ruby-filemagic/ChangeLog
index 0c4a55a1e794..6badceeeb91b 100644
--- a/dev-ruby/ruby-filemagic/ChangeLog
+++ b/dev-ruby/ruby-filemagic/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/ruby-filemagic
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-filemagic/ChangeLog,v 1.7 2010/01/04 11:55:56 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-filemagic/ChangeLog,v 1.8 2010/07/03 10:11:12 graaff Exp $
+
+*ruby-filemagic-0.1.1-r1 (03 Jul 2010)
+
+ 03 Jul 2010; Hans de Graaff <graaff@gentoo.org>
+ +ruby-filemagic-0.1.1-r1.ebuild:
+ Convert to ruby-ng.
04 Jan 2010; Christian Faulhammer <fauli@gentoo.org>
ruby-filemagic-0.1.1.ebuild:
diff --git a/dev-ruby/ruby-filemagic/Manifest b/dev-ruby/ruby-filemagic/Manifest
index 0dc1aef387e1..9c5b1d806e56 100644
--- a/dev-ruby/ruby-filemagic/Manifest
+++ b/dev-ruby/ruby-filemagic/Manifest
@@ -1,14 +1,15 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
DIST ruby-filemagic-0.1.1.tar.gz 3864 RMD160 95862a8a65faa6ab4d14fe1b5ed90c4b7fab98b7 SHA1 fd684bd8705048df74111cb9b9322adcd82c2ff5 SHA256 5833b6655d4ed144fa2014b41fa4f59fea34f490a5ffa35eabcaa19a0ca935bf
+EBUILD ruby-filemagic-0.1.1-r1.ebuild 1072 RMD160 f25d79dcf5436fb90c5dbeff7b31ed3922e0127e SHA1 b64fb7fbfe3b1e56ab698c802bf20914953d40b6 SHA256 acb256291289d8841c4ea52605dbe3b974d951ab50535eb045be03cfe1f52471
EBUILD ruby-filemagic-0.1.1.ebuild 690 RMD160 550dc8edc293f1755ebe06d6346be60bd6657727 SHA1 dc8d827be632c4c6e7da669ef729296348a5d12e SHA256 5c17426f2332bfaac23494bea11dfc58e3ea5940ed4be70d1adc57fd4f5b5948
-MISC ChangeLog 1210 RMD160 64eb208c0cc394a783e365af6506d0b23b91454f SHA1 90521cd692d4827ab7c73f2753c407378e0500f3 SHA256 7132005610db7259d4b653ce7fe185764eb96a8050d2241bacf209d576360231
+MISC ChangeLog 1359 RMD160 2835c4855ff3f64fd836238b4c43e610bc4b02fa SHA1 95ecbceb15847fb5320bea19e09978dc86046355 SHA256 7395bc88a12f8e4900cd22fcf3c42ff2bd1fc59b4e257188c3a8ffafc4e0f6a4
MISC metadata.xml 158 RMD160 097f8145a9994f98be4971b43b23b9e5e8bccb66 SHA1 7ac646714b1ab83fda98f3ccdd8b48a31c148b27 SHA256 70b396ab3c7a63a81cb895b7728bd9eccdc9770afdb9919f2c54694b685f7032
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
+Version: GnuPG v2.0.15 (GNU/Linux)
-iEYEARECAAYFAktB11EACgkQNQqtfCuFneNbugCfbTFzn8SK+sV6gHuj6gxz3yM4
-6ywAnjF9pvnqwaBKBe6ezhMONeQGmG9L
-=rFKW
+iF4EAREIAAYFAkwvDMoACgkQZihJkut28SsLVgD+NMa5LrJhBlaARMFOflY3eNkY
+60IfQuIr9h5KqyRg2xwA/jvKhHyvf4eV3+Q2wNoembO5AIKFgRmi7Iaqsfw7Q9Vi
+=deXM
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/ruby-filemagic/ruby-filemagic-0.1.1-r1.ebuild b/dev-ruby/ruby-filemagic/ruby-filemagic-0.1.1-r1.ebuild
new file mode 100644
index 000000000000..415d5f6de41c
--- /dev/null
+++ b/dev-ruby/ruby-filemagic/ruby-filemagic-0.1.1-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-filemagic/ruby-filemagic-0.1.1-r1.ebuild,v 1.1 2010/07/03 10:11:12 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18"
+
+inherit ruby-ng
+
+DESCRIPTION="Ruby binding to libmagic"
+HOMEPAGE="http://grub.ath.cx/filemagic/"
+SRC_URI="http://grub.ath.cx/filemagic/${P}.tar.gz"
+
+LICENSE="Ruby"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE="test"
+
+# Tests are broken because newer file implemenations provide more
+# information than the tests expect.
+RESTRICT="test"
+#ruby_add_bdepend "test? ( virtual/ruby-test-unit )"
+
+DEPEND="${DEPEND} sys-apps/file"
+RDEPEND="${RDEPEND} sys-apps/file"
+
+each_ruby_configure() {
+ ${RUBY} extconf.rb || die
+}
+
+each_ruby_compile() {
+ emake || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ctest regress.rb || die
+}
+
+each_ruby_install() {
+ DESTDIR="${D}" emake install || die
+}
+
+all_ruby_install() {
+ dodoc CHANGELOG README TODO filemagic.rd || die
+}