Files
ports/devel/git-review/Makefile
T
Charlie Li 06a08e69f3 python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
2025-03-07 23:05:21 -05:00

34 lines
862 B
Makefile

PORTNAME= git-review
DISTVERSION= 2.4.0
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
MAINTAINER= dereckson@gmail.com
COMMENT= Allow to push code to review and interact with a Gerrit server
WWW= https://docs.opendev.org/opendev/git-review/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>0:devel/py-pbr@${PY_FLAVOR}
RUN_DEPENDS= git:devel/git \
${PYTHON_PKGNAMEPREFIX}requests>2.4:www/py-requests@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist distutils concurrent optsuffix
NO_ARCH= yes
PORTDOCS= README.rst CONTRIBUTING.rst AUTHORS
OPTIONS_DEFINE= DOCS
post-install:
${INSTALL_MAN} ${WRKSRC}/git-review.1 ${STAGEDIR}${PREFIX}/share/man/man1
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>