devel/codesearch-py: Python library for accessing Chromium CodeSearch

The codesearch Python library provides an interface for talking to the
Chromium CodeSearch backend.

The primary entry point into the library is the codesearch class. Various
message classes you are likely to encounter are defined in messages.py

In addition, the library also includes facilities for maintaining an
ephemeral or persistent cache in order to minimize generated network
traffic.

WWW: https://github.com/chromium/codesearch-py

Reviewed by:	koobs
Differential Revision:	https://reviews.freebsd.org/D11336
This commit is contained in:
Carlos J. Puga Medina 2017-06-27 22:13:12 +00:00
parent 177c2c8937
commit 012f1a102c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=444523
4 changed files with 42 additions and 0 deletions

View file

@ -319,6 +319,7 @@
SUBDIR += cobf
SUBDIR += coccinelle
SUBDIR += codeblocks
SUBDIR += codesearch-py
SUBDIR += codeville
SUBDIR += codeworker
SUBDIR += colorgcc

View file

@ -0,0 +1,27 @@
# Created by: Carlos J. Puga Medina <cpm@FreeBSD.org>
# $FreeBSD$
PORTNAME= codesearch-py
PORTVERSION= 0.1
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= cpm@FreeBSD.org
COMMENT= Python library for accessing Chromium CodeSearch
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python
USE_PYTHON= autoplist concurrent distutils
USE_GITHUB= yes
GH_ACCOUNT= chromium
GH_TAGNAME= ec3ad68
NO_ARCH= yes
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} -m unittest discover -v
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1498485588
SHA256 (chromium-codesearch-py-0.1-ec3ad68_GH0.tar.gz) = 93c5c3476fafcec52d0bc1f732b31d9ddc700882e5f6755b36da7740f747ef24
SIZE (chromium-codesearch-py-0.1-ec3ad68_GH0.tar.gz) = 335302

View file

@ -0,0 +1,11 @@
The codesearch Python library provides an interface for talking to the
Chromium CodeSearch backend.
The primary entry point into the library is the codesearch class. Various
message classes you are likely to encounter are defined in messages.py
In addition, the library also includes facilities for maintaining an
ephemeral or persistent cache in order to minimize generated network
traffic.
WWW: https://github.com/chromium/codesearch-py