diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-12 00:34:45 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-12 00:34:45 +0000 |
commit | 8604bbe6a0a7ae74d633b2d74114345f7aebfba8 (patch) | |
tree | 56a1121bc49c560d544734758952552845d9d6b3 | |
parent | f8f567a82c9dc5312476d7ea932abfd845859d0c (diff) |
automatic import of python-perspective-python
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-perspective-python.spec | 338 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 340 insertions, 0 deletions
@@ -0,0 +1 @@ +/perspective-python-2.0.1.tar.gz diff --git a/python-perspective-python.spec b/python-perspective-python.spec new file mode 100644 index 0000000..ad8d589 --- /dev/null +++ b/python-perspective-python.spec @@ -0,0 +1,338 @@ +%global _empty_manifest_terminate_build 0 +Name: python-perspective-python +Version: 2.0.1 +Release: 1 +Summary: Python bindings and JupyterLab integration for Perspective +License: Apache 2.0 +URL: https://github.com/finos/perspective +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/08/c1/ea69d50036ca9f81d158508c507a05a05a6cb9e1ab82532ea627f7e11339/perspective-python-2.0.1.tar.gz + +Requires: python3-ipywidgets +Requires: python3-future +Requires: python3-numpy +Requires: python3-pandas +Requires: python3-dateutil +Requires: python3-traitlets +Requires: python3-aiohttp +Requires: python3-black +Requires: python3-Faker +Requires: python3-flake8 +Requires: python3-flake8-black +Requires: python3-httpx +Requires: python3-jupyter-packaging +Requires: python3-pip +Requires: python3-psutil +Requires: python3-pybind11 +Requires: python3-pyarrow +Requires: python3-pytest +Requires: python3-pytest-aiohttp +Requires: python3-pytest-asyncio +Requires: python3-pytest-cov +Requires: python3-pytest-check-links +Requires: python3-pytest-tornado +Requires: python3-pytz +Requires: python3-Sphinx +Requires: python3-sphinx-markdown-builder +Requires: python3-wheel +Requires: python3-ipywidgets +Requires: python3-future +Requires: python3-numpy +Requires: python3-pandas +Requires: python3-dateutil +Requires: python3-traitlets +Requires: python3-aiohttp +Requires: python3-jupyterlab +Requires: python3-fastapi +Requires: python3-starlette +Requires: python3-tornado +Requires: python3-black +Requires: python3-Faker +Requires: python3-flake8 +Requires: python3-flake8-black +Requires: python3-httpx +Requires: python3-jupyter-packaging +Requires: python3-pip +Requires: python3-psutil +Requires: python3-pybind11 +Requires: python3-pyarrow +Requires: python3-pytest +Requires: python3-pytest-aiohttp +Requires: python3-pytest-asyncio +Requires: python3-pytest-cov +Requires: python3-pytest-check-links +Requires: python3-pytest-tornado +Requires: python3-pytz +Requires: python3-Sphinx +Requires: python3-sphinx-markdown-builder +Requires: python3-wheel +Requires: python3-ipywidgets +Requires: python3-future +Requires: python3-numpy +Requires: python3-pandas +Requires: python3-dateutil +Requires: python3-traitlets +Requires: python3-aiohttp +Requires: python3-jupyterlab +Requires: python3-fastapi +Requires: python3-starlette +Requires: python3-tornado +Requires: python3-fastapi +Requires: python3-starlette +Requires: python3-jupyterlab +Requires: python3-fastapi +Requires: python3-starlette +Requires: python3-tornado + +%description +<br /> +<a href="https://github.com/finos/perspective/blob/master/docs/static/svg/perspective-logo-light.svg?raw=true#gh-light-mode-only"><img src="https://github.com/finos/perspective/raw/master/docs/static/svg/perspective-logo-light.svg?raw=true#gh-light-mode-only" alt="Perspective" width="260"></a> +<a href="https://github.com/finos/perspective/blob/master/docs/static/svg/perspective-logo-dark.svg?raw=true#gh-dark-mode-only"><img src="https://github.com/finos/perspective/raw/master/docs/static/svg/perspective-logo-dark.svg?raw=true#gh-dark-mode-only" alt="Perspective" width="260"></a> +<br/><br/> + +[](https://www.npmjs.com/package/@finos/perspective) +[](https://pypi.python.org/pypi/perspective-python) +[](https://github.com/finos/perspective/actions/workflows/build.yml) + +<br/> + +Perspective is an <i>interactive</i> analytics and data visualization component, +which is especially well-suited for <i>large</i> and/or <i>streaming</i> +datasets. Use it to create user-configurable reports, dashboards, notebooks and +applications, then deploy stand-alone in the browser, or in concert with Python +and/or [Jupyterlab](https://jupyterlab.readthedocs.io/en/stable/). + +### Features + +- A fast, memory efficient streaming query engine, written in + C++ and compiled for both [WebAssembly](https://webassembly.org/) and + [Python](https://www.python.org/), with read/write/streaming for + [Apache Arrow](https://arrow.apache.org/), and a high-performance columnar + expression language based on [ExprTK](https://github.com/ArashPartow/exprtk). + +- A framework-agnostic User Interface packaged as a + [Custom Element](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements), + powered either in-browser via WebAssembly or virtually via + WebSocket server (Python/Node). + +- A [JupyterLab](https://jupyter.org/) widget and Python client library, for + interactive data analysis in a notebook, as well as _scalable_ production + [Voila](https://github.com/voila-dashboards/voila) applications. + +### Examples + +<!-- Examples --> +<table><tbody><tr><td>editable</td><td>csv</td><td>fractal</td></tr><tr><td><a href="https://perspective.finos.org/block?example=editable"><img height="125" src="https://perspective.finos.org/blocks/editable/preview.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=csv"><img height="125" src="https://perspective.finos.org/blocks/csv/preview.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=fractal"><img height="125" src="https://perspective.finos.org/blocks/fractal/preview.png"></img></a></td></tr><tr><td>market</td><td>raycasting</td><td>evictions</td></tr><tr><td><a href="https://perspective.finos.org/block?example=market"><img height="125" src="https://perspective.finos.org/blocks/market/preview.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=raycasting"><img height="125" src="https://perspective.finos.org/blocks/raycasting/preview.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=evictions"><img height="125" src="https://perspective.finos.org/blocks/evictions/preview.png"></img></a></td></tr><tr><td>streaming</td><td>covid</td><td>movies</td></tr><tr><td><a href="https://perspective.finos.org/block?example=streaming"><img height="125" src="https://perspective.finos.org/blocks/streaming/preview.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=covid"><img height="125" src="https://perspective.finos.org/blocks/covid/preview.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=movies"><img height="125" src="https://perspective.finos.org/blocks/movies/preview.png"></img></a></td></tr><tr><td>superstore</td><td>citibike</td><td>olympics</td></tr><tr><td><a href="https://perspective.finos.org/block?example=superstore"><img height="125" src="https://perspective.finos.org/blocks/superstore/preview.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=citibike"><img height="125" src="https://perspective.finos.org/blocks/citibike/preview.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=olympics"><img height="125" src="https://perspective.finos.org/blocks/olympics/preview.png"></img></a></td></tr><tr><td>jupyterlab</td><td>magic</td><td>nft</td></tr><tr><td><a href="http://beta.mybinder.org/v2/gh/finos/perspective/master?urlpath=lab/tree/examples/jupyter-notebooks"><img height="125" src="https://perspective.finos.org/img/jupyterlab.png"></img></a></td><td><a href="https://texodus.github.io/mtg-perspective/?seasons-in-the-abyss-67"><img height="125" src="https://perspective.finos.org/img/mtg_preview.png"></img></a></td><td><a href="https://sc1f.github.io/pudgy-penguin-perspective/"><img height="125" src="https://raw.githubusercontent.com/sc1f/pudgy-penguin-perspective/pages/meta.png"></img></a></td></tr><tr><td>nypd ccrb</td></tr><tr><td><a href="https://texodus.github.io/nypd-ccrb/"><img height="125" src="https://texodus.github.io/nypd-ccrb/preview.png"></img></a></td></tr></tbody></table> +<!-- Examples --> + +### Documentation + +- [Project Site](https://perspective.finos.org/) +- User Guides + - [Javascript User Guide](https://perspective.finos.org/docs/js.html) + - [Python User Guide](https://perspective.finos.org/docs/python.html) + - [Developer Guide](https://perspective.finos.org/docs/development.html) +- Concepts + - [Table](https://perspective.finos.org/docs/table.html) + - [View](https://perspective.finos.org/docs/view.html) + - [Expression Columns](https://perspective.finos.org/docs/expressions.html) + - [Data Binding](https://perspective.finos.org/docs/table.html) +- API + - [Perspective API](https://github.com/finos/perspective/blob/master/packages/perspective/README.md) + - [Perspective Viewer API](https://perspective.finos.org/docs/obj/perspective-viewer/) + - [Perspective Python API](https://perspective.finos.org/docs/obj/perspective-python.html) + +### Community / Media + +- [Streaming, cross-sectional data visualization in JupyterLab | Junyuan Tan, JupyterCon 2020](http://www.youtube.com/watch?v=IO-HJsGdleE) +- [Perspective in 3D | Andrew Stein, Open Source in Finance Forum NYC 2022](https://www.youtube.com/watch?v=0ut-ynvBpGI) +- [Build an order book simulation with Perspective | Andrew Stein, FINOS Open Source in Fintech Meetup 2021](https://www.youtube.com/watch?v=no0qChjvdgQ) +- [Perspective project case study | FINOS](https://www.finos.org/hubfs/FINOS/assets/FINOS%20Perspective%20Case%20Study.pdf) + + +%package -n python3-perspective-python +Summary: Python bindings and JupyterLab integration for Perspective +Provides: python-perspective-python +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-cffi +BuildRequires: gcc +BuildRequires: gdb +%description -n python3-perspective-python +<br /> +<a href="https://github.com/finos/perspective/blob/master/docs/static/svg/perspective-logo-light.svg?raw=true#gh-light-mode-only"><img src="https://github.com/finos/perspective/raw/master/docs/static/svg/perspective-logo-light.svg?raw=true#gh-light-mode-only" alt="Perspective" width="260"></a> +<a href="https://github.com/finos/perspective/blob/master/docs/static/svg/perspective-logo-dark.svg?raw=true#gh-dark-mode-only"><img src="https://github.com/finos/perspective/raw/master/docs/static/svg/perspective-logo-dark.svg?raw=true#gh-dark-mode-only" alt="Perspective" width="260"></a> +<br/><br/> + +[](https://www.npmjs.com/package/@finos/perspective) +[](https://pypi.python.org/pypi/perspective-python) +[](https://github.com/finos/perspective/actions/workflows/build.yml) + +<br/> + +Perspective is an <i>interactive</i> analytics and data visualization component, +which is especially well-suited for <i>large</i> and/or <i>streaming</i> +datasets. Use it to create user-configurable reports, dashboards, notebooks and +applications, then deploy stand-alone in the browser, or in concert with Python +and/or [Jupyterlab](https://jupyterlab.readthedocs.io/en/stable/). + +### Features + +- A fast, memory efficient streaming query engine, written in + C++ and compiled for both [WebAssembly](https://webassembly.org/) and + [Python](https://www.python.org/), with read/write/streaming for + [Apache Arrow](https://arrow.apache.org/), and a high-performance columnar + expression language based on [ExprTK](https://github.com/ArashPartow/exprtk). + +- A framework-agnostic User Interface packaged as a + [Custom Element](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements), + powered either in-browser via WebAssembly or virtually via + WebSocket server (Python/Node). + +- A [JupyterLab](https://jupyter.org/) widget and Python client library, for + interactive data analysis in a notebook, as well as _scalable_ production + [Voila](https://github.com/voila-dashboards/voila) applications. + +### Examples + +<!-- Examples --> +<table><tbody><tr><td>editable</td><td>csv</td><td>fractal</td></tr><tr><td><a href="https://perspective.finos.org/block?example=editable"><img height="125" src="https://perspective.finos.org/blocks/editable/preview.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=csv"><img height="125" src="https://perspective.finos.org/blocks/csv/preview.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=fractal"><img height="125" src="https://perspective.finos.org/blocks/fractal/preview.png"></img></a></td></tr><tr><td>market</td><td>raycasting</td><td>evictions</td></tr><tr><td><a href="https://perspective.finos.org/block?example=market"><img height="125" src="https://perspective.finos.org/blocks/market/preview.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=raycasting"><img height="125" src="https://perspective.finos.org/blocks/raycasting/preview.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=evictions"><img height="125" src="https://perspective.finos.org/blocks/evictions/preview.png"></img></a></td></tr><tr><td>streaming</td><td>covid</td><td>movies</td></tr><tr><td><a href="https://perspective.finos.org/block?example=streaming"><img height="125" src="https://perspective.finos.org/blocks/streaming/preview.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=covid"><img height="125" src="https://perspective.finos.org/blocks/covid/preview.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=movies"><img height="125" src="https://perspective.finos.org/blocks/movies/preview.png"></img></a></td></tr><tr><td>superstore</td><td>citibike</td><td>olympics</td></tr><tr><td><a href="https://perspective.finos.org/block?example=superstore"><img height="125" src="https://perspective.finos.org/blocks/superstore/preview.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=citibike"><img height="125" src="https://perspective.finos.org/blocks/citibike/preview.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=olympics"><img height="125" src="https://perspective.finos.org/blocks/olympics/preview.png"></img></a></td></tr><tr><td>jupyterlab</td><td>magic</td><td>nft</td></tr><tr><td><a href="http://beta.mybinder.org/v2/gh/finos/perspective/master?urlpath=lab/tree/examples/jupyter-notebooks"><img height="125" src="https://perspective.finos.org/img/jupyterlab.png"></img></a></td><td><a href="https://texodus.github.io/mtg-perspective/?seasons-in-the-abyss-67"><img height="125" src="https://perspective.finos.org/img/mtg_preview.png"></img></a></td><td><a href="https://sc1f.github.io/pudgy-penguin-perspective/"><img height="125" src="https://raw.githubusercontent.com/sc1f/pudgy-penguin-perspective/pages/meta.png"></img></a></td></tr><tr><td>nypd ccrb</td></tr><tr><td><a href="https://texodus.github.io/nypd-ccrb/"><img height="125" src="https://texodus.github.io/nypd-ccrb/preview.png"></img></a></td></tr></tbody></table> +<!-- Examples --> + +### Documentation + +- [Project Site](https://perspective.finos.org/) +- User Guides + - [Javascript User Guide](https://perspective.finos.org/docs/js.html) + - [Python User Guide](https://perspective.finos.org/docs/python.html) + - [Developer Guide](https://perspective.finos.org/docs/development.html) +- Concepts + - [Table](https://perspective.finos.org/docs/table.html) + - [View](https://perspective.finos.org/docs/view.html) + - [Expression Columns](https://perspective.finos.org/docs/expressions.html) + - [Data Binding](https://perspective.finos.org/docs/table.html) +- API + - [Perspective API](https://github.com/finos/perspective/blob/master/packages/perspective/README.md) + - [Perspective Viewer API](https://perspective.finos.org/docs/obj/perspective-viewer/) + - [Perspective Python API](https://perspective.finos.org/docs/obj/perspective-python.html) + +### Community / Media + +- [Streaming, cross-sectional data visualization in JupyterLab | Junyuan Tan, JupyterCon 2020](http://www.youtube.com/watch?v=IO-HJsGdleE) +- [Perspective in 3D | Andrew Stein, Open Source in Finance Forum NYC 2022](https://www.youtube.com/watch?v=0ut-ynvBpGI) +- [Build an order book simulation with Perspective | Andrew Stein, FINOS Open Source in Fintech Meetup 2021](https://www.youtube.com/watch?v=no0qChjvdgQ) +- [Perspective project case study | FINOS](https://www.finos.org/hubfs/FINOS/assets/FINOS%20Perspective%20Case%20Study.pdf) + + +%package help +Summary: Development documents and examples for perspective-python +Provides: python3-perspective-python-doc +%description help +<br /> +<a href="https://github.com/finos/perspective/blob/master/docs/static/svg/perspective-logo-light.svg?raw=true#gh-light-mode-only"><img src="https://github.com/finos/perspective/raw/master/docs/static/svg/perspective-logo-light.svg?raw=true#gh-light-mode-only" alt="Perspective" width="260"></a> +<a href="https://github.com/finos/perspective/blob/master/docs/static/svg/perspective-logo-dark.svg?raw=true#gh-dark-mode-only"><img src="https://github.com/finos/perspective/raw/master/docs/static/svg/perspective-logo-dark.svg?raw=true#gh-dark-mode-only" alt="Perspective" width="260"></a> +<br/><br/> + +[](https://www.npmjs.com/package/@finos/perspective) +[](https://pypi.python.org/pypi/perspective-python) +[](https://github.com/finos/perspective/actions/workflows/build.yml) + +<br/> + +Perspective is an <i>interactive</i> analytics and data visualization component, +which is especially well-suited for <i>large</i> and/or <i>streaming</i> +datasets. Use it to create user-configurable reports, dashboards, notebooks and +applications, then deploy stand-alone in the browser, or in concert with Python +and/or [Jupyterlab](https://jupyterlab.readthedocs.io/en/stable/). + +### Features + +- A fast, memory efficient streaming query engine, written in + C++ and compiled for both [WebAssembly](https://webassembly.org/) and + [Python](https://www.python.org/), with read/write/streaming for + [Apache Arrow](https://arrow.apache.org/), and a high-performance columnar + expression language based on [ExprTK](https://github.com/ArashPartow/exprtk). + +- A framework-agnostic User Interface packaged as a + [Custom Element](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements), + powered either in-browser via WebAssembly or virtually via + WebSocket server (Python/Node). + +- A [JupyterLab](https://jupyter.org/) widget and Python client library, for + interactive data analysis in a notebook, as well as _scalable_ production + [Voila](https://github.com/voila-dashboards/voila) applications. + +### Examples + +<!-- Examples --> +<table><tbody><tr><td>editable</td><td>csv</td><td>fractal</td></tr><tr><td><a href="https://perspective.finos.org/block?example=editable"><img height="125" src="https://perspective.finos.org/blocks/editable/preview.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=csv"><img height="125" src="https://perspective.finos.org/blocks/csv/preview.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=fractal"><img height="125" src="https://perspective.finos.org/blocks/fractal/preview.png"></img></a></td></tr><tr><td>market</td><td>raycasting</td><td>evictions</td></tr><tr><td><a href="https://perspective.finos.org/block?example=market"><img height="125" src="https://perspective.finos.org/blocks/market/preview.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=raycasting"><img height="125" src="https://perspective.finos.org/blocks/raycasting/preview.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=evictions"><img height="125" src="https://perspective.finos.org/blocks/evictions/preview.png"></img></a></td></tr><tr><td>streaming</td><td>covid</td><td>movies</td></tr><tr><td><a href="https://perspective.finos.org/block?example=streaming"><img height="125" src="https://perspective.finos.org/blocks/streaming/preview.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=covid"><img height="125" src="https://perspective.finos.org/blocks/covid/preview.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=movies"><img height="125" src="https://perspective.finos.org/blocks/movies/preview.png"></img></a></td></tr><tr><td>superstore</td><td>citibike</td><td>olympics</td></tr><tr><td><a href="https://perspective.finos.org/block?example=superstore"><img height="125" src="https://perspective.finos.org/blocks/superstore/preview.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=citibike"><img height="125" src="https://perspective.finos.org/blocks/citibike/preview.png"></img></a></td><td><a href="https://perspective.finos.org/block?example=olympics"><img height="125" src="https://perspective.finos.org/blocks/olympics/preview.png"></img></a></td></tr><tr><td>jupyterlab</td><td>magic</td><td>nft</td></tr><tr><td><a href="http://beta.mybinder.org/v2/gh/finos/perspective/master?urlpath=lab/tree/examples/jupyter-notebooks"><img height="125" src="https://perspective.finos.org/img/jupyterlab.png"></img></a></td><td><a href="https://texodus.github.io/mtg-perspective/?seasons-in-the-abyss-67"><img height="125" src="https://perspective.finos.org/img/mtg_preview.png"></img></a></td><td><a href="https://sc1f.github.io/pudgy-penguin-perspective/"><img height="125" src="https://raw.githubusercontent.com/sc1f/pudgy-penguin-perspective/pages/meta.png"></img></a></td></tr><tr><td>nypd ccrb</td></tr><tr><td><a href="https://texodus.github.io/nypd-ccrb/"><img height="125" src="https://texodus.github.io/nypd-ccrb/preview.png"></img></a></td></tr></tbody></table> +<!-- Examples --> + +### Documentation + +- [Project Site](https://perspective.finos.org/) +- User Guides + - [Javascript User Guide](https://perspective.finos.org/docs/js.html) + - [Python User Guide](https://perspective.finos.org/docs/python.html) + - [Developer Guide](https://perspective.finos.org/docs/development.html) +- Concepts + - [Table](https://perspective.finos.org/docs/table.html) + - [View](https://perspective.finos.org/docs/view.html) + - [Expression Columns](https://perspective.finos.org/docs/expressions.html) + - [Data Binding](https://perspective.finos.org/docs/table.html) +- API + - [Perspective API](https://github.com/finos/perspective/blob/master/packages/perspective/README.md) + - [Perspective Viewer API](https://perspective.finos.org/docs/obj/perspective-viewer/) + - [Perspective Python API](https://perspective.finos.org/docs/obj/perspective-python.html) + +### Community / Media + +- [Streaming, cross-sectional data visualization in JupyterLab | Junyuan Tan, JupyterCon 2020](http://www.youtube.com/watch?v=IO-HJsGdleE) +- [Perspective in 3D | Andrew Stein, Open Source in Finance Forum NYC 2022](https://www.youtube.com/watch?v=0ut-ynvBpGI) +- [Build an order book simulation with Perspective | Andrew Stein, FINOS Open Source in Fintech Meetup 2021](https://www.youtube.com/watch?v=no0qChjvdgQ) +- [Perspective project case study | FINOS](https://www.finos.org/hubfs/FINOS/assets/FINOS%20Perspective%20Case%20Study.pdf) + + +%prep +%autosetup -n perspective-python-2.0.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-perspective-python -f filelist.lst +%dir %{python3_sitearch}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 2.0.1-1 +- Package Spec generated @@ -0,0 +1 @@ +0d72030ac373f0a4bee3f01f6797826b perspective-python-2.0.1.tar.gz |