pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel devel/rebar3: Import rebar 3.6.1 as devel/rebar3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2ce9033e3e11
branches:  trunk
changeset: 312768:2ce9033e3e11
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Thu Sep 13 14:56:43 2018 +0000

description:
devel/rebar3: Import rebar 3.6.1 as devel/rebar3.

Rebar3 is an Erlang tool that makes it easy to create, develop,
and release Erlang libraries, applications, and systems in
a repeatable manner.

diffstat:

 devel/Makefile        |   3 +-
 devel/rebar3/DESCR    |   3 ++
 devel/rebar3/Makefile |  64 +++++++++++++++++++++++++++++++++++++++++++++++++++
 devel/rebar3/PLIST    |   4 +++
 devel/rebar3/distinfo |  50 +++++++++++++++++++++++++++++++++++++++
 5 files changed, 123 insertions(+), 1 deletions(-)

diffs (154 lines):

diff -r 783c599aaa9c -r 2ce9033e3e11 devel/Makefile
--- a/devel/Makefile    Thu Sep 13 14:26:07 2018 +0000
+++ b/devel/Makefile    Thu Sep 13 14:56:43 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2733 2018/09/11 17:45:10 minskim Exp $
+# $NetBSD: Makefile,v 1.2734 2018/09/13 14:56:43 fhajny Exp $
 #
 
 COMMENT=       Development utilities
@@ -2357,6 +2357,7 @@
 SUBDIR+=       re2c
 SUBDIR+=       readline
 SUBDIR+=       rebar
+SUBDIR+=       rebar3
 SUBDIR+=       refinecvs
 SUBDIR+=       reposurgeon
 SUBDIR+=       rgbds
