diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 07:30:09 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 07:30:09 +0000 |
commit | b9a1b2ff94861ca57d45c07445883951f38259c8 (patch) | |
tree | 07b06900e8fe477dee483228f732c9ff25076bcb | |
parent | d8b3b851016bccf29407fc6f19dbc48d2c279770 (diff) |
automatic import of python-jupyter-sparkopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-jupyter-spark.spec | 86 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 88 insertions, 0 deletions
@@ -0,0 +1 @@ +/jupyter-spark-0.4.0.tar.gz diff --git a/python-jupyter-spark.spec b/python-jupyter-spark.spec new file mode 100644 index 0000000..7217193 --- /dev/null +++ b/python-jupyter-spark.spec @@ -0,0 +1,86 @@ +%global _empty_manifest_terminate_build 0 +Name: python-jupyter-spark +Version: 0.4.0 +Release: 1 +Summary: Jupyter Notebook extension for Apache Spark integration +License: MPL2 +URL: https://github.com/mozilla/jupyter-spark +Source0: https://mirrors.aliyun.com/pypi/web/packages/86/29/3bbb27d26815760b3329a2110517a8735ef5884ce30f3dee41ede65d2633/jupyter-spark-0.4.0.tar.gz +BuildArch: noarch + +Requires: python3-ipython +Requires: python3-jupyter +Requires: python3-notebook +Requires: python3-beautifulsoup4 +Requires: python3-widgetsnbextension + +%description +UNKNOWN + + + + +%package -n python3-jupyter-spark +Summary: Jupyter Notebook extension for Apache Spark integration +Provides: python-jupyter-spark +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-jupyter-spark +UNKNOWN + + + + +%package help +Summary: Development documents and examples for jupyter-spark +Provides: python3-jupyter-spark-doc +%description help +UNKNOWN + + + + +%prep +%autosetup -n jupyter-spark-0.4.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-jupyter-spark -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4.0-1 +- Package Spec generated @@ -0,0 +1 @@ +3da96aae3f147c1408192dc489d7679d jupyter-spark-0.4.0.tar.gz |