diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-09-05 07:36:41 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-09-05 07:54:37 +0200 |
commit | f439ba6edbdd73ce05fc693c00ba4819a03b95e2 (patch) | |
tree | 5db8643f032201fd4dd6781476436ab846b5dfd3 /dev-python/asttokens | |
parent | dev-python/pytest-httpx: Bump to 0.24.0 (diff) | |
download | gentoo-f439ba6edbdd73ce05fc693c00ba4819a03b95e2.tar.gz gentoo-f439ba6edbdd73ce05fc693c00ba4819a03b95e2.tar.bz2 gentoo-f439ba6edbdd73ce05fc693c00ba4819a03b95e2.zip |
dev-python/asttokens: Bump to 2.4.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/asttokens')
-rw-r--r-- | dev-python/asttokens/Manifest | 1 | ||||
-rw-r--r-- | dev-python/asttokens/asttokens-2.4.0.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/asttokens/Manifest b/dev-python/asttokens/Manifest index 460521610974..74f84745b4ba 100644 --- a/dev-python/asttokens/Manifest +++ b/dev-python/asttokens/Manifest @@ -1,2 +1,3 @@ DIST asttokens-2.2.1.gh.tar.gz 56115 BLAKE2B 89c235391f9cc68fc640c5f9fccd1055cd7649ac92f4f935a872c1b90458f4bf577979fdeb3267f7bd5a5af505b6a33582da47d5fb65b57c411f482622d90feb SHA512 f7fb00918403054bc6a118494f49dcc11946141d2193624455ff2b1ca137d1c75315c779295701e93ae350ce4f5f670d6287e91a116b6b5cbcb06b374a6d00b5 DIST asttokens-2.3.0.gh.tar.gz 56996 BLAKE2B 742e1332c6dcc35930e6ac85df1a851143772ab390f51088bd89bbc8c6f2d2277ed1cc31af554f274b3d6fab554a542a54b0ef08afbd470f8308ca5eddf9728b SHA512 128e9d41db1e7dd85ce3e459123c0a28d8478c3757b06c35a53eed4286ed23ac8747a221b9bbcf17d87dd98288a3b58a33e0a2e4e9f5cf8b137264bd22eadc36 +DIST asttokens-2.4.0.gh.tar.gz 56965 BLAKE2B 60adc46bd30f5c2fee368362f655bb6a83d2394f2c0badfc191f91335decd523a2f1523927b4ce3cdbe1a557cfb335635c68c20acbb33384cf9c3a816bbb6743 SHA512 183321c6eef3493e49289834425d4ec59dec5fdc496d27e4d89ab5ca2a830306367e0464dba25856da612e018f8d6cefedf7c2349488884031f02a91acc73cd4 diff --git a/dev-python/asttokens/asttokens-2.4.0.ebuild b/dev-python/asttokens/asttokens-2.4.0.ebuild new file mode 100644 index 000000000000..4d0a09d2ec63 --- /dev/null +++ b/dev-python/asttokens/asttokens-2.4.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 + +DESCRIPTION="Annotate Python AST trees with source text and token information" +HOMEPAGE=" + https://github.com/gristlabs/asttokens/ + https://pypi.org/project/asttokens/ +" +SRC_URI=" + https://github.com/gristlabs/asttokens/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/astroid[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # test suite itself broken with new astroid versions, upstream less care + # https://github.com/gristlabs/asttokens/issues/79 + tests/test_astroid.py +) + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} |