diff options
author | Ryan Hill <dirtyepic@gentoo.org> | 2011-03-19 06:45:16 +0000 |
---|---|---|
committer | Ryan Hill <dirtyepic@gentoo.org> | 2011-03-19 06:45:16 +0000 |
commit | 1d143f8ba56d60533f9330eda3b83cd88fd77507 (patch) | |
tree | 72284a8052e313f2b31ad6e662b78cbb778eb148 /app-pda/libopensync-plugin-syncml | |
parent | Remove old versions. (diff) | |
download | gentoo-2-1d143f8ba56d60533f9330eda3b83cd88fd77507.tar.gz gentoo-2-1d143f8ba56d60533f9330eda3b83cd88fd77507.tar.bz2 gentoo-2-1d143f8ba56d60533f9330eda3b83cd88fd77507.zip |
Use EAPI 4 for REQUIRED_USE.
(Portage version: 2.2.0_alpha28/cvs/Linux x86_64)
Diffstat (limited to 'app-pda/libopensync-plugin-syncml')
4 files changed, 24 insertions, 29 deletions
diff --git a/app-pda/libopensync-plugin-syncml/ChangeLog b/app-pda/libopensync-plugin-syncml/ChangeLog index 8356a95f48a0..691d085ae733 100644 --- a/app-pda/libopensync-plugin-syncml/ChangeLog +++ b/app-pda/libopensync-plugin-syncml/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-pda/libopensync-plugin-syncml -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-syncml/ChangeLog,v 1.15 2010/05/19 19:14:50 bangert Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-syncml/ChangeLog,v 1.16 2011/03/19 06:45:16 dirtyepic Exp $ + + 19 Mar 2011; Ryan Hill <dirtyepic@gentoo.org> + libopensync-plugin-syncml-0.39.ebuild, libopensync-plugin-syncml-9999.ebuild, + metadata.xml: + Use EAPI 4 for REQUIRED_USE. 19 May 2010; Thilo Bangert <bangert@gentoo.org> libopensync-plugin-syncml-9999.ebuild: diff --git a/app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-0.39.ebuild b/app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-0.39.ebuild index b96218463a69..e23a153f494c 100644 --- a/app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-0.39.ebuild +++ b/app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-0.39.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-0.39.ebuild,v 1.1 2009/11/15 22:31:27 eva Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-0.39.ebuild,v 1.2 2011/03/19 06:45:16 dirtyepic Exp $ -EAPI="2" +EAPI="4" inherit cmake-utils @@ -15,7 +15,9 @@ SLOT="0" LICENSE="LGPL-2.1" IUSE="http +obex" -RDEPEND="=app-pda/libopensync-${PV}* +REQUIRED_USE="|| ( http obex )" + +RDEPEND="~app-pda/libopensync-${PV} dev-libs/glib:2 dev-libs/libxml2 >=app-pda/libsyncml-0.5.0[obex?,http?]" @@ -24,14 +26,6 @@ DEPEND="${RDEPEND}" # FIXME: % tests passed, 2 tests failed out of 2 RESTRICT="test" -pkg_setup() { - if ! use obex && ! use http; then - eerror "${CATEGORY}/${P} without support for obex nor http is unusable." - eerror "Please enable \"obex\" or/and \"http\" USE flags." - die "Please enable \"obex\" or/and \"http\" USE flags." - fi -} - src_configure() { DOCS="AUTHORS" diff --git a/app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-9999.ebuild b/app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-9999.ebuild index 9909aea153e2..fc3f138b0b9e 100644 --- a/app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-9999.ebuild +++ b/app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-9999.ebuild @@ -1,8 +1,8 @@ -# 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/app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-9999.ebuild,v 1.4 2010/05/19 19:14:50 bangert Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-syncml/libopensync-plugin-syncml-9999.ebuild,v 1.5 2011/03/19 06:45:16 dirtyepic Exp $ -EAPI="2" +EAPI="4" inherit cmake-utils subversion @@ -17,19 +17,15 @@ SLOT="0" LICENSE="LGPL-2.1" IUSE="http +obex" -RDEPEND="=app-pda/libopensync-${PV}* +REQUIRED_USE="|| ( http obex )" + +RDEPEND="~app-pda/libopensync-${PV} + ~app-pda/libsyncml-${PV}[obex?,http?] dev-libs/glib:2 - dev-libs/libxml2 - >=app-pda/libsyncml-0.5.99[obex?,http?]" + dev-libs/libxml2" DEPEND="${RDEPEND}" -pkg_setup() { - if ! use obex && ! use http; then - eerror "${CATEGORY}/${P} without support for obex nor http is unusable." - eerror "Please enable \"obex\" or/and \"http\" USE flags." - die "Please enable \"obex\" or/and \"http\" USE flags." - fi -} +RESTRICT="test" src_configure() { DOCS="AUTHORS" diff --git a/app-pda/libopensync-plugin-syncml/metadata.xml b/app-pda/libopensync-plugin-syncml/metadata.xml index fef3ef181a38..98dbed7d5471 100644 --- a/app-pda/libopensync-plugin-syncml/metadata.xml +++ b/app-pda/libopensync-plugin-syncml/metadata.xml @@ -3,8 +3,8 @@ <pkgmetadata> <herd>pda</herd> <maintainer> - <email>peper@gentoo.org</email> - <name>Piotr Jaroszyński</name> + <email>dirtyepic@gentoo.org</email> + <name>Ryan Hill</name> </maintainer> <use> <flag name='http'>Enable http transports</flag> |