Group :: Development/Python3
RPM: python3-module-fasttext
Main Changelog Spec Patches Sources Download Gear Bugs e 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
…
Todas as alterações você pod ver aqui
%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
…
Todas as alterações você pod ver aqui