diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 09:19:31 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 09:19:31 +0000 |
commit | 6057d9b5e095bc012a929f8e1c0afcbfe2497888 (patch) | |
tree | f83ef636a1628f9481a69f44e10f78b182cc680b | |
parent | 617b29d835acf9449a5e0bbb5150450ec07cfd4a (diff) |
automatic import of python-italian-csv-type-predictionopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-italian-csv-type-prediction.spec | 81 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 83 insertions, 0 deletions
@@ -0,0 +1 @@ +/italian_csv_type_prediction-1.1.61.tar.gz diff --git a/python-italian-csv-type-prediction.spec b/python-italian-csv-type-prediction.spec new file mode 100644 index 0000000..3fe341f --- /dev/null +++ b/python-italian-csv-type-prediction.spec @@ -0,0 +1,81 @@ +%global _empty_manifest_terminate_build 0 +Name: python-italian-csv-type-prediction +Version: 1.1.61 +Release: 1 +Summary: Attempt at predicting common types in CSVs about Italian people and places using Spacy NLP tool. +License: MIT +URL: https://github.com/LucaCappelletti94/italian_csv_type_prediction +Source0: https://mirrors.aliyun.com/pypi/web/packages/9a/48/433d461026afe03fff637d50af38e42cb1872df518cea0190cfb04a8a241/italian_csv_type_prediction-1.1.61.tar.gz +BuildArch: noarch + + +%description +|travis| |sonar_quality| |sonar_maintainability| |codacy| +|code_climate_maintainability| |pip| |downloads| +This package is an attempt at predicting common types in CSVs about Italian people +and places using ensemble heuristics with Decision Random Forests and Spacy NLP tool. + +%package -n python3-italian-csv-type-prediction +Summary: Attempt at predicting common types in CSVs about Italian people and places using Spacy NLP tool. +Provides: python-italian-csv-type-prediction +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-italian-csv-type-prediction +|travis| |sonar_quality| |sonar_maintainability| |codacy| +|code_climate_maintainability| |pip| |downloads| +This package is an attempt at predicting common types in CSVs about Italian people +and places using ensemble heuristics with Decision Random Forests and Spacy NLP tool. + +%package help +Summary: Development documents and examples for italian-csv-type-prediction +Provides: python3-italian-csv-type-prediction-doc +%description help +|travis| |sonar_quality| |sonar_maintainability| |codacy| +|code_climate_maintainability| |pip| |downloads| +This package is an attempt at predicting common types in CSVs about Italian people +and places using ensemble heuristics with Decision Random Forests and Spacy NLP tool. + +%prep +%autosetup -n italian_csv_type_prediction-1.1.61 + +%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-italian-csv-type-prediction -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 1.1.61-1 +- Package Spec generated @@ -0,0 +1 @@ +5509dbbe3d5487649344d3228d3ca63f italian_csv_type_prediction-1.1.61.tar.gz |