diff --git a/dev-python/pytokens/Manifest b/dev-python/pytokens/Manifest index 468c7edd75ede..707bcb9a9e4bc 100644 --- a/dev-python/pytokens/Manifest +++ b/dev-python/pytokens/Manifest @@ -1 +1,2 @@ DIST pytokens-0.3.0.tar.gz 17644 BLAKE2B bdf4c1c24cb977dc6a741adac33ab699c8c98af5493d14236d5e2672673bf76bd69bbea25ad3af2f59f2c7ee323036658346f0e50b281e3c78a07c3c686b3c48 SHA512 f52e689c7f39428e76418434f5155c2ad8c165a9927118a7803965f131ed63578151dbf090110cc016a019912491a6ab5787cbda408d352c6849c68b93df1b1a +DIST pytokens-0.4.0.tar.gz 15039 BLAKE2B 18a2d9b433179a87a2197e328317bf505abc2d742e9c2defeb79b6aeb8d7a24d86c087c72db2f6918d3f4d920fcce79cd9a1bd1b14daa449be65523e27089f57 SHA512 81d98687e10f4c80424b94c80921b9231cf690a94865ba2bc61c1672d914d21325105e227782eb4fbf8362b0a29cb1169465f3f8d23e361cf4bcd3879d660ff3 diff --git a/dev-python/pytokens/pytokens-0.4.0.ebuild b/dev-python/pytokens/pytokens-0.4.0.ebuild new file mode 100644 index 0000000000000..4577d3d12ae87 --- /dev/null +++ b/dev-python/pytokens/pytokens-0.4.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 2025-2026 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 pypi + +DESCRIPTION="A fast, spec compliant Python 3.13+ tokenizer that runs on older Pythons" +HOMEPAGE=" + https://github.com/tusharsadhwani/pytokens/ + https://pypi.org/project/pytokens/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~x86" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_configure() { + local -x PYTOKENS_USE_MYPYC=0 +} + +python_test() { + epytest -o addopts= +}