summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-18 05:42:13 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-18 05:42:13 +0000
commit73247eec7b3f666fc9640cb0c43bbf8992463286 (patch)
treefe8f969925d7835417b1f77941b406fe34b5f9ef
parent173c321d86e34b08f3d5776225cf56302151383b (diff)
automatic import of python-lexnlp
-rw-r--r--.gitignore1
-rw-r--r--python-lexnlp.spec111
-rw-r--r--sources1
3 files changed, 113 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..de39c52 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/lexnlp-2.3.0.tar.gz
diff --git a/python-lexnlp.spec b/python-lexnlp.spec
new file mode 100644
index 0000000..df42b86
--- /dev/null
+++ b/python-lexnlp.spec
@@ -0,0 +1,111 @@
+%global _empty_manifest_terminate_build 0
+Name: python-lexnlp
+Version: 2.3.0
+Release: 1
+Summary: LexPredict LexNLP
+License: AGPL
+URL: https://contraxsuite.com
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/d4/78/f99c0e1624f24380b21a1aef4076b67fb3c95685c375ef3f1dabf7f2c71d/lexnlp-2.3.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-Unidecode
+Requires: python3-beautifulsoup4
+Requires: python3-cloudpickle
+Requires: python3-dateparser
+Requires: python3-elasticsearch
+Requires: python3-gensim
+Requires: python3-importlib-metadata
+Requires: python3-joblib
+Requires: python3-lxml
+Requires: python3-nltk
+Requires: python3-num2words
+Requires: python3-numpy
+Requires: python3-pandas
+Requires: python3-psutil
+Requires: python3-pycountry
+Requires: python3-dateutil
+Requires: python3-regex
+Requires: python3-reporters-db
+Requires: python3-requests
+Requires: python3-scikit-learn
+Requires: python3-scipy
+Requires: python3-tqdm
+Requires: python3-us
+Requires: python3-zahlwort2num
+Requires: python3-Sphinx
+Requires: python3-matplotlib
+Requires: python3-memory-profiler
+Requires: python3-mock
+Requires: python3-nose
+Requires: python3-psutil
+Requires: python3-pytest
+Requires: python3-pytz
+Requires: python3-Sphinx
+Requires: python3-memory-profiler
+Requires: python3-mock
+Requires: python3-nose
+Requires: python3-psutil
+Requires: python3-pytest
+Requires: python3-pytz
+
+%description
+
+
+%package -n python3-lexnlp
+Summary: LexPredict LexNLP
+Provides: python-lexnlp
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-lexnlp
+
+
+%package help
+Summary: Development documents and examples for lexnlp
+Provides: python3-lexnlp-doc
+%description help
+
+
+%prep
+%autosetup -n lexnlp-2.3.0
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-lexnlp -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 2.3.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..2678981
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+d6353ca07a7addab25118b659b529026 lexnlp-2.3.0.tar.gz