Page MenuHomeFreeBSD

textproc/py-parso: Python Parser
ClosedPublic

Authored by ultima on Dec 11 2017, 7:39 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 9, 3:11 AM
Unknown Object (File)
Fri, Sep 26, 6:42 AM
Unknown Object (File)
Fri, Sep 26, 5:04 AM
Unknown Object (File)
Tue, Sep 23, 11:24 PM
Unknown Object (File)
Wed, Sep 17, 7:55 AM
Unknown Object (File)
Sep 11 2025, 4:39 PM
Unknown Object (File)
Aug 26 2025, 9:45 PM
Unknown Object (File)
Aug 25 2025, 3:41 PM
Subscribers

Details

Summary

Parso is a Python parser that supports error recovery and round-trip
parsing for different Python versions (in multiple Python versions).
Parso is also able to list multiple syntax errors in your python file.

Parso has been battle-tested by jedi. It was pulled out of jedi to be
useful for other projects as well.

Parso consists of a small API to parse Python and analyse the syntax tree.

WWW: https://github.com/davidhalter/parso

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

koobs added a subscriber: koobs.

LGTM.

Ideally add TEST_DEPENDS (pytest) and test (do-test) target to make running test suite for QA easy.

Dont use tox, just: cd ${WRKSRC} && ${PYTHON_CMD} -m pytest test, cd ${WRKSRC} && pytest-${PYTHON_VER} test or similar

This revision is now accepted and ready to land.Dec 11 2017, 11:12 AM
sunpoet added inline comments.
textproc/py-parso/Makefile
17 ↗(On Diff #36440)

Please sort USE_PYTHON.

19–20 ↗(On Diff #36440)

Why not use CHEESESHOP as MASTER_SITES?

textproc/py-parso/Makefile
17 ↗(On Diff #36440)

Please don't, "distutils autoplist" is the logical way, autoplist needs distutils.

This revision was automatically updated to reflect the committed changes.
ultima marked 3 inline comments as done.EditedDec 11 2017, 8:11 PM

LGTM.

Ideally add TEST_DEPENDS (pytest) and test (do-test) target to make running test suite for QA easy.

Dont use tox, just: cd ${WRKSRC} && ${PYTHON_CMD} -m pytest test, cd ${WRKSRC} && pytest-${PYTHON_VER} test or similar

Added with pytest-cache as well in depends

Committed, if you see anything else let me know. Thanks =]