diff options
author | Mamoru Komachi <usata@gentoo.org> | 2004-11-25 04:50:47 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2004-11-25 04:50:47 +0000 |
commit | e569e6da00106d3cd498223a09bf952b68123993 (patch) | |
tree | ab6e8c8e38c12ba70d277e22219355158af8275c /dev-ruby | |
parent | New version, removed older versions (diff) | |
download | historical-e569e6da00106d3cd498223a09bf952b68123993.tar.gz historical-e569e6da00106d3cd498223a09bf952b68123993.tar.bz2 historical-e569e6da00106d3cd498223a09bf952b68123993.zip |
Added src_test().
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/ruby-glib2/ChangeLog | 5 | ||||
-rw-r--r-- | dev-ruby/ruby-glib2/Manifest | 10 | ||||
-rw-r--r-- | dev-ruby/ruby-glib2/ruby-glib2-0.11.0.ebuild | 20 |
3 files changed, 25 insertions, 10 deletions
diff --git a/dev-ruby/ruby-glib2/ChangeLog b/dev-ruby/ruby-glib2/ChangeLog index 85374172ac39..93ff1d9fc47f 100644 --- a/dev-ruby/ruby-glib2/ChangeLog +++ b/dev-ruby/ruby-glib2/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-ruby/ruby-glib2 # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-glib2/ChangeLog,v 1.16 2004/11/25 02:55:33 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-glib2/ChangeLog,v 1.17 2004/11/25 04:50:47 usata Exp $ + + 25 Nov 2004; Mamoru KOMACHI <usata@gentoo.org> ruby-glib2-0.11.0.ebuild: + Added src_test(). *ruby-glib2-0.11.0 (25 Nov 2004) diff --git a/dev-ruby/ruby-glib2/Manifest b/dev-ruby/ruby-glib2/Manifest index a1f818f0f298..90a50832ec17 100644 --- a/dev-ruby/ruby-glib2/Manifest +++ b/dev-ruby/ruby-glib2/Manifest @@ -1,9 +1,9 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 84df586b0998e563c9964a8d3f60eac6 ChangeLog 2307 +MD5 41a7f35df51645a831119b7be18eac9d ChangeLog 2403 MD5 3eec9f3fe48b51f49dbc1f171a3b026f metadata.xml 157 -MD5 850fbdc9659bc51241aa6b19736b9160 ruby-glib2-0.11.0.ebuild 450 +MD5 2967f8d3b389a657d9fb654d680666ec ruby-glib2-0.11.0.ebuild 704 MD5 96e57244518d157624002e341fc14c27 ruby-glib2-0.10.1.ebuild 447 MD5 377ae681411d5d27416f38e9b9903632 ruby-glib2-0.8.0.ebuild 393 MD5 daecf3bafbb8ca9e49fef04ee89ee300 ruby-glib2-0.8.1.ebuild 392 @@ -16,7 +16,7 @@ MD5 2b2c4fe1967f3e6d7abc0f74a6008c23 files/digest-ruby-glib2-0.9.1 73 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) -iD8DBQFBpUgdVWNWqTUmv+0RAgIbAJ9/zq3vm10NdQIgluY0BJrLFSha2ACeOx4v -7LbKB6JLEBglv0TAaLLPDdg= -=rnSM +iD8DBQFBpWMPVWNWqTUmv+0RArA2AKCzlFTxKCrzJTGa4Pa4hwTGRnJUGgCfaaB6 +O5IEB9zDqOSX24auhhUlTg4= +=ZrBH -----END PGP SIGNATURE----- diff --git a/dev-ruby/ruby-glib2/ruby-glib2-0.11.0.ebuild b/dev-ruby/ruby-glib2/ruby-glib2-0.11.0.ebuild index 2bacfeb7fca4..4cfa13194bb8 100644 --- a/dev-ruby/ruby-glib2/ruby-glib2-0.11.0.ebuild +++ b/dev-ruby/ruby-glib2/ruby-glib2-0.11.0.ebuild @@ -1,12 +1,24 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-glib2/ruby-glib2-0.11.0.ebuild,v 1.1 2004/11/25 02:55:33 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-glib2/ruby-glib2-0.11.0.ebuild,v 1.2 2004/11/25 04:50:47 usata Exp $ -inherit ruby ruby-gnome2 +inherit ruby ruby-gnome2 eutils DESCRIPTION="Ruby Glib2 bindings" KEYWORDS="~alpha ~x86 ~ppc ~ia64 ~sparc ~amd64" IUSE="" USE_RUBY="ruby16 ruby18 ruby19" -DEPEND="${DEPEND} >=dev-libs/glib-2" -RDEPEND="${RDEPEND} >=dev-libs/glib-2" +DEPEND=">=dev-libs/glib-2" + +src_test() { + if [ -z "$DISPLAY" ] || ! (/usr/X11R6/bin/xhost &>/dev/null) ; then + ewarn + ewarn "You are not authorised to connect to X server to run test." + ewarn "Disabling run test." + ewarn + epause; ebeep; epause + else + cd tests + ruby test-glib2.rb || die "test-glib2.rb failed" + fi +} |