pkgsrc-WIP-changes archive

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

rebar3: remove, imported into devel/rebar3.



Module Name:	pkgsrc-wip
Committed By:	nikita <nikita%NetBSD.org@localhost>
Pushed By:	nikita
Date:		Mon Apr 25 18:55:38 2022 +0200
Changeset:	df39f7ad045f9eea49f45b7097fa9978e6f32c4b

Modified Files:
	Makefile
Removed Files:
	rebar3/DESCR
	rebar3/Makefile
	rebar3/PLIST
	rebar3/distinfo
	rebar3/patches/patch-bootstrap

Log Message:
rebar3: remove, imported into devel/rebar3.

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

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

diffstat:
 Makefile                       |  1 -
 rebar3/DESCR                   |  3 --
 rebar3/Makefile                | 86 ------------------------------------------
 rebar3/PLIST                   |  4 --
 rebar3/distinfo                | 36 ------------------
 rebar3/patches/patch-bootstrap | 29 --------------
 6 files changed, 159 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index 6a2ac03559..990575b73d 100644
--- a/Makefile
+++ b/Makefile
@@ -5039,7 +5039,6 @@ SUBDIR+=	realm-core
 SUBDIR+=	realpath
 SUBDIR+=	realtimebattle
 SUBDIR+=	realvnc
-SUBDIR+=	rebar3
 SUBDIR+=	recidivm
 SUBDIR+=	recoll
 SUBDIR+=	recutils
