diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-05 12:17:28 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 12:17:28 +0000 |
commit | 3543e8327d3f6a9335096e4632bc2b5e100ffa95 (patch) | |
tree | db9df3fad222cd6af9fdbaa41f747c49c3adddce | |
parent | 7581e13ee17f80d00c90a62d2231194e4e4615a1 (diff) |
automatic import of python-gs-dbs-clientopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-gs-dbs-client.spec | 213 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 215 insertions, 0 deletions
@@ -0,0 +1 @@ +/gs-dbs-client-0.2.6.post38.tar.gz diff --git a/python-gs-dbs-client.spec b/python-gs-dbs-client.spec new file mode 100644 index 0000000..b7cc1e9 --- /dev/null +++ b/python-gs-dbs-client.spec @@ -0,0 +1,213 @@ +%global _empty_manifest_terminate_build 0 +Name: python-gs-dbs-client +Version: 0.2.6.post38 +Release: 1 +Summary: python wrapper for the Glass Sphere DBS +License: MIT +URL: https://glass-sphere-ai.de +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/53/c1/33a0d6f66ddfc02a53e0f6b5da389759c04562826d6815c8cafdaff9949e/gs-dbs-client-0.2.6.post38.tar.gz +BuildArch: noarch + +Requires: python3-gql +Requires: python3-pandas +Requires: python3-Twisted +Requires: python3-ujson +Requires: python3-PyYAML +Requires: python3-requests +Requires: python3-aiohttp +Requires: python3-stomper +Requires: python3-graphql-core +Requires: python3-Pillow +Requires: python3-websocket-client +Requires: python3-blosc +Requires: python3-protobuf +Requires: python3-requests-toolbelt +Requires: python3-ffmpeg-python + +%description +# GS DBS Client + +The GS-DBS-Client is a Python library interacting with the Glass Sphere DBS. + + +## CAUTION +Version 0.2.0 introduces breaking changes due to introduction of the mission control client. Be aware of the changed +imports. + +## Installation + +Use the package manager [pip](https://pip.pypa.io/en/stable/) to install the gs-dbs-client. Further information can be +found [here](https://glass-sphere-ai.de/learn). + +```bash +pip install gs-dbs-gsdbs +``` + +## Usage + +```python +import os + +#v0.1.x +from client.gsdbs import GSDBS + +#v0.2.x +from gsdbs.dbclient import GSDBS +from gsdbs.missioncontrol import MissionControl +... +gsdbs = GSDBS(os.path.dirname(os.path.realpath(__file__))) + + + +``` + +## License + +(C) 2022 ENS - Freies Institut fuer Technische Informatik UG haftungsbeschraenkt + +[MIT](https://choosealicense.com/licenses/mit/) + + + +%package -n python3-gs-dbs-client +Summary: python wrapper for the Glass Sphere DBS +Provides: python-gs-dbs-client +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-gs-dbs-client +# GS DBS Client + +The GS-DBS-Client is a Python library interacting with the Glass Sphere DBS. + + +## CAUTION +Version 0.2.0 introduces breaking changes due to introduction of the mission control client. Be aware of the changed +imports. + +## Installation + +Use the package manager [pip](https://pip.pypa.io/en/stable/) to install the gs-dbs-client. Further information can be +found [here](https://glass-sphere-ai.de/learn). + +```bash +pip install gs-dbs-gsdbs +``` + +## Usage + +```python +import os + +#v0.1.x +from client.gsdbs import GSDBS + +#v0.2.x +from gsdbs.dbclient import GSDBS +from gsdbs.missioncontrol import MissionControl +... +gsdbs = GSDBS(os.path.dirname(os.path.realpath(__file__))) + + + +``` + +## License + +(C) 2022 ENS - Freies Institut fuer Technische Informatik UG haftungsbeschraenkt + +[MIT](https://choosealicense.com/licenses/mit/) + + + +%package help +Summary: Development documents and examples for gs-dbs-client +Provides: python3-gs-dbs-client-doc +%description help +# GS DBS Client + +The GS-DBS-Client is a Python library interacting with the Glass Sphere DBS. + + +## CAUTION +Version 0.2.0 introduces breaking changes due to introduction of the mission control client. Be aware of the changed +imports. + +## Installation + +Use the package manager [pip](https://pip.pypa.io/en/stable/) to install the gs-dbs-client. Further information can be +found [here](https://glass-sphere-ai.de/learn). + +```bash +pip install gs-dbs-gsdbs +``` + +## Usage + +```python +import os + +#v0.1.x +from client.gsdbs import GSDBS + +#v0.2.x +from gsdbs.dbclient import GSDBS +from gsdbs.missioncontrol import MissionControl +... +gsdbs = GSDBS(os.path.dirname(os.path.realpath(__file__))) + + + +``` + +## License + +(C) 2022 ENS - Freies Institut fuer Technische Informatik UG haftungsbeschraenkt + +[MIT](https://choosealicense.com/licenses/mit/) + + + +%prep +%autosetup -n gs-dbs-client-0.2.6.post38 + +%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-gs-dbs-client -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.6.post38-1 +- Package Spec generated @@ -0,0 +1 @@ +0b3e03a8938e37cb7844c5a19227676f gs-dbs-client-0.2.6.post38.tar.gz |