public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matt Thode" <prometheanfire@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/facter/
Date: Wed, 20 Jul 2016 02:06:01 +0000 (UTC)	[thread overview]
Message-ID: <1468980329.572c1300b7dce3a246e323b86a7ca798ecaed684.prometheanfire@gentoo> (raw)

commit:     572c1300b7dce3a246e323b86a7ca798ecaed684
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 20 02:05:29 2016 +0000
Commit:     Matt Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Wed Jul 20 02:05:29 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=572c1300

dev-ruby/facter: bup

Package-Manager: portage-2.2.28

 dev-ruby/facter/Manifest            |  1 +
 dev-ruby/facter/facter-3.3.0.ebuild | 74 +++++++++++++++++++++++++++++++++++++
 2 files changed, 75 insertions(+)

diff --git a/dev-ruby/facter/Manifest b/dev-ruby/facter/Manifest
index dbe3f6a..3a1fe20 100644
--- a/dev-ruby/facter/Manifest
+++ b/dev-ruby/facter/Manifest
@@ -3,3 +3,4 @@ DIST facter-2.4.6.gem 246272 SHA256 56ffc5fbcd550fcdb4788bc4d7fd0199bff69937d6df
 DIST facter-3.1.4.tar.gz 620501 SHA256 7ca1872edbdc5ffcd11dc292e5e0625c9e0d35aa7966d8803859da0d035c7fcf SHA512 2fcc990c8e26349b9fa87cd1f7c43dffd49ffacf03c3467e836ea0bcd7527e1d40b6240646fd7dd6346121ca802fe86e996e209d838db91e8fe55298fdab4e0e WHIRLPOOL 224b17990fc559fce3a7c9b31c14dd45033127b078d68fac024cb6db192573085187163932c9dacd8fd94a281bd8d58ac1c75229a8e3bce4c4f070ebc81ff0f3
 DIST facter-3.1.6.tar.gz 324278 SHA256 6e55ce2fbf1cc451974dec80aaa96a05a03b37822e69be9ac517d8006544be17 SHA512 9f6bcec76be8af68f4b4179835a8d4758a29fb772a6d041d7901f839004efdf0145507340c67d3c701284f7ac04e9bfcd1297f16bdbc0ec0184dcbd9ab9c0354 WHIRLPOOL 0d62d84565df2eab88253b5b8fc851751ec20d720675555c351b5b1a207587d99ab10f685ba62a2048fef8a56b0428ae881c46a9fda14c06d832899ad5d01ac9
 DIST facter-3.1.8.tar.gz 324710 SHA256 bd393026640baf149507c11d36be144759889d4c90174d7c6bfb35e0a341fbca SHA512 2884c2c0bb3075b2552763dee7f33228b0e70b4eb46367f52c4cbf9e01930ddc5e58d062d06ced4174900fc3eae5214d80471a4fe499bf0f2ac0278640e0e8c7 WHIRLPOOL 465432940e068318da0028ce1c8ea3084392212cfc6a50449a3ba034fe721836c88ba16c2248b4b3f062a890087421c93a3d14574c8d03e1eafe4f4f82b49d0d
+DIST facter-3.3.0.tar.gz 324839 SHA256 a143ec499f77c355a843fef7999c7fab13134ff0cbeb0ab403edc499e974d100 SHA512 a9a3dbceff5ecff85b3080dd744fd2502ce0c0306ca0e585b26d2df7c4fa90772237ecdec221b771212f99d291c52d8bc4162389b15a4a1260441a3cecf4fe23 WHIRLPOOL f2faffdf76062f90ed725133522e148a27538becd5c8f5059cd2b7704a6e43b8ea1510d016d39fa2f79fb9ea69d1e6001970bba87b983553425db9ff0a9a4733

