import erl-automeck

erl-automeck streamlines setting up and using meck-based mocks.

ok aja@
This commit is contained in:
jasper 2013-03-08 11:52:42 +00:00
parent c3915bd071
commit 46479bed30
5 changed files with 64 additions and 0 deletions

View File

@ -0,0 +1,34 @@
# $OpenBSD: Makefile,v 1.1.1.1 2013/03/08 11:52:42 jasper Exp $
COMMENT= streamlines setting up and used Meck-based mocks
VERSION= 0.2
DISTNAME= automeck-${VERSION}
PKGNAME= erl-${DISTNAME}
CATEGORIES= devel lang/erlang
HOMEPAGE= https://github.com/opscode/automeck
# Apache2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://distfiles.nl/
BUILD_DEPENDS= devel/rebar
RUN_DEPENDS= devel/erl-meck \
lang/erlang
NO_REGRESS= Yes
ERL_LIBDIR= ${PREFIX}/lib/erlang/lib/${DISTNAME}
SUBST_VARS+= VERSION
do-install:
${INSTALL_DATA_DIR} ${ERL_LIBDIR}/{ebin,priv,src}
${INSTALL_DATA} ${WRKSRC}/ebin/*.{app,beam} ${ERL_LIBDIR}/ebin/
${INSTALL_DATA} ${WRKSRC}/priv/* ${ERL_LIBDIR}/priv/
${INSTALL_DATA} ${WRKSRC}/src/*.erl ${ERL_LIBDIR}/src/
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (automeck-0.2.tar.gz) = bSZe+1rtNm2Lbl2gFMRskJXC1nrOzmlQXdirMkRaPP4=
SIZE (automeck-0.2.tar.gz) = 106165

View File

@ -0,0 +1,7 @@
$OpenBSD: patch-rebar_config,v 1.1.1.1 2013/03/08 11:52:42 jasper Exp $
--- rebar.config.orig Mon Mar 4 14:26:24 2013
+++ rebar.config Mon Mar 4 14:26:29 2013
@@ -1,3 +1,2 @@
{erl_opts, [debug_info, warnings_as_errors]}.
-{deps, [{meck, ".*", {git, "git://github.com/eproxus/meck.git", {branch, "master"}}}]}.

View File

@ -0,0 +1 @@
erl-automeck streamlines setting up and using meck-based mocks.

View File

@ -0,0 +1,20 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2013/03/08 11:52:42 jasper Exp $
lib/erlang/lib/automeck-${VERSION}/
lib/erlang/lib/automeck-${VERSION}/ebin/
lib/erlang/lib/automeck-${VERSION}/ebin/automeck.app
lib/erlang/lib/automeck-${VERSION}/ebin/automeck.beam
lib/erlang/lib/automeck-${VERSION}/ebin/automeck_compile.beam
lib/erlang/lib/automeck-${VERSION}/ebin/automeck_mocks.beam
lib/erlang/lib/automeck-${VERSION}/ebin/automeck_record.beam
lib/erlang/lib/automeck-${VERSION}/ebin/bar.beam
lib/erlang/lib/automeck-${VERSION}/ebin/foo.beam
lib/erlang/lib/automeck-${VERSION}/priv/
lib/erlang/lib/automeck-${VERSION}/priv/mocks.config
lib/erlang/lib/automeck-${VERSION}/priv/record.config
lib/erlang/lib/automeck-${VERSION}/src/
lib/erlang/lib/automeck-${VERSION}/src/automeck.erl
lib/erlang/lib/automeck-${VERSION}/src/automeck_compile.erl
lib/erlang/lib/automeck-${VERSION}/src/automeck_mocks.erl
lib/erlang/lib/automeck-${VERSION}/src/automeck_record.erl
lib/erlang/lib/automeck-${VERSION}/src/bar.erl
lib/erlang/lib/automeck-${VERSION}/src/foo.erl