pkgsrc-WIP-changes archive

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

Update p6-zef to 0.4.6.



Module Name:	pkgsrc-wip
Committed By:	Benny Siegert <bsiegert%gmail.com@localhost>
Pushed By:	bsiegert
Date:		Fri Oct 12 18:36:52 2018 +0000
Changeset:	23e9162f8f399215dd6a92ab17002d86accd87a9

Modified Files:
	p6-zef/Makefile
	p6-zef/distinfo
Added Files:
	p6-zef/TODO

Log Message:
Update p6-zef to 0.4.6.

From metelik in NetBSD/pkgsrc-wip#7.

The resulting package still is not correct as far as I can see,
since it only installs a dangling symlink into DESTDIR. Added a
small TODO noting this.

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

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

diffstat:
 p6-zef/Makefile | 12 ++++--------
 p6-zef/TODO     |  2 ++
 p6-zef/distinfo |  8 ++++----
 3 files changed, 10 insertions(+), 12 deletions(-)

diffs:
diff --git a/p6-zef/Makefile b/p6-zef/Makefile
index 5fe829af66..46a63136d7 100644
--- a/p6-zef/Makefile
+++ b/p6-zef/Makefile
@@ -1,7 +1,7 @@
 # $NetBSD$
 
 GITHUB_PROJECT=	zef
-GITHUB_TAG=	v0.1.26
+GITHUB_TAG=	v0.4.6
 DISTNAME=	zef-${GITHUB_TAG:S/v//}
 CATEGORIES=	wip
 MASTER_SITES=	${MASTER_SITE_GITHUB:=ugexe/}
@@ -11,25 +11,21 @@ HOMEPAGE=	https://github.com/ugexe/zef/
 COMMENT=	Perl 6 module manager
 LICENSE=	artistic
 
-WRKSRC=		${WRKDIR}/zef-0.1.26
 USE_LANGUAGES=	# none
 USE_TOOLS+=	gtar
 EXTRACT_USING=	gtar
+NO_BUILD=	yes
 
 GENERATE_PLIST=	cd ${DESTDIR}${PREFIX} && ${FIND} * -type f -print |${SORT} -u;
 CHECK_INTERPRETER_SKIP+=	share/perl6/site/bin/zef-j
 
 ZEF=		${PREFIX}/bin/perl6 -I${WRKSRC}/lib ${WRKSRC}/bin/zef
 
-do-build:
-	cd ${WRKSRC} && ${ZEF} build . --debug
-
 do-install:
-	cd ${WRKSRC} && ${ZEF} --to='inst#${DESTDIR}${PREFIX}/share/perl6/site' --force --debug install .
+	cd ${WRKSRC} && ${ZEF} --debug install .
 	${RM} -f ${DESTDIR}${PREFIX}/share/perl6/site/precomp/.lock
-	${RM} -f ${DESTDIR}${PREFIX}/share/perl6/site/repo.lock
 	${RM} -f ${DESTDIR}${PREFIX}/share/perl6/site/version
-	cd ${DESTDIR}${PREFIX} && mkdir bin && ${LN} -s ../share/perl6/site/bin/zef bin/zef
+	cd ${DESTDIR}${PREFIX} && mkdir bin && ${LN} -sf ../share/perl6/site/bin/zef bin/zef
 
 .include "../../lang/rakudo/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/p6-zef/TODO b/p6-zef/TODO
new file mode 100644
index 0000000000..9d582d9d00
--- /dev/null
+++ b/p6-zef/TODO
@@ -0,0 +1,2 @@
+This package does not install itself correctly. The PLIST only has bin/zef but
+that's a symlink to a non-existing file.
diff --git a/p6-zef/distinfo b/p6-zef/distinfo
index 15cae900bf..99f00cd3c9 100644
--- a/p6-zef/distinfo
+++ b/p6-zef/distinfo
@@ -1,6 +1,6 @@
 $NetBSD$
 
-SHA1 (zef-0.1.26.tar.gz) = 9ed56df820d5df8db24e4d254216cbb49d35ecf3
-RMD160 (zef-0.1.26.tar.gz) = 5a8c807a67d43ef6a6449288a990757e12876634
-SHA512 (zef-0.1.26.tar.gz) = c326065150254d4c348aad8f87f4d4da90043084716552539ee44c46da80651065ab71d93d13605e47923288c8dff2ef325b505048f1ea5b5feaac095184e505
-Size (zef-0.1.26.tar.gz) = 59699 bytes
+SHA1 (zef-0.4.6.tar.gz) = bcc31c0f448184c7d17b6eac6ae9692655a14bb7
+RMD160 (zef-0.4.6.tar.gz) = 912e2f43156a73be8e8f3201702b3d00904b41fb
+SHA512 (zef-0.4.6.tar.gz) = b6d9a296699ad059dfaf58d5dde8ddb32df84289c5da4d3a9885ea352a08b1a0dffa76ff78a8c10a29263a7f5c59d633d3376a2629a1f53a658fb7b199347e0d
+Size (zef-0.4.6.tar.gz) = 62005 bytes


Home | Main Index | Thread Index | Old Index