diff --git a/dev-ruby/facter/facter-3.3.0.ebuild b/dev-ruby/facter/facter-3.3.0.ebuild
new file mode 100644
index 0000000..099be14
--- /dev/null
+++ b/dev-ruby/facter/facter-3.3.0.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby21 ruby22"
+
+inherit cmake-utils multilib 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://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${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[nls]
+	>=dev-libs/leatherman-0.4.2
+	>=dev-cpp/yaml-cpp-0.5.1
+	dev-libs/openssl:*
+	sys-apps/util-linux
+	app-emulation/virt-what
+	net-misc/curl
+	!<app-admin/puppet-4.0.0"
+
+RDEPEND+=" ${CDEPEND}"
+DEPEND+=" test? ( ${CDEPEND} )"
+
+src_prepare() {
+	# Remove the code that installs facter.rb to the wrong directory.
+	sed -i '/install(.*facter\.rb/d' lib/CMakeLists.txt || die
+	sed -i '/install(.*facter\.jar/d' lib/CMakeLists.txt || die
+	# make it support multilib
+	sed -i "s/\ lib)/\ $(get_libdir))/g" lib/CMakeLists.txt || die
+	sed -i "s/lib\")/$(get_libdir)\")/g" 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
+		-DUSE_JRUBY_SUPPORT=FALSE
+		-DBLKID_LIBRARY=/$(get_libdir)/libblkid.so.1
+	)
+	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
+	if [[ $(get_libdir) == lib64 ]]; then
+		dodir /usr/lib64
+		mv "${D}/usr/lib/"* "${D}/usr/lib64/"
+		rmdir "${D}/usr/lib"
+	fi
+	doenvd "${FILESDIR}"/00facterdir
+}


             reply	other threads:[~2016-07-20  2:06 UTC|newest]

