Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37827207
en ru br
Репозитории ALT

Группа :: Development/Python3
Пакет: python3-module-fasttext

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define modname fasttext
%def_disable check

Name: python3-module-%modname
Version: 0.9.2
Release: alt1.1

Summary: Python3 word representations and sentence classification library
Group: Development/Python3
License: MIT
Url: https://pypi.org/project/%modname

Vcs: https://github.com/facebookresearch/fastText.git
Source: https://pypi.io/packages/source/f/%modname/%modname-%version.tar.gz
Patch1: fasttext-0.9.2-alt-add-missing-header.patch

BuildRequires(pre): rpm-build-python3
BuildRequires: gcc-c++ python3-module-setuptools
BuildRequires: python3-module-numpy python3-module-pybind11
%{?_enable_check:BuildRequires: python3-module-pytest python3-module-six}

%description
fastText is a library for efficient learning of word representations and
sentence classification.

%prep
%setup -n %modname-%version
%patch1 -p2

%build
%python3_build

%install
%python3_install

%check
%__python3 setup.py test

%files
%python3_sitelibdir/*
%doc README*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin