diff --git a/dev-python/asttokens/Manifest b/dev-python/asttokens/Manifest index d3c75d70446f..394eea17b496 100644 --- a/dev-python/asttokens/Manifest +++ b/dev-python/asttokens/Manifest @@ -1 +1,2 @@ DIST asttokens-3.0.0.gh.tar.gz 56937 BLAKE2B 38b3c9271ba57c032f552cb6dedd2cd2ef2eb6294b2f5e2fde4821260b73453495576b6641fa9450bd86f08ed4a296e010a5ce5f0f3502cbeb27857e1792802f SHA512 9d0f78ee90758d52fd15ee2f1940ddc14e8fc0d15e83fb01e731c6b79e328510f6c588c7856935aed99017b98f1daa99ee25802964990d59f63c62a0a5646804 +DIST asttokens-3.0.1.gh.tar.gz 57176 BLAKE2B d46da589642008dd9ff2665e6df11f2b582dc768c698f3202651ff68c20cf49a7d4e08361cee9fa0f4fa1b6ad255408b8fca9443bc0664069c026fed3764acac SHA512 653a486f025243e4bf51ff2c23b9b61d3e565106ce2653bcffac484dbd8223d433be680d742a3148c6396482a12faa99236a32ea0e876983a8d24678c8d48740 diff --git a/dev-python/asttokens/asttokens-3.0.1.ebuild b/dev-python/asttokens/asttokens-3.0.1.ebuild new file mode 100644 index 000000000000..b36573cabb62 --- /dev/null +++ b/dev-python/asttokens/asttokens-3.0.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 2020-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) + +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="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/astroid[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}