pkgsrc-WIP-changes archive

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

import rebar3 for update



Module Name:	pkgsrc-wip
Committed By:	nikita <nikita%NetBSD.org@localhost>
Pushed By:	nikita
Date:		Thu Jul 2 10:37:53 2020 +0200
Changeset:	c9942ac44bdebe47076de752fa8780cb28f18746

Added Files:
	rebar3/DESCR
	rebar3/Makefile
	rebar3/PLIST
	rebar3/distinfo

Log Message:
import rebar3 for update

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c9942ac44bdebe47076de752fa8780cb28f18746

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 rebar3/DESCR    |  3 +++
 rebar3/Makefile | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 rebar3/PLIST    |  4 ++++
 rebar3/distinfo | 50 ++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 122 insertions(+)

diffs:
diff --git a/rebar3/DESCR b/rebar3/DESCR
new file mode 100644
index 0000000000..1cd2603213
--- /dev/null
+++ b/rebar3/DESCR
@@ -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 --git a/rebar3/Makefile b/rebar3/Makefile
new file mode 100644
index 0000000000..88cd7eb753
--- /dev/null
+++ b/rebar3/Makefile
@@ -0,0 +1,65 @@
+# $NetBSD: Makefile,v 1.3 2019/11/03 10:39:29 rillig Exp $
+
+DISTNAME=	rebar3-3.13.2
+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+=	erlware_commons-1.3.1
+REBAR_DEPS+=	ssl_verify_fun-1.1.5
+REBAR_DEPS+=	certifi-2.5.1
+REBAR_DEPS+=	parse_trans-3.3.0
+REBAR_DEPS+=	providers-1.8.1
+REBAR_DEPS+=	getopt-1.0.1
+REBAR_DEPS+=	bbmustache-1.8.0
+REBAR_DEPS+=	relx-3.33.0
+REBAR_DEPS+=	cf-0.2.2
+REBAR_DEPS+=	cth_readable-1.4.6
+REBAR_DEPS+=	eunit_formatters-0.5.0
+
+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=	https://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 --git a/rebar3/PLIST b/rebar3/PLIST
new file mode 100644
index 0000000000..172ce7d454
--- /dev/null
+++ b/rebar3/PLIST
@@ -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 --git a/rebar3/distinfo b/rebar3/distinfo
new file mode 100644
index 0000000000..508614ae3f
--- /dev/null
+++ b/rebar3/distinfo
@@ -0,0 +1,50 @@
+$NetBSD: distinfo,v 1.1 2018/09/13 14:56:43 fhajny Exp $
+
+SHA1 (rebar3/bbmustache-1.8.0.tar) = d4d70b8d1c3354ab5f868bac7c5ce4c744c5c042
+RMD160 (rebar3/bbmustache-1.8.0.tar) = 10586259b3b1654693d63995c854e781c1637678
+SHA512 (rebar3/bbmustache-1.8.0.tar) = 210c512836384797907cc29d4e907e6bfd46ec3389715a1c7b2c374f54429c0b1c1aacf149800dfbf2805569dd5508ecb90db9645d707596572db31fa7a491ef
+Size (rebar3/bbmustache-1.8.0.tar) = 15872 bytes
+SHA1 (rebar3/certifi-2.5.1.tar) = c57d6f2cfc7cd4d427dd6164c9d708a05aa5ccb5
+RMD160 (rebar3/certifi-2.5.1.tar) = ebb0fa57e6c92479440189e4a3bf97b2712b3a20
+SHA512 (rebar3/certifi-2.5.1.tar) = 478126f314065d6d91f6854b9565461ca0c3d31265b952bbe6eb3643e861ee1faeba388c2d356d3595381aa3a5d5871c7c98cb85d8e6ab614917eb5c8be9082a
+Size (rebar3/certifi-2.5.1.tar) = 133120 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.6.tar) = 41b28fd4eeb81e9a84bdfb7b818202d5ec840664
+RMD160 (rebar3/cth_readable-1.4.6.tar) = cdd39b0f4bf6dccbc84e739d6cc1355d150e920a
+SHA512 (rebar3/cth_readable-1.4.6.tar) = 716446ca8c585e4a510b2fc19c8dcb3a103867a234fab30ec68d035310b9901ff5c7606e9312462f73620c9d2d7733c0616149659ae767379e540f53fa0ae67f
+Size (rebar3/cth_readable-1.4.6.tar) = 18944 bytes
+SHA1 (rebar3/erlware_commons-1.3.1.tar) = 2ebafa7d89c700d7d00713c914bb1b30d4cde1df
+RMD160 (rebar3/erlware_commons-1.3.1.tar) = 67d699cfb5c1bead910bf0830582422ea1760098
+SHA512 (rebar3/erlware_commons-1.3.1.tar) = 1f9e7617b88ec7cae6e83da1a60a2d22ce3325b6425cd284c3ec3dd0de49a26220b868ea60a937758dd65d7ea137819e314504a98ced99fc2617056ada4d2fa0
+Size (rebar3/erlware_commons-1.3.1.tar) = 53248 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/parse_trans-3.3.0.tar) = 4625829b5121f769f5f583d74d10f8f9d9ffd73c
+RMD160 (rebar3/parse_trans-3.3.0.tar) = e75e187eeb177018ed65893368537024b73d9b70
+SHA512 (rebar3/parse_trans-3.3.0.tar) = a633bc87458d9eeb335f95c4f23d4a7b70b4bef2b8a17d1fb9500f6dcf77dbed2d767b926453aa9082efd098b6ba83c06a76c839323eb54906956caf67a5ad4f
+Size (rebar3/parse_trans-3.3.0.tar) = 35840 bytes
+SHA1 (rebar3/providers-1.8.1.tar) = 5c436f25aad694fe9d9f835b15bdba4c1756eb14
+RMD160 (rebar3/providers-1.8.1.tar) = 8f49cfd6484c02d02d051b78f9ab1b44fcb60f49
+SHA512 (rebar3/providers-1.8.1.tar) = b1db18264c98717849ed521f8eb1ef0f112ea5e602bcd529fd97996120640c7567097174180673ba166d4c408496ce63c351ce70a3f385ed1ae7d1e444e2587a
+Size (rebar3/providers-1.8.1.tar) = 14336 bytes
+SHA1 (rebar3/rebar3-3.13.2.tar.gz) = 909441034fd4c5aeb717f9fced323a9a24f537af
+RMD160 (rebar3/rebar3-3.13.2.tar.gz) = 1ec86e5714bcd9a05c71ba4ffcbe0c3c2bc9cf56
+SHA512 (rebar3/rebar3-3.13.2.tar.gz) = 151307780a79069dd6817346c381a8550e50023db72a49fcc7c6dec8e42abd1334425a95071fa5c09a7e16d6ea8035aed5b53cfb66ce693bf4dcfc316e00811e
+Size (rebar3/rebar3-3.13.2.tar.gz) = 380862 bytes
+SHA1 (rebar3/relx-3.33.0.tar) = 5ae825ce30eeecea5623833dc91dfd2a7ee7ba76
+RMD160 (rebar3/relx-3.33.0.tar) = 0a0302f0cb3431306a0902203ea55c0cdd7f8085
+SHA512 (rebar3/relx-3.33.0.tar) = bdb99853b0d37809aa98852b02c46c80f73b5dd1331995e1f4438b2c7fa2555b41244610a6a6dd21caafbf58d747ff5de69f974ed458423fbb61be3947282031
+Size (rebar3/relx-3.33.0.tar) = 87552 bytes
+SHA1 (rebar3/ssl_verify_fun-1.1.5.tar) = 529907ede156eacfec4e5f562a973e9cad6ed585
+RMD160 (rebar3/ssl_verify_fun-1.1.5.tar) = 3a3a0c61ba76cb430ff4362b618e6e6c387ea24c
+SHA512 (rebar3/ssl_verify_fun-1.1.5.tar) = 9beef3fb7b1aa2e40202d321442159a502a6efdcac3d15397c0dfffef633a1f5af8baa006eb4437d14620ffc2e23018111f1626d2f34a63e804cd8e11fe17f71
+Size (rebar3/ssl_verify_fun-1.1.5.tar) = 17408 bytes


Home | Main Index | Thread Index | Old Index