summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/ruby-elf')
-rw-r--r--dev-ruby/ruby-elf/ChangeLog13
-rw-r--r--dev-ruby/ruby-elf/Manifest23
-rw-r--r--dev-ruby/ruby-elf/ruby-elf-1.0.6.1.ebuild42
-rw-r--r--dev-ruby/ruby-elf/ruby-elf-1.0.7.ebuild42
-rw-r--r--dev-ruby/ruby-elf/ruby-elf-1.0.8.ebuild69
-rw-r--r--dev-ruby/ruby-elf/ruby-elf-9999.ebuild69
6 files changed, 160 insertions, 98 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/Manifest b/dev-ruby/ruby-elf/Manifest
index b5903ea50185..6b83314997f2 100644
--- a/dev-ruby/ruby-elf/Manifest
+++ b/dev-ruby/ruby-elf/Manifest
@@ -1,20 +1,19 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
-DIST ruby-elf-1.0.6.1.tar.bz2 1589052 SHA256 ad2d08b608478b26c2ce3a9d531250d946ced65d5407d660a6ab8b95e7e46eb9 SHA512 5b656b433ede2060a7f40595442b749083cac0db64bb97005e1453087e65419b49ab0330f13682658b6fef12e59e6bff22b3d7500f01e9bfeef2c417425c6e09 WHIRLPOOL bba8192a36d11e2c2822d579d762af072a4cad446e988b90d795430f2462f5073024a7eaa5caea15c4e892c4aee6307c31eac262f18d333044a9c05105c1e6fc
-DIST ruby-elf-1.0.7.tar.bz2 1919760 SHA256 fb8ca9f2b017b6e43be9c184c8655cc1b56758d3d5611fdd8415772d6f8bf124 SHA512 6d23662f84fa024af855d24528bf3726badabfbb22a6c774ecc497f8c3da1d7431a258c5346a94563c9a9eef1a241886750c6f760682fa6fce51b191f4e6c669 WHIRLPOOL 5f71b7dc7e6f622a6e92b6a5c04110cd95ba90fe4978089454a6e310a4554f5dbaff4e2240cac1c9fb0a1444f8cb64d5c7cd638bf02aa41409a8daca1b592d0f
-EBUILD ruby-elf-1.0.6.1.ebuild 905 SHA256 11f3c053c26ae6134d1fcab3f72e76166568c5f43dcf895d11d8aeefd1ef67a2 SHA512 332a6b0ce0289447f2ad22b2e3b52cfd234bd7d36a2dbbd323b12f426654520da0de7ab994c55f22ad36191de592d4e8e83c8bb8b69a4e4cfdde68c9d5bcfd28 WHIRLPOOL 8c68d3d952c453887014a82984d97c2adb6b829fa270b03d8a9f65dc7721a3fc202496d670e22fcd9585004a957dcc24a732f00997727d016e34c57cbd7b7736
-EBUILD ruby-elf-1.0.7.ebuild 906 SHA256 3a2546ed44929079371a9ff8f18b629a2fa0836bfe5e45fce583bbc606031b43 SHA512 d76ab56ddfb49b2c0db3b05c57c0091dc67ae961fd5fe59baca83b0b35817270b20aea7248b8c93a8e9721960183cf04e2b6a48b0bd2ade7e88bcab1eea60cb7 WHIRLPOOL 3c7dee85a62db3c59b0541ffbd3a632dcc4b37ed655bc73887ebc1a9b43a4ce19619252b3d6969e9bbd64fbcae0c48dae0f7399c633f7948bd773670348d32bd
-MISC ChangeLog 1219 SHA256 25302ae6607400558fddcf695d6ebc36f3d52081d13641657b818d5d41201f9b SHA512 693c4c7512caea2bebb89c437c029e5a6e77ddcc1d88f492a10a86f4c1481e2a6416cabb77292823ca8b263c815adf1d8281b80ee5bc0667021ce498a8f87134 WHIRLPOOL 3f1e0d3392ad07fd12070d07a75ab1a2adb35245bb4109b08f73a8c9a70ed3da5dab62a35784a767e70d26621035431595e958d2da95606ffac8b5660019d074
+DIST ruby-elf-1.0.8.tar.gz 1958368 SHA256 1ea44976f9ead16acfb28db0f0b64bbbad72f1ddf63a3f17da5ff265611d8a45 SHA512 40eb774b9869948812c56193c46548f5c372a1fbd3892b7e6ecd7865607e0edba81ba7e857b6571acb9abb67e066aed312d48a3d0ddd64c8f51f142eb45f8d8f WHIRLPOOL db63967f4a2a0119121cb556d17fd833c20b62723e8dd517242dc7dfb6e9888bee4087ebcf8062814da94eb66be5fad5e5f60a2299d5e76f01df907d22c493bc
+EBUILD ruby-elf-1.0.8.ebuild 1313 SHA256 bc7eba61c80890bb71cfb67d845cb8ed016208bb27ccb27a03ad14cb567af3d1 SHA512 cb96242afe73e0272bf83a8d30120a1d33725cd349c108599e1266a5f7bd033f9cf2a14a41b8d7bbe865b29b333a353270f78a90354e702c15248c4f5767af38 WHIRLPOOL 1a13826d0f39066b63f8b00aae8aff3a0e9d462072cac9924ee6ec6e252b101ffb56db63968039ca4e0c9a11caafe6bd94ef1d2fc25d3b9ff294e4d24bd7acdf
+EBUILD ruby-elf-9999.ebuild 1306 SHA256 caa5b9becbf2c4bd7444784aeb11a51226f73df370224892ed89238d288516c9 SHA512 72e8cf24f0708030f0b7405a2bf26c85d4303215d5092b0f7fc141b4a10d00ca10505755c96911aeda41ae3ff3399692f5d54fb152e1165a31d38ab70b968414 WHIRLPOOL fd65f4e3faccaeb6f6eddb2991b8ed7dbbaf4967595b67b662c16be4ad5466daac33b5a1e33e482019aede7244787748c238398c3ff23aff825c19fdcae6158e
+MISC ChangeLog 1621 SHA256 ef51e041a3e4baf72272fe7f881ef42ca889f8d5f858c22753fd37f0b1aaf6f8 SHA512 a0c5471b46e635e7ab173c0ef488b456edf6b8b224f6739c762e8647bee4492bbc09244341a5a8caad2774e0cf01c88bc592bdb38532fec049ddb5023f4ae366 WHIRLPOOL e3c13daf30b2f5420fc7c381c1efe74501d9bf22aae20d62b60a71f3fd37be59fde885b9a60b9869af19fb90d0bf2b089effc1a1520e9416f715c5256bcc6cc9
MISC metadata.xml 282 SHA256 5df09b3dfb59d3c4c29285f809095c19d06c093252060a9bec39ca2f902c2836 SHA512 650f2d0f2b41e7161dc63dc33e3b9423b2d0aff1627e7681ad9803c0cf6fdcc8d280268ee95c08f6ee89a32a0a23b3911d38a831442c68e121ec3b513fef2442 WHIRLPOOL b9324d4c2c3db7766d050ffbe1de36efefe9b40105681cb5008e703df8ea919dcf4944a6a5fd9c5049e16319023d0b76548c1b3ee34661727713e9326c83ed39
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQEcBAEBCAAGBQJQ3N2uAAoJEBzRPIrUMBNCwHwH+wbHy0fx8jYj1dPuAvSh029U
-v2DneC8QSdCTgQoIybYwdUFwkPqcMqYkwjB5vmtaqbYuGqupTnTV36J7XUsp76b9
-QZCGHVo9RwFWHj5uscrRGU6NH+v+emKuGY/mgcFAvtaOn19092wmx27a8bFKDtt5
-G3uHzqbRwO2naTuCqjxvBwrN5I6tsXqCUKeJ1dbjE6rrW679QYVsS9rtrwsfm0HD
-N9qPrCOe2RdKqCQMnknBSuatEEFIRHI4VdtkkjBkXbx0VrqmboKCdnIGeqkRvSeu
-5D0TlL088b4WbQH6sKJSOWgzprYYe2nyGmOMc0WfMmC6OmXzg++c9B7CKHwOXMw=
-=y9br
+iQEcBAEBCAAGBQJRJPZBAAoJEBzRPIrUMBNCuH0H/2PNNqfsn8lC46ThYATnyCjK
+rtOT5Epwa+NcquexvhqbZF5Ylw8TJpR/lRKOP1LcM1RfXotFdLSDi+1vKSHbkVU4
+jOBQTpe67S6jV1DkoVzD0m4W+1blk1RSn9XNuEJXD0YHYSire582iG/X7Q2r8ojL
++N7y/1QtT4rlaXah6mkcS+rrZPbvcLbddvjjvuuuEYuZM+uPFwOohaQ5ZJSZ8LHU
+YGe9EXh29Ll5kKXo49/npEFbkdy8v+pjWNK42WlZsBBAF+GArvjF59W+mIY2QNpM
+4Rcd3DiZo9FrnDeAeXlKHKh1P/bmPi7rWhCd6jrZIx7SP7Fhf8MOEPs8SNujZhM=
+=ZXaM
-----END PGP SIGNATURE-----
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
+}