notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine

Bot filter coming soon

To deter bots pegging the database CPU to 100%, a bot testing filter to be added to the website. This should not affect newsfeeds etc. Anubis seems light-weight - it is already in use within the FreeBSD Project. This notice is just a heads up in case you see something odd. This notice will be updated after Anubis is installed.

Port details on branch 2024Q3
py-grep-ast Pythonic grep through AST of source files
0.7.2 textproc on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.7.2Version of this port present on the latest quarterly branch.
Maintainer: dch@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-05-22 14:00:27
Last Update: 2025-03-21 08:49:36
Commit Hash: bd1ae3d
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
Also Listed In: python
License: APACHE20
WWW:
https://github.com/paul-gauthier/grep-ast
Description:
Grep source code files and see matching lines with useful context that show how they fit into the code. See the loops, functions, methods, classes, etc that contain all the matching lines. Get a sense of what's inside a matched class or function definition. You see relevant code from every layer of the abstract syntax tree, above and below the matches. By default, grep-AST recurses the current directory to search all source code files. It respects .gitignore, so it will usually "do the right thing" in most repos if you just do grep-ast <regex> without specifying any filenames. You can also invoke grep-ast as gast for convenience.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}grep-ast>0:textproc/py-grep-ast@${PY_FLAVOR}
To install the port:
cd /usr/ports/textproc/py-grep-ast/ && make install clean
To add the package, run one of these commands:
  • pkg install textproc/py-grep-ast
  • pkg install py311-grep-ast
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py311-grep-ast listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-grep-ast
Package flavors (<flavor>: <package>)
  • py311: py311-grep-ast
distinfo:
TIMESTAMP = 1742544770 SHA256 (grep_ast-0.7.2.tar.gz) = e2ddb885f526dc67d448b3920ad465010db2ba6c45c337f229de1d96ffa4e115 SIZE (grep_ast-0.7.2.tar.gz) = 12335

Packages (timestamps in pop-ups are UTC):
py311-grep-ast
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.7.20.7.2-0.7.20.7.2---
FreeBSD:13:quarterly0.7.20.7.2-0.7.20.7.2---
FreeBSD:14:latest0.7.20.7.2-0.7.20.7.2---
FreeBSD:14:quarterly0.7.20.7.2-0.7.20.7.2---
FreeBSD:15:latest0.7.20.7.2n/a0.7.2n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>=0 : devel/py-setuptools@py311
  2. py311-setuptools>=63.1.0 : devel/py-setuptools@py311
  3. python3.11 : lang/python311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. py311-pathspec>=0 : devel/py-pathspec@py311
  2. py311-tree-sitter-languages>0 : devel/py-tree-sitter-languages@py311
  3. python3.11 : lang/python311
This port is required by:
for Run
  1. misc/py-aider-chat

Configuration Options:
===> The following configuration options are available for py311-grep-ast-0.7.2: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings
Options name:
textproc_py-grep-ast
USES:
python shebangfix
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/g/grep_ast/
  2. https://pypi.org/packages/source/g/grep_ast/
Collapse this list.

There are no commits on branch 2024Q3 for this port