diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-01-28 12:21:48 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-01-28 12:21:48 +0000 |
commit | 274502091839d5cef4b3ce0d55f09ff728fcfc0a (patch) | |
tree | d1c400822ab915fd446f388b7811113abd89b85a /dev-ruby/ruby-bz2 | |
parent | Revision bump to enable all tests, and add proper dependencies. Tests are dis... (diff) | |
download | historical-274502091839d5cef4b3ce0d55f09ff728fcfc0a.tar.gz historical-274502091839d5cef4b3ce0d55f09ff728fcfc0a.tar.bz2 historical-274502091839d5cef4b3ce0d55f09ff728fcfc0a.zip |
Replace ebuild with a ruby-ng one, only support Ruby 1.8 as that's the only version supported. Closes bug #292275.
Package-Manager: portage-2.2_rc61/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/ruby-bz2')
-rw-r--r-- | dev-ruby/ruby-bz2/ChangeLog | 11 | ||||
-rw-r--r-- | dev-ruby/ruby-bz2/Manifest | 12 | ||||
-rw-r--r-- | dev-ruby/ruby-bz2/ruby-bz2-0.2.2-r1.ebuild | 55 | ||||
-rw-r--r-- | dev-ruby/ruby-bz2/ruby-bz2-0.2.2.ebuild | 26 |
4 files changed, 70 insertions, 34 deletions
diff --git a/dev-ruby/ruby-bz2/ChangeLog b/dev-ruby/ruby-bz2/ChangeLog index 8011d8219fe7..ada88abf338f 100644 --- a/dev-ruby/ruby-bz2/ChangeLog +++ b/dev-ruby/ruby-bz2/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-ruby/ruby-bz2 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-bz2/ChangeLog,v 1.3 2009/05/09 01:14:29 flameeyes Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-bz2/ChangeLog,v 1.4 2010/01/28 12:21:48 flameeyes Exp $ + +*ruby-bz2-0.2.2-r1 (28 Jan 2010) + + 28 Jan 2010; Diego E. Pettenò <flameeyes@gentoo.org> + -ruby-bz2-0.2.2.ebuild, +ruby-bz2-0.2.2-r1.ebuild: + Replace ebuild with a ruby-ng one, only support Ruby 1.8 as that's the + only version supported. Closes bug #292275. 09 May 2009; Diego E. Pettenò <flameeyes@gentoo.org> ruby-bz2-0.2.2.ebuild: diff --git a/dev-ruby/ruby-bz2/Manifest b/dev-ruby/ruby-bz2/Manifest index 16df753fbbd9..03c49ea14ce8 100644 --- a/dev-ruby/ruby-bz2/Manifest +++ b/dev-ruby/ruby-bz2/Manifest @@ -2,13 +2,13 @@ Hash: SHA1 DIST bz2-0.2.2.tar.gz 17129 RMD160 af39483be363d72a34bf82eebfcf072618e75145 SHA1 d7315b5a054ff824c8022cc19b29ccbb1bd10255 SHA256 6169823ab8c292cfba28b46619b727bd10e0b77e42c70612ec45b627ba0a0e31 -EBUILD ruby-bz2-0.2.2.ebuild 600 RMD160 ec1661959d17c60e946ba4425e6a876e34db7b17 SHA1 3a293edda86d173a88c9d27f797bff9dee011839 SHA256 29ec64c96a99463acf26a6cba79c158fa612abc77ffc5689dca54fca38e6d7fa -MISC ChangeLog 737 RMD160 a00835946f3e8b996f54aa91e7a28e30f437bd24 SHA1 6efd7f60a8bb2acdc55d2c232d8d32d1a2a92b68 SHA256 ed13581e025436764787b2074a75b2cd35e77c854c9dddd8ea686ea2ee4634d0 +EBUILD ruby-bz2-0.2.2-r1.ebuild 1002 RMD160 46c119fb4bbe87fc9575c87c87286f968d8f451c SHA1 78321265929fef3978cf59c0905479f02a128965 SHA256 229f72ac92ac6b76105cda5ba2cbfd6c15a563a430c3ca132aae9a4bb671f887 +MISC ChangeLog 1000 RMD160 df032ed2a22c6c01a74da700549311e69a098b64 SHA1 945b49bfd9d5c87377995210b1639be8fab56ce7 SHA256 1de35f73f9079bfeae7ded0fae6d388222d53ec06b52983cb81f7d56dac87a09 MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.11 (GNU/Linux) +Version: GnuPG v2.0.14 (GNU/Linux) -iEYEARECAAYFAkoE2PYACgkQAiZjviIA2XgxEQCfUXjaLSngMP38PN01tWfrNAor -r94AnjuQTq4CDBUb1pKh6/idp1PXaFWT -=Xnt6 +iEYEARECAAYFAkthgRoACgkQAiZjviIA2Xj0kgCgw4Rw+cdz1TYYivXtRuPyQ0gp +S7oAn0AhMh56b4fZF4empADXYs6ryLZE +=93z5 -----END PGP SIGNATURE----- diff --git a/dev-ruby/ruby-bz2/ruby-bz2-0.2.2-r1.ebuild b/dev-ruby/ruby-bz2/ruby-bz2-0.2.2-r1.ebuild new file mode 100644 index 000000000000..cbdc84ed8078 --- /dev/null +++ b/dev-ruby/ruby-bz2/ruby-bz2-0.2.2-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-bz2/ruby-bz2-0.2.2-r1.ebuild,v 1.1 2010/01/28 12:21:48 flameeyes Exp $ + +EAPI=2 + +USE_RUBY="ruby18" + +inherit ruby-ng + +MY_P="${P/ruby-}" + +DESCRIPTION="Ruby interface to libbz2" +HOMEPAGE="http://moulon.inra.fr/ruby/bz2.html" +SRC_URI="ftp://moulon.inra.fr/pub/ruby/${MY_P}.tar.gz" + +LICENSE="Ruby" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="doc" + +S="${WORKDIR}/${MY_P}" + +RDEPEND="app-arch/bzip2" +DEPEND="${RDEPEND}" + +each_ruby_configure() { + ${RUBY} extconf.rb || die "extconf failed" +} + +each_ruby_compile() { + emake || die "emake failed" + + if use doc; then + emake rdoc || die "rdoc failed" + fi +} + +each_ruby_test() { + emake test || die "tests failed" +} + +each_ruby_install() { + doruby bz2.so + + dodoc README.en || die + dohtml bz2.html || die + + if use doc; then + pushd docs &>/dev/null + docinto api + dohtml -r doc || die + popd &>/dev/null + fi +} diff --git a/dev-ruby/ruby-bz2/ruby-bz2-0.2.2.ebuild b/dev-ruby/ruby-bz2/ruby-bz2-0.2.2.ebuild deleted file mode 100644 index 0164b20f3282..000000000000 --- a/dev-ruby/ruby-bz2/ruby-bz2-0.2.2.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-bz2/ruby-bz2-0.2.2.ebuild,v 1.3 2009/05/09 01:14:29 flameeyes Exp $ - -inherit ruby - -MY_P="${P/ruby-}" -DESCRIPTION="Ruby interface to libbz2" -HOMEPAGE="http://moulon.inra.fr/ruby/bz2.html" -SRC_URI="ftp://moulon.inra.fr/pub/ruby/${MY_P}.tar.gz" - -LICENSE="Ruby" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~x86-fbsd" -IUSE="" -USE_RUBY="ruby18" - -S="${WORKDIR}/${MY_P}" - -DEPEND="app-arch/bzip2" - -src_install() { - ruby_src_install - dodoc Changes - dohtml bz2.html -} |