summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-pyrocko.spec397
-rw-r--r--sources2
3 files changed, 287 insertions, 113 deletions
diff --git a/.gitignore b/.gitignore
index ffa0579..8f372fa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/pyrocko-2023.3.27.tar.gz
+/pyrocko-2023.6.7.tar.gz
diff --git a/python-pyrocko.spec b/python-pyrocko.spec
index 285f7ab..a21feb1 100644
--- a/python-pyrocko.spec
+++ b/python-pyrocko.spec
@@ -1,48 +1,111 @@
%global _empty_manifest_terminate_build 0
Name: python-pyrocko
-Version: 2023.3.27
+Version: 2023.6.7
Release: 1
Summary: A versatile seismology toolkit for Python.
License: GPLv3
-URL: https://pyrocko.org
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/f1/49/1b9d0af85bfa3515f5256e0b5e5aa359a63db2a9ad4f3945c384926c0abe/pyrocko-2023.3.27.tar.gz
+URL: https://pypi.org/project/pyrocko/
+Source0: https://mirrors.aliyun.com/pypi/web/packages/ab/65/b79e4297fc51b60ae5d816b5303bb8ed67622c702e8c4844d53b945dee72/pyrocko-2023.6.7.tar.gz
+Requires: python3-numpy
+Requires: python3-scipy
+Requires: python3-pyyaml
+Requires: python3-matplotlib
+Requires: python3-requests
+Requires: python3-PyQt5
+Requires: python3-PyQtWebEngine
+Requires: python3-vtk
%description
-Using pip, Pyrocko can be installed from source or binary packages which we
-have uploaded to the Python Package Index. Depending on your attitude,
-different installation variants are possible (see following sections).
-The complete `installation guide <https://pyrocko.org/docs/current/install>`_
-is available in the `Pyrocko manual <https://pyrocko.org/docs/current/>`_.
-*Good to Know:*
-* Consequently use ``pip3`` instead of ``pip`` if you want to be sure that
- Python3 versions are installed
-* Add the ``--user`` option to all pip commands if you want to install into
- your home directory.
-* Consider using
- `virtual environments <https://docs.python.org/3/tutorial/venv.html>`_ when
- using pip to lower the risk of package conflicts.
-Variant 1: allow pip to resolve dependencies
- pip install pyrocko
- # and, (only) if you want to use Snuffler:
- pip install --only-binary :all: PyQt5
-**Advantages:**
-- Quick and easy.
-**Disadvantages:**
-- Dependencies installed by pip may shadow native system packages.
-- May turn your system into a big mess.
-Variant 2: use your system's package manager to install dependencies
-Install Pyrocko's requirements through your system's package manager (see
-`System specific installation instructions <https://pyrocko.org/docs/current/install/system/>`_),
-then use pip with the
-``--no-deps`` option to install Pyrocko:
- # first use apt-get/yum/pacman to install prerequisites (see above), then:
- pip install --no-deps pyrocko
-**Advantages:**
-- Prevents package dependency conflicts.
-**Disadvantages:**
-- Need root access.
-- A bit more work to set up.
+# Pyrocko
+### _A seismology toolkit for Python_
+
+[![Build Status](https://drone.pyrocko.org/api/badges/pyrocko/pyrocko/status.svg?ref=refs/heads/master)](https://drone.pyrocko.org/pyrocko/pyrocko)
+[![Anaconda-Server Badge](https://anaconda.org/pyrocko/pyrocko/badges/version.svg)](https://conda.anaconda.org/pyrocko)
+[![PyPI](https://img.shields.io/pypi/v/pyrocko.svg)](https://pypi.python.org/pypi/pyrocko/)
+
+
+## Installation
+
+Pyrocko can be installed on various operating systems and in many different
+installation styles. Please consult the [Pyrocko Installation Manual](https://pyrocko.org/docs/current/install/) for details.
+
+### System wide installation from source
+
+```
+git clone https://git.pyrocko.org/pyrocko/pyrocko.git
+cd pyrocko
+python install.py deps system
+python install.py system
+```
+
+### User installation from source
+
+```
+git clone https://git.pyrocko.org/pyrocko/pyrocko.git
+cd pyrocko
+pip install . # only install into isolated environments like this!
+```
+
+### Installation with Anaconda
+
+Anaconda3 packages are available for Linux, OSX and Windows ([details](https://pyrocko.org/docs/current/install/packages/anaconda.html)).
+
+```
+conda install -c pyrocko pyrocko
+```
+
+### User installation with Python pip
+
+Binary pip packages are available for Linux and Windows ([details](https://pyrocko.org/docs/current/install/packages/pip.html)).
+
+```
+pip install --user pyrocko
+pip install --user --only-binary :all: PyQt5
+```
+
+## Documentation
+
+Documentation and usage examples are available online at https://pyrocko.org/docs/current
+
+## Community Support
+
+Community support at [https://hive.pyrocko.org](https://hive.pyrocko.org/signup_user_complete/?id=9edryhxeptdbmxrecbwy3zg49y).
+
+## Citation
+The recommended citation for Pyrocko is: (You can find the BibTeX snippet in the
+[`CITATION` file](CITATION.bib)):
+
+> Heimann, Sebastian; Kriegerowski, Marius; Isken, Marius; Cesca, Simone; Daout, Simon; Grigoli, Francesco; Juretzek, Carina; Megies, Tobias; Nooshiri, Nima; Steinberg, Andreas; Sudhaus, Henriette; Vasyura-Bathke, Hannes; Willey, Timothy; Dahm, Torsten (2017): Pyrocko - An open-source seismology toolbox and library. V. 0.3. GFZ Data Services. https://doi.org/10.5880/GFZ.2.1.2017.001
+
+[![DOI](https://img.shields.io/badge/DOI-10.5880%2FGFZ.2.1.2017.001-blue.svg)](https://doi.org/10.5880/GFZ.2.1.2017.001)
+
+## License
+GNU General Public License, Version 3, 29 June 2007
+
+Copyright © 2017 Helmholtz Centre Potsdam GFZ German Research Centre for Geosciences, Potsdam, Germany
+
+Pyrocko is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
+Pyrocko is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+## Contact
+* Sebastian Heimann;
+ sebastian.heimann@gfz-potsdam.de
+
+* Marius Isken;
+ marius.isken@gfz-potsdam.de
+
+* Marius Kriegerowski;
+ marius.kriegerowski@gfz-potsdam.de
+
+```
+Helmholtz Centre Potsdam German Research Centre for Geoscienes GFZ
+Section 2.1: Physics of Earthquakes and Volcanoes
+Helmholtzstraße 6/7
+14467 Potsdam, Germany
+```
+
%package -n python3-pyrocko
Summary: A versatile seismology toolkit for Python.
@@ -54,82 +117,192 @@ BuildRequires: python3-cffi
BuildRequires: gcc
BuildRequires: gdb
%description -n python3-pyrocko
-Using pip, Pyrocko can be installed from source or binary packages which we
-have uploaded to the Python Package Index. Depending on your attitude,
-different installation variants are possible (see following sections).
-The complete `installation guide <https://pyrocko.org/docs/current/install>`_
-is available in the `Pyrocko manual <https://pyrocko.org/docs/current/>`_.
-*Good to Know:*
-* Consequently use ``pip3`` instead of ``pip`` if you want to be sure that
- Python3 versions are installed
-* Add the ``--user`` option to all pip commands if you want to install into
- your home directory.
-* Consider using
- `virtual environments <https://docs.python.org/3/tutorial/venv.html>`_ when
- using pip to lower the risk of package conflicts.
-Variant 1: allow pip to resolve dependencies
- pip install pyrocko
- # and, (only) if you want to use Snuffler:
- pip install --only-binary :all: PyQt5
-**Advantages:**
-- Quick and easy.
-**Disadvantages:**
-- Dependencies installed by pip may shadow native system packages.
-- May turn your system into a big mess.
-Variant 2: use your system's package manager to install dependencies
-Install Pyrocko's requirements through your system's package manager (see
-`System specific installation instructions <https://pyrocko.org/docs/current/install/system/>`_),
-then use pip with the
-``--no-deps`` option to install Pyrocko:
- # first use apt-get/yum/pacman to install prerequisites (see above), then:
- pip install --no-deps pyrocko
-**Advantages:**
-- Prevents package dependency conflicts.
-**Disadvantages:**
-- Need root access.
-- A bit more work to set up.
+# Pyrocko
+### _A seismology toolkit for Python_
+
+[![Build Status](https://drone.pyrocko.org/api/badges/pyrocko/pyrocko/status.svg?ref=refs/heads/master)](https://drone.pyrocko.org/pyrocko/pyrocko)
+[![Anaconda-Server Badge](https://anaconda.org/pyrocko/pyrocko/badges/version.svg)](https://conda.anaconda.org/pyrocko)
+[![PyPI](https://img.shields.io/pypi/v/pyrocko.svg)](https://pypi.python.org/pypi/pyrocko/)
+
+
+## Installation
+
+Pyrocko can be installed on various operating systems and in many different
+installation styles. Please consult the [Pyrocko Installation Manual](https://pyrocko.org/docs/current/install/) for details.
+
+### System wide installation from source
+
+```
+git clone https://git.pyrocko.org/pyrocko/pyrocko.git
+cd pyrocko
+python install.py deps system
+python install.py system
+```
+
+### User installation from source
+
+```
+git clone https://git.pyrocko.org/pyrocko/pyrocko.git
+cd pyrocko
+pip install . # only install into isolated environments like this!
+```
+
+### Installation with Anaconda
+
+Anaconda3 packages are available for Linux, OSX and Windows ([details](https://pyrocko.org/docs/current/install/packages/anaconda.html)).
+
+```
+conda install -c pyrocko pyrocko
+```
+
+### User installation with Python pip
+
+Binary pip packages are available for Linux and Windows ([details](https://pyrocko.org/docs/current/install/packages/pip.html)).
+
+```
+pip install --user pyrocko
+pip install --user --only-binary :all: PyQt5
+```
+
+## Documentation
+
+Documentation and usage examples are available online at https://pyrocko.org/docs/current
+
+## Community Support
+
+Community support at [https://hive.pyrocko.org](https://hive.pyrocko.org/signup_user_complete/?id=9edryhxeptdbmxrecbwy3zg49y).
+
+## Citation
+The recommended citation for Pyrocko is: (You can find the BibTeX snippet in the
+[`CITATION` file](CITATION.bib)):
+
+> Heimann, Sebastian; Kriegerowski, Marius; Isken, Marius; Cesca, Simone; Daout, Simon; Grigoli, Francesco; Juretzek, Carina; Megies, Tobias; Nooshiri, Nima; Steinberg, Andreas; Sudhaus, Henriette; Vasyura-Bathke, Hannes; Willey, Timothy; Dahm, Torsten (2017): Pyrocko - An open-source seismology toolbox and library. V. 0.3. GFZ Data Services. https://doi.org/10.5880/GFZ.2.1.2017.001
+
+[![DOI](https://img.shields.io/badge/DOI-10.5880%2FGFZ.2.1.2017.001-blue.svg)](https://doi.org/10.5880/GFZ.2.1.2017.001)
+
+## License
+GNU General Public License, Version 3, 29 June 2007
+
+Copyright © 2017 Helmholtz Centre Potsdam GFZ German Research Centre for Geosciences, Potsdam, Germany
+
+Pyrocko is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
+Pyrocko is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+## Contact
+* Sebastian Heimann;
+ sebastian.heimann@gfz-potsdam.de
+
+* Marius Isken;
+ marius.isken@gfz-potsdam.de
+
+* Marius Kriegerowski;
+ marius.kriegerowski@gfz-potsdam.de
+
+```
+Helmholtz Centre Potsdam German Research Centre for Geoscienes GFZ
+Section 2.1: Physics of Earthquakes and Volcanoes
+Helmholtzstraße 6/7
+14467 Potsdam, Germany
+```
+
%package help
Summary: Development documents and examples for pyrocko
Provides: python3-pyrocko-doc
%description help
-Using pip, Pyrocko can be installed from source or binary packages which we
-have uploaded to the Python Package Index. Depending on your attitude,
-different installation variants are possible (see following sections).
-The complete `installation guide <https://pyrocko.org/docs/current/install>`_
-is available in the `Pyrocko manual <https://pyrocko.org/docs/current/>`_.
-*Good to Know:*
-* Consequently use ``pip3`` instead of ``pip`` if you want to be sure that
- Python3 versions are installed
-* Add the ``--user`` option to all pip commands if you want to install into
- your home directory.
-* Consider using
- `virtual environments <https://docs.python.org/3/tutorial/venv.html>`_ when
- using pip to lower the risk of package conflicts.
-Variant 1: allow pip to resolve dependencies
- pip install pyrocko
- # and, (only) if you want to use Snuffler:
- pip install --only-binary :all: PyQt5
-**Advantages:**
-- Quick and easy.
-**Disadvantages:**
-- Dependencies installed by pip may shadow native system packages.
-- May turn your system into a big mess.
-Variant 2: use your system's package manager to install dependencies
-Install Pyrocko's requirements through your system's package manager (see
-`System specific installation instructions <https://pyrocko.org/docs/current/install/system/>`_),
-then use pip with the
-``--no-deps`` option to install Pyrocko:
- # first use apt-get/yum/pacman to install prerequisites (see above), then:
- pip install --no-deps pyrocko
-**Advantages:**
-- Prevents package dependency conflicts.
-**Disadvantages:**
-- Need root access.
-- A bit more work to set up.
+# Pyrocko
+### _A seismology toolkit for Python_
+
+[![Build Status](https://drone.pyrocko.org/api/badges/pyrocko/pyrocko/status.svg?ref=refs/heads/master)](https://drone.pyrocko.org/pyrocko/pyrocko)
+[![Anaconda-Server Badge](https://anaconda.org/pyrocko/pyrocko/badges/version.svg)](https://conda.anaconda.org/pyrocko)
+[![PyPI](https://img.shields.io/pypi/v/pyrocko.svg)](https://pypi.python.org/pypi/pyrocko/)
+
+
+## Installation
+
+Pyrocko can be installed on various operating systems and in many different
+installation styles. Please consult the [Pyrocko Installation Manual](https://pyrocko.org/docs/current/install/) for details.
+
+### System wide installation from source
+
+```
+git clone https://git.pyrocko.org/pyrocko/pyrocko.git
+cd pyrocko
+python install.py deps system
+python install.py system
+```
+
+### User installation from source
+
+```
+git clone https://git.pyrocko.org/pyrocko/pyrocko.git
+cd pyrocko
+pip install . # only install into isolated environments like this!
+```
+
+### Installation with Anaconda
+
+Anaconda3 packages are available for Linux, OSX and Windows ([details](https://pyrocko.org/docs/current/install/packages/anaconda.html)).
+
+```
+conda install -c pyrocko pyrocko
+```
+
+### User installation with Python pip
+
+Binary pip packages are available for Linux and Windows ([details](https://pyrocko.org/docs/current/install/packages/pip.html)).
+
+```
+pip install --user pyrocko
+pip install --user --only-binary :all: PyQt5
+```
+
+## Documentation
+
+Documentation and usage examples are available online at https://pyrocko.org/docs/current
+
+## Community Support
+
+Community support at [https://hive.pyrocko.org](https://hive.pyrocko.org/signup_user_complete/?id=9edryhxeptdbmxrecbwy3zg49y).
+
+## Citation
+The recommended citation for Pyrocko is: (You can find the BibTeX snippet in the
+[`CITATION` file](CITATION.bib)):
+
+> Heimann, Sebastian; Kriegerowski, Marius; Isken, Marius; Cesca, Simone; Daout, Simon; Grigoli, Francesco; Juretzek, Carina; Megies, Tobias; Nooshiri, Nima; Steinberg, Andreas; Sudhaus, Henriette; Vasyura-Bathke, Hannes; Willey, Timothy; Dahm, Torsten (2017): Pyrocko - An open-source seismology toolbox and library. V. 0.3. GFZ Data Services. https://doi.org/10.5880/GFZ.2.1.2017.001
+
+[![DOI](https://img.shields.io/badge/DOI-10.5880%2FGFZ.2.1.2017.001-blue.svg)](https://doi.org/10.5880/GFZ.2.1.2017.001)
+
+## License
+GNU General Public License, Version 3, 29 June 2007
+
+Copyright © 2017 Helmholtz Centre Potsdam GFZ German Research Centre for Geosciences, Potsdam, Germany
+
+Pyrocko is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
+Pyrocko is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+## Contact
+* Sebastian Heimann;
+ sebastian.heimann@gfz-potsdam.de
+
+* Marius Isken;
+ marius.isken@gfz-potsdam.de
+
+* Marius Kriegerowski;
+ marius.kriegerowski@gfz-potsdam.de
+
+```
+Helmholtz Centre Potsdam German Research Centre for Geoscienes GFZ
+Section 2.1: Physics of Earthquakes and Volcanoes
+Helmholtzstraße 6/7
+14467 Potsdam, Germany
+```
+
%prep
-%autosetup -n pyrocko-2023.3.27
+%autosetup -n pyrocko-2023.6.7
%build
%py3_build
@@ -143,20 +316,20 @@ 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
+ 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
+ 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
+ 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
+ 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
+ find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst
fi
popd
mv %{buildroot}/filelist.lst .
@@ -169,5 +342,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 2023.3.27-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 2023.6.7-1
- Package Spec generated
diff --git a/sources b/sources
index 7b14b64..669ce10 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9978d61d2638f16fa78f3f5daaabfc6b pyrocko-2023.3.27.tar.gz
+fe58845245c8df239e2ae0a8fcc3977c pyrocko-2023.6.7.tar.gz