diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-gwpy.spec | 259 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 261 insertions, 0 deletions
@@ -0,0 +1 @@ +/gwpy-3.0.3.tar.gz diff --git a/python-gwpy.spec b/python-gwpy.spec new file mode 100644 index 0000000..b206882 --- /dev/null +++ b/python-gwpy.spec @@ -0,0 +1,259 @@ +%global _empty_manifest_terminate_build 0 +Name: python-gwpy +Version: 3.0.3 +Release: 1 +Summary: A python package for gravitational-wave astrophysics +License: GPL-3.0-or-later +URL: https://pypi.org/project/gwpy/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a3/fa/943ad839431e80ad1013ff25ec86f5d01209b9fd955520a1c61997582635/gwpy-3.0.3.tar.gz +BuildArch: noarch + +Requires: python3-astropy +Requires: python3-dqsegdb2 +Requires: python3-gwdatafind +Requires: python3-gwosc +Requires: python3-h5py +Requires: python3-ligo-segments +Requires: python3-ligotimegps +Requires: python3-matplotlib +Requires: python3-numpy +Requires: python3-dateutil +Requires: python3-requests +Requires: python3-scipy +Requires: python3-tqdm +Requires: python3-inspiral-range +Requires: python3-framel +Requires: python3-nds2-client +Requires: python3-ldas-tools-framecpp +Requires: python3-ciecplib +Requires: python3-dateparser +Requires: python3-psycopg2 +Requires: python3-pymysql +Requires: python3-pyRXP +Requires: python3-sqlalchemy +Requires: python3-uproot +Requires: python3-maya +Requires: python3-lalsuite +Requires: python3-lscsoft-glue +Requires: python3-pycbc +Requires: python3-ligo-lw +Requires: python3-numpydoc +Requires: python3-Sphinx +Requires: python3-sphinx-automodapi +Requires: python3-sphinx-immaterial +Requires: python3-sphinx-panels +Requires: python3-sphinxcontrib-programoutput +Requires: python3-coverage[toml] +Requires: python3-pytest +Requires: python3-pytest-freezegun +Requires: python3-pytest-cov +Requires: python3-pytest-requires +Requires: python3-pytest-socket +Requires: python3-pytest-xdist +Requires: python3-requests-mock + +%description +GWpy is a collaboration-driven Python package providing tools for +studying data from ground-based gravitational-wave detectors. + +GWpy provides a user-friendly, intuitive interface to the common +time-domain and frequency-domain data produced by the LIGO and Virgo +observatories and their analyses, with easy-to-follow tutorials at each +step. + +<https://gwpy.github.io> + +# Release status + +[](http://badge.fury.io/py/gwpy) +[](https://anaconda.org/conda-forge/gwpy/) + +[](https://zenodo.org/badge/latestdoi/9979119) +[](https://choosealicense.com/licenses/gpl-3.0/) + + +# Development status + +[](https://github.com/gwpy/gwpy/actions?query=branch%3Amain) +[](https://codecov.io/gh/gwpy/gwpy) +[](https://codeclimate.com/github/gwpy/gwpy/maintainability) + +# Installation + +To install, you can do: + +``` +conda install -c conda-forge gwpy +``` + +or + +``` +python -m pip install gwpy +``` + +You can test your installation, and its version by + +``` +python -c "import gwpy; print(gwpy.__version__)" +``` + +# License + +GWpy is released under the GNU General Public License v3.0 or later, see [here](https://choosealicense.com/licenses/gpl-3.0/) for a description of this license, or see the [LICENSE](https://github.com/gwpy/gwpy/blob/main/LICENSE) file for the full text. + + +%package -n python3-gwpy +Summary: A python package for gravitational-wave astrophysics +Provides: python-gwpy +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-gwpy +GWpy is a collaboration-driven Python package providing tools for +studying data from ground-based gravitational-wave detectors. + +GWpy provides a user-friendly, intuitive interface to the common +time-domain and frequency-domain data produced by the LIGO and Virgo +observatories and their analyses, with easy-to-follow tutorials at each +step. + +<https://gwpy.github.io> + +# Release status + +[](http://badge.fury.io/py/gwpy) +[](https://anaconda.org/conda-forge/gwpy/) + +[](https://zenodo.org/badge/latestdoi/9979119) +[](https://choosealicense.com/licenses/gpl-3.0/) + + +# Development status + +[](https://github.com/gwpy/gwpy/actions?query=branch%3Amain) +[](https://codecov.io/gh/gwpy/gwpy) +[](https://codeclimate.com/github/gwpy/gwpy/maintainability) + +# Installation + +To install, you can do: + +``` +conda install -c conda-forge gwpy +``` + +or + +``` +python -m pip install gwpy +``` + +You can test your installation, and its version by + +``` +python -c "import gwpy; print(gwpy.__version__)" +``` + +# License + +GWpy is released under the GNU General Public License v3.0 or later, see [here](https://choosealicense.com/licenses/gpl-3.0/) for a description of this license, or see the [LICENSE](https://github.com/gwpy/gwpy/blob/main/LICENSE) file for the full text. + + +%package help +Summary: Development documents and examples for gwpy +Provides: python3-gwpy-doc +%description help +GWpy is a collaboration-driven Python package providing tools for +studying data from ground-based gravitational-wave detectors. + +GWpy provides a user-friendly, intuitive interface to the common +time-domain and frequency-domain data produced by the LIGO and Virgo +observatories and their analyses, with easy-to-follow tutorials at each +step. + +<https://gwpy.github.io> + +# Release status + +[](http://badge.fury.io/py/gwpy) +[](https://anaconda.org/conda-forge/gwpy/) + +[](https://zenodo.org/badge/latestdoi/9979119) +[](https://choosealicense.com/licenses/gpl-3.0/) + + +# Development status + +[](https://github.com/gwpy/gwpy/actions?query=branch%3Amain) +[](https://codecov.io/gh/gwpy/gwpy) +[](https://codeclimate.com/github/gwpy/gwpy/maintainability) + +# Installation + +To install, you can do: + +``` +conda install -c conda-forge gwpy +``` + +or + +``` +python -m pip install gwpy +``` + +You can test your installation, and its version by + +``` +python -c "import gwpy; print(gwpy.__version__)" +``` + +# License + +GWpy is released under the GNU General Public License v3.0 or later, see [here](https://choosealicense.com/licenses/gpl-3.0/) for a description of this license, or see the [LICENSE](https://github.com/gwpy/gwpy/blob/main/LICENSE) file for the full text. + + +%prep +%autosetup -n gwpy-3.0.3 + +%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-gwpy -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 3.0.3-1 +- Package Spec generated @@ -0,0 +1 @@ +4e197a903399cc39a627ea7670dd86d9 gwpy-3.0.3.tar.gz |
