summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-10 04:05:17 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-10 04:05:17 +0000
commit48303396a2e706bb238bb73d40198c873b52aee1 (patch)
tree367ab448898115f2aa417e8a09fad49d2aabdc6a
parent1b575f9c7e208d76885cdc57071beeb9d5cca209 (diff)
automatic import of python-botshopopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-botshop.spec86
-rw-r--r--sources1
3 files changed, 88 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..be848ae 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/botshop-0.0.42.tar.gz
diff --git a/python-botshop.spec b/python-botshop.spec
new file mode 100644
index 0000000..5a7431a
--- /dev/null
+++ b/python-botshop.spec
@@ -0,0 +1,86 @@
+%global _empty_manifest_terminate_build 0
+Name: python-botshop
+Version: 0.0.42
+Release: 1
+Summary: Framework for chatbot model inference, optimized for neural conversation models.
+License: Apache Software License
+URL: https://github.com/nuhame/botshop
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/7d/26/294afa855352d65ab88a575ee1cf2d1aa9f52c64f336f7cb8c17765ffddf/botshop-0.0.42.tar.gz
+BuildArch: noarch
+
+Requires: python3-numpy
+Requires: python3-visionscaper-pybase
+
+%description
+# botshop
+Framework for chatbot model inference, optimized for neural conversation models.
+
+
+
+
+%package -n python3-botshop
+Summary: Framework for chatbot model inference, optimized for neural conversation models.
+Provides: python-botshop
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-botshop
+# botshop
+Framework for chatbot model inference, optimized for neural conversation models.
+
+
+
+
+%package help
+Summary: Development documents and examples for botshop
+Provides: python3-botshop-doc
+%description help
+# botshop
+Framework for chatbot model inference, optimized for neural conversation models.
+
+
+
+
+%prep
+%autosetup -n botshop-0.0.42
+
+%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-botshop -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.42-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..9fda92a
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+b0004b9a0b551b988cc67bcfd2d8d467 botshop-0.0.42.tar.gz