diff options
author | CoprDistGit <infra@openeuler.org> | 2024-01-29 05:59:29 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-01-29 05:59:29 +0000 |
commit | 1f6362006d52e317042d830436b15dd431d1f672 (patch) | |
tree | 14382d79f728861339300b9d6d5d18daeaa909c3 | |
parent | d324f23a9e470a3039d9d1fe4d9ad5287332bc20 (diff) |
automatic import of python-flairopeneuler23.09
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-flair.spec | 78 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 80 insertions, 0 deletions
@@ -0,0 +1 @@ +/python-flair-0.13.1.tar.gz diff --git a/python-flair.spec b/python-flair.spec new file mode 100644 index 0000000..411c6f8 --- /dev/null +++ b/python-flair.spec @@ -0,0 +1,78 @@ +%global _empty_manifest_terminate_build 0 +%global pypi_name flair +%global source_name flair + +Name: python-%{pypi_name} +Version: 0.13.1 +Release: 1%{?dist} +Summary: flair package for Python3 +License: MIT +URL: https://github.com/flairNLP +Source0: https://github.com/flairNLP/flair/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz + +Requires: python3-boto3 >= 1.20.27 +Requires: python3-bpemb >= 0.3.2 +Requires: python3-conllu >= 4.0 +Requires: python3-deprecated >= 1.2.13 +Requires: python3-ftfy >= 6.1.0 +Requires: python3-gdown >= 4.4.0 +Requires: python3-gensim >= 4.2.0 +Requires: python3-huggingface-hub >= 0.10.0 +Requires: python3-janome >= 0.4.2 +Requires: python3-langdetect >= 1.0.9 +Requires: python3-lxml >= 4.8.0 +Requires: python3-matplotlib >= 2.2.3 +Requires: python3-more-itertools >= 8.13.0 +Requires: python3-mpld3 >= 0.3 +Requires: python3-pptree >= 3.1 +Requires: python3-python-dateutil >= 2.8.2 +Requires: python3-pytorch_revgrad >= 0.2.0 +Requires: python3-regex >= 2022.1.18 +Requires: python3-scikit-learn >= 1.0.2 +Requires: python3-segtok >= 1.5.11 +Requires: python3-sqlitedict >= 2.0.0 +Requires: python3-tabulate >= 0.8.10 +Requires: python3-pytorch >= 1.5.0 +Requires: python3-tqdm >= 4.63.0 +Requires: python3-transformer-smaller-training-vocab >= 0.2.3 +Requires: python3-transformers >= 4.18.0 +Requires: python3-urllib >= 1.0.0 +Requires: python3-wikipedia-api >= 0.5.7 +Requires: python3-semver < 4.0.0, python3-semver >= 3.0.0 + +%description + +%package -n python3-%{pypi_name} +Summary: flair package for Python3 +Provides: python-%{pypi_name} +BuildRequires: python3-pip + +%description -n python3-%{pypi_name} + +%package help +Summary: Development documents and examples for flair +Provides: python3-%{pypi_name}-doc +%description help +documents of flair package for python3 + +%prep +%autosetup -p1 -n %{pypi_name}-%{version} + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{pypi_name} +%doc *.md +%license LICENSE +%{python3_sitelib}/%{pypi_name}/* +%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/* +%{python3_sitelib}/tests/* +#%{_datadir}/jupyter/* +#%{_usr}/etc/jupyter/* + +%changelog +* Mon Jan 22 2024 menma <1316818279@qq.com> - 0.9.5-1 +- Package init @@ -0,0 +1 @@ +c15239a2261f1100778ed34327d1f310 python-flair-0.13.1.tar.gz |