diff options
author | CoprDistGit <infra@openeuler.org> | 2023-03-09 13:32:02 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-03-09 13:32:02 +0000 |
commit | 451f372bb1ca49bff853848b15a080f539ce0ef3 (patch) | |
tree | ccb79a6d138f658bade84651b0d45f01aac186bb | |
parent | 4dd7b7150fe350de01e4a1f91e0c5fe8d6a001dd (diff) |
automatic import of python-libNeuroML
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-libNeuroML.spec | 420 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 422 insertions, 0 deletions
@@ -0,0 +1 @@ +/libNeuroML-0.4.1.tar.gz diff --git a/python-libNeuroML.spec b/python-libNeuroML.spec new file mode 100644 index 0000000..71f3669 --- /dev/null +++ b/python-libNeuroML.spec @@ -0,0 +1,420 @@ +%global _empty_manifest_terminate_build 0 +Name: python-libNeuroML +Version: 0.4.1 +Release: 1 +Summary: A Python library for working with NeuroML descriptions of neuronal models +License: BSD +URL: http://libneuroml.readthedocs.org/en/latest/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/25/8e/5fd3bc9ab18d27e11d1db31fe63b55d58fedf26e34454031902d338a7204/libNeuroML-0.4.1.tar.gz +BuildArch: noarch + +Requires: python3-lxml +Requires: python3-six +Requires: python3-cython +Requires: python3-numpy +Requires: python3-numexpr +Requires: python3-tables + +%description +## Introduction + +[](https://github.com/NeuralEnsemble/libNeuroML/actions/workflows/ci.yml) +[](https://libneuroml.readthedocs.io/en/latest/?badge=latest) +[](https://pypi.org/project/libNeuroML/) +[](https://pypi.org/project/libNeuroML/) +[](https://github.com/NeuralEnsemble/libNeuroML/blob/master/LICENSE) +[](https://github.com/NeuralEnsemble/libNeuroML/pulls) +[](https://github.com/NeuralEnsemble/libNeuroML/issues) +[](https://github.com/NeuralEnsemble) +[](https://twitter.com/NeuroML) +[](https://gitter.im/NeuroML/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) + +This package provides Python libNeuroML, for working with neuronal models specified in [NeuroML 2](http://neuroml.org/neuromlv2). + +For more about libNeuroML see: + +Michael Vella, Robert C. Cannon, Sharon Crook, Andrew P. Davison, Gautham Ganapathy, Hugh P. C. Robinson, R. Angus Silver and Padraig Gleeson, +**libNeuroML and PyLEMS: using Python to combine procedural and declarative modeling approaches in computational neuroscience** +[Frontiers in Neuroinformatics 2014](http://journal.frontiersin.org/Journal/10.3389/fninf.2014.00038/abstract), doi: 10.3389/fninf.2014.00038 + +_**PLEASE CITE THE PAPER ABOVE IF YOU USE libNeuroML!**_ + +Documentation is available at http://readthedocs.org/docs/libneuroml/en/latest/ + +For installation instructions, see http://readthedocs.org/docs/libneuroml/en/latest/install.html + +For an overview of all NeuroML related libraries/documentation/publications see https://docs.neuroml.org + +## pyNeuroML + +A related package, **[pyNeuroML](https://github.com/NeuroML/pyNeuroML)** builds on this and provides functionality, scripts and modules for reading, writing, **simulating** and analysing NeuroML2/LEMS models. + +pyNeuroML builds on: [libNeuroML](https://github.com/NeuralEnsemble/libNeuroML) & [PyLEMS](https://github.com/LEMS/pylems) and wraps functionality from [jNeuroML](https://github.com/NeuroML/jNeuroML). + + +## Development process for libNeuroML + +Most of the work happens in the [development branch](https://github.com/NeuralEnsemble/libNeuroML/tree/development). +That branch is kept up to date with the development branches for [NeuroML 2](https://github.com/NeuroML/NeuroML2/tree/development) and related libraries. +See https://docs.neuroml.org/ for an overview of the various NeuroML libraries. + +## Changelog +### version 0.2.57 (dev) + +- Enable Python 3.10 support +- Regenerate nml.py with generateDS using Python 3 +- Add generic `add` method to all NeuroML ComponentType classes that allows users to easily construct their NeuroML documents. +- Improve unit tests +- DEPRECATION notice: `append_to_element` will be deprecated in future releases, please use the `add` method instead + +### version 0.2.56 + +- Documentation updates for RTD and other minor fixes. + +### version 0.2.55 + +- Patch release with minor changes under the hood. +- Use PyTest for testing. +- Enable CI on GitHub Actions + +### version 0.2.54 + +- Using Schema for NeuroML v2.1. Better compatibility with Python 3 + +### version 0.2.50 + +- Updated to use the final stable Schema for NeuroML v2.0 + +### version 0.2.47 + +- Updated to use the final stable Schema for NeuroML v2beta5 + +### version 0.2.18 + +- Updated to use the final stable Schema for NeuroML v2beta4 +- Tested with Python 3 + +### version 0.2.4 + +- Updated to use the Schema for NeuroML v2beta4 + +### version 0.2.2 + +- Updated to use the Schema for NeuroML v2beta3 +- Ensures numpy & pytables are only required when using non-XML loaders/writers + +### version 0.2.0 + +- Updated to use the Schema for NeuroML v2beta2 + +### version 0.1.9 + +- Minor release: Update to latest schema + +### version 0.1.8 + +- Several Bug fixes and small enhamcements +- Support for latest NeuroML schema (see change outline) +- JSON serialization +- MongoDB backend +- HDF5 serialization +- Improved installation process +- All usage examples are now run on the Travis-CI continuous integration server to confirm that that they do not error. +- Schema validation utility +- Improved documentation and documentation new look + + +:copyright: Copyright 2021 by the libNeuroML team, see [AUTHORS](AUTHORS). Modified BSD License, see [LICENSE](LICENSE) for details. + + +[](https://travis-ci.org/NeuralEnsemble/libNeuroML) + + + + +%package -n python3-libNeuroML +Summary: A Python library for working with NeuroML descriptions of neuronal models +Provides: python-libNeuroML +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-libNeuroML +## Introduction + +[](https://github.com/NeuralEnsemble/libNeuroML/actions/workflows/ci.yml) +[](https://libneuroml.readthedocs.io/en/latest/?badge=latest) +[](https://pypi.org/project/libNeuroML/) +[](https://pypi.org/project/libNeuroML/) +[](https://github.com/NeuralEnsemble/libNeuroML/blob/master/LICENSE) +[](https://github.com/NeuralEnsemble/libNeuroML/pulls) +[](https://github.com/NeuralEnsemble/libNeuroML/issues) +[](https://github.com/NeuralEnsemble) +[](https://twitter.com/NeuroML) +[](https://gitter.im/NeuroML/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) + +This package provides Python libNeuroML, for working with neuronal models specified in [NeuroML 2](http://neuroml.org/neuromlv2). + +For more about libNeuroML see: + +Michael Vella, Robert C. Cannon, Sharon Crook, Andrew P. Davison, Gautham Ganapathy, Hugh P. C. Robinson, R. Angus Silver and Padraig Gleeson, +**libNeuroML and PyLEMS: using Python to combine procedural and declarative modeling approaches in computational neuroscience** +[Frontiers in Neuroinformatics 2014](http://journal.frontiersin.org/Journal/10.3389/fninf.2014.00038/abstract), doi: 10.3389/fninf.2014.00038 + +_**PLEASE CITE THE PAPER ABOVE IF YOU USE libNeuroML!**_ + +Documentation is available at http://readthedocs.org/docs/libneuroml/en/latest/ + +For installation instructions, see http://readthedocs.org/docs/libneuroml/en/latest/install.html + +For an overview of all NeuroML related libraries/documentation/publications see https://docs.neuroml.org + +## pyNeuroML + +A related package, **[pyNeuroML](https://github.com/NeuroML/pyNeuroML)** builds on this and provides functionality, scripts and modules for reading, writing, **simulating** and analysing NeuroML2/LEMS models. + +pyNeuroML builds on: [libNeuroML](https://github.com/NeuralEnsemble/libNeuroML) & [PyLEMS](https://github.com/LEMS/pylems) and wraps functionality from [jNeuroML](https://github.com/NeuroML/jNeuroML). + + +## Development process for libNeuroML + +Most of the work happens in the [development branch](https://github.com/NeuralEnsemble/libNeuroML/tree/development). +That branch is kept up to date with the development branches for [NeuroML 2](https://github.com/NeuroML/NeuroML2/tree/development) and related libraries. +See https://docs.neuroml.org/ for an overview of the various NeuroML libraries. + +## Changelog +### version 0.2.57 (dev) + +- Enable Python 3.10 support +- Regenerate nml.py with generateDS using Python 3 +- Add generic `add` method to all NeuroML ComponentType classes that allows users to easily construct their NeuroML documents. +- Improve unit tests +- DEPRECATION notice: `append_to_element` will be deprecated in future releases, please use the `add` method instead + +### version 0.2.56 + +- Documentation updates for RTD and other minor fixes. + +### version 0.2.55 + +- Patch release with minor changes under the hood. +- Use PyTest for testing. +- Enable CI on GitHub Actions + +### version 0.2.54 + +- Using Schema for NeuroML v2.1. Better compatibility with Python 3 + +### version 0.2.50 + +- Updated to use the final stable Schema for NeuroML v2.0 + +### version 0.2.47 + +- Updated to use the final stable Schema for NeuroML v2beta5 + +### version 0.2.18 + +- Updated to use the final stable Schema for NeuroML v2beta4 +- Tested with Python 3 + +### version 0.2.4 + +- Updated to use the Schema for NeuroML v2beta4 + +### version 0.2.2 + +- Updated to use the Schema for NeuroML v2beta3 +- Ensures numpy & pytables are only required when using non-XML loaders/writers + +### version 0.2.0 + +- Updated to use the Schema for NeuroML v2beta2 + +### version 0.1.9 + +- Minor release: Update to latest schema + +### version 0.1.8 + +- Several Bug fixes and small enhamcements +- Support for latest NeuroML schema (see change outline) +- JSON serialization +- MongoDB backend +- HDF5 serialization +- Improved installation process +- All usage examples are now run on the Travis-CI continuous integration server to confirm that that they do not error. +- Schema validation utility +- Improved documentation and documentation new look + + +:copyright: Copyright 2021 by the libNeuroML team, see [AUTHORS](AUTHORS). Modified BSD License, see [LICENSE](LICENSE) for details. + + +[](https://travis-ci.org/NeuralEnsemble/libNeuroML) + + + + +%package help +Summary: Development documents and examples for libNeuroML +Provides: python3-libNeuroML-doc +%description help +## Introduction + +[](https://github.com/NeuralEnsemble/libNeuroML/actions/workflows/ci.yml) +[](https://libneuroml.readthedocs.io/en/latest/?badge=latest) +[](https://pypi.org/project/libNeuroML/) +[](https://pypi.org/project/libNeuroML/) +[](https://github.com/NeuralEnsemble/libNeuroML/blob/master/LICENSE) +[](https://github.com/NeuralEnsemble/libNeuroML/pulls) +[](https://github.com/NeuralEnsemble/libNeuroML/issues) +[](https://github.com/NeuralEnsemble) +[](https://twitter.com/NeuroML) +[](https://gitter.im/NeuroML/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) + +This package provides Python libNeuroML, for working with neuronal models specified in [NeuroML 2](http://neuroml.org/neuromlv2). + +For more about libNeuroML see: + +Michael Vella, Robert C. Cannon, Sharon Crook, Andrew P. Davison, Gautham Ganapathy, Hugh P. C. Robinson, R. Angus Silver and Padraig Gleeson, +**libNeuroML and PyLEMS: using Python to combine procedural and declarative modeling approaches in computational neuroscience** +[Frontiers in Neuroinformatics 2014](http://journal.frontiersin.org/Journal/10.3389/fninf.2014.00038/abstract), doi: 10.3389/fninf.2014.00038 + +_**PLEASE CITE THE PAPER ABOVE IF YOU USE libNeuroML!**_ + +Documentation is available at http://readthedocs.org/docs/libneuroml/en/latest/ + +For installation instructions, see http://readthedocs.org/docs/libneuroml/en/latest/install.html + +For an overview of all NeuroML related libraries/documentation/publications see https://docs.neuroml.org + +## pyNeuroML + +A related package, **[pyNeuroML](https://github.com/NeuroML/pyNeuroML)** builds on this and provides functionality, scripts and modules for reading, writing, **simulating** and analysing NeuroML2/LEMS models. + +pyNeuroML builds on: [libNeuroML](https://github.com/NeuralEnsemble/libNeuroML) & [PyLEMS](https://github.com/LEMS/pylems) and wraps functionality from [jNeuroML](https://github.com/NeuroML/jNeuroML). + + +## Development process for libNeuroML + +Most of the work happens in the [development branch](https://github.com/NeuralEnsemble/libNeuroML/tree/development). +That branch is kept up to date with the development branches for [NeuroML 2](https://github.com/NeuroML/NeuroML2/tree/development) and related libraries. +See https://docs.neuroml.org/ for an overview of the various NeuroML libraries. + +## Changelog +### version 0.2.57 (dev) + +- Enable Python 3.10 support +- Regenerate nml.py with generateDS using Python 3 +- Add generic `add` method to all NeuroML ComponentType classes that allows users to easily construct their NeuroML documents. +- Improve unit tests +- DEPRECATION notice: `append_to_element` will be deprecated in future releases, please use the `add` method instead + +### version 0.2.56 + +- Documentation updates for RTD and other minor fixes. + +### version 0.2.55 + +- Patch release with minor changes under the hood. +- Use PyTest for testing. +- Enable CI on GitHub Actions + +### version 0.2.54 + +- Using Schema for NeuroML v2.1. Better compatibility with Python 3 + +### version 0.2.50 + +- Updated to use the final stable Schema for NeuroML v2.0 + +### version 0.2.47 + +- Updated to use the final stable Schema for NeuroML v2beta5 + +### version 0.2.18 + +- Updated to use the final stable Schema for NeuroML v2beta4 +- Tested with Python 3 + +### version 0.2.4 + +- Updated to use the Schema for NeuroML v2beta4 + +### version 0.2.2 + +- Updated to use the Schema for NeuroML v2beta3 +- Ensures numpy & pytables are only required when using non-XML loaders/writers + +### version 0.2.0 + +- Updated to use the Schema for NeuroML v2beta2 + +### version 0.1.9 + +- Minor release: Update to latest schema + +### version 0.1.8 + +- Several Bug fixes and small enhamcements +- Support for latest NeuroML schema (see change outline) +- JSON serialization +- MongoDB backend +- HDF5 serialization +- Improved installation process +- All usage examples are now run on the Travis-CI continuous integration server to confirm that that they do not error. +- Schema validation utility +- Improved documentation and documentation new look + + +:copyright: Copyright 2021 by the libNeuroML team, see [AUTHORS](AUTHORS). Modified BSD License, see [LICENSE](LICENSE) for details. + + +[](https://travis-ci.org/NeuralEnsemble/libNeuroML) + + + + +%prep +%autosetup -n libNeuroML-0.4.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-libNeuroML -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu Mar 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4.1-1 +- Package Spec generated @@ -0,0 +1 @@ +31d13c6f6713f8163477c37f4e853d5e libNeuroML-0.4.1.tar.gz |