dev-python/pytokens: New package, v0.2.0

New dependency for dev-python/black.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-10-15 13:05:00 +02:00
parent d9de3e6c21
commit 2c277359f8
3 changed files with 39 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST pytokens-0.2.0.tar.gz 15368 BLAKE2B 5ca5504725d536fa13499c508d8ea9765416897513e3a35a9ec8c57ec15a8ef231c6ebae76748345ac9451d27a7c276c3826545092fd556467a9f0ede0d9702e SHA512 70d2b60c6695de6629da77a95fb9409938e190e4a94448cf58206f7a406f2aedbcbf415c45f6b3c9c4555cc219a97aad359e1f9267752188d7a92a30fe230cc2

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="github">tusharsadhwani/pytokens</remote-id>
<remote-id type="pypi">pytokens</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -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=
}