prometheanfire    15/07/12 02:31:07

  Modified:             ChangeLog
  Added:                facter-3.0.1-r3.ebuild
  Removed:              facter-3.0.1-r2.ebuild
  Log:
  removing the CXX overrides
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
0x33ED3FD25AFC78BA)

Revision  Changes    Path
1.138                dev-ruby/facter/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/facter/ChangeLog?rev=1.138&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/facter/ChangeLog?rev=1.138&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/facter/ChangeLog?r1=1.137&r2=1.138

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/facter/ChangeLog,v
retrieving revision 1.137
retrieving revision 1.138
diff -u -r1.137 -r1.138
--- ChangeLog   11 Jul 2015 23:21:40 -0000      1.137
+++ ChangeLog   12 Jul 2015 02:31:07 -0000      1.138
@@ -1,6 +1,12 @@
 # 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.137 
2015/07/11 23:21:40 binki Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/facter/ChangeLog,v 1.138 
2015/07/12 02:31:07 prometheanfire Exp $
+
+*facter-3.0.1-r3 (12 Jul 2015)
+
+  12 Jul 2015; Matthew Thode <[email protected]>
+  +facter-3.0.1-r3.ebuild, -facter-3.0.1-r2.ebuild:
+  removing the CXX overrides
 
 *facter-3.0.1-r2 (11 Jul 2015)
 



1.1                  dev-ruby/facter/facter-3.0.1-r3.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/facter/facter-3.0.1-r3.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/facter/facter-3.0.1-r3.ebuild?rev=1.1&content-type=text/plain

Index: facter-3.0.1-r3.ebuild
===================================================================
# 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-r3.ebuild,v 1.1 
2015/07/12 02:31:07 prometheanfire Exp $

EAPI=5
USE_RUBY="ruby19 ruby20 ruby21 ruby22"

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"
IUSE="debug test"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"

CDEPEND="
        >=sys-devel/gcc-4.8:*
        >=dev-libs/boost-1.54
        >=dev-cpp/yaml-cpp-0.5.1
        dev-libs/openssl:*
        sys-apps/util-linux
        app-emulation/virt-what
        net-misc/curl"

RDEPEND+=" ${CDEPEND}"
DEPEND+=" test? ( ${CDEPEND} )"

src_prepare() {
        sed -i 's/\-Werror\ //g' "vendor/leatherman/cmake/cflags.cmake" || die
        # Remove the code that installs facter.rb to the wrong directory.
        sed -i -e '/RUBY_VENDORDIR/d' lib/CMakeLists.txt || die
}

src_configure() {
        local mycmakeargs=(
                -DCMAKE_VERBOSE_MAKEFILE=ON
                -DCMAKE_BUILD_TYPE=None
                -DCMAKE_INSTALL_PREFIX=/usr
                -DCMAKE_INSTALL_SYSCONFDIR=/etc
                -DCMAKE_INSTALL_LOCALSTATEDIR=/var
        )
        if use debug; then
                mycmakeargs+=(
                  -DCMAKE_BUILD_TYPE=Debug
                )
        fi
        cmake-utils_src_configure
}

each_ruby_install() {
        doruby "${BUILD_DIR}"/lib/facter.rb
}

src_install() {
        cmake-utils_src_install
        ruby-ng_src_install
}




Reply via email to