mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-30 10:41:01 +02:00
youtokentome: add git version
This commit is contained in:
parent
212169a7f7
commit
02ed0502c9
1 changed files with 30 additions and 0 deletions
30
dev-python/youtokentome/youtokentome-9999.ebuild
Normal file
30
dev-python/youtokentome/youtokentome-9999.ebuild
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
DISTUTILS_EXT=1
|
||||
EGIT_REPO_URI="https://github.com/vkcom/youtokentome"
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
|
||||
inherit distutils-r1 git-r3
|
||||
|
||||
DESCRIPTION="Unsupervised text tokenizer focused on computational efficiency"
|
||||
HOMEPAGE="https://github.com/vkcom/youtokentome"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
RESTRICT="test" # error in package
|
||||
|
||||
RDEPEND="dev-python/click[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 6i"#include <cstdint>" "youtokentome/cpp/utf8.h" || die
|
||||
eapply_user
|
||||
}
|
||||
Loading…
Reference in a new issue