summaryrefslogtreecommitdiff
path: root/dev-python/asttokens
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-09-02 16:16:36 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-09-02 16:16:36 +0100
commite5206efa6e88d32e3819685adee35c49124ccf0e (patch)
treeeb8101c8b97f1aa253537d4ea141dc5bf9c9902b /dev-python/asttokens
parent15bd3dfb22c7ba23dad0823e326dbcb8bb31b892 (diff)
gentoo auto-resync : 02:09:2023 - 16:16:36
Diffstat (limited to 'dev-python/asttokens')
-rw-r--r--dev-python/asttokens/Manifest2
-rw-r--r--dev-python/asttokens/asttokens-2.3.0.ebuild43
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/asttokens/Manifest b/dev-python/asttokens/Manifest
index 6d66f9686948..72c4a8edfffb 100644
--- a/dev-python/asttokens/Manifest
+++ b/dev-python/asttokens/Manifest
@@ -1,3 +1,5 @@
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
EBUILD asttokens-2.2.1.ebuild 1000 BLAKE2B df0263ad9241ff00f197fe9eab1f75a3636556ec412b6b7cb7037421436c502510181cc0f9d2caf4254b931be6865bb6df62df62a5cc515ed4db8d1eb23ef0c7 SHA512 db764f1089310e1bd03055a5508db0e5447a58e645b24482a356b18ac9fbd02db02944bf91c070155ed0ff678e7be3112dc94dc032a9d2219868afc65d755b8f
+EBUILD asttokens-2.3.0.ebuild 1010 BLAKE2B dd588f8b69797c994e4d68888e1cfb0e4bfa5f44fc9bc206a2bb6798fb7506ecdf99023bd31789e3e1ff523e5e002e8e200e2eb08dc028369fd3a0a1eada1977 SHA512 2c0de685f80220698c7efea3ddd759b5bb498a521acf463dbd97d83ef456245a13a1f48b67a8c54452b61c9f9d6acc2ef7f58f90a2b788de2a1dfc8154133db3
MISC metadata.xml 350 BLAKE2B c05dcff93454660cb741def5cb0ca82e56f0cba84bddb9604153b6d70625e4dfc9e15743c3448a0cb68d9b5ccf0778f8126390872bd8689df0e0ab2bed7e6582 SHA512 521762b1e8a542c5f3156014884c3d845b6fe882e819c924aa8023f8dff32a94490e64a1d1f700f5127bd867c60c4f0f7c4aed5c39f78e52bd8ebabd113403cf
diff --git a/dev-python/asttokens/asttokens-2.3.0.ebuild b/dev-python/asttokens/asttokens-2.3.0.ebuild
new file mode 100644
index 000000000000..4d0a09d2ec63
--- /dev/null
+++ b/dev-python/asttokens/asttokens-2.3.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}