From ad596dc81f6b7bfe865d3723b475fc1dcbc9c917 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 5 May 2023 11:09:40 +0000 Subject: automatic import of python-nbsite --- .gitignore | 1 + python-nbsite.spec | 167 +++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 169 insertions(+) create mode 100644 python-nbsite.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..d9e24cd 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/nbsite-0.7.1.tar.gz diff --git a/python-nbsite.spec b/python-nbsite.spec new file mode 100644 index 0000000..09a0e2a --- /dev/null +++ b/python-nbsite.spec @@ -0,0 +1,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 - 0.7.1-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..6f12798 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +f03b2e087a432bd33df6a1a80830f344 nbsite-0.7.1.tar.gz -- cgit v1.2.3