diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2013-02-20 16:13:43 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2013-02-20 16:13:43 +0000 |
commit | 4bbc8fab83c6e1e4c1951a2c5c9584cdccc1055f (patch) | |
tree | 1e3cd0aa156e480d03175771e4f5a3d93a6ec667 | |
parent | sci-biology/allpathslg: Drop old (diff) | |
download | gentoo-2-4bbc8fab83c6e1e4c1951a2c5c9584cdccc1055f.tar.gz gentoo-2-4bbc8fab83c6e1e4c1951a2c5c9584cdccc1055f.tar.bz2 gentoo-2-4bbc8fab83c6e1e4c1951a2c5c9584cdccc1055f.zip |
Version bump and add live ebuild. These new ebuilds always require the tools to generate the man pages, as they are no longer shipped with the tarball, and installs as a full gem.
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 1CD13C8AD4301342)
-rw-r--r-- | dev-ruby/ruby-elf/ChangeLog | 13 | ||||
-rw-r--r-- | dev-ruby/ruby-elf/ruby-elf-1.0.6.1.ebuild | 42 | ||||
-rw-r--r-- | dev-ruby/ruby-elf/ruby-elf-1.0.7.ebuild | 42 | ||||
-rw-r--r-- | dev-ruby/ruby-elf/ruby-elf-1.0.8.ebuild | 69 | ||||
-rw-r--r-- | dev-ruby/ruby-elf/ruby-elf-9999.ebuild | 69 |
5 files changed, 149 insertions, 86 deletions
diff --git a/dev-ruby/ruby-elf/ChangeLog b/dev-ruby/ruby-elf/ChangeLog index 640d7eba25ad..8c6867e93950 100644 --- a/dev-ruby/ruby-elf/ChangeLog +++ b/dev-ruby/ruby-elf/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for dev-ruby/ruby-elf -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-elf/ChangeLog,v 1.7 2012/12/27 23:45:44 flameeyes Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-elf/ChangeLog,v 1.8 2013/02/20 16:13:43 flameeyes Exp $ + +*ruby-elf-9999 (20 Feb 2013) +*ruby-elf-1.0.8 (20 Feb 2013) + + 20 Feb 2013; Diego E. Pettenò <flameeyes@gentoo.org> +ruby-elf-1.0.8.ebuild, + +ruby-elf-9999.ebuild, -ruby-elf-1.0.6.1.ebuild, -ruby-elf-1.0.7.ebuild: + Version bump and add live ebuild. These new ebuilds always require the tools + to generate the man pages, as they are no longer shipped with the tarball, and + installs as a full gem. *ruby-elf-1.0.7 (27 Dec 2012) diff --git a/dev-ruby/ruby-elf/ruby-elf-1.0.6.1.ebuild b/dev-ruby/ruby-elf/ruby-elf-1.0.6.1.ebuild deleted file mode 100644 index 5edea52eeec3..000000000000 --- a/dev-ruby/ruby-elf/ruby-elf-1.0.6.1.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-elf/ruby-elf-1.0.6.1.ebuild,v 1.2 2011/10/20 17:59:26 graaff Exp $ - -EAPI=2 - -USE_RUBY="ruby18 ruby19 ree18 jruby" -SRC_URI="mirror://rubyforge/${PN}/${P}.tar.bz2" -KEYWORDS="~amd64" - -inherit ruby-ng - -DESCRIPTION="Ruby library to access ELF files information" -HOMEPAGE="http://www.flameeyes.eu/projects/ruby-elf" - -LICENSE="GPL-2" -SLOT="0" -IUSE="test" - -ruby_add_bdepend " - test? ( - dev-ruby/rake - virtual/rubygems - || ( virtual/ruby-test-unit dev-ruby/test-unit:2 ) - )" - -RDEPEND="${RDEPEND} - virtual/man" - -each_ruby_install() { - doruby -r lib/* || die -} - -each_ruby_test() { - ${RUBY} -S rake test || die "${RUBY} test failed" -} - -all_ruby_install() { - dobin bin/* || die - doman manpages/*.1 || die "doman failed" - dodoc DONATING || die "dodoc failed" -} diff --git a/dev-ruby/ruby-elf/ruby-elf-1.0.7.ebuild b/dev-ruby/ruby-elf/ruby-elf-1.0.7.ebuild deleted file mode 100644 index daf01f88e401..000000000000 --- a/dev-ruby/ruby-elf/ruby-elf-1.0.7.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-elf/ruby-elf-1.0.7.ebuild,v 1.1 2012/12/27 23:45:44 flameeyes Exp $ - -EAPI=2 - -USE_RUBY="ruby18 ruby19 ree18 jruby" -SRC_URI="mirror://rubyforge/${PN}/${P}.tar.bz2" -KEYWORDS="~amd64" - -inherit ruby-ng - -DESCRIPTION="Ruby library to access ELF files information" -HOMEPAGE="http://www.flameeyes.eu/projects/ruby-elf" - -LICENSE="GPL-2" -SLOT="0" -IUSE="test" - -ruby_add_bdepend " - test? ( - dev-ruby/rake - virtual/rubygems - || ( virtual/ruby-test-unit dev-ruby/test-unit:2 ) - )" - -RDEPEND="${RDEPEND} - virtual/man" - -each_ruby_install() { - doruby -r lib/* || die -} - -each_ruby_test() { - ${RUBY} -S rake test || die "${RUBY} test failed" -} - -all_ruby_install() { - dobin bin/* || die - doman manpages/*.1 || die "doman failed" - dodoc DONATING || die "dodoc failed" -} diff --git a/dev-ruby/ruby-elf/ruby-elf-1.0.8.ebuild b/dev-ruby/ruby-elf/ruby-elf-1.0.8.ebuild new file mode 100644 index 000000000000..e3273aea4246 --- /dev/null +++ b/dev-ruby/ruby-elf/ruby-elf-1.0.8.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-elf/ruby-elf-1.0.8.ebuild,v 1.1 2013/02/20 16:13:43 flameeyes Exp $ + +EAPI=5 + +USE_RUBY="ruby18 ruby19 jruby" + +GITHUB_URI="https://github.com/Flameeyes/${PN}" + +if [[ ${PV} == "9999" ]]; then + EGIT_REPO_URI="${GITHUB_URI}.git" +fi + +RUBY_FAKEGEM_RECIPE_TEST="none" +RUBY_FAKEGEM_RECIPE_DOC="none" + +RUBY_FAKGEM_GESPEC="${PN}.gemspec" + +inherit ruby-fakegem ${EGIT_REPO_URI:+git-2} + +if [[ -n ${EGIT_REPO_URI} ]]; then + SRC_URI="" +else + SRC_URI="${GITHUB_URI}/archive/${PV}.tar.gz -> ${P}.tar.gz" +fi + +DESCRIPTION="Ruby library to access ELF files information" +HOMEPAGE="http://www.flameeyes.eu/projects/ruby-elf" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="test" + +ruby_add_bdepend " + test? ( dev-ruby/test-unit:2 ) + dev-ruby/rake" + +# for the man pages +DEPEND+=" + dev-libs/libxslt + app-text/docbook-xsl-ns-stylesheets" + +RDEPEND+=" + virtual/man" + +if [[ ${PV} == "9999" ]]; then + all_ruby_unpack() { + git_src_unpack + } +fi + +all_ruby_compile() { + # build the man pages + rake manpages || die "rake manpages failed" +} + +each_ruby_test() { + ruby-ng_testrb-2 test/test_*.rb +} + +all_ruby_install() { + all_fakegem_install + + doman manpages/*.1 + dodoc DONATING README.md +} diff --git a/dev-ruby/ruby-elf/ruby-elf-9999.ebuild b/dev-ruby/ruby-elf/ruby-elf-9999.ebuild new file mode 100644 index 000000000000..8ea8b56a1b0d --- /dev/null +++ b/dev-ruby/ruby-elf/ruby-elf-9999.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-elf/ruby-elf-9999.ebuild,v 1.1 2013/02/20 16:13:43 flameeyes Exp $ + +EAPI=5 + +USE_RUBY="ruby18 ruby19 jruby" + +GITHUB_URI="https://github.com/Flameeyes/${PN}" + +if [[ ${PV} == "9999" ]]; then + EGIT_REPO_URI="${GITHUB_URI}.git" +fi + +RUBY_FAKEGEM_RECIPE_TEST="none" +RUBY_FAKEGEM_RECIPE_DOC="none" + +RUBY_FAKGEM_GESPEC="${PN}.gemspec" + +inherit ruby-fakegem ${EGIT_REPO_URI:+git-2} + +if [[ -n ${EGIT_REPO_URI} ]]; then + SRC_URI="" +else + SRC_URI="${GITHUB_URI}/archive/${PV}.tar.gz -> ${P}.tar.gz" +fi + +DESCRIPTION="Ruby library to access ELF files information" +HOMEPAGE="http://www.flameeyes.eu/projects/ruby-elf" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="" + +IUSE="test" + +ruby_add_bdepend " + test? ( dev-ruby/test-unit:2 ) + dev-ruby/rake" + +# for the man pages +DEPEND+=" + dev-libs/libxslt + app-text/docbook-xsl-ns-stylesheets" + +RDEPEND+=" + virtual/man" + +if [[ ${PV} == "9999" ]]; then + all_ruby_unpack() { + git_src_unpack + } +fi + +all_ruby_compile() { + # build the man pages + rake manpages || die "rake manpages failed" +} + +each_ruby_test() { + ruby-ng_testrb-2 test/test_*.rb +} + +all_ruby_install() { + all_fakegem_install + + doman manpages/*.1 + dodoc DONATING README.md +} |