diff options
author | Hans de Graaff <graaff@gentoo.org> | 2011-06-16 17:49:39 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2011-06-16 17:49:39 +0000 |
commit | 83a29ec228e1b428171dec12829a8cf4e57f829b (patch) | |
tree | 0272b28718332435274435c2b49180c689d38a0b /dev-ruby/ruby-postgres | |
parent | Version bump. Clean up patches. (diff) | |
download | historical-83a29ec228e1b428171dec12829a8cf4e57f829b.tar.gz historical-83a29ec228e1b428171dec12829a8cf4e57f829b.tar.bz2 historical-83a29ec228e1b428171dec12829a8cf4e57f829b.zip |
Use proper name and version number to install the gem so that it matches the specification we now install. Fixes bug 354615.
Package-Manager: portage-2.1.9.42/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/ruby-postgres')
-rw-r--r-- | dev-ruby/ruby-postgres/ChangeLog | 9 | ||||
-rw-r--r-- | dev-ruby/ruby-postgres/Manifest | 11 | ||||
-rw-r--r-- | dev-ruby/ruby-postgres/ruby-postgres-0.7.9.20080128-r2.ebuild | 48 |
3 files changed, 62 insertions, 6 deletions
diff --git a/dev-ruby/ruby-postgres/ChangeLog b/dev-ruby/ruby-postgres/ChangeLog index c0f53bd09a03..dd5247537672 100644 --- a/dev-ruby/ruby-postgres/ChangeLog +++ b/dev-ruby/ruby-postgres/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-ruby/ruby-postgres # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-postgres/ChangeLog,v 1.34 2011/01/15 11:23:11 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-postgres/ChangeLog,v 1.35 2011/06/16 17:49:39 graaff Exp $ + +*ruby-postgres-0.7.9.20080128-r2 (16 Jun 2011) + + 16 Jun 2011; Hans de Graaff <graaff@gentoo.org> + +ruby-postgres-0.7.9.20080128-r2.ebuild: + Use proper name and version number to install the gem so that it matches the + specification we now install. Fixes bug 354615. 15 Jan 2011; Hans de Graaff <graaff@gentoo.org> -ruby-postgres-0.7.1.ebuild: diff --git a/dev-ruby/ruby-postgres/Manifest b/dev-ruby/ruby-postgres/Manifest index ff02da066f6e..ccc711b11ab9 100644 --- a/dev-ruby/ruby-postgres/Manifest +++ b/dev-ruby/ruby-postgres/Manifest @@ -3,12 +3,13 @@ Hash: SHA256 DIST postgres-0.7.9.2008.01.28.gem 32768 RMD160 2473b4225802a49fd56a5adac702dc89d6cd19ba SHA1 229ca3c503cda8a0977cd6e6d41896da7b8d5ecc SHA256 86da5db7665c95d83203063dd88d4164b0cb65fcf078729e6e5c23879f058763 EBUILD ruby-postgres-0.7.9.20080128-r1.ebuild 1244 RMD160 4cde22d78758221d95cc5fd6c2b9b8c257621d99 SHA1 f105f390cb68f55116b3a6d1d9a1aaf698d69bb4 SHA256 a497438d40ecb4f94aa0b113520c4554346da835679eb776ede13bf16ad101a3 -MISC ChangeLog 5213 RMD160 b1ee7aa0ec43bb7a3771635793a3c40e50250b29 SHA1 d1e676f8a1bc6c987d2797bbb748876206dbb1dc SHA256 23d278db6fe2e2b9793643c3899ea61bad2278cb78bb72aa401a0517c2c7dd51 +EBUILD ruby-postgres-0.7.9.20080128-r2.ebuild 1317 RMD160 8610d2dc680ddf50749d6690d9729e8f68c1ea5e SHA1 fa6b57622c1653277c6d7e44bd37845320d5593e SHA256 0a0f8c517fce90ff816ac48fbc3b440f7c8ebca8687c5d7f5c354ac8af38a34c +MISC ChangeLog 5484 RMD160 e6d495bc7608c901def16b5b83a10d182a21b195 SHA1 3da9086cb873bfc3000c53c990aed260a316e18e SHA256 bd447ecaef8219d2c2a1eed704555214486de888db51db89b034d0c211d1b833 MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.16 (GNU/Linux) +Version: GnuPG v2.0.17 (GNU/Linux) -iF4EAREIAAYFAk0xg6UACgkQrnu0mw69Jkpe4QD+PHQUfQ0aW0Cuq1/AKVjbWEbY -miqAygoy7yxdFYJ2XdYA/R0kaGENkbdRuYLQrHrf92A9/qk76U4udDCvV0aX2UHT -=ZbyT +iF4EAREIAAYFAk36QkAACgkQrnu0mw69Jkpd/gD/bet8EI5DqV4syGU2qhixEai3 +/xi+tWWtUzbHnBgQg6gA/A6Sv6iBqCOFokDh8AJsxYKPTR0YtCGG611jwcpZhAcU +=Co1b -----END PGP SIGNATURE----- diff --git a/dev-ruby/ruby-postgres/ruby-postgres-0.7.9.20080128-r2.ebuild b/dev-ruby/ruby-postgres/ruby-postgres-0.7.9.20080128-r2.ebuild new file mode 100644 index 000000000000..a3a7752f2c98 --- /dev/null +++ b/dev-ruby/ruby-postgres/ruby-postgres-0.7.9.20080128-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-postgres/ruby-postgres-0.7.9.20080128-r2.ebuild,v 1.1 2011/06/16 17:49:39 graaff Exp $ + +EAPI=2 +USE_RUBY="ruby18 ree18" + +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="Contributors README" + +RUBY_FAKEGEM_NAME="postgres" + +# changes 0.7.1.20060406 to 0.7.1.2006.04.06 + +# ideally, PV would have been this to start with, but can't change it now as +# 0.7.1.20051221 > 0.7.1.2006.04.06. +RUBY_FAKEGEM_VERSION="0.7.9.2008.01.28" + +inherit multilib ruby-fakegem versionator + +MY_P="${RUBY_FAKEGEM_NAME}-${RUBY_FAKEGEM_VERSION}" + +DESCRIPTION="An extension library to access a PostgreSQL database from Ruby" +HOMEPAGE="http://ruby.scripting.ca/postgres" +SRC_URI="mirror://rubygems/${MY_P}.gem" +LICENSE="GPL-2 Ruby" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="" + +RDEPEND="${RDEPEND} dev-db/postgresql-base" +DEPEND="${DEPEND} dev-db/postgresql-base" + +each_ruby_configure() { + ${RUBY} -Cext extconf.rb || die +} + +each_ruby_compile() { + emake -Cext || die +} + +each_ruby_install() { + mkdir lib || die + mv ext/postgres$(get_modname) lib/ || die + + each_fakegem_install +} |