summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-10 08:57:51 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-10 08:57:51 +0000
commit0d5ed6a3d5d0435505df5ef2dbfc0e2f17131e83 (patch)
tree12c454ab4a85476263740d2fbf9b222508780640
parentec8c83a7e9ac85033c42736cf65b07c865019be9 (diff)
automatic import of python-mpl-tools
-rw-r--r--.gitignore1
-rw-r--r--python-mpl-tools.spec180
-rw-r--r--sources1
3 files changed, 182 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..05520c8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mpl-tools-0.2.57.tar.gz
diff --git a/python-mpl-tools.spec b/python-mpl-tools.spec
new file mode 100644
index 0000000..b409152
--- /dev/null
+++ b/python-mpl-tools.spec
@@ -0,0 +1,180 @@
+%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 <this repo> ; 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`.
+
+<!-- markdownlint-disable-file header-increment -->
+
+
+%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 <this repo> ; 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`.
+
+<!-- markdownlint-disable-file header-increment -->
+
+
+%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 <this repo> ; 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`.
+
+<!-- markdownlint-disable-file header-increment -->
+
+
+%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
+* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.57-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..83399fa
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+85463fd6ef7bcc16e1aecd4a06b92e17 mpl-tools-0.2.57.tar.gz