tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Githubify and GITHUB_PROJECT with p5- package
I'd like to githubify devel/p5-Mojo-IOLoop-ForkCall as attached,
and this patch should work fine, but with only one level simplification.
Say, GITHUB_PROJECT tweak is necessary, for (default) PKGBASE is p5-
prefixed.
If GITHUB_PROJECT defaults to DISTBASE (which currently does not exist),
the code gets simpler again.
Thanks a lot,
---
Makoto Fujiwara,
Chiba, Japan, Narita Airport and Disneyland prefecture.
http://www.ki.nu/~makoto/pkgsrc/check-update/00_Summary.html
Key fingerprint = 0BFA FAEB EAD1 90BA 7498 8F85 6809 9E0B B7EF A12E
Index: devel/p5-Mojo-IOLoop-ForkCall/Makefile
===================================================================
RCS file: /cvs/cvsroot/pkgsrc/devel/p5-Mojo-IOLoop-ForkCall/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- devel/p5-Mojo-IOLoop-ForkCall/Makefile 12 Jun 2015 10:49:28 -0000 1.5
+++ devel/p5-Mojo-IOLoop-ForkCall/Makefile 27 Dec 2015 09:43:58 -0000
@@ -1,11 +1,12 @@
# $NetBSD: Makefile,v 1.5 2015/06/12 10:49:28 wiz Exp $
-VERSION= 0.17
-DISTNAME= ${VERSION}
-PKGNAME= p5-Mojo-IOLoop-ForkCall-${VERSION}
+DISTNAME= Mojo-IOLoop-ForkCall-0.17
+# default name ${PKGBASE} has p5- prefix, so (prefer DISTBASE by mef)
+GITHUB_PROJECT= Mojo-IOLoop-ForkCall
+PKGNAME= p5-${DISTNAME}
PKGREVISION= 1
CATEGORIES= devel
-MASTER_SITES= https://github.com/jberger/Mojo-IOLoop-ForkCall/archive/
+MASTER_SITES= ${MASTER_SITE_GITHUB:=jberger/}
MAINTAINER= wiedi%frubar.net@localhost
HOMEPAGE= https://github.com/jberger/Mojo-IOLoop-ForkCall/
Index: devel/p5-Mojo-IOLoop-ForkCall/distinfo
===================================================================
RCS file: /cvs/cvsroot/pkgsrc/devel/p5-Mojo-IOLoop-ForkCall/distinfo,v
retrieving revision 1.5
diff -u -r1.5 distinfo
--- devel/p5-Mojo-IOLoop-ForkCall/distinfo 3 Nov 2015 03:28:30 -0000 1.5
+++ devel/p5-Mojo-IOLoop-ForkCall/distinfo 27 Dec 2015 09:43:58 -0000
@@ -1,6 +1,5 @@
$NetBSD: distinfo,v 1.5 2015/11/03 03:28:30 agc Exp $
-SHA1 (0.17.tar.gz) = 8658ef30184f9922f9423d3281675a317b118eef
-RMD160 (0.17.tar.gz) = b249b8e7112b90b752f9b364ea04e1622fc0c9b0
-SHA512 (0.17.tar.gz) = f89b8e9edee2678324f1e47917f2b56d7e804d5356cb0c8ecb73ac3a528ad6c32b2d849335b2cfd6d5e2fbf1f8aea588bd03baa382a7802f171e6c320523c97d
-Size (0.17.tar.gz) = 10122 bytes
+SHA1 (Mojo-IOLoop-ForkCall-0.17.tar.gz) = 8658ef30184f9922f9423d3281675a317b118eef
+RMD160 (Mojo-IOLoop-ForkCall-0.17.tar.gz) = b249b8e7112b90b752f9b364ea04e1622fc0c9b0
+Size (Mojo-IOLoop-ForkCall-0.17.tar.gz) = 10122 bytes
Home |
Main Index |
Thread Index |
Old Index