pkgsrc/net/hub/Makefile
leot b06b08d085 hub: Update net/hub to 2.6.0
Changes:
2.6.0
-----
Features
--------
- Use "scissors" line to delineate comments in editable messages instead of
  stripping away lines that start with #. This helps preserve Markdown
  headings in hub pull-request, hub release create, and similar commands
  that open a text editor interactively.
  Everything above the following line is kept in the message; everything
  below is discarded:
    # ------------------------ >8 ------------------------
- New command hub issue show <NUMBER>
- Add hub release show --format=<FORMAT> functionality
- hub pr list --format=%rs lists requested reviewers
- Add support for communicating with GitHub Enterprise over Unix socket
    # ~/.config/hub
    example.com:
    user: USER
    oauth_token: TOKEN
    unix_socket: /path/to/socket

Fixes
-----
- Prevent hub create setting a public upstream when creating a private repo
- Fix hub create in place of a renamed repo
- Fix hub release create/edit/delete when there are multiple git remotes
- Auto-detect private/pushable repos in hub remote add
- Fix hub ci-status exit code when there is only Checks
- Allow hub compare <RANGE> even if not on any branch
- Ensure consistent sort direction when listing issues, PRs
- Match requested team names by slug instead of name in
  hub pull-request -r <TEAM>
2018-10-31 08:35:32 +00:00

39 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.11 2018/10/31 08:35:32 leot Exp $
DISTNAME= hub-2.6.0
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=github/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= leot@NetBSD.org
HOMEPAGE= https://hub.github.com/
COMMENT= hub helps you win at git
LICENSE= mit
GO_DIST_BASE= ${DISTNAME}
GO_SRCPATH= github.com/github/hub
DEPENDS+= git-base>=1.7.3:../../devel/git-base
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_SED.man+= -e 's/\$$ git/$$ hub/'
SUBST_SED.man+= -e '/\$$ GITHUB_HOST=/ s/ git clone / hub clone /'
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
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
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/bin/hub ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/share/man/man1/hub.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../lang/go/go-package.mk"
.include "../../mk/bsd.pkg.mk"