From 5f784f1bc77204888d7906d0387a4a0e8477d37b Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Thu, 27 Jan 2011 11:28:49 +0000 Subject: Don't build tests when not needed (bug #226215), bump to eapi3 and set GCONF_DEBUG to proper value. Package-Manager: portage-2.1.9.35/cvs/Linux x86_64 --- dev-libs/libcroco/ChangeLog | 8 ++++++-- dev-libs/libcroco/Manifest | 14 ++++++++++++-- dev-libs/libcroco/libcroco-0.6.2.ebuild | 20 ++++++++++++++++---- 3 files changed, 34 insertions(+), 8 deletions(-) (limited to 'dev-libs/libcroco') diff --git a/dev-libs/libcroco/ChangeLog b/dev-libs/libcroco/ChangeLog index 9129543fdfb9..5dc3f4dde783 100644 --- a/dev-libs/libcroco/ChangeLog +++ b/dev-libs/libcroco/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-libs/libcroco -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcroco/ChangeLog,v 1.49 2010/07/20 04:37:02 jer Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcroco/ChangeLog,v 1.50 2011/01/27 11:28:49 pacho Exp $ + + 27 Jan 2011; Pacho Ramos libcroco-0.6.2.ebuild: + Don't build tests when not needed (bug #226215), bump to eapi3 and set + GCONF_DEBUG to proper value. 20 Jul 2010; Jeroen Roovers libcroco-0.6.1.ebuild, libcroco-0.6.2.ebuild: diff --git a/dev-libs/libcroco/Manifest b/dev-libs/libcroco/Manifest index b0cc4563f117..5e92308bd001 100644 --- a/dev-libs/libcroco/Manifest +++ b/dev-libs/libcroco/Manifest @@ -1,4 +1,14 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + DIST libcroco-0.6.2.tar.bz2 415492 RMD160 402daf6ef986f90998449c254822080b38e28cd7 SHA1 4b0dd540a47f2492b1ac7cd7e3ec63c2ef4c9c2a SHA256 be24853f64c09b63d39e563fb0222e29bae1a33c3d9f6cbffc0bc27669371749 -EBUILD libcroco-0.6.2.ebuild 757 RMD160 393d78d714ada78bb7f3cd1f72defcffdafc8dbc SHA1 965a8d3758385504bda651e761ab92e6e24b571d SHA256 35d914c7bf97d0ffea25aff08ff290dd0a541c745a49e565a70ec6aa74a72e6a -MISC ChangeLog 5604 RMD160 1eeea9748cb667edc067435ff5564965c75bf0e2 SHA1 ac40f588839ede6806b4401a1b417ace37989efa SHA256 530fa268dc0d01e42ed9eee2337d2d09410041e41ea9c975c4cbd16cc63e53f8 +EBUILD libcroco-0.6.2.ebuild 979 RMD160 9b5b0b8392098fe201e15f6c51609c044dccf782 SHA1 2d326e6d63df8b192d87cbd2ac044af3d9b9317e SHA256 926a6683dee5ea64007558140896af9781979306db838088338e98c48e632cda +MISC ChangeLog 5780 RMD160 ab2214cd21f30017f42d58b888e2353b223b7861 SHA1 e6c9121eaea294c5af8cbdaf97176d4ddff9b555 SHA256 0716c3393b66a1ccf7e166c39bbbf9281ba6adc7adc22b28f232d184543b1212 MISC metadata.xml 506 RMD160 115b4d9c78dd481a95521171620ca2d86ef6067c SHA1 ee9592d519c9d395d2a34ec15d3ec3421c0eec4c SHA256 5f8b109e92fd7c14d0f63f9c73ce84df22ddc10baee3b2ee28d1c24a902f409f +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.16 (GNU/Linux) + +iEYEARECAAYFAk1BVvcACgkQCaWpQKGI+9TOUACfax3tC11tHOwAFhKYh6afHqIc +MzMAn1octDUdgRKu5nItwytW3JDY3U8l +=QeT0 +-----END PGP SIGNATURE----- diff --git a/dev-libs/libcroco/libcroco-0.6.2.ebuild b/dev-libs/libcroco/libcroco-0.6.2.ebuild index d5d2b3372586..11d74f49b22d 100644 --- a/dev-libs/libcroco/libcroco-0.6.2.ebuild +++ b/dev-libs/libcroco/libcroco-0.6.2.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcroco/libcroco-0.6.2.ebuild,v 1.11 2010/10/07 22:22:57 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcroco/libcroco-0.6.2.ebuild,v 1.12 2011/01/27 11:28:49 pacho Exp $ + +EAPI="3" +GCONF_DEBUG="no" -EAPI=2 inherit gnome2 DESCRIPTION="Generic Cascading Style Sheet (CSS) parsing and manipulation toolkit" @@ -11,7 +13,7 @@ HOMEPAGE="http://www.freespiders.org/projects/libcroco/" LICENSE="LGPL-2" SLOT="0.6" KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd" -IUSE="doc" +IUSE="doc test" RDEPEND="dev-libs/glib:2 >=dev-libs/libxml2-2.4.23" @@ -23,3 +25,13 @@ pkg_setup() { G2CONF="${G2CONF} --disable-static" DOCS="AUTHORS ChangeLog HACKING NEWS README TODO" } + +src_prepare() { + gnome2_src_prepare + + if ! use test; then + # don't waste time building tests + sed 's/^\(SUBDIRS .*\=.*\)tests\(.*\)$/\1\2/' -i Makefile.am Makefile.in \ + || die "sed failed" + fi +} -- cgit v1.2.3-65-gdbad