pkgsrc/devel/ruby-approvaltests/Makefile
schmonz b90a371cb1 Initial import of ruby-approvaltests, an assertion/verification library
to aid testing.

This is the Ruby port of ApprovalTests.

You can use ApprovalTests to verify objects that require more than a
simple assert including long strings, large arrays, and complex hash
structures and objects. ApprovalTests really shines when you need a more
granular look at the test failure. Sometimes, trying to find a small
difference in a long string printed to STDOUT is just too hard!
ApprovalTests solves this problem by providing reporters which let you
view the test results in one of many popular diff utilities.
2021-06-07 19:55:27 +00:00

25 lines
834 B
Makefile

# $NetBSD: Makefile,v 1.1 2021/06/07 19:55:27 schmonz Exp $
DISTNAME= approvals-0.0.25
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/approvals/approvaltests/}
CATEGORIES= devel
MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= https://approvaltests.com/
COMMENT= Assertion/verification library to aid testing
LICENSE= mit
DEPENDS+= ${RUBY_PKGPREFIX}-json>=2.0:../../textproc/ruby-json
DEPENDS+= ${RUBY_PKGPREFIX}-nokogiri>=1.8:../../textproc/ruby-nokogiri
DEPENDS+= ${RUBY_PKGPREFIX}-thor>=1.0:../../devel/ruby-thor
RUBYGEM_OPTIONS+= --format-executable
SUBST_CLASSES+= jsondep
SUBST_STAGE.jsondep= pre-configure
SUBST_FILES.jsondep= ${WRKDIR}/${DISTNAME}.gemspec
SUBST_SED.jsondep= -e 's|, "ext/mkrf_conf.rb".freeze||'
SUBST_SED.jsondep+= -e 's|"ext/mkrf_conf.rb".freeze||'
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"