summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-03-09 13:53:34 +0000
committerCoprDistGit <infra@openeuler.org>2023-03-09 13:53:34 +0000
commit126c7a3f159d781f60ff3a684682329878703b96 (patch)
treef5e14d8bb790bac6b2447a05109cc59eeab357d6
parent26c48602c418519e83160c7cc882041c45d5a9da (diff)
automatic import of python-metakernel-echo
-rw-r--r--.gitignore1
-rw-r--r--python-metakernel-echo.spec72
-rw-r--r--sources1
3 files changed, 74 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..c87bdeb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/metakernel_echo-0.11.3.tar.gz
diff --git a/python-metakernel-echo.spec b/python-metakernel-echo.spec
new file mode 100644
index 0000000..f8fe6f7
--- /dev/null
+++ b/python-metakernel-echo.spec
@@ -0,0 +1,72 @@
+%global _empty_manifest_terminate_build 0
+Name: python-metakernel_echo
+Version: 0.11.3
+Release: 1
+Summary: A simple echo kernel for Jupyter/IPython
+License: UNKNOWN
+URL: https://github.com/calysto/metakernel/tree/master/metakernel_echo
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a2/90/c7f8ae3c52b9e14aa11a7888f1c8ab8b5d2d7150c1a2c03b455de5fbcbc6/metakernel_echo-0.11.3.tar.gz
+BuildArch: noarch
+
+
+%description
+A simple echo kernel for Jupyter/IPython, based on MetaKernel
+
+%package -n python3-metakernel_echo
+Summary: A simple echo kernel for Jupyter/IPython
+Provides: python-metakernel_echo
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-metakernel_echo
+A simple echo kernel for Jupyter/IPython, based on MetaKernel
+
+%package help
+Summary: Development documents and examples for metakernel_echo
+Provides: python3-metakernel_echo-doc
+%description help
+A simple echo kernel for Jupyter/IPython, based on MetaKernel
+
+%prep
+%autosetup -n metakernel_echo-0.11.3
+
+%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-metakernel_echo -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu Mar 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.11.3-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..6db7448
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+39ac761b615684105fa725ab2ffee5ac metakernel_echo-0.11.3.tar.gz