diff options
author | CoprDistGit <infra@openeuler.org> | 2023-03-09 13:51:04 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-03-09 13:51:04 +0000 |
commit | 933fa4ad0e601e459bcf0eb2cca5c081885ac9be (patch) | |
tree | 1bc14ce8bf973357f5fc56881b3681adaeb6a276 | |
parent | 328b106140c8737627f14b9801d06204430ba6a9 (diff) |
automatic import of python-meautility
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-meautility.spec | 183 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 185 insertions, 0 deletions
@@ -0,0 +1 @@ +/MEAutility-1.5.1.tar.gz diff --git a/python-meautility.spec b/python-meautility.spec new file mode 100644 index 0000000..9f6ca7c --- /dev/null +++ b/python-meautility.spec @@ -0,0 +1,183 @@ +%global _empty_manifest_terminate_build 0 +Name: python-MEAutility +Version: 1.5.1 +Release: 1 +Summary: Python package for multi-electrode array (MEA) handling and stimulation. +License: GNU General Public License v3 (GPLv3) +URL: https://github.com/alejoe91/MEAutility +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/40/30/a9f957ad8fe00721e9a5fdef433f8c261eaac816c776adfebe9d1f059063/MEAutility-1.5.1.tar.gz +BuildArch: noarch + +Requires: python3-numpy +Requires: python3-pyyaml +Requires: python3-matplotlib + +%description +[](https://travis-ci.org/alejoe91/MEAutility) [](https://badge.fury.io/py/MEAutility) + +# MEAutility + +Python package for multi-electrode array (MEA) handling and stimulation. + +## Installation + +To install run: +`pip install MEAutility` + +If you want to install from sources and be updated with the latest development you can install with: +``` +git clone https://github.com/alejoe91/MEAutility +cd MEAutility +python setup.py install (or develop) +``` + +The package can then imported in Python with: + +`import MEAutility as MEA` + +### Requirements +- numpy +- pyyaml +- matplotlib + +## Documentation + +Please refer to https://meautility.readthedocs.io/en/latest/ + +## Contact + +For any questions or comments, please contact Alessio Buccino: alessiob@ifi.uio.no + + + + +%package -n python3-MEAutility +Summary: Python package for multi-electrode array (MEA) handling and stimulation. +Provides: python-MEAutility +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-MEAutility +[](https://travis-ci.org/alejoe91/MEAutility) [](https://badge.fury.io/py/MEAutility) + +# MEAutility + +Python package for multi-electrode array (MEA) handling and stimulation. + +## Installation + +To install run: +`pip install MEAutility` + +If you want to install from sources and be updated with the latest development you can install with: +``` +git clone https://github.com/alejoe91/MEAutility +cd MEAutility +python setup.py install (or develop) +``` + +The package can then imported in Python with: + +`import MEAutility as MEA` + +### Requirements +- numpy +- pyyaml +- matplotlib + +## Documentation + +Please refer to https://meautility.readthedocs.io/en/latest/ + +## Contact + +For any questions or comments, please contact Alessio Buccino: alessiob@ifi.uio.no + + + + +%package help +Summary: Development documents and examples for MEAutility +Provides: python3-MEAutility-doc +%description help +[](https://travis-ci.org/alejoe91/MEAutility) [](https://badge.fury.io/py/MEAutility) + +# MEAutility + +Python package for multi-electrode array (MEA) handling and stimulation. + +## Installation + +To install run: +`pip install MEAutility` + +If you want to install from sources and be updated with the latest development you can install with: +``` +git clone https://github.com/alejoe91/MEAutility +cd MEAutility +python setup.py install (or develop) +``` + +The package can then imported in Python with: + +`import MEAutility as MEA` + +### Requirements +- numpy +- pyyaml +- matplotlib + +## Documentation + +Please refer to https://meautility.readthedocs.io/en/latest/ + +## Contact + +For any questions or comments, please contact Alessio Buccino: alessiob@ifi.uio.no + + + + +%prep +%autosetup -n MEAutility-1.5.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-MEAutility -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu Mar 09 2023 Python_Bot <Python_Bot@openeuler.org> - 1.5.1-1 +- Package Spec generated @@ -0,0 +1 @@ +d0de743f03d6e075e7e8fdcf92f8fea0 MEAutility-1.5.1.tar.gz |