summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-12 07:04:31 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-12 07:04:31 +0000
commitc90165af42c932ea2ac9f27853afb895e67e3463 (patch)
tree8e2c0dbd07ce221090e8f7014c1e3b6bdc7b3781
parent6b9bf0ebf87a7b0285e53cbf8cc5e4898271fd84 (diff)
automatic import of python-contextualized-topic-modelsopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-contextualized-topic-models.spec83
-rw-r--r--sources1
3 files changed, 85 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..14cd9b8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/contextualized_topic_models-2.5.0.tar.gz
diff --git a/python-contextualized-topic-models.spec b/python-contextualized-topic-models.spec
new file mode 100644
index 0000000..f1c44a0
--- /dev/null
+++ b/python-contextualized-topic-models.spec
@@ -0,0 +1,83 @@
+%global _empty_manifest_terminate_build 0
+Name: python-contextualized-topic-models
+Version: 2.5.0
+Release: 1
+Summary: Contextualized Topic Models
+License: MIT license
+URL: https://github.com/MilaNLProc/contextualized-topic-models
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/d3/d0/8e9d863b665fd6d686918e703914cabb923e58aae87576ccc380c52ab53b/contextualized_topic_models-2.5.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-numpy
+Requires: python3-torchvision
+Requires: python3-torch
+Requires: python3-gensim
+Requires: python3-sentence-transformers
+Requires: python3-wordcloud
+Requires: python3-matplotlib
+Requires: python3-tqdm
+Requires: python3-scipy
+Requires: python3-ipywidgets
+Requires: python3-ipython
+
+%description
+
+
+%package -n python3-contextualized-topic-models
+Summary: Contextualized Topic Models
+Provides: python-contextualized-topic-models
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-contextualized-topic-models
+
+
+%package help
+Summary: Development documents and examples for contextualized-topic-models
+Provides: python3-contextualized-topic-models-doc
+%description help
+
+
+%prep
+%autosetup -n contextualized-topic-models-2.5.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-contextualized-topic-models -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 2.5.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..f625b62
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+af7c61f2e0a96d9b7e39aceab24d8c18 contextualized_topic_models-2.5.0.tar.gz