diff options
author | CoprDistGit <infra@openeuler.org> | 2023-03-09 13:36:32 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-03-09 13:36:32 +0000 |
commit | fecb630bca6331a41d06c95c4d6e8403dc2ec5ad (patch) | |
tree | efb9a6efb8b0a946060546d55fcb5935dc0e867c /python-libpysal.spec | |
parent | 731b1ebe20f184298b92edec5d41435f96957187 (diff) |
automatic import of python-libpysal
Diffstat (limited to 'python-libpysal.spec')
-rw-r--r-- | python-libpysal.spec | 227 |
1 files changed, 227 insertions, 0 deletions
diff --git a/python-libpysal.spec b/python-libpysal.spec new file mode 100644 index 0000000..2fc3c51 --- /dev/null +++ b/python-libpysal.spec @@ -0,0 +1,227 @@ +%global _empty_manifest_terminate_build 0 +Name: python-libpysal +Version: 4.7.0 +Release: 1 +Summary: Core components of PySAL A library of spatial analysis functions. +License: BSD +URL: http://pysal.org/libpysal +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/8a/66/8e03b8389b7f53fb404421017e98788cbdfef5566fab5153238ea58b8138/libpysal-4.7.0.tar.gz +BuildArch: noarch + +Requires: python3-platformdirs +Requires: python3-beautifulsoup4 +Requires: python3-jinja2 +Requires: python3-numpy +Requires: python3-pandas +Requires: python3-requests +Requires: python3-scipy +Requires: python3-packaging +Requires: python3-black +Requires: python3-pre-commit +Requires: python3-numpydoc +Requires: python3-nbsphinx +Requires: python3-pandoc +Requires: python3-sphinx +Requires: python3-sphinx-gallery +Requires: python3-sphinxcontrib-bibtex +Requires: python3-sphinx-bootstrap-theme +Requires: python3-bokeh +Requires: python3-folium +Requires: python3-geojson +Requires: python3-geopandas +Requires: python3-matplotlib +Requires: python3-mplleaflet +Requires: python3-numba +Requires: python3-numexpr +Requires: python3-networkx +Requires: python3-scikit-learn +Requires: python3-seaborn +Requires: python3-sqlalchemy +Requires: python3-statsmodels +Requires: python3-xarray +Requires: python3-geomet + +%description +**************** +libpysal modules +**************** +- libpysal.cg Computational geometry +- libpysal.io Input and output +- libpysal.weights Spatial weights +- libpysal.examples Built-in example datasets +***************** +Example Notebooks +***************** +- `Spatial Weights <notebooks/weights.ipynb>`_ +- `Voronoi <notebooks/voronoi.ipynb>`_ +- `Input and Output <notebooks/io.ipynb>`_ +*********** +Development +*********** +libpysal development is hosted on github_. +Discussions of development occurs on the +`developer list <http://groups.google.com/group/pysal-dev>`_ +as well as gitter_. +************ +Contributing +************ +PySAL-libpysal is under active development and contributors are welcome. +If you have any suggestions, feature requests, or bug reports, +please open new `issues <https://github.com/pysal/libpysal/issues>`_ on GitHub. +To submit patches, please review `PySAL's documentation for developers <https://pysal.org/docs/devs/>`_, +the PySAL `development guidelines <https://github.com/pysal/pysal/wiki>`_, +the `libpysal contributing guidelines <https://github.com/pysal/libpysal/blob/master/.github/CONTRIBUTING.md>`_ +before opening a `pull request <https://github.com/pysal/libpysal/pulls>`_. +Once your changes get merged, you’ll automatically be added to +the `Contributors List <https://github.com/pysal/libpysal/graphs/contributors>`_. +*********** +Bug reports +*********** +To search for or report bugs, please see `libpysal's issues <https://github.com/pysal/libpysal/issues>`_. +******************* +License information +******************* +See the `LICENSE <https://github.com/pysal/libpysal/blob/master/LICENSE.txt>`_ +for information on the history of this software, terms & conditions for usage, +and a DISCLAIMER OF ALL WARRANTIES. + +%package -n python3-libpysal +Summary: Core components of PySAL A library of spatial analysis functions. +Provides: python-libpysal +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-libpysal +**************** +libpysal modules +**************** +- libpysal.cg Computational geometry +- libpysal.io Input and output +- libpysal.weights Spatial weights +- libpysal.examples Built-in example datasets +***************** +Example Notebooks +***************** +- `Spatial Weights <notebooks/weights.ipynb>`_ +- `Voronoi <notebooks/voronoi.ipynb>`_ +- `Input and Output <notebooks/io.ipynb>`_ +*********** +Development +*********** +libpysal development is hosted on github_. +Discussions of development occurs on the +`developer list <http://groups.google.com/group/pysal-dev>`_ +as well as gitter_. +************ +Contributing +************ +PySAL-libpysal is under active development and contributors are welcome. +If you have any suggestions, feature requests, or bug reports, +please open new `issues <https://github.com/pysal/libpysal/issues>`_ on GitHub. +To submit patches, please review `PySAL's documentation for developers <https://pysal.org/docs/devs/>`_, +the PySAL `development guidelines <https://github.com/pysal/pysal/wiki>`_, +the `libpysal contributing guidelines <https://github.com/pysal/libpysal/blob/master/.github/CONTRIBUTING.md>`_ +before opening a `pull request <https://github.com/pysal/libpysal/pulls>`_. +Once your changes get merged, you’ll automatically be added to +the `Contributors List <https://github.com/pysal/libpysal/graphs/contributors>`_. +*********** +Bug reports +*********** +To search for or report bugs, please see `libpysal's issues <https://github.com/pysal/libpysal/issues>`_. +******************* +License information +******************* +See the `LICENSE <https://github.com/pysal/libpysal/blob/master/LICENSE.txt>`_ +for information on the history of this software, terms & conditions for usage, +and a DISCLAIMER OF ALL WARRANTIES. + +%package help +Summary: Development documents and examples for libpysal +Provides: python3-libpysal-doc +%description help +**************** +libpysal modules +**************** +- libpysal.cg Computational geometry +- libpysal.io Input and output +- libpysal.weights Spatial weights +- libpysal.examples Built-in example datasets +***************** +Example Notebooks +***************** +- `Spatial Weights <notebooks/weights.ipynb>`_ +- `Voronoi <notebooks/voronoi.ipynb>`_ +- `Input and Output <notebooks/io.ipynb>`_ +*********** +Development +*********** +libpysal development is hosted on github_. +Discussions of development occurs on the +`developer list <http://groups.google.com/group/pysal-dev>`_ +as well as gitter_. +************ +Contributing +************ +PySAL-libpysal is under active development and contributors are welcome. +If you have any suggestions, feature requests, or bug reports, +please open new `issues <https://github.com/pysal/libpysal/issues>`_ on GitHub. +To submit patches, please review `PySAL's documentation for developers <https://pysal.org/docs/devs/>`_, +the PySAL `development guidelines <https://github.com/pysal/pysal/wiki>`_, +the `libpysal contributing guidelines <https://github.com/pysal/libpysal/blob/master/.github/CONTRIBUTING.md>`_ +before opening a `pull request <https://github.com/pysal/libpysal/pulls>`_. +Once your changes get merged, you’ll automatically be added to +the `Contributors List <https://github.com/pysal/libpysal/graphs/contributors>`_. +*********** +Bug reports +*********** +To search for or report bugs, please see `libpysal's issues <https://github.com/pysal/libpysal/issues>`_. +******************* +License information +******************* +See the `LICENSE <https://github.com/pysal/libpysal/blob/master/LICENSE.txt>`_ +for information on the history of this software, terms & conditions for usage, +and a DISCLAIMER OF ALL WARRANTIES. + +%prep +%autosetup -n libpysal-4.7.0 + +%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-libpysal -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu Mar 09 2023 Python_Bot <Python_Bot@openeuler.org> - 4.7.0-1 +- Package Spec generated |