Created attachment 345720 [details] yaml-cpp-0.5.1.ebuild There is a new release for yaml-cpp. The old ebuild mostly works, but I did a few changes nevertheless: * bumped to EAPI-5 * removed the S=... line -- unnecessary now * called cmake-utils_src_prepare for completeness sake Please note though, that >=yaml-cpp-0.5.0 has a new API. So it might be necessary to slot it (depending on the lib's consumers).
Comment on attachment 345720 [details] yaml-cpp-0.5.1.ebuild --- yaml-cpp-0.3.0.ebuild 2012-03-28 16:50:50.000000000 +0200 +++ - 2013-04-17 17:47:05.768990491 +0200 @@ -1,8 +1,8 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/yaml-cpp/yaml-cpp-0.3.0.ebuild,v 1.2 2012/03/28 09:15:01 scarabeus Exp $ +# $Header: $ -EAPI=4 +EAPI=5 inherit cmake-utils @@ -12,19 +12,18 @@ LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 x86" +KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="" RDEPEND="${DEPEND}" -S="${WORKDIR}/${PN}" - src_prepare() { sed -i \ -e 's:INCLUDE_INSTALL_ROOT_DIR:INCLUDE_INSTALL_DIR:g' \ yaml-cpp.pc.cmake || die + cmake-utils_src_prepare } src_configure() {
new app-i18n/librime release, version 0.9.9 require >=yaml-cpp-0.5.0, and I haven't bumped yet. for the new API change, I'm not sure whether version 0.3 and 0.5 will co-exist? but if it does, we may use subslot to solve this? thanks
I've grep whole portage tree, seems that media-libs/opencolorio and app-i18n/librime are the only two consumers test media-libs/opencolorio-1.0.8 compile fail with yaml-cpp-0.5.1, but fine with 0.3.0 librime-0.9.9 require >= yaml-cpp-0.5.x (<=librime-0.9.8 won't compile with yaml-cpp-0.5.1 , but ok with 0.3.0)
hey, any progress here?
Thanks guys, I'll take care of this over this weekend. Sorry for the late reply.
Bumped. I don't think we need to bother with SLOTs or SUBSLOTs just now. Lets properly adjust the deps and revisit this later if needed.