prometheanfire 15/07/11 21:58:50 Modified: facter-3.0.1-r1.ebuild ChangeLog Log: fixing build errors and fixing ruby install method (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x33ED3FD25AFC78BA)
Revision Changes Path 1.2 dev-ruby/facter/facter-3.0.1-r1.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/facter/facter-3.0.1-r1.ebuild?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/facter/facter-3.0.1-r1.ebuild?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/facter/facter-3.0.1-r1.ebuild?r1=1.1&r2=1.2 Index: facter-3.0.1-r1.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-ruby/facter/facter-3.0.1-r1.ebuild,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- facter-3.0.1-r1.ebuild 11 Jul 2015 19:03:39 -0000 1.1 +++ facter-3.0.1-r1.ebuild 11 Jul 2015 21:58:49 -0000 1.2 @@ -1,14 +1,16 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/facter/facter-3.0.1-r1.ebuild,v 1.1 2015/07/11 19:03:39 prometheanfire Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/facter/facter-3.0.1-r1.ebuild,v 1.2 2015/07/11 21:58:49 prometheanfire Exp $ EAPI=5 +USE_RUBY="ruby19 ruby20 ruby21 ruby22" -inherit cmake-utils +inherit cmake-utils ruby-ng DESCRIPTION="A cross-platform Ruby library for retrieving facts from operating systems" HOMEPAGE="http://www.puppetlabs.com/puppet/related-projects/facter/" SRC_URI="https://downloads.puppetlabs.com/facter/${P}.tar.gz" +S="${S}/all/${P}" LICENSE="Apache-2.0" SLOT="0" @@ -16,7 +18,7 @@ KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" CDEPEND=" - >=sys-devel/gcc-4.8 + >=sys-devel/gcc-4.8:* >=dev-libs/boost-1.54 >=dev-cpp/yaml-cpp-0.5.1 dev-libs/openssl:= @@ -28,7 +30,7 @@ DEPEND+=" test? ( ${CDEPEND} )" src_prepare() { - sed -i 's/\-Werror\ //g' vendor/leatherman/cmake/cflags.cmake || die + sed -i 's/\-Werror\ //g' "vendor/leatherman/cmake/cflags.cmake" || die } src_configure() { @@ -49,3 +51,13 @@ fi cmake-utils_src_configure } + +each_ruby_install() { + doruby "${D}usr/lib64/ruby/vendor_ruby/facter.rb" +} + +src_install() { + cmake-utils_src_install + ruby-ng_src_install + rm -R "${D}usr/lib64/ruby/vendor_ruby" || die +} 1.135 dev-ruby/facter/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/facter/ChangeLog?rev=1.135&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/facter/ChangeLog?rev=1.135&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/facter/ChangeLog?r1=1.134&r2=1.135 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-ruby/facter/ChangeLog,v retrieving revision 1.134 retrieving revision 1.135 diff -u -r1.134 -r1.135 --- ChangeLog 11 Jul 2015 19:03:39 -0000 1.134 +++ ChangeLog 11 Jul 2015 21:58:49 -0000 1.135 @@ -1,6 +1,9 @@ # ChangeLog for dev-ruby/facter # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/facter/ChangeLog,v 1.134 2015/07/11 19:03:39 prometheanfire Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/facter/ChangeLog,v 1.135 2015/07/11 21:58:49 prometheanfire Exp $ + + 11 Jul 2015; Matthew Thode <[email protected]> facter-3.0.1-r1.ebuild: + fixing build errors and fixing ruby install method *facter-3.0.1-r1 (11 Jul 2015)
