pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/hub



Module Name:    pkgsrc
Committed By:   leot
Date:           Sun Jan 27 16:09:58 UTC 2019

Modified Files:
        pkgsrc/net/hub: Makefile distinfo
Removed Files:
        pkgsrc/net/hub/files: hub.1

Log Message:
hub: Update to 2.8.3

pkgsrc changes:
* Add logic to generate man page via pre-install target instead of
  generating it manually

Changes:
### Changes since v2.7
* New `hub api` command for scripting with GitHub API
  <https://github.com/github/hub/pull/2016>
* Re-implement CLI flag parsing so that `--message <MSG>` is equivalent to
  `--message=<MSG>` <https://github.com/github/hub/pull/2008>
* Re-implement `make man-pages` in Go instead of Ruby
  <https://github.com/github/hub/pull/1990>
* `issue create --label` is now `issue create --labels` to align with
  existing documentation
* Output crash debugging information on stderr instead of stdout
* Build improvements:
   - respect environment LDFLAGS
   - strip the build path from resulting executable
   - enable reproducible builds with SOURCE_DATE_EPOCH


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/net/hub/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/net/hub/distinfo
cvs rdiff -u -r1.7 -r0 pkgsrc/net/hub/files/hub.1

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

Modified files:

Index: pkgsrc/net/hub/Makefile
diff -u pkgsrc/net/hub/Makefile:1.17 pkgsrc/net/hub/Makefile:1.18
--- pkgsrc/net/hub/Makefile:1.17        Thu Jan 24 10:00:42 2019
+++ pkgsrc/net/hub/Makefile     Sun Jan 27 16:09:58 2019
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.17 2019/01/24 10:00:42 bsiegert Exp $
+# $NetBSD: Makefile,v 1.18 2019/01/27 16:09:58 leot Exp $
 
-DISTNAME=      hub-2.7.1
-PKGREVISION=   1
+DISTNAME=      hub-2.8.3
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=github/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -19,7 +18,7 @@ DEPENDS+=             git-base>=1.7.3:../../devel/g
 SUBST_CLASSES+=                man
 SUBST_STAGE.man=       pre-configure
 SUBST_MESSAGE.man=     Fix hub name in hub(1) man page
-SUBST_FILES.man=       share/man/man1/hub.1
+SUBST_FILES.man=       share/man/man1/hub.1.md
 SUBST_SED.man+=                -e 's/\$$ git/$$ hub/'
 SUBST_SED.man+=                -e '/\$$ GITHUB_HOST=/ s/ git clone / hub clone /'
 
@@ -27,10 +26,13 @@ INSTALLATION_DIRS+= bin ${PKGMANDIR}/man
 
 CHECK_RELRO_SKIP+=     bin/hub
 
-# XXX: To avoid to (tool_)depends on devel/ruby-ronn, we (manually) generate
-# XXX: it via `ronn' and copy it to FILESDIR.
-pre-patch:
-       ${CP} ${FILESDIR}/hub.1 ${WRKSRC}/share/man/man1
+# Generate hub(1) man page
+pre-install:
+       cd ${WRKDIR} && \
+           ./bin/md2roff-bin --manual="hub manual" \
+               --version=${PKGVERSION_NOREV} \
+               --template=src/github.com/github/hub/man-template.html \
+               src/github.com/github/hub/share/man/man1/hub.1.md
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKDIR}/bin/hub ${DESTDIR}${PREFIX}/bin

Index: pkgsrc/net/hub/distinfo
diff -u pkgsrc/net/hub/distinfo:1.10 pkgsrc/net/hub/distinfo:1.11
--- pkgsrc/net/hub/distinfo:1.10        Fri Jan 18 21:05:40 2019
+++ pkgsrc/net/hub/distinfo     Sun Jan 27 16:09:58 2019
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.10 2019/01/18 21:05:40 leot Exp $
+$NetBSD: distinfo,v 1.11 2019/01/27 16:09:58 leot Exp $
 
-SHA1 (hub-2.7.1.tar.gz) = 40049df7baaba79dd60c495a3aee85228d4aa1b8
-RMD160 (hub-2.7.1.tar.gz) = f814fed0042be3fe53838d9ede21da64091499d8
-SHA512 (hub-2.7.1.tar.gz) = 71232e443821dadc961d16f428cac01c0cc2adcd476e94727a5de430716826478803b8e6a881e2387103330122dd603180b546c99823c3c36942674185141714
-Size (hub-2.7.1.tar.gz) = 998391 bytes
+SHA1 (hub-2.8.3.tar.gz) = a0f72f331f5d5998d0c8f908b6e36a96f3dc459b
+RMD160 (hub-2.8.3.tar.gz) = 5df6d5ea078a0864653a57eadc68e88c48470cd3
+SHA512 (hub-2.8.3.tar.gz) = 31b1b5533647887628d2f956cc420d92e5a4781149517b0dd3acc29daea17ec9b1ef5dd098bbc02b5e837a5785a60c8190494032a9af4245252f896559bf3935
+Size (hub-2.8.3.tar.gz) = 1039672 bytes



Home | Main Index | Thread Index | Old Index