summaryrefslogtreecommitdiff
path: root/python-boost-histogram.spec
blob: 66ce33e100658347c0503aee5993a093b88efdb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
%global _empty_manifest_terminate_build 0
Name:		python-boost-histogram
Version:	1.3.2
Release:	1
Summary:	The Boost::Histogram Python wrapper.
License:	BSD-3-Clause
URL:		https://github.com/scikit-hep/boost-histogram
Source0:	https://mirrors.nju.edu.cn/pypi/web/packages/de/1a/e55f7c104168e2c28ce52a3a68b06d8e26c7d3ae66cab87d6b559034e124/boost_histogram-1.3.2.tar.gz

Requires:	python3-numpy
Requires:	python3-dataclasses
Requires:	python3-typing-extensions
Requires:	python3-pytest
Requires:	python3-pytest-benchmark
Requires:	python3-cloudpickle
Requires:	python3-hypothesis
Requires:	python3-Sphinx
Requires:	python3-myst-parser
Requires:	python3-sphinx-book-theme
Requires:	python3-nbsphinx
Requires:	python3-sphinx-copybutton
Requires:	python3-matplotlib
Requires:	python3-xarray
Requires:	python3-xhistogram
Requires:	python3-netCDF4
Requires:	python3-numba
Requires:	python3-uproot3
Requires:	python3-ipykernel
Requires:	python3-typer
Requires:	python3-ipykernel
Requires:	python3-typer
Requires:	python3-pytest
Requires:	python3-pytest-benchmark
Requires:	python3-cloudpickle
Requires:	python3-hypothesis
Requires:	python3-Sphinx
Requires:	python3-myst-parser
Requires:	python3-sphinx-book-theme
Requires:	python3-nbsphinx
Requires:	python3-sphinx-copybutton
Requires:	python3-matplotlib
Requires:	python3-xarray
Requires:	python3-xhistogram
Requires:	python3-netCDF4
Requires:	python3-numba
Requires:	python3-uproot3
Requires:	python3-pytest
Requires:	python3-pytest-benchmark
Requires:	python3-cloudpickle
Requires:	python3-hypothesis

%description
## Acknowledgements
This library was primarily developed by Henry Schreiner and Hans Dembinski.
Support for this work was provided by the National Science Foundation cooperative agreement OAC-1836650 (IRIS-HEP) and OAC-1450377 (DIANA/HEP). Any opinions, findings, conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the National Science Foundation.
[actions-badge]:            https://github.com/scikit-hep/boost-histogram/workflows/Tests/badge.svg
[actions-link]:             https://github.com/scikit-hep/boost-histogram/actions
[black-badge]:              https://img.shields.io/badge/code%20style-black-000000.svg
[black-link]:               https://github.com/psf/black
[conda-badge]:              https://img.shields.io/conda/vn/conda-forge/boost-histogram
[conda-link]:               https://github.com/conda-forge/boost-histogram-feedstock
[github-discussions-badge]: https://img.shields.io/static/v1?label=Discussions&message=Ask&color=blue&logo=github
[github-discussions-link]:  https://github.com/scikit-hep/boost-histogram/discussions
[gitter-badge]:             https://badges.gitter.im/HSF/PyHEP-histogramming.svg
[gitter-link]:              https://gitter.im/HSF/PyHEP-histogramming?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge
[pypi-link]:                https://pypi.org/project/boost-histogram/
[pypi-platforms]:           https://img.shields.io/pypi/pyversions/boost-histogram
[pypi-version]:             https://badge.fury.io/py/boost-histogram.svg
[rtd-badge]:                https://readthedocs.org/projects/boost-histogram/badge/?version=latest
[rtd-link]:                 https://boost-histogram.readthedocs.io/en/latest/?badge=latest
[sk-badge]:                 https://scikit-hep.org/assets/images/Scikit--HEP-Project-blue.svg
[Boost::Histogram]:         https://www.boost.org/doc/libs/release/libs/histogram/doc/html/index.html
[Boost::Histogram source]:  https://github.com/boostorg/histogram
[Hist]:                     https://github.com/scikit-hep/hist
[fastest libraries]:        https://iscinumpy.gitlab.io/post/histogram-speeds-in-python/

