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)
Mar 6 2024, 8:35 PM
Unknown Object (File)
Feb 5 2024, 8:06 PM
Unknown Object (File)
Jan 14 2024, 6:16 PM
Unknown Object (File)
Jan 10 2024, 8:02 AM
Unknown Object (File)
Jan 10 2024, 8:02 AM
Unknown Object (File)
Jan 10 2024, 8:02 AM
Unknown Object (File)
Jan 2 2024, 3:33 PM
Unknown Object (File)
Dec 20 2023, 2:13 AM
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 =]