Fri Aug 19 14:16:47 2022 UTC ()
ruby-power_assert: skip the package if the version is same as ruby-base

avoids this error in bulk builds:
=> Creating binary package .../packages/ruby31-power_assert-2.0.1.tgz
pkg_add: Conflicting PLIST with ruby31-base-3.1.2nb3: lib/ruby/gems/3.1.0/cache/power_assert-2.0.1.gem


(tnn)
diff -r1.23 -r1.24 pkgsrc/devel/ruby-power_assert/Makefile

cvs diff -r1.23 -r1.24 pkgsrc/devel/ruby-power_assert/Attic/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/ruby-power_assert/Attic/Makefile 2021/08/31 15:12:12 1.23
+++ pkgsrc/devel/ruby-power_assert/Attic/Makefile 2022/08/19 14:16:47 1.24
@@ -1,14 +1,20 @@ @@ -1,14 +1,20 @@
1# $NetBSD: Makefile,v 1.23 2021/08/31 15:12:12 taca Exp $ 1# $NetBSD: Makefile,v 1.24 2022/08/19 14:16:47 tnn Exp $
2 2
3DISTNAME= power_assert-2.0.1 3DISTNAME= power_assert-2.0.1
4CATEGORIES= devel 4CATEGORIES= devel
5 5
6MAINTAINER= pkgsrc-users@NetBSD.org 6MAINTAINER= pkgsrc-users@NetBSD.org
7HOMEPAGE= https://github.com/ruby/power_assert 7HOMEPAGE= https://github.com/ruby/power_assert
8COMMENT= Power Assert for Ruby 8COMMENT= Power Assert for Ruby
9LICENSE= 2-clause-bsd 9LICENSE= 2-clause-bsd
10 10
11USE_LANGUAGES= # none 11USE_LANGUAGES= # none
12 12
 13.include "../../lang/ruby/rubyversion.mk"
 14
 15.if "power_assert-${RUBY_POWER_ASSERT_VER}" == ${DISTNAME}
 16PKG_SKIP_REASON+= "${DISTNAME} is included in ${RUBY_BASE}"
 17.endif
 18
13.include "../../lang/ruby/gem.mk" 19.include "../../lang/ruby/gem.mk"
14.include "../../mk/bsd.pkg.mk" 20.include "../../mk/bsd.pkg.mk"