dev-python/gensim - 9999 (nest)

Search

Install

Install this version:

emerge -a =dev-python/gensim-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/gensim-9999

Or alternatively:

emerge --autounmask-write -a =dev-python/gensim-9999

Package Information

Description:
Topic Modelling for Humans
Homepage:
https://github.com/piskvorky/gensim
License:
LGPL-2.1

Ebuild Details

Version EAPI Keywords Slot
9999 8 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
DISTUTILS_EXT=1
PYTHON_COMPAT=( python3_{12,13} )

inherit distutils-r1 edo git-r3

DESCRIPTION="Topic Modelling for Humans"
HOMEPAGE="https://github.com/piskvorky/gensim"
EGIT_REPO_URI="https://github.com/piskvorky/${PN}.git"

LICENSE="LGPL-2.1"
SLOT="0"
IUSE="test"
RESTRICT="test"
PROPERTIES="test_network"

RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
	dev-python/scipy[${PYTHON_USEDEP}]
	dev-python/smart-open[${PYTHON_USEDEP}]"
BDEPEND="dev-python/cython[${PYTHON_USEDEP}]
	test? ( dev-python/annoy[${PYTHON_USEDEP}]
		dev-python/mock[${PYTHON_USEDEP}]
		dev-python/nbconvert[${PYTHON_USEDEP}]
		dev-python/nbformat[${PYTHON_USEDEP}]
		dev-python/nmslib[${PYTHON_USEDEP}]
		dev-python/pyemd[${PYTHON_USEDEP}]
		dev-python/testfixtures[${PYTHON_USEDEP}] )"

EPYTEST_XDIST=1
EPYTEST_PLUGINS=()
distutils_enable_tests pytest

python_compile() {
	distutils-r1_python_compile
	use test && esetup.py build_ext --inplace
}

python_install_all() {
	distutils-r1_python_install_all
	edo find "${ED}" -type d -name "test" -exec rm -rv {} +
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-python/gensim | euse -E <flag> -p dev-python/gensim | euse -D <flag> -p dev-python/gensim

Global/Standard Flags

Inherited Eclasses

edo

Dependencies

RDEPEND

dev-python/numpy[]
	dev-python/scipy[]
	dev-python/smart-open[]

BDEPEND

dev-python/cython[]
	test? ( dev-python/annoy[]
		dev-python/mock[]
		dev-python/nbconvert[]
		dev-python/nbformat[]
		dev-python/nmslib[]
		dev-python/pyemd[]
		dev-python/testfixtures[] )