diff --git a/rebar3/DESCR b/rebar3/DESCR
deleted file mode 100644
index 1cd2603213..0000000000
--- a/rebar3/DESCR
+++ /dev/null
@@ -1,3 +0,0 @@
-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
deleted file mode 100644
index 3d24f2f1af..0000000000
--- a/rebar3/Makefile
+++ /dev/null
@@ -1,86 +0,0 @@
-# $NetBSD: Makefile,v 1.3 2019/11/03 10:39:29 rillig Exp $
-
-DISTNAME=	rebar3-3.18.0
-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.12.2
-REBAR_DEPS+=	certifi-2.8.0
-REBAR_DEPS+=	cf-0.3.1
-REBAR_DEPS+=	cth_readable-1.5.1
-REBAR_DEPS+=	erlware_commons-1.5.0
-REBAR_DEPS+=	eunit_formatters-0.5.0
-REBAR_DEPS+=	getopt-1.0.1
-REBAR_DEPS+=	providers-1.9.0
-REBAR_DEPS+=	relx-4.6.0
-REBAR_DEPS+=	ssl_verify_fun-1.1.6
-
-MAKE_ENV+=	DEBUG=1
-MAKE_ENV+=	HOME=${WRKDIR}
-MAKE_ENV+=	REBAR_NO_VERIFY_REPO_ORIGIN=1
-
-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 shebang
-SUBST_FILES.escript+=	bootstrap
-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
-
-# convenience target to rebuild the rebar3 cache file
-build-cache:
-	cd ${WRKDIR} && ${TAR} -c -v -z -f rebar3-cache-${PKGVERSION}${EXTRACT_SUFX} .home
-
-post-extract:
-.for dep in ${REBAR_DEPS}
-	${MKDIR} ${WRKSRC}/_build/default/lib/${dep:C/-.*//}
-	${TAR} xOf ${DISTDIR}/${DIST_SUBDIR}/${dep}.tar contents.tar.gz | ${TAR} xfz - -C ${WRKSRC}/_build/default/lib/${dep:C/-.*//}
-	${MKDIR} ${WRKSRC}/_checkouts/${dep:C/-.*//}
-	${TAR} xOf ${DISTDIR}/${DIST_SUBDIR}/${dep}.tar contents.tar.gz | ${TAR} xfz - -C ${WRKSRC}/_checkouts/${dep:C/-.*//}
-.endfor
-	${MKDIR} ${WRKSRC}/_build/bootstrap/lib
-	${MKDIR} ${WRKSRC}/_build/bootstrap/plugins
-.for dep in ${REBAR_DEPS}
-	${LN} -sf ${WRKSRC}/_build/default/lib/${dep:C/-.*//} ${WRKSRC}/_build/bootstrap/lib/
-.endfor
-.for dep in ${REBAR_DEPS}
-	${LN} -sf ${WRKSRC}/_build/default/plugins/${dep:C/-.*//} ${WRKSRC}/_build/bootstrap/plugins/
-.endfor
-
-do-build:
-	${RM} ${WRKSRC}/rebar.lock
-	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
-
-do-test:
-	cd ${WRKSRC} && \
-		${SETENV} ./rebar3 escriptize && \
-		${SETENV} ./rebar3 ct
-
-.include "../../lang/erlang/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/rebar3/PLIST b/rebar3/PLIST
deleted file mode 100644
index 172ce7d454..0000000000
--- a/rebar3/PLIST
+++ /dev/null
@@ -1,4 +0,0 @@
-@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
deleted file mode 100644
index cd8c0b3590..0000000000
--- a/rebar3/distinfo
+++ /dev/null
@@ -1,36 +0,0 @@
-$NetBSD: distinfo,v 1.1 2018/09/13 14:56:43 fhajny Exp $
-
-BLAKE2s (rebar3/bbmustache-1.12.2.tar) = 32ead8f53518aa6dc2d16f4136f6aa7dba0edcbc2d3066c59cd81bf033929812
-SHA512 (rebar3/bbmustache-1.12.2.tar) = aecba4e354bdd5e09756cf9cd8c1e55af832f0e121c4c8000b71bc9a46485a4cdd86d13aae4f1838588be228745003a324956fdd440fb4c48b987cc58a9e238c
-Size (rebar3/bbmustache-1.12.2.tar) = 17920 bytes
-BLAKE2s (rebar3/certifi-2.8.0.tar) = 71b7970ab6cf2ed86f02529a31d5056639a75eb7b65584a78f4c539e1058896c
-SHA512 (rebar3/certifi-2.8.0.tar) = 1c484afdf7664eb92df90251bb451208c08e76179e5654a2b069388a72889aac75e941ef626eaeec7fe0a74fdbacf359aeab5330eebd43e333ad513998e46e76
-Size (rebar3/certifi-2.8.0.tar) = 153088 bytes
-BLAKE2s (rebar3/cf-0.3.1.tar) = f001900e6df6a33021788f72e44656eefebd8a76b6b3281a53ff469aea4569c8
-SHA512 (rebar3/cf-0.3.1.tar) = 232fa9cd175e54599c035b087a6d44c9afb4135a5509b7498ebce8becec333cd670d0e06a3bf9e30d54c7c609ad2aecd42fc40e667cf95e68b7dc228e1fd85d8
-Size (rebar3/cf-0.3.1.tar) = 10240 bytes
-BLAKE2s (rebar3/cth_readable-1.5.1.tar) = 6417eae68a7dbcaf43be90dd5c18d69f1e03fedcc55d4425f3890d8a79045b65
-SHA512 (rebar3/cth_readable-1.5.1.tar) = 8abd3f7255634e29584559e0d4b811e2af3ed047a10f32a7e2b899abd02f0ab3cef117d3ef6c9db38d34fed6285a1f47356b647350c9b636f011445d3914da7f
-Size (rebar3/cth_readable-1.5.1.tar) = 19968 bytes
-BLAKE2s (rebar3/erlware_commons-1.5.0.tar) = 856abbf4189bcc407927b6e8a021b972fb968e555695770547c95ffe0d98bdc0
-SHA512 (rebar3/erlware_commons-1.5.0.tar) = 215072e79da4edf51ac6889721c0d4cefbee60fd5e2a803b39acdd2735b5e91f2df690b94f14a9814f63a4cd3e4762e8d7f87f6debb3e659e542a6dda5159739
-Size (rebar3/erlware_commons-1.5.0.tar) = 53760 bytes
-BLAKE2s (rebar3/eunit_formatters-0.5.0.tar) = a950f935b72499a53aaccdc269ea91465c95e81b81e2fd90073eb401d1c1896a
-SHA512 (rebar3/eunit_formatters-0.5.0.tar) = e8692ff35f979dfaf99ccac58014429d300a71ff76f2ce945814a0d4d9431821f04f988dc0271271858a37e6903a73b4dd9ae3abf215333f3135fa883ec07022
-Size (rebar3/eunit_formatters-0.5.0.tar) = 14848 bytes
-BLAKE2s (rebar3/getopt-1.0.1.tar) = c569953af866ab03369962937ebcd66a79d3f5b7d29e8e7514e2f93e50e6dda5
-SHA512 (rebar3/getopt-1.0.1.tar) = 859642dc26c42414474fa8af8a32fed827b0773ac6d6eb51ec19c291672408e71619ad2bb0c7f08d84ff591b33a655a7e0b6241b94372e9cc816a648ee6cdaf6
-Size (rebar3/getopt-1.0.1.tar) = 19456 bytes
-BLAKE2s (rebar3/providers-1.9.0.tar) = 2e8cf8313cd61b9216a425bc6ae8992ece5bb7ef8f9eb66e935aee613b163785
-SHA512 (rebar3/providers-1.9.0.tar) = 7227855164124425b89996b0295a786e36bbc2fadee9949d0b3d9ad518b3be9204650e5fa9e027e72cc4c2d2e8b968bddfc2015ceaf4cc00d865a35132defe76
-Size (rebar3/providers-1.9.0.tar) = 14848 bytes
-BLAKE2s (rebar3/rebar3-3.18.0.tar.gz) = 33c4028a20f32cff85db69561cf11d7c0f1f3d258419e8af1c6a7d3cf14ec9fc
-SHA512 (rebar3/rebar3-3.18.0.tar.gz) = 4fcaa1867fba7462df0b9a64fa442f4a887e83530635fdcd19f4b5dcee14ace3e7403c27f35e5e6055fb6bf89c98a91a3ff1e2036ab6e67e3de028f91233e4ed
-Size (rebar3/rebar3-3.18.0.tar.gz) = 436403 bytes
-BLAKE2s (rebar3/relx-4.6.0.tar) = bd0f7939b6ee9a115b39d3086eaf84156cbdafd8a04ac14a2ad980850686c2f2
-SHA512 (rebar3/relx-4.6.0.tar) = a0ae0447815e78b7f296b721be1430897305bb21b8b183191ed1bb0cc33ee1060f5b1ee2452d86ff7a782f29450896e8b01e90f00847c7e4bad62f3c5a786678
-Size (rebar3/relx-4.6.0.tar) = 75776 bytes
-BLAKE2s (rebar3/ssl_verify_fun-1.1.6.tar) = 000cb4e6d18aa9d0695306cb6b5de24a2cb559d3a59b28445d25be22ee9a296e
-SHA512 (rebar3/ssl_verify_fun-1.1.6.tar) = 65980368629357ec16b37fd8ea1d42f7dbd7fa86318b329bec756e868b70eb4c93cf1bfe3dd34e1b6c011086ba32e11981d61e18fdad78564b77664e4d155a47
-Size (rebar3/ssl_verify_fun-1.1.6.tar) = 14848 bytes
-SHA1 (patch-bootstrap) = 6535627766985cfe5127afe1a0e668b096f372fc
diff --git a/rebar3/patches/patch-bootstrap b/rebar3/patches/patch-bootstrap
deleted file mode 100644
index c2f76515e5..0000000000
--- a/rebar3/patches/patch-bootstrap
+++ /dev/null
@@ -1,29 +0,0 @@
-$NetBSD$
-
-patch bootstrap to work within pkgsrc context.
-
---- bootstrap.orig	2022-04-05 20:03:11.466752120 +0200
-+++ bootstrap	2022-04-05 20:03:53.175125878 +0200
-@@ -13,18 +13,18 @@
- 
-     %% Clear directories for builds since bootstrapping may require
-     %% a changed structure from an older one
--    rm_rf("_build/bootstrap"),
-+    %% rm_rf("_build/bootstrap"),
-     %% When recompiling rebar3 itself, the path swaps and cleaning
-     %% removes the modules in _build/bootstrap, but the VM still
-     %% manages to discover those in _build/prod from previous builds and
-     %% cause weird failures when compilers get modified between releases.
--    rm_rf("_build/prod"),
-+    %% rm_rf("_build/prod"),
-     %% The same pattern happens with default/ as well, particularly when
-     %% developing new things.
-     %% Keep other deps in <profile>/lib for build environments like Nix
-     %% where internet access is disabled that deps are not downloadable.
--    rm_rf("_build/default/lib/rebar"),
--    rm_rf("_build/test/lib/rebar"),
-+    %% rm_rf("_build/default/lib/rebar"),
-+    %% rm_rf("_build/test/lib/rebar"),
- 
-     filelib:ensure_dir("_build/bootstrap/lib/rebar/ebin/"),
- 


Home | Main Index | Thread Index | Old Index