summaryrefslogtreecommitdiff
path: root/dev-ruby/facter
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-14 15:13:45 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-14 15:13:45 +0100
commitb9e8f3cc44aed3b6da71c7510c6287bf7bbbc66b (patch)
tree4b47f3026f10252cff69e7a4346215a4da4f0f1c /dev-ruby/facter
parent3d952d0bfe7b386699eb32d1431deb0c538f044d (diff)
gentoo auto-resync : 14:06:2023 - 15:13:45
Diffstat (limited to 'dev-ruby/facter')
-rw-r--r--dev-ruby/facter/Manifest2
-rw-r--r--dev-ruby/facter/facter-4.4.1.ebuild46
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-ruby/facter/Manifest b/dev-ruby/facter/Manifest
index 38ae503cacb3..9eac8ab6571d 100644
--- a/dev-ruby/facter/Manifest
+++ b/dev-ruby/facter/Manifest
@@ -4,7 +4,9 @@ AUX facter-3.14.8-explicit-rspec-2.patch 578 BLAKE2B 7bd6134235c61e03b2706388ad0
DIST facter-3.14.24.tar.gz 410547 BLAKE2B 69d2fd3b1bf9f91456ca570f9fef44ddd6e7656a285c035ecb42df2553c461be137d06232fc1f96f239598143912928dcfaf0d9b3078f4335dfc83163eee5120 SHA512 88e47271f213570fb7819630f7b08076bd8b234612a2bb885de760acab48c37b588c1f214da11c5096f0db6b7df4a516b6e83abc56a1d95779b6f1353831e588
DIST facter-4.3.1.tar.gz 485690 BLAKE2B bd522f0f3b03e730c21818c30b527a47e6bd10c4845aa5c9906c220ace8abebfec9d1b37fa8ad7a8aa6d2016cff436bc99ad4c1233effca81cfe433156539f57 SHA512 b66d57e6adce0f6c5c56fc9d52dc3e20d5bd269893df60abfa30275dfa044f15e5d663a8c19d3827685305d76f9eac42609c9e29d670b81890cf668f80f64a0b
DIST facter-4.4.0.tar.gz 490304 BLAKE2B 1ad4d50f18c13ca6133e0606c33c5cdaa553168d6bb551199aeb1770280d39f0c7d6416a4796b306cbc70f5d4f3f8852e922514657f463096af039587f934549 SHA512 b58bfbd39c304eaaa80b5015593aa62642be40f0b56437d818ddea1cf3230f4f0451998daf979e9b2d46168941289e39316e98112a5f64096baefff48b024323
+DIST facter-4.4.1.tar.gz 492785 BLAKE2B b8f173aee1e2c3a6e9b650e1962ee6a7f860cadb0ea09254f396cce60cb01d702feaf23e0e147a80ca95554bcf835bd23df59d4faa78404dc92fd86defb65472 SHA512 c9e148141b3348977c9d6209ed3d72ab1eaaff46e0ada2ce5c3452ee71c3cbc051605bf0d9aad77c249559639e52fbb423c6b3e0cb784f2c208ea206fb3f4fd8
EBUILD facter-3.14.24.ebuild 2157 BLAKE2B 88354a568b06d3fe457baa1b72167210c8c2e67c56edc34a09b50a45e808e29aa80afbc2b52e86d56863514741cf98dde3d2e075a0cf04ff1067516ee3a4db03 SHA512 5ee0773755213bdbbeebfc16483933126aa2fc0433a1f4fcd5a63d659a75a35cff278384619bfac731a71aea95e5019af55f9f30021facb247345e316bcf7427
EBUILD facter-4.3.1.ebuild 1298 BLAKE2B faa278e5811601fe8240e7b8476b1efd5f7ab99eb7f937998222bbcabdc90b1fdebadf93900bfd1885248704c81632948997447d32752caaff6825f536fea02c SHA512 31ab6d1d0aa92338b291ad55d2e6b9fa80d2c6bb624e537dffa191fd5f8791c19ea540f518d3dec0c954065d8645eeb971d8a3da61287d1d703d1a8b7a079b80
EBUILD facter-4.4.0.ebuild 1298 BLAKE2B faa278e5811601fe8240e7b8476b1efd5f7ab99eb7f937998222bbcabdc90b1fdebadf93900bfd1885248704c81632948997447d32752caaff6825f536fea02c SHA512 31ab6d1d0aa92338b291ad55d2e6b9fa80d2c6bb624e537dffa191fd5f8791c19ea540f518d3dec0c954065d8645eeb971d8a3da61287d1d703d1a8b7a079b80
+EBUILD facter-4.4.1.ebuild 1300 BLAKE2B aeb80c93a0c181c3f77cba079a336a529f66066372ff19ecf99f64ddf6ba88f315ca1d612044f832f570ddf5aca34bf56dfdd280e3e0cfecdbff1e74a071b12a SHA512 d313af4ceff4502c4c741c0687a8185139e681a0dbd60e2cf2343bbf722cf88e17359e96ccabbf89328a7bd4b247746f2bd7a4793496b069619c2d7aad362342
MISC metadata.xml 620 BLAKE2B d7d91d8ed2cb868eb9af749462e7dcd4364dd44543614387f646cab41691525a8a03dd0e59210efeb6f39ddbd1428f2562bb9d77d29e3612ed5a1fede702a5ee SHA512 e51c01831a4052976bc481fdbeb33bf4b185ed926faf7b141526da3cde0d2c99d9b29b6a575f1fe2bf2d00719881a7bdedcb2093058b62ed3ea4c820b8b3af42
diff --git a/dev-ruby/facter/facter-4.4.1.ebuild b/dev-ruby/facter/facter-4.4.1.ebuild
new file mode 100644
index 000000000000..306c755078bc
--- /dev/null
+++ b/dev-ruby/facter/facter-4.4.1.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
+}