%global _empty_manifest_terminate_build 0 Name: python-mpl-tools Version: 0.2.57 Release: 1 Summary: Tools for working with matplotlib License: MIT URL: https://github.com/patricknraanes/mpl-tools Source0: https://mirrors.nju.edu.cn/pypi/web/packages/f4/5b/b8b658f635847b4238a56c67365a8965c111c8d08ce7d4f548607d6faf88/mpl-tools-0.2.57.tar.gz BuildArch: noarch Requires: python3-importlib-metadata Requires: python3-matplotlib Requires: python3-scipy %description # mpl-tools [![Travis](https://travis-ci.org/patricknraanes/mpl-tools.svg?branch=master)](https://travis-ci.org/patricknraanes/mpl-tools) [![Coveralls](https://coveralls.io/repos/github/patricknraanes/mpl-tools/badge.svg?branch=master)](https://coveralls.io/github/patricknraanes/mpl-tools?branch=master) [![Hits.dwyl](http://hits.dwyl.com/patricknraanes/mpl-tools.svg)](http://hits.dwyl.com/patricknraanes/mpl-tools) [![PyPI](https://badge.fury.io/py/mpl-tools.svg)](https://badge.fury.io/py/mpl-tools) [![PyPI - Downloads](https://img.shields.io/pypi/dw/mpl-tools)](https://pypi.org/project/mpl-tools/0.1.5/) This package provides some tools to work with [Matplotlib](https://matplotlib.org/). ## Installation #### Normal installation ```sh pip install mpl-tools ``` #### For development **On Linux**: `git clone ; make install` **On Windows (or Linux)**: Download & extract this repo. Install [poetry](https://python-poetry.org/docs/#installation). Run `poetry install`. **Note**: The above will install *poetry*, which then installs the source and its dependencies into an isolated *virtual environment*. To add packages, you should *not* use `pip install`, but *poetry*, e.g. `poetry add --dev somepackage`. %package -n python3-mpl-tools Summary: Tools for working with matplotlib Provides: python-mpl-tools BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-mpl-tools # mpl-tools [![Travis](https://travis-ci.org/patricknraanes/mpl-tools.svg?branch=master)](https://travis-ci.org/patricknraanes/mpl-tools) [![Coveralls](https://coveralls.io/repos/github/patricknraanes/mpl-tools/badge.svg?branch=master)](https://coveralls.io/github/patricknraanes/mpl-tools?branch=master) [![Hits.dwyl](http://hits.dwyl.com/patricknraanes/mpl-tools.svg)](http://hits.dwyl.com/patricknraanes/mpl-tools) [![PyPI](https://badge.fury.io/py/mpl-tools.svg)](https://badge.fury.io/py/mpl-tools) [![PyPI - Downloads](https://img.shields.io/pypi/dw/mpl-tools)](https://pypi.org/project/mpl-tools/0.1.5/) This package provides some tools to work with [Matplotlib](https://matplotlib.org/). ## Installation #### Normal installation ```sh pip install mpl-tools ``` #### For development **On Linux**: `git clone ; make install` **On Windows (or Linux)**: Download & extract this repo. Install [poetry](https://python-poetry.org/docs/#installation). Run `poetry install`. **Note**: The above will install *poetry*, which then installs the source and its dependencies into an isolated *virtual environment*. To add packages, you should *not* use `pip install`, but *poetry*, e.g. `poetry add --dev somepackage`. %package help Summary: Development documents and examples for mpl-tools Provides: python3-mpl-tools-doc %description help # mpl-tools [![Travis](https://travis-ci.org/patricknraanes/mpl-tools.svg?branch=master)](https://travis-ci.org/patricknraanes/mpl-tools) [![Coveralls](https://coveralls.io/repos/github/patricknraanes/mpl-tools/badge.svg?branch=master)](https://coveralls.io/github/patricknraanes/mpl-tools?branch=master) [![Hits.dwyl](http://hits.dwyl.com/patricknraanes/mpl-tools.svg)](http://hits.dwyl.com/patricknraanes/mpl-tools) [![PyPI](https://badge.fury.io/py/mpl-tools.svg)](https://badge.fury.io/py/mpl-tools) [![PyPI - Downloads](https://img.shields.io/pypi/dw/mpl-tools)](https://pypi.org/project/mpl-tools/0.1.5/) This package provides some tools to work with [Matplotlib](https://matplotlib.org/). ## Installation #### Normal installation ```sh pip install mpl-tools ``` #### For development **On Linux**: `git clone ; make install` **On Windows (or Linux)**: Download & extract this repo. Install [poetry](https://python-poetry.org/docs/#installation). Run `poetry install`. **Note**: The above will install *poetry*, which then installs the source and its dependencies into an isolated *virtual environment*. To add packages, you should *not* use `pip install`, but *poetry*, e.g. `poetry add --dev somepackage`. %prep %autosetup -n mpl-tools-0.2.57 %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-mpl-tools -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Tue May 30 2023 Python_Bot - 0.2.57-1 - Package Spec generated