Thread overview: 225+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-20  2:06 Matt Thode [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-14  0:33 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/facter/ Sam James
2024-10-14  0:33 Sam James
2024-08-07 12:09 Sam James
2024-08-07 12:09 Sam James
2024-08-07 12:09 Sam James
2024-08-07 12:09 Sam James
2024-08-07 12:09 Sam James
2024-07-10 11:39 Jakov Smolić
2024-06-25  3:52 Sam James
2024-06-25  3:51 Sam James
2024-04-10 16:22 Matthew Thode
2024-01-16 21:30 Matthew Thode
2023-10-26  4:25 Matthew Thode
2023-10-25  4:19 Matthew Thode
2023-09-27 20:31 Matthew Thode
2023-09-23  7:16 Hans de Graaff
2023-09-16  5:30 Hans de Graaff
2023-09-16  5:30 Hans de Graaff
2023-09-10  2:29 Robin H. Johnson
2023-08-25 14:51 Matthew Thode
2023-08-18 18:02 Matthew Thode
2023-08-13 20:30 Matthew Thode
2023-07-13 16:19 Matthew Thode
2023-06-22  3:16 Matthew Thode
2023-06-13 19:08 Matthew Thode
2023-06-05 14:23 Matthew Thode
2023-05-21 19:58 Matthew Thode
2023-05-05 15:43 Matthew Thode
2023-04-22  1:46 Matthew Thode
2023-04-05 18:14 Matthew Thode
2023-02-25 17:45 Matthew Thode
2023-02-08 22:00 Matthew Thode
2023-01-10 20:33 Matthew Thode
2022-12-10 19:00 Matthew Thode
2022-12-10 19:00 Matthew Thode
2022-12-03 14:57 Hans de Graaff
2022-11-01  9:48 Yixun Lan
2022-10-08 20:01 Sam James
2022-09-23 19:19 Matthew Thode
2022-08-19 22:38 Matthew Thode
2022-07-19 16:33 Matthew Thode
2022-06-07 21:09 Matthew Thode
2022-05-07 15:58 Matthew Thode
2022-04-08  4:02 Matthew Thode
2022-01-26 18:40 Fabian Groffen
2021-12-31  2:34 Matthew Thode
2021-12-06 19:52 Matthew Thode
2021-12-01  1:20 Matthew Thode
2021-11-06 18:03 Matthew Thode
2021-10-31  2:42 Matthew Thode
2021-10-07  4:06 Matthew Thode
2021-09-13 13:55 Matthew Thode
2021-08-13 15:36 Matthew Thode
2021-07-14  4:00 Matthew Thode
2021-07-14  4:00 Matthew Thode
2021-06-17 15:33 Matthew Thode
2021-06-13 20:53 Matthew Thode
2021-05-17 16:42 Matthew Thode
2021-04-18  3:25 Matthew Thode
2021-02-20  0:37 Matthew Thode
2021-02-14 23:21 Matthew Thode
2021-02-06 20:47 Matthew Thode
2021-01-19 17:14 Matthew Thode
2020-12-20 19:57 Matthew Thode
2020-11-21  5:57 Matthew Thode
2020-10-20 20:45 Matthew Thode
2020-09-25 15:39 Matthew Thode
2020-09-11 16:42 Matthew Thode
2020-08-24 18:22 Matthew Thode
2020-08-11 18:03 Matthew Thode
2020-07-29 18:13 Matthew Thode
2020-07-11 18:21 Matthew Thode
2020-06-29 21:47 Matthew Thode
2020-05-30 17:18 Matthew Thode
2020-04-30 15:51 Matthew Thode
2020-04-08 16:25 Matthew Thode
2020-03-19 20:27 Hans de Graaff
2020-03-17  6:35 Matthew Thode
2020-03-17  6:35 Matthew Thode
2020-03-08 18:11 Matthew Thode
2020-02-17 22:36 Matthew Thode
2020-02-13 22:54 Matthew Thode
2020-02-13 22:54 Matthew Thode
2020-01-13 16:36 Matthew Thode
2019-12-31 15:17 David Seifert
2019-12-31 14:02 Agostino Sarubbo
2019-12-30 15:19 Agostino Sarubbo
2019-12-07 19:00 David Seifert
2019-12-07 19:00 David Seifert
2019-11-24 14:00 Mikle Kolyada
2019-11-18 15:30 Matthew Thode
2019-11-13 19:15 Matthew Thode
2019-10-18 16:03 Matthew Thode
2019-09-30 14:36 Matthew Thode
2019-09-23 15:32 Matthew Thode
2019-09-18 16:16 Matthew Thode
2019-09-16 16:45 Matthew Thode
2019-08-16 20:07 Matthew Thode
2019-07-27 18:14 Matthew Thode
2019-07-19 19:17 Matthew Thode
2019-07-16 15:06 Matthew Thode
2019-07-10 18:24 Matthew Thode
2019-06-27 15:25 Matthew Thode
2019-05-29 10:03 Michał Górny
2019-05-15 18:29 Hans de Graaff
2019-04-25  1:11 Matthew Thode
2019-04-11 20:33 Matthew Thode
2019-03-26 15:54 Matthew Thode
2019-03-23 19:58 Matthew Thode
2019-03-18 16:19 Matthew Thode
2019-02-18 16:48 Matthew Thode
2019-02-15 16:15 Matthew Thode
2019-01-25 20:56 Robin H. Johnson
2019-01-15 17:21 Matthew Thode
2019-01-15 17:21 Matthew Thode
2018-12-17 19:05 Matthew Thode
2018-12-10  7:47 Hans de Graaff
2018-11-23 22:16 Matthew Thode
2018-11-23  9:11 Hans de Graaff
2018-10-24  0:36 Matthew Thode
2018-10-17 19:38 Matthew Thode
2018-09-21 18:18 Matt Thode
2018-09-18  6:49 Matt Thode
2018-08-22  5:17 Matt Thode
2018-08-18  2:46 Matt Thode
2018-07-27 15:40 Matt Thode
2018-07-25 18:44 Matt Thode
2018-07-17 16:02 Matt Thode
2018-07-01  8:25 Hans de Graaff
2018-06-30 19:01 Matt Thode
2018-06-28 16:18 Matt Thode
2018-05-30 20:23 Matt Thode
2018-05-15 15:26 Matt Thode
2018-05-15 15:26 Matt Thode
2018-04-28  7:09 Hans de Graaff
2018-04-18 19:52 Matt Thode
2018-04-18 19:52 Matt Thode
2018-03-21  6:41 Hans de Graaff
2018-03-21  2:43 Matt Turner
2018-03-20  1:46 Matt Thode
2018-03-13 14:29 Matt Thode
2018-02-25 21:52 Sergei Trofimovich
2018-02-19 15:51 Matt Thode
2018-02-16 17:14 Matt Thode
2018-02-14  3:17 Matt Thode
2018-02-10 12:56 Jeroen Roovers
2018-02-06 17:05 Matt Thode
2018-01-22 19:49 Hans de Graaff
2018-01-20 23:03 Andreas Sturmlechner
2017-12-24  9:59 Hans de Graaff
2017-12-19 22:30 Sergei Trofimovich
2017-12-10  0:42 Sergei Trofimovich
2017-11-18 22:23 Matt Thode
2017-11-18 20:30 Sergei Trofimovich
2017-11-02  4:28 Matt Thode
2017-10-09  4:23 Matt Thode
2017-09-30  4:21 Matt Thode
2017-09-25 19:58 Matt Thode
2017-09-23  7:51 Hans de Graaff
2017-09-13 17:16 Matt Thode
2017-09-06 14:07 Matt Thode
2017-08-30 18:13 Fabian Groffen
2017-08-22 22:44 Matt Thode
2017-08-20 17:33 Thomas Deutschmann
2017-08-16 19:14 Matt Thode
2017-08-16 17:53 Matt Thode
2017-07-29 19:32 Matt Thode
2017-07-26 22:15 Matt Thode
2017-07-19 20:55 Matt Thode
2017-07-19 20:55 Matt Thode
2017-07-19  2:57 Matt Thode
2017-07-15 15:17 Tobias Klausmann
2017-07-10 19:06 Diego Elio Pettenò
2017-06-29  3:02 Matt Thode
2017-06-28 18:56 Matt Thode
2017-06-14 19:36 Matt Thode
2017-04-30 10:06 Jeroen Roovers
2017-04-27 18:06 Matt Thode
2017-04-19 16:06 Matt Thode
2017-04-16 18:51 Matt Thode
2017-04-16 18:51 Matt Thode
2017-04-05 18:42 Matt Thode
2017-03-29  2:06 Jeroen Roovers
2017-03-24  4:28 Matt Thode
2017-03-09 19:37 Matt Thode
2017-03-09 19:04 Matt Thode
2017-03-09 17:51 Matt Thode
2017-02-15  9:52 Michael Weber
2017-02-10 19:45 Matt Thode
2017-02-01 21:55 Matt Thode
2017-01-19 22:34 Matt Thode
2017-01-18 19:27 Matt Thode
2016-12-07  9:09 Hans de Graaff
2016-12-06  0:11 Matt Thode
2016-12-05 23:52 Michał Górny
2016-11-27  8:29 Hans de Graaff
2016-11-27  2:51 Matt Thode
2016-11-13  8:33 Hans de Graaff
2016-11-13  8:33 Hans de Graaff
2016-11-09 21:46 Matt Thode
2016-10-27  0:08 Matt Thode
2016-10-02  8:31 Jeroen Roovers
2016-09-23 14:43 Matt Thode
2016-08-23 22:52 Matt Thode
2016-08-18 16:15 Matt Thode
2016-08-11 17:47 Matt Thode
2016-06-03 23:15 Matt Thode
2016-05-20 18:19 Matt Thode
2016-04-30  0:50 Matt Thode
2016-04-24 17:50 Matt Thode
2016-04-23 15:36 Matt Thode
2016-04-17 14:34 Manuel Rüger
2016-03-19 19:37 Matt Thode
2016-03-17 20:35 Matt Thode
2016-03-14 22:13 Agostino Sarubbo
2016-01-27  4:15 Matt Thode
2016-01-26 20:07 Matt Thode
2016-01-25 22:47 Matt Thode
2015-12-01 17:48 Matt Thode
2015-11-17 21:11 Matt Thode
2015-11-17 21:11 Matt Thode
2015-11-03 17:43 Matt Thode
2015-09-23  2:42 Matt Thode
2015-09-15 18:38 Matt Thode

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1468980329.572c1300b7dce3a246e323b86a7ca798ecaed684.prometheanfire@gentoo \
    --to=prometheanfire@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox