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: D11336
Details
Details
- portlint -AC output looks fine.
- poudriere testport builds fine on 10.3/i386, 10.3/amd64, 11.0/i386, 11.0/amd64, 12.0/i386 and 12.0/amd64.
Diff Detail
Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Looks OK.
Note:
Current code says PORTNAME (codesearch, 404 in PyPI) does NOT equal DISTNAME (codesearch-py) which is disconcerting.
Be careful with naming of python packages that are named from repository names (not PyPI) as many do not match. Check PyPI for their existence first, even under different names. Ideally get upstream to register a PyPI name and use that (independent of the repository name).
I'm tempted to recommend defaulting PORTNAME to DISTNAME (codesearch-py in this case) where the package doesn't exist in PyPI.