diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-18 21:36:58 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-18 21:36:58 +0100 |
commit | ea4d97bae88695501ff5f5c646a57e2e0488e423 (patch) | |
tree | afc4100ae641b360049e5bc3a2e1cc4c408641bb /dev-ruby/facter | |
parent | a2f7cdda45fadf1f967379421e8d808b1a503cd3 (diff) |
gentoo auto-resync : 18:08:2023 - 21:36:58
Diffstat (limited to 'dev-ruby/facter')
-rw-r--r-- | dev-ruby/facter/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/facter/facter-4.4.2.ebuild | 46 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-ruby/facter/Manifest b/dev-ruby/facter/Manifest index 90db8354f44b..2df71b890911 100644 --- a/dev-ruby/facter/Manifest +++ b/dev-ruby/facter/Manifest @@ -3,6 +3,8 @@ AUX facter-3.14.6-fix-static-libcpp-hocon.patch 488 BLAKE2B 73f28cf30f5dca16f2ea AUX facter-3.14.8-explicit-rspec-2.patch 578 BLAKE2B 7bd6134235c61e03b2706388ad0c2c21e67582b00c5588b1d0596e3f783eb1df448a92c031862b03c0dffeefa10e0b69fdda4b44d88ac6e09a66f325900cf96f SHA512 a4c219b78b25c2a12e8578c092284fb4bd6d07b8b0d819d5625b1043d2b395413609e21266d3a7bceaf0461ad059e0edfea14a5e48bab85995eadf2d77bff17d DIST facter-3.14.24.tar.gz 410547 BLAKE2B 69d2fd3b1bf9f91456ca570f9fef44ddd6e7656a285c035ecb42df2553c461be137d06232fc1f96f239598143912928dcfaf0d9b3078f4335dfc83163eee5120 SHA512 88e47271f213570fb7819630f7b08076bd8b234612a2bb885de760acab48c37b588c1f214da11c5096f0db6b7df4a516b6e83abc56a1d95779b6f1353831e588 DIST facter-4.4.1.tar.gz 492785 BLAKE2B b8f173aee1e2c3a6e9b650e1962ee6a7f860cadb0ea09254f396cce60cb01d702feaf23e0e147a80ca95554bcf835bd23df59d4faa78404dc92fd86defb65472 SHA512 c9e148141b3348977c9d6209ed3d72ab1eaaff46e0ada2ce5c3452ee71c3cbc051605bf0d9aad77c249559639e52fbb423c6b3e0cb784f2c208ea206fb3f4fd8 +DIST facter-4.4.2.tar.gz 493658 BLAKE2B 162bb85f739c4c0c18c763323351a2d8a44799782b0ce89ccea3e1584a0cd587fb8c08bb9f7f2a7d234efe87e60a11e7e1ec709dae735d10c672b50016daf5a9 SHA512 035415253305eea67959cd4e41e426f842d9d0a1af2499f2cac8e0c651b30f314f50822ff48ad80d462bc56a92b88b7c021aa09558650f9ebdd26e55ef244829 EBUILD facter-3.14.24.ebuild 2157 BLAKE2B 88354a568b06d3fe457baa1b72167210c8c2e67c56edc34a09b50a45e808e29aa80afbc2b52e86d56863514741cf98dde3d2e075a0cf04ff1067516ee3a4db03 SHA512 5ee0773755213bdbbeebfc16483933126aa2fc0433a1f4fcd5a63d659a75a35cff278384619bfac731a71aea95e5019af55f9f30021facb247345e316bcf7427 EBUILD facter-4.4.1.ebuild 1298 BLAKE2B faa278e5811601fe8240e7b8476b1efd5f7ab99eb7f937998222bbcabdc90b1fdebadf93900bfd1885248704c81632948997447d32752caaff6825f536fea02c SHA512 31ab6d1d0aa92338b291ad55d2e6b9fa80d2c6bb624e537dffa191fd5f8791c19ea540f518d3dec0c954065d8645eeb971d8a3da61287d1d703d1a8b7a079b80 +EBUILD facter-4.4.2.ebuild 1300 BLAKE2B aeb80c93a0c181c3f77cba079a336a529f66066372ff19ecf99f64ddf6ba88f315ca1d612044f832f570ddf5aca34bf56dfdd280e3e0cfecdbff1e74a071b12a SHA512 d313af4ceff4502c4c741c0687a8185139e681a0dbd60e2cf2343bbf722cf88e17359e96ccabbf89328a7bd4b247746f2bd7a4793496b069619c2d7aad362342 MISC metadata.xml 540 BLAKE2B 584d6db1a27bfa9383048929df3d6da07040cf507acc2aa58de7a4e9ba665079cac60b48b398bbb0510914acc03be1fd3468e5678e690f8d6fd03060e659dd4a SHA512 c1311ca348655bf9566889ec9edcd012a2d003f0b1122749caa9066cea2005d3fed7b7a0d1bca75281396e8e43cb6a2f611550572523dc011113424d642c2a2f diff --git a/dev-ruby/facter/facter-4.4.2.ebuild b/dev-ruby/facter/facter-4.4.2.ebuild new file mode 100644 index 000000000000..306c755078bc --- /dev/null +++ b/dev-ruby/facter/facter-4.4.2.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 +} |