%package -n python3-boost-histogram
Summary:	The Boost::Histogram Python wrapper.
Provides:	python-boost-histogram
BuildRequires:	python3-devel
BuildRequires:	python3-setuptools
BuildRequires:	python3-pip
BuildRequires:	python3-cffi
BuildRequires:	gcc
BuildRequires:	gdb
%description -n python3-boost-histogram
## Acknowledgements
This library was primarily developed by Henry Schreiner and Hans Dembinski.
Support for this work was provided by the National Science Foundation cooperative agreement OAC-1836650 (IRIS-HEP) and OAC-1450377 (DIANA/HEP). Any opinions, findings, conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the National Science Foundation.
[actions-badge]:            https://github.com/scikit-hep/boost-histogram/workflows/Tests/badge.svg
[actions-link]:             https://github.com/scikit-hep/boost-histogram/actions
[black-badge]:              https://img.shields.io/badge/code%20style-black-000000.svg
[black-link]:               https://github.com/psf/black
[conda-badge]:              https://img.shields.io/conda/vn/conda-forge/boost-histogram
[conda-link]:               https://github.com/conda-forge/boost-histogram-feedstock
[github-discussions-badge]: https://img.shields.io/static/v1?label=Discussions&message=Ask&color=blue&logo=github
[github-discussions-link]:  https://github.com/scikit-hep/boost-histogram/discussions
[gitter-badge]:             https://badges.gitter.im/HSF/PyHEP-histogramming.svg
[gitter-link]:              https://gitter.im/HSF/PyHEP-histogramming?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge
[pypi-link]:                https://pypi.org/project/boost-histogram/
[pypi-platforms]:           https://img.shields.io/pypi/pyversions/boost-histogram
[pypi-version]:             https://badge.fury.io/py/boost-histogram.svg
[rtd-badge]:                https://readthedocs.org/projects/boost-histogram/badge/?version=latest
[rtd-link]:                 https://boost-histogram.readthedocs.io/en/latest/?badge=latest
[sk-badge]:                 https://scikit-hep.org/assets/images/Scikit--HEP-Project-blue.svg
[Boost::Histogram]:         https://www.boost.org/doc/libs/release/libs/histogram/doc/html/index.html
[Boost::Histogram source]:  https://github.com/boostorg/histogram
[Hist]:                     https://github.com/scikit-hep/hist
[fastest libraries]:        https://iscinumpy.gitlab.io/post/histogram-speeds-in-python/

%package help
Summary:	Development documents and examples for boost-histogram
Provides:	python3-boost-histogram-doc
%description help
## Acknowledgements
This library was primarily developed by Henry Schreiner and Hans Dembinski.
Support for this work was provided by the National Science Foundation cooperative agreement OAC-1836650 (IRIS-HEP) and OAC-1450377 (DIANA/HEP). Any opinions, findings, conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the National Science Foundation.
[actions-badge]:            https://github.com/scikit-hep/boost-histogram/workflows/Tests/badge.svg
[actions-link]:             https://github.com/scikit-hep/boost-histogram/actions
[black-badge]:              https://img.shields.io/badge/code%20style-black-000000.svg
[black-link]:               https://github.com/psf/black
[conda-badge]:              https://img.shields.io/conda/vn/conda-forge/boost-histogram
[conda-link]:               https://github.com/conda-forge/boost-histogram-feedstock
[github-discussions-badge]: https://img.shields.io/static/v1?label=Discussions&message=Ask&color=blue&logo=github
[github-discussions-link]:  https://github.com/scikit-hep/boost-histogram/discussions
[gitter-badge]:             https://badges.gitter.im/HSF/PyHEP-histogramming.svg
[gitter-link]:              https://gitter.im/HSF/PyHEP-histogramming?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge
[pypi-link]:                https://pypi.org/project/boost-histogram/
[pypi-platforms]:           https://img.shields.io/pypi/pyversions/boost-histogram
[pypi-version]:             https://badge.fury.io/py/boost-histogram.svg
[rtd-badge]:                https://readthedocs.org/projects/boost-histogram/badge/?version=latest
[rtd-link]:                 https://boost-histogram.readthedocs.io/en/latest/?badge=latest
[sk-badge]:                 https://scikit-hep.org/assets/images/Scikit--HEP-Project-blue.svg
[Boost::Histogram]:         https://www.boost.org/doc/libs/release/libs/histogram/doc/html/index.html
[Boost::Histogram source]:  https://github.com/boostorg/histogram
[Hist]:                     https://github.com/scikit-hep/hist
[fastest libraries]:        https://iscinumpy.gitlab.io/post/histogram-speeds-in-python/

%prep
%autosetup -n boost-histogram-1.3.2

%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-boost-histogram -f filelist.lst
%dir %{python3_sitearch}/*

%files help -f doclist.lst
%{_docdir}/*

%changelog
* Sun Apr 23 2023 Python_Bot <Python_Bot@openeuler.org> - 1.3.2-1
- Package Spec generated