diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-02-23 08:51:25 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-02-23 08:51:25 +0000 |
commit | fc0feeb0162fc52b9f8694b5712c5081f31bc96e (patch) | |
tree | 1a8fe67ef4838577c6335b2cff9aab851a57518c | |
parent | f658e9138c34af115ed7538981f5791f69851731 (diff) |
automatic import of python3-animatplotopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-animatplot.spec | 158 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 160 insertions, 0 deletions
@@ -0,0 +1 @@ +/animatplot-0.4.2.tar.gz diff --git a/python-animatplot.spec b/python-animatplot.spec new file mode 100644 index 0000000..3792a11 --- /dev/null +++ b/python-animatplot.spec @@ -0,0 +1,158 @@ +%global _empty_manifest_terminate_build 0 +Name: python-animatplot +Version: 0.4.2 +Release: 1 +Summary: Making animating in matplotlib easy +License: MIT +URL: https://github.com/t-makaro/animatplot/ +Source0: https://files.pythonhosted.org/packages/89/75/118789bf8baca5e7ecc215518d4b0c78d7c228145111d07447781e4d6839/animatplot-0.4.2.tar.gz +BuildArch: noarch + + +%description +[](https://animatplot.readthedocs.io/en/latest/?badge=latest) + +# animatplot +A python package for making interactive as well as animated plots with matplotlib. + + + + +## Requires +- Python >= 3.5 +- Matplotlib >= 2.2 (because [sliders have discrete values](https://matplotlib.org/users/whats_new.html#slider-ui-widget-can-snap-to-discrete-values)) +## Installation +```bash +pip install animatplot +``` + +or using conda +```bash +conda install animatplot -c conda-forge +``` + +## Documentation +Documentation can be found [here](https://animatplot.readthedocs.io/en/latest/index.html) + +## Dev Install +```bash +git clone https://github.com/t-makaro/animatplot.git +pip install -e . +``` +This project uses ```pycodestyle``` for linting. For testing, ```pytest``` is used. + +%package -n python3-animatplot +Summary: Making animating in matplotlib easy +Provides: python-animatplot +BuildRequires: python3-devel +BuildRequires: python3-setuptools +%description -n python3-animatplot +[](https://animatplot.readthedocs.io/en/latest/?badge=latest) + +# animatplot +A python package for making interactive as well as animated plots with matplotlib. + + + + +## Requires +- Python >= 3.5 +- Matplotlib >= 2.2 (because [sliders have discrete values](https://matplotlib.org/users/whats_new.html#slider-ui-widget-can-snap-to-discrete-values)) +## Installation +```bash +pip install animatplot +``` + +or using conda +```bash +conda install animatplot -c conda-forge +``` + +## Documentation +Documentation can be found [here](https://animatplot.readthedocs.io/en/latest/index.html) + +## Dev Install +```bash +git clone https://github.com/t-makaro/animatplot.git +pip install -e . +``` +This project uses ```pycodestyle``` for linting. For testing, ```pytest``` is used. + +%package help +Summary: Development documents and examples for animatplot +Provides: python3-animatplot-doc +%description help +[](https://animatplot.readthedocs.io/en/latest/?badge=latest) + +# animatplot +A python package for making interactive as well as animated plots with matplotlib. + + + + +## Requires +- Python >= 3.5 +- Matplotlib >= 2.2 (because [sliders have discrete values](https://matplotlib.org/users/whats_new.html#slider-ui-widget-can-snap-to-discrete-values)) +## Installation +```bash +pip install animatplot +``` + +or using conda +```bash +conda install animatplot -c conda-forge +``` + +## Documentation +Documentation can be found [here](https://animatplot.readthedocs.io/en/latest/index.html) + +## Dev Install +```bash +git clone https://github.com/t-makaro/animatplot.git +pip install -e . +``` +This project uses ```pycodestyle``` for linting. For testing, ```pytest``` is used. + +%prep +%autosetup -n animatplot-0.4.2 + +%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-animatplot -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu Feb 23 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4.2-1 +- Package Spec generated @@ -0,0 +1 @@ +0da811478f3e4e0c9338d21abd572c72 animatplot-0.4.2.tar.gz |