diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-05 06:06:43 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 06:06:43 +0000 |
| commit | 7d10e21d727c79cebaeb286f41e925f1aebc86d0 (patch) | |
| tree | c39d284a2fc51fe579f98fa712e8df2b660d226f | |
| parent | a4b2805963c0ff55a721b21ff00354fe7239d9b1 (diff) | |
automatic import of python-imjoy-rpcopeneuler20.03
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-imjoy-rpc.spec | 101 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 103 insertions, 0 deletions
@@ -0,0 +1 @@ +/imjoy-rpc-0.5.16.tar.gz diff --git a/python-imjoy-rpc.spec b/python-imjoy-rpc.spec new file mode 100644 index 0000000..838a8c7 --- /dev/null +++ b/python-imjoy-rpc.spec @@ -0,0 +1,101 @@ +%global _empty_manifest_terminate_build 0 +Name: python-imjoy-rpc +Version: 0.5.16 +Release: 1 +Summary: ImJoy Plugin Engine for running Python plugins locally or remotely from ImJoy.io +License: MIT +URL: http://github.com/imjoy-team/imjoy-rpc +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/8f/e9/fe2a11bb823d00e6984a92d284222e451000ac1b4dc99a65fbb5db99ab9d/imjoy-rpc-0.5.16.tar.gz +BuildArch: noarch + +Requires: python3-msgpack +Requires: python3-shortuuid +Requires: python3-websockets +Requires: python3-aiocontextvars +Requires: python3-contextvars +Requires: python3-numpy +Requires: python3-zarr +Requires: python3-engineio +Requires: python3-socketio[client] +Requires: python3-socketio[client] +Requires: python3-engineio + +%description +# ImJoy RPC + +Remote Procedure Calls for ImJoy + + +[More details](../README.md) + + +%package -n python3-imjoy-rpc +Summary: ImJoy Plugin Engine for running Python plugins locally or remotely from ImJoy.io +Provides: python-imjoy-rpc +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-imjoy-rpc +# ImJoy RPC + +Remote Procedure Calls for ImJoy + + +[More details](../README.md) + + +%package help +Summary: Development documents and examples for imjoy-rpc +Provides: python3-imjoy-rpc-doc +%description help +# ImJoy RPC + +Remote Procedure Calls for ImJoy + + +[More details](../README.md) + + +%prep +%autosetup -n imjoy-rpc-0.5.16 + +%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-imjoy-rpc -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.16-1 +- Package Spec generated @@ -0,0 +1 @@ +cbd69451711844193c4484501383f0b3 imjoy-rpc-0.5.16.tar.gz |
