diff --git a/dev-python/pytokens/Manifest b/dev-python/pytokens/Manifest new file mode 100644 index 0000000000000..485a263caf979 --- /dev/null +++ b/dev-python/pytokens/Manifest @@ -0,0 +1 @@ +DIST pytokens-0.2.0.tar.gz 15368 BLAKE2B 5ca5504725d536fa13499c508d8ea9765416897513e3a35a9ec8c57ec15a8ef231c6ebae76748345ac9451d27a7c276c3826545092fd556467a9f0ede0d9702e SHA512 70d2b60c6695de6629da77a95fb9409938e190e4a94448cf58206f7a406f2aedbcbf415c45f6b3c9c4555cc219a97aad359e1f9267752188d7a92a30fe230cc2 diff --git a/dev-python/pytokens/metadata.xml b/dev-python/pytokens/metadata.xml new file mode 100644 index 0000000000000..3e5e041f58b78 --- /dev/null +++ b/dev-python/pytokens/metadata.xml @@ -0,0 +1,12 @@ + + + + + python@gentoo.org + + + + tusharsadhwani/pytokens + pytokens + + diff --git a/dev-python/pytokens/pytokens-0.2.0.ebuild b/dev-python/pytokens/pytokens-0.2.0.ebuild new file mode 100644 index 0000000000000..5c22b9c522efa --- /dev/null +++ b/dev-python/pytokens/pytokens-0.2.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 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 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="~amd64" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_test() { + epytest -o addopts= +}