diff -r 783c599aaa9c -r 2ce9033e3e11 devel/rebar3/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/rebar3/DESCR        Thu Sep 13 14:56:43 2018 +0000
@@ -0,0 +1,3 @@
+Rebar3 is an Erlang tool that makes it easy to create, develop,
+and release Erlang libraries, applications, and systems in
+a repeatable manner.
diff -r 783c599aaa9c -r 2ce9033e3e11 devel/rebar3/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/rebar3/Makefile     Thu Sep 13 14:56:43 2018 +0000
@@ -0,0 +1,64 @@
+# $NetBSD: Makefile,v 1.1 2018/09/13 14:56:43 fhajny Exp $
+
+DISTNAME=      rebar3-3.6.1
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=erlang/}
+DIST_SUBDIR=   rebar3
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/erlang/rebar3/
+COMMENT=       Erlang build tool
+LICENSE=       apache-2.0
+
+USE_TOOLS+=    tar
+
+REBAR_DEPS=     bbmustache-1.5.0 \
+               certifi-2.0.0 \
+               cf-0.2.2 \
+               cth_readable-1.4.2 \
+               erlware_commons-1.2.0 \
+               eunit_formatters-0.5.0 \
+               getopt-1.0.1 \
+               providers-1.7.0 \
+               relx-3.26.0 \
+               ssl_verify_fun-1.1.3
+
+DISTFILES=     ${DEFAULT_DISTFILES}
+
+.for dep in ${REBAR_DEPS}
+DISTFILES+=            ${dep}.tar
+SITES.${dep}.tar=      https://repo.hex.pm/tarballs/
+EXTRACT_DIR.${dep}.tar=        ${WRKSRC}/_build/default/lib/${dep:C/-.*//}
+.endfor
+
+DISTFILES+=                            ${DISTNAME:S/-/-cache-/}.tar.gz
+SITES.${DISTNAME:S/-/-cache-/}.tar.gz= ftp://ftp.netbsd.org:/pub/NetBSD/misc/fhajny/
+
+SUBST_CLASSES+=                escript
+SUBST_STAGE.escript=   pre-configure
+SUBST_MESSAGE.escript= Fix default escript shebangh
+SUBST_FILES.escript=   src/rebar_prv_escriptize.erl
+SUBST_SED.escript=     -e 's,/usr/bin/env escript,${PREFIX}/bin/escript,'
+
+INSTALLATION_DIRS+=    bin ${PKGMANDIR}/man1 share/examples/rebar3
+
+post-extract:
+       ${MKDIR} -p ${WRKSRC}/_build/bootstrap/lib
+.for dep in ${REBAR_DEPS}
+       cd ${WRKSRC}/_build/default/lib/${dep:C/-.*//} && \
+               ${TAR} -xzf contents.tar.gz
+       ${LN} -sf ../../default/lib/${dep:C/-.*//} \
+               ${WRKSRC}/_build/bootstrap/lib/${dep:C/-.*//}
+.endfor
+
+do-build:
+       cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./bootstrap
+
+do-install:
+       ${INSTALL_SCRIPT} ${WRKSRC}/rebar3 ${DESTDIR}${PREFIX}/bin/
+       ${INSTALL_MAN} ${WRKSRC}/manpages/rebar3.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
+       ${INSTALL_DATA} ${WRKSRC}/rebar.config.sample \
+               ${DESTDIR}${PREFIX}/share/examples/rebar3
+
+.include "../../lang/erlang/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 783c599aaa9c -r 2ce9033e3e11 devel/rebar3/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/rebar3/PLIST        Thu Sep 13 14:56:43 2018 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2018/09/13 14:56:43 fhajny Exp $
+bin/rebar3
+man/man1/rebar3.1
+share/examples/rebar3/rebar.config.sample
diff -r 783c599aaa9c -r 2ce9033e3e11 devel/rebar3/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/rebar3/distinfo     Thu Sep 13 14:56:43 2018 +0000
@@ -0,0 +1,50 @@
+$NetBSD: distinfo,v 1.1 2018/09/13 14:56:43 fhajny Exp $
+
+SHA1 (rebar3/bbmustache-1.5.0.tar) = cb3c1dd9b67671068815e3ab6f38969628ae041a
+RMD160 (rebar3/bbmustache-1.5.0.tar) = 9fa1099d08efb858eb692c966d1b54cd7868f10d
+SHA512 (rebar3/bbmustache-1.5.0.tar) = b1a45a76abce99a40a99e95eb725bb7b38620cf56741baa1699968eebbfd39e02c9d9063f35d747eefa048ccc445378e4f725ad092ff5c80bc1064db13f7e97c
+Size (rebar3/bbmustache-1.5.0.tar) = 14848 bytes
+SHA1 (rebar3/certifi-2.0.0.tar) = 7d99ea316f5ee28a7ad7f7e12ebd58edecf7bd14
+RMD160 (rebar3/certifi-2.0.0.tar) = 0c023b723785f7eeb4ec54d8e05d0ff9ff2d909b
+SHA512 (rebar3/certifi-2.0.0.tar) = 7e8fa461054c784d50d028e130641cfed1897206eca46f4b3067482607611aeeb90652f0075a1551a8672e635976088be6a2836f744ec1303775a0170fb1a2af
+Size (rebar3/certifi-2.0.0.tar) = 174080 bytes
+SHA1 (rebar3/cf-0.2.2.tar) = 383344ad3f2cf72acfc8fef72509f28b125cc2b7
+RMD160 (rebar3/cf-0.2.2.tar) = dd29208633b291a38d4e76d71a7c32d16b724ec5
+SHA512 (rebar3/cf-0.2.2.tar) = 0afbe335c6170f1f4efa6fb22111d8698abc288b1cc125fb69653958df1dbdb1a936f927309b460dc6cfa1fc2b15c82838b8935d5fa8e28dab1c050295608698
+Size (rebar3/cf-0.2.2.tar) = 10240 bytes
+SHA1 (rebar3/cth_readable-1.4.2.tar) = fc88ab7c92802d5416e56e28fa6f7d2a7fc6531b
+RMD160 (rebar3/cth_readable-1.4.2.tar) = 553d720e72bf0339fc1f0eb51dc0cb2981b4f3b2
+SHA512 (rebar3/cth_readable-1.4.2.tar) = 53600cfc806d4f866381d2aa7b75416c31316dbf9116a0dca9a5ee79f00e6772f0623a430b28b6869a098f116dd9ab0ccc1a5f7d7b1fc73ef3b03d0b4a30d569
+Size (rebar3/cth_readable-1.4.2.tar) = 17920 bytes
+SHA1 (rebar3/erlware_commons-1.2.0.tar) = 937ca37083fd310fdd3597ca6b0183f5d2b28e2f
+RMD160 (rebar3/erlware_commons-1.2.0.tar) = 0326c478d4ae821edb27f275840b3d9907e554a1
+SHA512 (rebar3/erlware_commons-1.2.0.tar) = bce3f5aeacef8087e6b8e26a6155bb9e18adde44331eb3adb4459ef06ea366c048aa2b6e8ae3bd9790aefc5f2851662254ee65d6d28bbf41542a13c044174423
+Size (rebar3/erlware_commons-1.2.0.tar) = 55296 bytes
+SHA1 (rebar3/eunit_formatters-0.5.0.tar) = b5fc898ddcdfa13b4e6aba7348875a02f43f9c3b
+RMD160 (rebar3/eunit_formatters-0.5.0.tar) = f2c8426098b272e67e6bb11b4c328023ed5bdd74
+SHA512 (rebar3/eunit_formatters-0.5.0.tar) = e8692ff35f979dfaf99ccac58014429d300a71ff76f2ce945814a0d4d9431821f04f988dc0271271858a37e6903a73b4dd9ae3abf215333f3135fa883ec07022
+Size (rebar3/eunit_formatters-0.5.0.tar) = 14848 bytes
+SHA1 (rebar3/getopt-1.0.1.tar) = 5f270815f77244c20d3a720d37bf7f724f46bd09
+RMD160 (rebar3/getopt-1.0.1.tar) = 46610e303d9fefd8da57ace5ddfef98d04fa68a9
+SHA512 (rebar3/getopt-1.0.1.tar) = 859642dc26c42414474fa8af8a32fed827b0773ac6d6eb51ec19c291672408e71619ad2bb0c7f08d84ff591b33a655a7e0b6241b94372e9cc816a648ee6cdaf6
+Size (rebar3/getopt-1.0.1.tar) = 19456 bytes
+SHA1 (rebar3/providers-1.7.0.tar) = e325bc094fa6dd4c14dbf36706e8d26b498e8b49
+RMD160 (rebar3/providers-1.7.0.tar) = 90abc9cc2d9fd22d611e139f6237848eb6106eb6
+SHA512 (rebar3/providers-1.7.0.tar) = c942b6468df7a5562205d8c65415bbecdc8bc87416deb081ed524541db3e3706110ef49dc55c91e9914e2baaeb1323ac8e2f44d0013856501fd4eeb774d3722b
+Size (rebar3/providers-1.7.0.tar) = 13312 bytes
+SHA1 (rebar3/rebar3-3.6.1.tar.gz) = 5f2567f66be0fd693e0e4c566a65302bbc430398
+RMD160 (rebar3/rebar3-3.6.1.tar.gz) = 696b663376970ea674533417ff93cfa66dcd8b87
+SHA512 (rebar3/rebar3-3.6.1.tar.gz) = 5b586bb2b3709c7567ecfa7cf36118e97ebbb232edf4c3841fc238283a4a2faab2005ecaf783bb833aa69bc9ae73e6404a0756b405ecee65851136fddf5977ca
+Size (rebar3/rebar3-3.6.1.tar.gz) = 289019 bytes
+SHA1 (rebar3/rebar3-cache-3.6.1.tar.gz) = edbe7eec069a525cd91aa0652bf0eb0a87fed441
+RMD160 (rebar3/rebar3-cache-3.6.1.tar.gz) = 8aef24a54985424ea2e267d4505bb3b7495e7e86
+SHA512 (rebar3/rebar3-cache-3.6.1.tar.gz) = f20a85b499b9f33ce4ee3eb2cee9f39b4d6b66122021b16c8ba6ad92d409095db32bc2fe695b557327a31715b90ef13a7e7039eb3d8166b68addcf391b75df59
+Size (rebar3/rebar3-cache-3.6.1.tar.gz) = 3465390 bytes
+SHA1 (rebar3/relx-3.26.0.tar) = 077104282d425e6a2162ab58cbee36a564fc20fa
+RMD160 (rebar3/relx-3.26.0.tar) = 18f1e1b85ce11eea6b89fbbdbc9d09e5a456b700
+SHA512 (rebar3/relx-3.26.0.tar) = 9bd04f5bfebc520adc99cee8484d0df47b130d016c6a1e2a2097f782b12cc2ba88b1b0b7111887e2236ea21a696dfd5e7dcd48a5d531c1f8cc2f27bb636b115c
+Size (rebar3/relx-3.26.0.tar) = 84992 bytes
+SHA1 (rebar3/ssl_verify_fun-1.1.3.tar) = e59f36b66bde5eec7986bcafffacb42ed6545f08
+RMD160 (rebar3/ssl_verify_fun-1.1.3.tar) = 6e12e0d84e29a24e676ec3f09683674c19cf7903
+SHA512 (rebar3/ssl_verify_fun-1.1.3.tar) = 8d907b8746cb61806892965af3e12e95a4f2e552212993fe62f121ded5c8502907d8daf1228ae747ea81c3fa4bbd364747316a75790f4644146f3e77c2896c95
+Size (rebar3/ssl_verify_fun-1.1.3.tar) = 14848 bytes



Home | Main Index | Thread Index | Old Index