diff options
author | Hans de Graaff <graaff@gentoo.org> | 2014-05-01 06:28:00 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2014-05-01 06:28:00 +0000 |
commit | 39f70fd17a97945ea8ba02168303380729be0f8d (patch) | |
tree | 30f64069e9ccc2aa18388154632f268651037c89 /dev-ruby/ruby-filemagic | |
parent | Add ruby21. Remove ruby18. (diff) | |
download | gentoo-2-39f70fd17a97945ea8ba02168303380729be0f8d.tar.gz gentoo-2-39f70fd17a97945ea8ba02168303380729be0f8d.tar.bz2 gentoo-2-39f70fd17a97945ea8ba02168303380729be0f8d.zip |
Version bump.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/ruby-filemagic')
-rw-r--r-- | dev-ruby/ruby-filemagic/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/ruby-filemagic/ruby-filemagic-0.5.2.ebuild | 42 |
2 files changed, 48 insertions, 1 deletions
diff --git a/dev-ruby/ruby-filemagic/ChangeLog b/dev-ruby/ruby-filemagic/ChangeLog index 40972e530585..2d986f4160a2 100644 --- a/dev-ruby/ruby-filemagic/ChangeLog +++ b/dev-ruby/ruby-filemagic/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/ruby-filemagic # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-filemagic/ChangeLog,v 1.16 2014/03/11 01:41:51 mrueg Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-filemagic/ChangeLog,v 1.17 2014/05/01 06:28:00 graaff Exp $ + +*ruby-filemagic-0.5.2 (01 May 2014) + + 01 May 2014; Hans de Graaff <graaff@gentoo.org> +ruby-filemagic-0.5.2.ebuild: + Version bump. 11 Mar 2014; Manuel Rüger <mrueg@gentoo.org> -ruby-filemagic-0.4.2.ebuild: Cleanup old. diff --git a/dev-ruby/ruby-filemagic/ruby-filemagic-0.5.2.ebuild b/dev-ruby/ruby-filemagic/ruby-filemagic-0.5.2.ebuild new file mode 100644 index 000000000000..b7de60f90ea9 --- /dev/null +++ b/dev-ruby/ruby-filemagic/ruby-filemagic-0.5.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2014 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.5.2.ebuild,v 1.1 2014/05/01 06:28:00 graaff Exp $ + +EAPI=5 +USE_RUBY="ruby19 ruby20 ruby21" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="ChangeLog README TODO info/filemagic.rd info/example.rb" + +RUBY_FAKEGEM_TASK_TEST="" + +inherit multilib ruby-fakegem + +DESCRIPTION="Ruby binding to libmagic" +HOMEPAGE="http://ruby-filemagic.rubyforge.org/" + +LICENSE="Ruby" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="" + +# Don't run tests since the descriptions in recent versions of +# sys-apps/file are diverging too much from what the test cases expect. +# https://bugs.gentoo.org/show_bug.cgi?id=366205 +RESTRICT="test" + +DEPEND="${DEPEND} sys-apps/file" +RDEPEND="${RDEPEND} sys-apps/file" + +each_ruby_configure() { + ${RUBY} -Cext/filemagic extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/filemagic || die + mv ext/filemagic/ruby_filemagic$(get_modname) lib/filemagic/ || die +} + +each_ruby_test() { + ${RUBY} -Ctest -I../lib filemagic_test.rb || die +} |