diff options
author | Hans de Graaff <graaff@gentoo.org> | 2013-12-20 06:58:31 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2013-12-20 06:58:31 +0000 |
commit | f1017fbc0cfaf7dd1bc1308df43cbc45d2849638 (patch) | |
tree | ade478b2efc3aa4451f68bc17b0b99a072587cc3 /dev-ruby/ruby-filemagic | |
parent | Fix -9999 ebuild a bit (diff) | |
download | gentoo-2-f1017fbc0cfaf7dd1bc1308df43cbc45d2849638.tar.gz gentoo-2-f1017fbc0cfaf7dd1bc1308df43cbc45d2849638.tar.bz2 gentoo-2-f1017fbc0cfaf7dd1bc1308df43cbc45d2849638.zip |
Version bump. Add ruby20.
(Portage version: 2.2.7/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.0.ebuild | 42 |
2 files changed, 48 insertions, 1 deletions
diff --git a/dev-ruby/ruby-filemagic/ChangeLog b/dev-ruby/ruby-filemagic/ChangeLog index 415136b4cd4c..51757838e86d 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-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-filemagic/ChangeLog,v 1.14 2013/07/05 05:28:33 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-filemagic/ChangeLog,v 1.15 2013/12/20 06:58:30 graaff Exp $ + +*ruby-filemagic-0.5.0 (20 Dec 2013) + + 20 Dec 2013; Hans de Graaff <graaff@gentoo.org> +ruby-filemagic-0.5.0.ebuild: + Version bump. Add ruby20. 05 Jul 2013; Hans de Graaff <graaff@gentoo.org> ruby-filemagic-0.4.2.ebuild: Add ruby19. diff --git a/dev-ruby/ruby-filemagic/ruby-filemagic-0.5.0.ebuild b/dev-ruby/ruby-filemagic/ruby-filemagic-0.5.0.ebuild new file mode 100644 index 000000000000..c8c0d04a50c8 --- /dev/null +++ b/dev-ruby/ruby-filemagic/ruby-filemagic-0.5.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2013 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.0.ebuild,v 1.1 2013/12/20 06:58:31 graaff Exp $ + +EAPI=5 +USE_RUBY="ruby18 ruby19 ruby20" + +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 extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext || die + mv ext/filemagic$(get_modname) lib/ || die +} + +each_ruby_test() { + ${RUBY} -Ctest -I../lib filemagic_test.rb || die +} |