From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1510043-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 06DD415ACFB for <garchives@archives.gentoo.org>; Sat, 22 Apr 2023 01:46:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2D935E0718; Sat, 22 Apr 2023 01:46:56 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F0DCAE0718 for <gentoo-commits@lists.gentoo.org>; Sat, 22 Apr 2023 01:46:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B2DEB340861 for <gentoo-commits@lists.gentoo.org>; Sat, 22 Apr 2023 01:46:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C0EDAA40 for <gentoo-commits@lists.gentoo.org>; Sat, 22 Apr 2023 01:46:51 +0000 (UTC) From: "Matthew Thode" <prometheanfire@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthew Thode" <prometheanfire@gentoo.org> Message-ID: <1682128004.f1f31babf95e0a420361a0783c03e97c6184b2c0.prometheanfire@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/facter/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/facter/Manifest dev-ruby/facter/facter-4.4.0.ebuild X-VCS-Directories: dev-ruby/facter/ X-VCS-Committer: prometheanfire X-VCS-Committer-Name: Matthew Thode X-VCS-Revision: f1f31babf95e0a420361a0783c03e97c6184b2c0 X-VCS-Branch: master Date: Sat, 22 Apr 2023 01:46:51 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 88e69973-9419-4fcc-b813-2cb603b3ba0e X-Archives-Hash: 248014761d36d766937f7ad8326abf69 commit: f1f31babf95e0a420361a0783c03e97c6184b2c0 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> AuthorDate: Sat Apr 22 01:46:44 2023 +0000 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> CommitDate: Sat Apr 22 01:46:44 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1f31bab dev-ruby/facter: add 4.4.0 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> dev-ruby/facter/Manifest | 1 + dev-ruby/facter/facter-4.4.0.ebuild | 46 +++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-ruby/facter/Manifest b/dev-ruby/facter/Manifest index cd74ab01b9b4..1bb380544c47 100644 --- a/dev-ruby/facter/Manifest +++ b/dev-ruby/facter/Manifest @@ -1,3 +1,4 @@ DIST facter-3.14.24.tar.gz 410547 BLAKE2B 69d2fd3b1bf9f91456ca570f9fef44ddd6e7656a285c035ecb42df2553c461be137d06232fc1f96f239598143912928dcfaf0d9b3078f4335dfc83163eee5120 SHA512 88e47271f213570fb7819630f7b08076bd8b234612a2bb885de760acab48c37b588c1f214da11c5096f0db6b7df4a516b6e83abc56a1d95779b6f1353831e588 DIST facter-4.3.0.tar.gz 485528 BLAKE2B 87649bd543337d3f12b978cbff78b0829e2f11ea68884b357a131b421fa60a5c713fee7d0dd04e04aa4cbfa39a08889967b0b531bfc8fcde781be12b4f455f01 SHA512 52ed43ab1d11ded079ae221a60f1448f1cf3a3c66907e828f9d6e0c5c0e28c26641ce482a694100700633cc1459a3521be45029907307b2bf91cb6eaecc1b351 DIST facter-4.3.1.tar.gz 485690 BLAKE2B bd522f0f3b03e730c21818c30b527a47e6bd10c4845aa5c9906c220ace8abebfec9d1b37fa8ad7a8aa6d2016cff436bc99ad4c1233effca81cfe433156539f57 SHA512 b66d57e6adce0f6c5c56fc9d52dc3e20d5bd269893df60abfa30275dfa044f15e5d663a8c19d3827685305d76f9eac42609c9e29d670b81890cf668f80f64a0b +DIST facter-4.4.0.tar.gz 490304 BLAKE2B 1ad4d50f18c13ca6133e0606c33c5cdaa553168d6bb551199aeb1770280d39f0c7d6416a4796b306cbc70f5d4f3f8852e922514657f463096af039587f934549 SHA512 b58bfbd39c304eaaa80b5015593aa62642be40f0b56437d818ddea1cf3230f4f0451998daf979e9b2d46168941289e39316e98112a5f64096baefff48b024323 diff --git a/dev-ruby/facter/facter-4.4.0.ebuild b/dev-ruby/facter/facter-4.4.0.ebuild new file mode 100644 index 000000000000..306c755078bc --- /dev/null +++ b/dev-ruby/facter/facter-4.4.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" +RUBY_FAKEGEM_GEMSPEC="facter.gemspec" +#RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="yard" + +inherit ruby-ng ruby-fakegem + +DESCRIPTION="A cross-platform ruby library for retrieving facts from operating systems" +HOMEPAGE="http://www.puppetlabs.com/puppet/related-projects/facter/" + +LICENSE="Apache-2.0" +SLOT="0" +#IUSE="test" +if [[ ${PV} == 9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/puppetlabs/facter.git" + EGIT_BRANCH="master" +else + [[ "${PV}" = *_rc* ]] || \ + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" + SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +fi + +#RESTRICT="!test? ( test )" + +ruby_add_rdepend "dev-ruby/hocon <dev-ruby/thor-2.0 dev-ruby/ffi" +#ruby_add_bdepend "test? ( dev-ruby/simplecov dev-ruby/timecop dev-ruby/webmock )" + +src_unpack() { + if [[ ${PV} == 9999 ]] ; then + git-r3_src_unpack + fi + ruby-ng_src_unpack +} + +all_ruby_prepare() { + sed -e 's/__dir__/"."/' \ + -e 's/__FILE__/"'${RUBY_FAKEGEM_GEMSPEC}'"/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + # Breaks tests; handle deps ourselves + sed -e "/require 'bundler/d" -i spec/spec_helper.rb || die +}