Port details |
- py-asttokens Annotate AST trees with source code positions
- 2.4.1 devel =2 2.4.1Version of this port present on the latest quarterly branch.
- Maintainer: amdmi3@FreeBSD.org
- Port Added: 2017-11-27 11:29:01
- Last Update: 2024-02-29 07:18:32
- Commit Hash: 5d4139f
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- License: APACHE20
- WWW:
- https://pypi.org/project/asttokens/
- https://github.com/gristlabs/asttokens
- Description:
- The asttokens module annotates Python abstract syntax trees (ASTs)
with the positions of tokens and text in the source code that
generated them.
It makes it possible for tools that work with logical AST nodes to
find the particular text that resulted in those nodes, for example
for automated refactoring or highlighting.
- ¦ ¦ ¦ ¦
- 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}asttokens>0:devel/py-asttokens@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-asttokens/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-asttokens
- pkg install py39-asttokens
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 py39-asttokens listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-asttokens
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1699367130
SHA256 (asttokens-2.4.1.tar.gz) = b03869718ba9a6eb027e134bfdf69f38a236d681c83c160d510768af11254ba0
SIZE (asttokens-2.4.1.tar.gz) = 62284
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools-scm>=0 : devel/py-setuptools-scm@py39
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- py39-astroid>=0 : devel/py-astroid@py39
- py39-pytest>=7,1 : devel/py-pytest@py39
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-six>=0 : devel/py-six@py39
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- This port is required by:
- for Build
-
- devel/eric6
- for Run
-
- devel/eric6
- devel/py-devtools
- devel/py-stack-data
- devel/thonny
Configuration Options:
- No options to configure
- Options name:
- devel_py-asttokens
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2.4.1 29 Feb 2024 07:18:32 |
Charlie Li (vishwin) |
devel/py-setuptools-scm: update to 8.0.4
Directory and PORTNAME changed to match normalised name in release
tarball; consumers updated to match.
Although setuptools itself is specified as a run dependency in the
Python package metadata, it is currently left out here to prevent
environment pollution until at least PR 270510 is committed.
Additionally, this version of setuptools-scm requires setuptools>=61,
which means this version is only meant for USE_PYTHON=pep517 ports
as all USE_PYTHON=distutils ports will switch to devel/py-setuptools58
also after PR 270510. science/py-emmet-core is switched to
devel/py-setuptools_scm7 accordingly, as it specifies setuptools-scm<8.
devel/py-{flit-scm,hatch-vcs} have ${PY_SETUPTOOLS} added to
RUN_DEPENDS to compensate.
Further details: https://wiki.freebsd.org/Python/setuptools
Reported by: yuri
Co-authored by: matthew
Exp-run by: antoine (earlier iteration)
Approved by: yuri (science/py-emmet-core, previous iteration)
PR: 272134
Differential Revision: https://reviews.freebsd.org/D39288 |
2.4.1 08 Nov 2023 18:31:04 |
Dmitry Marakasov (amdmi3) |
devel/py-asttokens: update 2.4.0 → 2.4.1 |
2.4.0 19 Sep 2023 21:00:39 |
Dmitry Marakasov (amdmi3) |
devel/py-asttokens: update 2.2.1 → 2.4.0 |
2.2.1 27 Jun 2023 19:34:34 |
Rene Ladan (rene) |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
2.2.1 11 Jan 2023 15:58:34 |
Dmitry Marakasov (amdmi3) |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
2.2.1 05 Dec 2022 19:28:15 |
Dmitry Marakasov (amdmi3) |
devel/py-asttokens: update 2.1.0 → 2.2.1 |
2.1.0 21 Nov 2022 17:23:42 |
Dmitry Marakasov (amdmi3) |
*/*: switch my ports from USES=pytest to USE_PYTHON=pytest
Suggested by: sunpoet |
2.1.0 01 Nov 2022 12:46:28 |
Dmitry Marakasov (amdmi3) |
devel/py-asttokens: update 2.0.8 → 2.1.0 |
2.0.8 08 Sep 2022 20:30:42 |
Dmitry Marakasov (amdmi3) |
*/*: preserve all WWWs for my ports |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
2.0.8 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
2.0.8 30 Aug 2022 18:55:05 |
Dmitry Marakasov (amdmi3) |
devel/py-asttokens: update 2.0.7 → 2.0.8 |
2.0.7 10 Aug 2022 21:11:07 |
Dmitry Marakasov (amdmi3) |
devel/py-asttokens: update 2.0.6 → 2.0.7 |
2.0.6 08 Aug 2022 20:15:05 |
Dmitry Marakasov (amdmi3) |
devel/py-asttokens: update 2.0.5 → 2.0.6 |
2.0.5 26 Apr 2022 13:48:51 |
Dmitry Marakasov (amdmi3) |
devel/py-asttokens: switch to USES=pytest and document failing tests |
2.0.5 20 Apr 2021 17:33:22 |
Dmitry Marakasov (amdmi3) |
devel/py-asttokens: update to 2.0.5 |
2.0.4 07 Apr 2021 23:19:01 |
Dmitry Marakasov (amdmi3) |
Remove useless Created by: headers mentioning me |
2.0.4 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
2.0.4 28 Dec 2020 23:02:15 |
antoine |
Drop python 2.7 support from a few ports
With hat: portmgr |
2.0.4 13 Apr 2020 21:55:01 |
amdmi3 |
- Update to 2.0.4 |
2.0.3 21 Dec 2019 23:01:22 |
amdmi3 |
- Update to 2.0.3 |
2.0.2 29 Oct 2019 13:57:51 |
amdmi3 |
- Update to 2.0.2 |
1.1.15 02 Oct 2019 18:38:21 |
amdmi3 |
- Update to 1.1.15 |
1.1.14 15 Sep 2019 23:00:02 |
amdmi3 |
- Update to 1.1.14 |
1.1.13 06 Nov 2018 23:49:56 |
amdmi3 |
- Update to 1.1.13 |
1.1.12 02 Nov 2018 19:25:34 |
amdmi3 |
- Update to 1.1.12 |
1.1.11 08 Jul 2018 09:58:25 |
amdmi3 |
- Update to 1.1.11 |
1.1.10 20 Jun 2018 17:05:44 |
mat |
Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.
Sponsored by: Absolight |
1.1.10 25 Apr 2018 16:42:38 |
amdmi3 |
Switch all pypi.python.org WWWs to a new PyPi home pypi.org where
they now redirect to anyway. All new urls checked to return 200,
I've fixed a couple of them in the process.
Approved by: portmgr blanket, mat |
1.1.10 21 Feb 2018 12:51:25 |
amdmi3 |
- Update to 1.1.10 |
1.1.8 19 Jan 2018 18:31:35 |
amdmi3 |
- Update to 1.1.8 |
1.1.7 01 Dec 2017 19:45:53 |
amdmi3 |
- Simplify and properly support python3 thanks to FLAVORS support |
1.1.7 30 Nov 2017 15:50:34 |
mat |
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the (Only the first 15 lines of the commit message are shown above ) |
1.1.7 28 Nov 2017 14:54:35 |
amdmi3 |
- Update to 1.1.7 |
1.1.6 27 Nov 2017 11:28:54 |
amdmi3 |
- Add devel/py{,3}-asttokens, missing dependency for py{,3}-flake8-import-order
The asttokens module annotates Python abstract syntax trees (ASTs)
with the positions of tokens and text in the source code that
generated them.
It makes it possible for tools that work with logical AST nodes to
find the particular text that resulted in those nodes, for example
for automated refactoring or highlighting.
WWW: https://pypi.python.org/pypi/asttokens
Approved by: portmgr (bdrewery) |