freebsd-ports/devel/codesearch-py/Makefile
2021-04-06 16:31:07 +02:00

36 lines
773 B
Makefile

# Created by: Carlos J. Puga Medina <cpm@FreeBSD.org>
PORTNAME= codesearch-py
DISTVERSION= g20190528
PORTEPOCH= 1
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= chromium@FreeBSD.org
COMMENT= Python library for accessing Chromium CodeSearch
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
USE_GITHUB= yes
GH_ACCOUNT= chromium
GH_TAGNAME= 11b86e5
NO_ARCH= yes
DOCS= CONTRIBUTING.md doc/changes_since_kythe_migration.md README.md
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} -m unittest discover -v
.include <bsd.port.mk>