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: Thu, 27 Apr 2017 18:06:30 +0000 (UTC)	[thread overview]
Message-ID: <1493316376.1e4744e4a226e36cbe75d2d042a4087048db5c0e.prometheanfire@gentoo> (raw)

commit:     1e4744e4a226e36cbe75d2d042a4087048db5c0e
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 27 18:05:57 2017 +0000
Commit:     Matt Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Thu Apr 27 18:06:16 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e4744e4

dev-ruby/facter: 3.6.4 bup

Package-Manager: Portage-2.3.3, Repoman-2.3.2

 dev-ruby/facter/Manifest            |  1 +
 dev-ruby/facter/facter-3.6.4.ebuild | 88 +++++++++++++++++++++++++++++++++++++
 2 files changed, 89 insertions(+)

diff --git a/dev-ruby/facter/Manifest b/dev-ruby/facter/Manifest
index e9e4612f540..ad3b6876608 100644
--- a/dev-ruby/facter/Manifest
+++ b/dev-ruby/facter/Manifest
@@ -3,3 +3,4 @@ DIST facter-3.1.4.tar.gz 620501 SHA256 7ca1872edbdc5ffcd11dc292e5e0625c9e0d35aa7
 DIST facter-3.1.8.tar.gz 324710 SHA256 bd393026640baf149507c11d36be144759889d4c90174d7c6bfb35e0a341fbca SHA512 2884c2c0bb3075b2552763dee7f33228b0e70b4eb46367f52c4cbf9e01930ddc5e58d062d06ced4174900fc3eae5214d80471a4fe499bf0f2ac0278640e0e8c7 WHIRLPOOL 465432940e068318da0028ce1c8ea3084392212cfc6a50449a3ba034fe721836c88ba16c2248b4b3f062a890087421c93a3d14574c8d03e1eafe4f4f82b49d0d
 DIST facter-3.6.1.tar.gz 364596 SHA256 cee28c3fb0134cfd90417c6facec795c1de724ea067911aa4f5b21b1c3785591 SHA512 7cb01536c2682576a8074abf0d617de31f3c9b79eb7f753e8a2ea8b231a9dc4d2017a1e8cf383f6a664596799111803b40e3772f0559c6de74351b8bb75ec0f3 WHIRLPOOL 2eafcfdae1cf83592907624716e21b8f030f96a42b4fa613eacde99ea895a0eae06bb6571d4a197c418aa0db9ad8f04b56938fc8f490d05423824b321ee11b74
 DIST facter-3.6.3.tar.gz 370771 SHA256 8c7491db7937a350d738985ee9b4ab370f074d82d89b6ed0115cc21e5adadcbe SHA512 cdcc6bd848c664f395f656d57e0bd28b62cccfdaeccdc9cd364d90a96693c6c8cdc079aa70409297f0ecfdee041c28bad52b3cb4b8981e66de2887bc5eb1bf33 WHIRLPOOL 91d7b8df9e79455f65e89f7a4e17c1cd7076e08091af89a8eb2116bc4716a7b4d4163559cdbed55f356d2fafc6a86cd075de6e15d8b9103be62d6ec3f68b69f6
+DIST facter-3.6.4.tar.gz 373722 SHA256 de12c53c74dd3f39633e61f62a900842d829cbe24b76e72b0c6e85000a99b8bc SHA512 d5e03bb40da448805a56accc2fb972569f686a1e8c8b343d4e0defb5a00a982665496049174c225a8b04abb4d09112bd2117a8a96c9360bb2e36e4d569d86337 WHIRLPOOL f7a05a044c7031f248a888458678b48fc8d7996a2d0bc588323bf6c76513ff4fc838f0299db19f212dd0b5ba094b8135558db7da7f4ff596267832354d369634

diff --git a/dev-ruby/facter/facter-3.6.4.ebuild b/dev-ruby/facter/facter-3.6.4.ebuild
new file mode 100644
index 00000000000..47f77c3cc1a
--- /dev/null
+++ b/dev-ruby/facter/facter-3.6.4.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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"
+
+BDEPEND="
+	>=sys-devel/gcc-4.8:*
+	>=dev-libs/boost-1.54[nls]
+	>=dev-libs/leatherman-0.9.3
+	>=dev-cpp/yaml-cpp-0.5.1
+	dev-cpp/cpp-hocon"
+CDEPEND="
+	dev-libs/openssl:*
+	sys-apps/util-linux
+	app-emulation/virt-what
+	net-misc/curl
+	!<app-admin/puppet-4.0.0"
+
+RDEPEND="${CDEPEND}"
+DEPEND="${BDEPEND}
+	${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
+	# make the require work
+	sed -i 's/\${LIBFACTER_INSTALL_DESTINATION}\///g' lib/facter.rb.in || die
+	# patches
+	epatch_user
+}
+
+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
+}
+
+src_compile() {
+	cmake-utils_src_compile
+}
+
+each_ruby_install() {
+	doruby "${BUILD_DIR}"/lib/facter.rb
+}
+
+src_test() {
+	cmake-utils_src_test
+}
+
+src_install() {
+	cmake-utils_src_install
+	ruby-ng_src_install
+
+	# need a variable file in env.d :(
+	diropts -m0755
+	dodir /etc/env.d
+	echo -n "FACTERDIR=/usr/$(get_libdir)" > "${D}/etc/env.d/00facterdir"
+	fperms 0644 /etc/env.d/00facterdir
+}


             reply	other threads:[~2017-04-27 18:06 UTC|newest]

Thread overview: 225+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-27 18: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-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-07-20  2:06 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=1493316376.1e4744e4a226e36cbe75d2d042a4087048db5c0e.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