diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-12 03:59:06 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-12 03:59:06 +0000 |
| commit | bfd890cdaa7370766307014fa655733f689dc202 (patch) | |
| tree | 2e133b064879f826ec6e3ab2c776106bae8530c6 | |
| parent | 5a33bd0c22ead01372a247b0eeb8baea2355cfa7 (diff) | |
automatic import of python-ipycanvas
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-ipycanvas.spec | 75 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 77 insertions, 0 deletions
@@ -0,0 +1 @@ +/ipycanvas-0.13.1.tar.gz diff --git a/python-ipycanvas.spec b/python-ipycanvas.spec new file mode 100644 index 0000000..f62a67b --- /dev/null +++ b/python-ipycanvas.spec @@ -0,0 +1,75 @@ +%global _empty_manifest_terminate_build 0 +Name: python-ipycanvas +Version: 0.13.1 +Release: 1 +Summary: Interactive widgets library exposing the browser's Canvas API +License: BSD +URL: https://github.com/martinRenou/ipycanvas +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/97/41/4b4e51bf3e4d684392d8ed8653bb026684b6c2a453870bf7a324501ab02f/ipycanvas-0.13.1.tar.gz +BuildArch: noarch + +Requires: python3-ipywidgets +Requires: python3-pillow +Requires: python3-numpy + +%description + + +%package -n python3-ipycanvas +Summary: Interactive widgets library exposing the browser's Canvas API +Provides: python-ipycanvas +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-ipycanvas + + +%package help +Summary: Development documents and examples for ipycanvas +Provides: python3-ipycanvas-doc +%description help + + +%prep +%autosetup -n ipycanvas-0.13.1 + +%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-ipycanvas -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 0.13.1-1 +- Package Spec generated @@ -0,0 +1 @@ +7e85f10eb972e4e04d3bd3ddaec8c086 ipycanvas-0.13.1.tar.gz |
