diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-05 03:52:54 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 03:52:54 +0000 |
| commit | e3ec47bfde14f5cf43db4746c3c84b5f798b52ca (patch) | |
| tree | d9f8a6b60be1828a4611c779c0c1fd87c26613ad /python-databroker.spec | |
| parent | 4876224440e87e16030fc6f8acec93ccbdfe2005 (diff) | |
automatic import of python-databrokeropeneuler20.03
Diffstat (limited to 'python-databroker.spec')
| -rw-r--r-- | python-databroker.spec | 116 |
1 files changed, 116 insertions, 0 deletions
diff --git a/python-databroker.spec b/python-databroker.spec new file mode 100644 index 0000000..3394860 --- /dev/null +++ b/python-databroker.spec @@ -0,0 +1,116 @@ +%global _empty_manifest_terminate_build 0 +Name: python-databroker +Version: 1.2.5 +Release: 1 +Summary: Unification of NSLS-II data sources +License: BSD (3-clause) +URL: https://github.com/NSLS-II/databroker +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/1b/6e/d2eab495fe5c9c38af245e28283dbb40208723971b28e06f53cbe9f0d7ac/databroker-1.2.5.tar.gz +BuildArch: noarch + +Requires: python3-bluesky-live +Requires: python3-boltons +Requires: python3-cachetools +Requires: python3-dask[array,bag] +Requires: python3-doct +Requires: python3-event-model +Requires: python3-humanize +Requires: python3-intake +Requires: python3-jinja2 +Requires: python3-jsonschema +Requires: python3-mongoquery +Requires: python3-msgpack +Requires: python3-msgpack-numpy +Requires: python3-numpy +Requires: python3-pandas +Requires: python3-pims +Requires: python3-pymongo +Requires: python3-pytz +Requires: python3-pyyaml +Requires: python3-requests +Requires: python3-six +Requires: python3-suitcase-mongo +Requires: python3-suitcase-msgpack +Requires: python3-tifffile +Requires: python3-toolz +Requires: python3-tzlocal +Requires: python3-xarray +Requires: python3-zarr +Requires: python3-h5py +Requires: python3-pymongo +Requires: python3-requests +Requires: python3-tornado +Requires: python3-ujson +Requires: python3-requests +Requires: python3-h5py +Requires: python3-pymongo +Requires: python3-tornado +Requires: python3-ujson + +%description +PyPI ``pip install databroker`` +Conda ``pip install -c nsls2forge databroker`` +Source code https://github.com/bluesky/databroker + +%package -n python3-databroker +Summary: Unification of NSLS-II data sources +Provides: python-databroker +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-databroker +PyPI ``pip install databroker`` +Conda ``pip install -c nsls2forge databroker`` +Source code https://github.com/bluesky/databroker + +%package help +Summary: Development documents and examples for databroker +Provides: python3-databroker-doc +%description help +PyPI ``pip install databroker`` +Conda ``pip install -c nsls2forge databroker`` +Source code https://github.com/bluesky/databroker + +%prep +%autosetup -n databroker-1.2.5 + +%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-databroker -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.5-1 +- Package Spec generated |
