summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-databroker.spec116
-rw-r--r--sources1
3 files changed, 118 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..3eb69a4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/databroker-1.2.5.tar.gz
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
diff --git a/sources b/sources
new file mode 100644
index 0000000..6766a7c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+8b3d614f60f4f62690954590aa07206e databroker-1.2.5.tar.gz