diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-10 13:54:03 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-10 13:54:03 +0000 |
commit | 1539c61b03778b28d335a08171984ae3b87fa95a (patch) | |
tree | 779a911862238defa2eb70beea0cb483da71834e | |
parent | 6c2add6930f88cad023fdaf60b04251bddb451f0 (diff) |
automatic import of python-jupyter-contrib-core
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-jupyter-contrib-core.spec | 93 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 95 insertions, 0 deletions
@@ -0,0 +1 @@ +/jupyter_contrib_core-0.4.2.tar.gz diff --git a/python-jupyter-contrib-core.spec b/python-jupyter-contrib-core.spec new file mode 100644 index 0000000..5fce4dc --- /dev/null +++ b/python-jupyter-contrib-core.spec @@ -0,0 +1,93 @@ +%global _empty_manifest_terminate_build 0 +Name: python-jupyter-contrib-core +Version: 0.4.2 +Release: 1 +Summary: Common utilities for jupyter-contrib projects. +License: BSD 3-clause +URL: https://github.com/jupyter-contrib/jupyter_contrib_core +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/50/94/0d37e5b49ea1c8bf204c46f9b0257c1f3319a4ab88acbd401da2cab25e55/jupyter_contrib_core-0.4.2.tar.gz +BuildArch: noarch + + +%description + +Common utilities for jupyter-contrib projects. Includes: + +- providing a notebook-4.2-compatible nbextension API in order to + smooth over differences in versions 4.0 and 4.1 +- common application components and cli scripts +- utility classes and functions for use in tests + + +%package -n python3-jupyter-contrib-core +Summary: Common utilities for jupyter-contrib projects. +Provides: python-jupyter-contrib-core +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-jupyter-contrib-core + +Common utilities for jupyter-contrib projects. Includes: + +- providing a notebook-4.2-compatible nbextension API in order to + smooth over differences in versions 4.0 and 4.1 +- common application components and cli scripts +- utility classes and functions for use in tests + + +%package help +Summary: Development documents and examples for jupyter-contrib-core +Provides: python3-jupyter-contrib-core-doc +%description help + +Common utilities for jupyter-contrib projects. Includes: + +- providing a notebook-4.2-compatible nbextension API in order to + smooth over differences in versions 4.0 and 4.1 +- common application components and cli scripts +- utility classes and functions for use in tests + + +%prep +%autosetup -n jupyter-contrib-core-0.4.2 + +%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-jupyter-contrib-core -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4.2-1 +- Package Spec generated @@ -0,0 +1 @@ +31cd17766ffe825f0e3910846bed9900 jupyter_contrib_core-0.4.2.tar.gz |