diff options
Diffstat (limited to 'python-draugr.spec')
| -rw-r--r-- | python-draugr.spec | 364 |
1 files changed, 364 insertions, 0 deletions
diff --git a/python-draugr.spec b/python-draugr.spec new file mode 100644 index 0000000..6520816 --- /dev/null +++ b/python-draugr.spec @@ -0,0 +1,364 @@ +%global _empty_manifest_terminate_build 0 +Name: python-Draugr +Version: 1.0.8 +Release: 1 +Summary: A package for plotting directly in your terminal +License: Apache License, Version 2.0 +URL: https://github.com/pything/draugr +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/99/ba/dbc0087fe67eac6671bb921ba21f347b76f9fd7283cb8cce32f2c36abf0d/Draugr-1.0.8.tar.gz +BuildArch: noarch + +Requires: python3-wrapt +Requires: python3-psutil +Requires: python3-six +Requires: python3-apppath +Requires: python3-warg +Requires: python3-scikit-learn +Requires: python3-coveralls +Requires: python3-mock +Requires: python3-pytest-cov +Requires: python3-opencv-python +Requires: python3-seaborn +Requires: python3-pre-commit +Requires: python3-six +Requires: python3-torch +Requires: python3-pandas +Requires: python3-warg +Requires: python3-matplotlib +Requires: python3-tensorboard +Requires: python3-sphinxcontrib-programoutput +Requires: python3-flake8 +Requires: python3-pyperf +Requires: python3-pydocstyle +Requires: python3-black +Requires: python3-pycodestyle +Requires: python3-bandit +Requires: python3-pynput +Requires: python3-pylint +Requires: python3-notus +Requires: python3-pathos +Requires: python3-apppath +Requires: python3-twine +Requires: python3-torch +Requires: python3-matplotlib +Requires: python3-cloudpickle +Requires: python3-sorcery +Requires: python3-wheel +Requires: python3-numpy +Requires: python3-psutil +Requires: python3-visdom +Requires: python3-torchvision +Requires: python3-tqdm +Requires: python3-pygame +Requires: python3-pip +Requires: python3-draugr +Requires: python3-wrapt +Requires: python3-sh +Requires: python3-pytest +Requires: python3-tox +Requires: python3-pytest +Requires: python3-isort +Requires: python3-pytest-runner +Requires: python3-doc8 +Requires: python3-scikit-learn +Requires: python3-coveralls +Requires: python3-pytest-cov +Requires: python3-mock +Requires: python3-opencv-python +Requires: python3-seaborn +Requires: python3-pre-commit +Requires: python3-six +Requires: python3-torch +Requires: python3-pandas +Requires: python3-warg +Requires: python3-matplotlib +Requires: python3-tensorboard +Requires: python3-sphinxcontrib-programoutput +Requires: python3-flake8 +Requires: python3-pyperf +Requires: python3-pydocstyle +Requires: python3-black +Requires: python3-pycodestyle +Requires: python3-bandit +Requires: python3-pynput +Requires: python3-pylint +Requires: python3-notus +Requires: python3-pathos +Requires: python3-apppath +Requires: python3-twine +Requires: python3-torch +Requires: python3-matplotlib +Requires: python3-cloudpickle +Requires: python3-wheel +Requires: python3-sorcery +Requires: python3-numpy +Requires: python3-psutil +Requires: python3-torchvision +Requires: python3-visdom +Requires: python3-tqdm +Requires: python3-pygame +Requires: python3-pip +Requires: python3-draugr +Requires: python3-wrapt +Requires: python3-sh +Requires: python3-pytest +Requires: python3-tox +Requires: python3-pytest +Requires: python3-isort +Requires: python3-pytest-runner +Requires: python3-doc8 +Requires: python3-opencv-python +Requires: python3-draugr +Requires: python3-sphinxcontrib-programoutput +Requires: python3-apppath +Requires: python3-warg +Requires: python3-scikit-learn +Requires: python3-torch +Requires: python3-matplotlib +Requires: python3-pynput +Requires: python3-notus +Requires: python3-sorcery +Requires: python3-tensorboard +Requires: python3-sh +Requires: python3-psutil +Requires: python3-cloudpickle +Requires: python3-opencv-python +Requires: python3-pygame +Requires: python3-tqdm +Requires: python3-pytest-runner +Requires: python3-pytest +Requires: python3-mock +Requires: python3-matplotlib +Requires: python3-tensorboard +Requires: python3-opencv-python +Requires: python3-torchvision +Requires: python3-torch +Requires: python3-pathos +Requires: python3-tqdm +Requires: python3-scikit-learn +Requires: python3-matplotlib +Requires: python3-numpy +Requires: python3-seaborn +Requires: python3-pandas +Requires: python3-psutil +Requires: python3-scikit-learn +Requires: python3-sorcery +Requires: python3-matplotlib +Requires: python3-numpy +Requires: python3-visdom +Requires: python3-pandas + +%description +<!----> + +<p align="center"> + <img src=".github/images/valknut.svg" alt='Valknut' /> +</p> + +<h1 align="center">Draugr</h1> + +<!--# Draugr--> + +| [](https://github.com/pything/draugr/releases) | [](https://pything.github.io/draugr/) | [](https://codecov.io/gh/pything/draugr) | [](https://codebeat.co/projects/github-com-pything-draugr-master) | [](https://pypi.org/project/draugr/) | [](https://www.python.org/) | [](https://pytorch.org/) | [](https://hub.docker.com/r/../..) | +|--------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------| + +| Workflows | +|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| [](https://github.com/pything/draugr/actions?query=workflow%3A%22Publish+Python+%F0%9F%90%8D+distributions+%F0%9F%93%A6+to+PyPI+and+TestPyPI%22) | +| [](https://github.com/pything/draugr/actions?query=workflow%3A%22On+Push+Any+Documentation+Check%22) | +| [](https://github.com/pything/draugr/actions?query=workflow%3ACodeQL) | +| [](https://github.com/pything/draugr/actions?query=workflow%3A%22Python+package%22) | + +A utility package for... + +- pytorch stuff +- visualisations +- plotting directly in your terminal +- python in general +- opencv images +- numpy array functions + +Many of these utilities might eventually be spun off as their own package onces they grow sufficiently coherent and/or +massive. + +https://en.wikipedia.org/wiki/Draugr + +```bash +pip install draugr +``` + +OR + +to include any of the dependencies include functionality in extras like so + +```bash +pip install "draugr[drawer,writers]" +``` + +for drawer and writer functionalities and their dependencies + +### [Drawers](draugr/drawers) + +## [Samples](samples) + + +%package -n python3-Draugr +Summary: A package for plotting directly in your terminal +Provides: python-Draugr +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-Draugr +<!----> + +<p align="center"> + <img src=".github/images/valknut.svg" alt='Valknut' /> +</p> + +<h1 align="center">Draugr</h1> + +<!--# Draugr--> + +| [](https://github.com/pything/draugr/releases) | [](https://pything.github.io/draugr/) | [](https://codecov.io/gh/pything/draugr) | [](https://codebeat.co/projects/github-com-pything-draugr-master) | [](https://pypi.org/project/draugr/) | [](https://www.python.org/) | [](https://pytorch.org/) | [](https://hub.docker.com/r/../..) | +|--------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------| + +| Workflows | +|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| [](https://github.com/pything/draugr/actions?query=workflow%3A%22Publish+Python+%F0%9F%90%8D+distributions+%F0%9F%93%A6+to+PyPI+and+TestPyPI%22) | +| [](https://github.com/pything/draugr/actions?query=workflow%3A%22On+Push+Any+Documentation+Check%22) | +| [](https://github.com/pything/draugr/actions?query=workflow%3ACodeQL) | +| [](https://github.com/pything/draugr/actions?query=workflow%3A%22Python+package%22) | + +A utility package for... + +- pytorch stuff +- visualisations +- plotting directly in your terminal +- python in general +- opencv images +- numpy array functions + +Many of these utilities might eventually be spun off as their own package onces they grow sufficiently coherent and/or +massive. + +https://en.wikipedia.org/wiki/Draugr + +```bash +pip install draugr +``` + +OR + +to include any of the dependencies include functionality in extras like so + +```bash +pip install "draugr[drawer,writers]" +``` + +for drawer and writer functionalities and their dependencies + +### [Drawers](draugr/drawers) + +## [Samples](samples) + + +%package help +Summary: Development documents and examples for Draugr +Provides: python3-Draugr-doc +%description help +<!----> + +<p align="center"> + <img src=".github/images/valknut.svg" alt='Valknut' /> +</p> + +<h1 align="center">Draugr</h1> + +<!--# Draugr--> + +| [](https://github.com/pything/draugr/releases) | [](https://pything.github.io/draugr/) | [](https://codecov.io/gh/pything/draugr) | [](https://codebeat.co/projects/github-com-pything-draugr-master) | [](https://pypi.org/project/draugr/) | [](https://www.python.org/) | [](https://pytorch.org/) | [](https://hub.docker.com/r/../..) | +|--------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------| + +| Workflows | +|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| [](https://github.com/pything/draugr/actions?query=workflow%3A%22Publish+Python+%F0%9F%90%8D+distributions+%F0%9F%93%A6+to+PyPI+and+TestPyPI%22) | +| [](https://github.com/pything/draugr/actions?query=workflow%3A%22On+Push+Any+Documentation+Check%22) | +| [](https://github.com/pything/draugr/actions?query=workflow%3ACodeQL) | +| [](https://github.com/pything/draugr/actions?query=workflow%3A%22Python+package%22) | + +A utility package for... + +- pytorch stuff +- visualisations +- plotting directly in your terminal +- python in general +- opencv images +- numpy array functions + +Many of these utilities might eventually be spun off as their own package onces they grow sufficiently coherent and/or +massive. + +https://en.wikipedia.org/wiki/Draugr + +```bash +pip install draugr +``` + +OR + +to include any of the dependencies include functionality in extras like so + +```bash +pip install "draugr[drawer,writers]" +``` + +for drawer and writer functionalities and their dependencies + +### [Drawers](draugr/drawers) + +## [Samples](samples) + + +%prep +%autosetup -n Draugr-1.0.8 + +%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-Draugr -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.8-1 +- Package Spec generated |
