summaryrefslogtreecommitdiff
path: root/python-nbsite.spec
blob: 09a0e2aee9717317edd358056cd862184e60c65a (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
%global _empty_manifest_terminate_build 0
Name:		python-nbsite
Version:	0.7.1
Release:	1
Summary:	Build a tested, sphinx-based website from notebooks.
License:	BSD-3
URL:		https://nbsite.pyviz.org/
Source0:	https://mirrors.nju.edu.cn/pypi/web/packages/bc/cb/a0311ec9328eaa9c8e846de03132d9ba678507f999c0e2af10290b48b748/nbsite-0.7.1.tar.gz
BuildArch:	noarch

Requires:	python3-param
Requires:	python3-pyct
Requires:	python3-pyviz-comms
Requires:	python3-ipykernel
Requires:	python3-nbformat
Requires:	python3-nbconvert
Requires:	python3-jupyter-client
Requires:	python3-myst-nb
Requires:	python3-notebook
Requires:	python3-sphinx
Requires:	python3-beautifulsoup4
Requires:	python3-setuptools
Requires:	python3-param
Requires:	python3-pyct
Requires:	python3-pyct[cmd]
Requires:	python3-sphinx-holoviz-theme
Requires:	python3-holoviews
Requires:	python3-bokeh
Requires:	python3-pillow
Requires:	python3-matplotlib
Requires:	python3-xarray
Requires:	python3-pandas
Requires:	python3-numpy
Requires:	python3-selenium
Requires:	python3-phantomjs
Requires:	python3-graphviz
Requires:	python3-flake8
Requires:	python3-pytest
Requires:	python3-pyct[cmd]

%description
# NBSite: Build a tested, sphinx-based website from notebooks
|    |    |
| --- | --- |
| Build Status | [![Build Status](https://github.com/pyviz-dev/nbsite/workflows/tests/badge.svg)](https://github.com/pyviz-dev/nbsite/actions?query=workflow%3Atests)
| Coverage | [![codecov](https://codecov.io/gh/pyviz-dev/nbsite/branch/master/graph/badge.svg)](https://codecov.io/gh/pyviz-dev/nbsite) |
| Latest dev release | [![Github tag](https://img.shields.io/github/tag/pyviz-dev/nbsite.svg?label=tag&colorB=11ccbb)](https://github.com/pyviz-dev/nbsite/tags) |
| Latest release | [![Github release](https://img.shields.io/github/release/pyviz-dev/nbsite.svg?label=tag&colorB=11ccbb)](https://github.com/pyviz-dev/nbsite/releases) [![PyPI version](https://img.shields.io/pypi/v/nbsite.svg?colorB=cc77dd)](https://pypi.python.org/pypi/nbsite) [![nbsite version](https://img.shields.io/conda/v/pyviz/nbsite.svg?colorB=4488ff&style=flat)](https://anaconda.org/pyviz/nbsite) [![conda-forge version](https://img.shields.io/conda/v/conda-forge/nbsite.svg?label=conda%7Cconda-forge&colorB=4488ff)](https://anaconda.org/conda-forge/nbsite) [![defaults version](https://img.shields.io/conda/v/anaconda/nbsite.svg?label=conda%7Cdefaults&style=flat&colorB=4488ff)](https://anaconda.org/anaconda/nbsite) |
| Docs | [![gh-pages](https://img.shields.io/github/last-commit/pyviz/nbsite/gh-pages.svg)](https://github.com/pyviz/nbsite/tree/gh-pages) [![site](https://img.shields.io/website-up-down-green-red/https/nbsite.pyviz.org.svg)](https://nbsite.pyviz.org) |
## What is it?
NBSite lets you build a website from a set of notebooks plus a minimal
amount of config. Sites built with nbsite include
[pyviz.org](https://pyviz.org),
[datashader.org](https://datashader.org/), and [hvplot.pyviz.org](https:/hvplot.pyviz.org).
The idea behind nbsite is that notebooks can simultaneously be
documentation (things you want to tell people about), examples (a
starting point for people to run and use themselves), and test cases.
This project is currently an early work in progress. See the
documentation at [nbsite.pyviz.org](https://nbsite.pyviz.org) for
more information.
## About PyViz
NBSite is part of the PyViz initiative for making Python-based visualization tools work well together.
See [pyviz.org](https://pyviz.org) for related packages that you can use with NBSite and
[status.pyviz.org](https://status.pyviz.org) for the current status of each PyViz project.

%package -n python3-nbsite
Summary:	Build a tested, sphinx-based website from notebooks.
Provides:	python-nbsite
BuildRequires:	python3-devel
BuildRequires:	python3-setuptools
BuildRequires:	python3-pip
%description -n python3-nbsite
# NBSite: Build a tested, sphinx-based website from notebooks
|    |    |
| --- | --- |
| Build Status | [![Build Status](https://github.com/pyviz-dev/nbsite/workflows/tests/badge.svg)](https://github.com/pyviz-dev/nbsite/actions?query=workflow%3Atests)
| Coverage | [![codecov](https://codecov.io/gh/pyviz-dev/nbsite/branch/master/graph/badge.svg)](https://codecov.io/gh/pyviz-dev/nbsite) |
| Latest dev release | [![Github tag](https://img.shields.io/github/tag/pyviz-dev/nbsite.svg?label=tag&colorB=11ccbb)](https://github.com/pyviz-dev/nbsite/tags) |
| Latest release | [![Github release](https://img.shields.io/github/release/pyviz-dev/nbsite.svg?label=tag&colorB=11ccbb)](https://github.com/pyviz-dev/nbsite/releases) [![PyPI version](https://img.shields.io/pypi/v/nbsite.svg?colorB=cc77dd)](https://pypi.python.org/pypi/nbsite) [![nbsite version](https://img.shields.io/conda/v/pyviz/nbsite.svg?colorB=4488ff&style=flat)](https://anaconda.org/pyviz/nbsite) [![conda-forge version](https://img.shields.io/conda/v/conda-forge/nbsite.svg?label=conda%7Cconda-forge&colorB=4488ff)](https://anaconda.org/conda-forge/nbsite) [![defaults version](https://img.shields.io/conda/v/anaconda/nbsite.svg?label=conda%7Cdefaults&style=flat&colorB=4488ff)](https://anaconda.org/anaconda/nbsite) |
| Docs | [![gh-pages](https://img.shields.io/github/last-commit/pyviz/nbsite/gh-pages.svg)](https://github.com/pyviz/nbsite/tree/gh-pages) [![site](https://img.shields.io/website-up-down-green-red/https/nbsite.pyviz.org.svg)](https://nbsite.pyviz.org) |
## What is it?
NBSite lets you build a website from a set of notebooks plus a minimal
amount of config. Sites built with nbsite include
[pyviz.org](https://pyviz.org),
[datashader.org](https://datashader.org/), and [hvplot.pyviz.org](https:/hvplot.pyviz.org).
The idea behind nbsite is that notebooks can simultaneously be
documentation (things you want to tell people about), examples (a
starting point for people to run and use themselves), and test cases.
This project is currently an early work in progress. See the
documentation at [nbsite.pyviz.org](https://nbsite.pyviz.org) for
more information.
## About PyViz
NBSite is part of the PyViz initiative for making Python-based visualization tools work well together.
See [pyviz.org](https://pyviz.org) for related packages that you can use with NBSite and
[status.pyviz.org](https://status.pyviz.org) for the current status of each PyViz project.

%package help
Summary:	Development documents and examples for nbsite
Provides:	python3-nbsite-doc
%description help
# NBSite: Build a tested, sphinx-based website from notebooks
|    |    |
| --- | --- |
| Build Status | [![Build Status](https://github.com/pyviz-dev/nbsite/workflows/tests/badge.svg)](https://github.com/pyviz-dev/nbsite/actions?query=workflow%3Atests)
| Coverage | [![codecov](https://codecov.io/gh/pyviz-dev/nbsite/branch/master/graph/badge.svg)](https://codecov.io/gh/pyviz-dev/nbsite) |
| Latest dev release | [![Github tag](https://img.shields.io/github/tag/pyviz-dev/nbsite.svg?label=tag&colorB=11ccbb)](https://github.com/pyviz-dev/nbsite/tags) |
| Latest release | [![Github release](https://img.shields.io/github/release/pyviz-dev/nbsite.svg?label=tag&colorB=11ccbb)](https://github.com/pyviz-dev/nbsite/releases) [![PyPI version](https://img.shields.io/pypi/v/nbsite.svg?colorB=cc77dd)](https://pypi.python.org/pypi/nbsite) [![nbsite version](https://img.shields.io/conda/v/pyviz/nbsite.svg?colorB=4488ff&style=flat)](https://anaconda.org/pyviz/nbsite) [![conda-forge version](https://img.shields.io/conda/v/conda-forge/nbsite.svg?label=conda%7Cconda-forge&colorB=4488ff)](https://anaconda.org/conda-forge/nbsite) [![defaults version](https://img.shields.io/conda/v/anaconda/nbsite.svg?label=conda%7Cdefaults&style=flat&colorB=4488ff)](https://anaconda.org/anaconda/nbsite) |
| Docs | [![gh-pages](https://img.shields.io/github/last-commit/pyviz/nbsite/gh-pages.svg)](https://github.com/pyviz/nbsite/tree/gh-pages) [![site](https://img.shields.io/website-up-down-green-red/https/nbsite.pyviz.org.svg)](https://nbsite.pyviz.org) |
## What is it?
NBSite lets you build a website from a set of notebooks plus a minimal
amount of config. Sites built with nbsite include
[pyviz.org](https://pyviz.org),
[datashader.org](https://datashader.org/), and [hvplot.pyviz.org](https:/hvplot.pyviz.org).
The idea behind nbsite is that notebooks can simultaneously be
documentation (things you want to tell people about), examples (a
starting point for people to run and use themselves), and test cases.
This project is currently an early work in progress. See the
documentation at [nbsite.pyviz.org](https://nbsite.pyviz.org) for
more information.
## About PyViz
NBSite is part of the PyViz initiative for making Python-based visualization tools work well together.
See [pyviz.org](https://pyviz.org) for related packages that you can use with NBSite and
[status.pyviz.org](https://status.pyviz.org) for the current status of each PyViz project.

%prep
%autosetup -n nbsite-0.7.1

%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-nbsite -f filelist.lst
%dir %{python3_sitelib}/*

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

%changelog
* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.7.1-1
- Package Spec generated