diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-11 09:21:14 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 09:21:14 +0000 |
| commit | 432f62cf38fb58e1b0ce2363418b3a64a815cccb (patch) | |
| tree | 82dc778f2dd8b1bb07903047f5ce6a7cd0470335 /python-dagstermill.spec | |
| parent | 188f505f91cc9a862791c4475f81c3c1240bcf00 (diff) | |
automatic import of python-dagstermill
Diffstat (limited to 'python-dagstermill.spec')
| -rw-r--r-- | python-dagstermill.spec | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/python-dagstermill.spec b/python-dagstermill.spec new file mode 100644 index 0000000..957b790 --- /dev/null +++ b/python-dagstermill.spec @@ -0,0 +1,83 @@ +%global _empty_manifest_terminate_build 0 +Name: python-dagstermill +Version: 0.18.6 +Release: 1 +Summary: run notebooks using the Dagster tools +License: Apache-2.0 +URL: https://pypi.org/project/dagstermill/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/e3/01/bedf0cafef5763362b5ae57ed79b7c54543f489b35bc31b48604b21c7126/dagstermill-0.18.6.tar.gz +BuildArch: noarch + +Requires: python3-dagster +Requires: python3-ipykernel +Requires: python3-ipython-genutils +Requires: python3-packaging +Requires: python3-papermill +Requires: python3-scrapbook +Requires: python3-nbconvert +Requires: python3-jupyter-client +Requires: python3-matplotlib +Requires: python3-scikit-learn +Requires: python3-tqdm + +%description + + +%package -n python3-dagstermill +Summary: run notebooks using the Dagster tools +Provides: python-dagstermill +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-dagstermill + + +%package help +Summary: Development documents and examples for dagstermill +Provides: python3-dagstermill-doc +%description help + + +%prep +%autosetup -n dagstermill-0.18.6 + +%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-dagstermill -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 0.18.6-1 +- Package Spec generated |
