prometheanfire    15/07/23 02:42:27

  Modified:             ChangeLog
  Added:                facter-3.0.2.ebuild
  Log:
  bup
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
0x33ED3FD25AFC78BA)

Revision  Changes    Path
1.141                dev-ruby/facter/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/facter/ChangeLog,v
retrieving revision 1.140
retrieving revision 1.141
diff -u -r1.140 -r1.141
--- ChangeLog   19 Jul 2015 08:47:50 -0000      1.140
+++ ChangeLog   23 Jul 2015 02:42:27 -0000      1.141
@@ -1,6 +1,11 @@
 # 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.140 
2015/07/19 08:47:50 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/facter/ChangeLog,v 1.141 
2015/07/23 02:42:27 prometheanfire Exp $
+
+*facter-3.0.2 (23 Jul 2015)
+
+  23 Jul 2015; Matthew Thode <[email protected]> +facter-3.0.2.ebuild:
+  bup
 
   19 Jul 2015; Jeroen Roovers <[email protected]> facter-3.0.1-r4.ebuild:
   Mark ~hppa (bug #553952).



1.1                  dev-ruby/facter/facter-3.0.2.ebuild

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

Index: facter-3.0.2.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.2.ebuild,v 1.1 
2015/07/23 02:42:27 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 ~hppa ~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 '/RUBY_VENDORDIR/d' lib/CMakeLists.txt || die
        # make it support multilib
        sed -i 's/\ lib)/\ lib${LIB_SUFFIX})/g' 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