Date: Sat, 20 Aug 2022 02:32:44 GMT From: =?utf-8?Q?Romain=20Tarti=C3=A8re?= <romain@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: f3fe6a35a16f - main - sysutils/rubygem-facter: Add soft-dependencies Message-ID: <202208200232.27K2WiuM021892@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by romain: URL: https://cgit.FreeBSD.org/ports/commit/?id=f3fe6a35a16f4f1350e91c41f8a246ba4e442396 commit f3fe6a35a16f4f1350e91c41f8a246ba4e442396 Author: Romain Tartière <romain@FreeBSD.org> AuthorDate: 2022-08-20 00:33:20 +0000 Commit: Romain Tartière <romain@FreeBSD.org> CommitDate: 2022-08-20 02:32:32 +0000 sysutils/rubygem-facter: Add soft-dependencies Some facts are only resolved when some extra gems are installed. Add them as dependecy so that we have all basic facts by default regardless of what is already installed on the system. While here, reorder the Makefile to make portlint happy. PR: 264277 Reported by: albert.shih@obspm.fr With hat: puppet --- sysutils/rubygem-facter/Makefile | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/sysutils/rubygem-facter/Makefile b/sysutils/rubygem-facter/Makefile index 4a2633c8d253..848dcec7ccb5 100644 --- a/sysutils/rubygem-facter/Makefile +++ b/sysutils/rubygem-facter/Makefile @@ -1,21 +1,25 @@ PORTNAME= facter PORTVERSION= 4.2.11 +PORTREVISION= 1 CATEGORIES= sysutils rubygems MASTER_SITES= RG +PATCH_SITES= https://patch-diff.githubusercontent.com/raw/puppetlabs/facter/pull/ +PATCHFILES= 2497.diff 2510.diff +PATCH_DIST_STRIP=-p1 + MAINTAINER= puppet@FreeBSD.org COMMENT= Cross-platform Ruby library for retrieving facts from OS LICENSE= APACHE20 -PATCH_SITES= https://patch-diff.githubusercontent.com/raw/puppetlabs/facter/pull/ -PATCHFILES= 2497.diff 2510.diff -PATCH_DIST_STRIP=-p1 - -# rubygem-ffi is a soft dependency, but is used on FreeBSD to resolve some facts -RUN_DEPENDS= rubygem-ffi>=1.0:devel/rubygem-ffi \ - rubygem-hocon>=1.3<2:devel/rubygem-hocon \ +RUN_DEPENDS= rubygem-hocon>=1.3<2:devel/rubygem-hocon \ rubygem-thor>=1.0.1<2.0:devel/rubygem-thor +# Soft dependencies that resolve more FreeBSD facts +RUN_DEPENDS+= rubygem-ruby-augeas>0:textproc/rubygem-ruby-augeas \ + rubygem-ffi>=1.0:devel/rubygem-ffi \ + rubygem-rexml>0:textproc/rubygem-rexml \ + rubygem-sys-filesystem>0:sysutils/rubygem-sys-filesystem USES= cpe gem CPE_VENDOR= puppet
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202208200232.27K2WiuM021892>