diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-15 08:13:38 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-15 08:13:38 +0000 |
commit | 503a335e743b27b8c503a10ce72a700dce5a5093 (patch) | |
tree | 8faf4c00f3215bd6e94395c736e6531a47782e83 | |
parent | bd10d7ddd92e49b6f8c8dd992e6db83fbce374c3 (diff) |
automatic import of python-runmonitor-rift
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-runmonitor-rift.spec | 133 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 135 insertions, 0 deletions
@@ -0,0 +1 @@ +/runmonitor-RIFT-0.1.8.5.tar.gz diff --git a/python-runmonitor-rift.spec b/python-runmonitor-rift.spec new file mode 100644 index 0000000..0adbc53 --- /dev/null +++ b/python-runmonitor-rift.spec @@ -0,0 +1,133 @@ +%global _empty_manifest_terminate_build 0 +Name: python-runmonitor-RIFT +Version: 0.1.8.5 +Release: 1 +Summary: A package for monitoring RIFT PE runs +License: MIT License +URL: https://git.ligo.org/richard.udall/runmonitor_rift +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/18/db/6107759d213edf7c4aae5acf65d254293af3e8ca5ab2b2ed8e211ab63f7e/runmonitor-RIFT-0.1.8.5.tar.gz +BuildArch: noarch + +Requires: python3-daemon +Requires: python3-setuptools +Requires: python3-wheel +Requires: python3-pip + +%description +# RIFT run-monitor + +A package providing utilities for monitoring and healing runs with [RIFT](https://pypi.org/project/RIFT/). Built from https://git.ligo.org/richard.udall/runmonitor_rift, with original work done at https://git.ligo.org/richard.udall/miscelleaneous-scripts/ + +Developed by Adhav Arulanandan, Grihith Manchanda, Joshua Brandt, Richard O'Shaughnessy, and Richard Udall + +## Installation +This package assumes the user is on an LDAS-like cluster. + +To install, do the standard: pip install runmonitor-rift + +Configure environment variables: +* RUNMON\_BASE = a sub-directory in a public-facing directory (e.g. ~/public\_html/RUNMON/) +* RUNMON\_CLUSTER = a designator for a cluster (e.g. CIT) + +Some functionality, especially for healing scripts, will work best if this is installed in an environment which also has RIFT installed, though overrides will usually be available. + + + + + +%package -n python3-runmonitor-RIFT +Summary: A package for monitoring RIFT PE runs +Provides: python-runmonitor-RIFT +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-runmonitor-RIFT +# RIFT run-monitor + +A package providing utilities for monitoring and healing runs with [RIFT](https://pypi.org/project/RIFT/). Built from https://git.ligo.org/richard.udall/runmonitor_rift, with original work done at https://git.ligo.org/richard.udall/miscelleaneous-scripts/ + +Developed by Adhav Arulanandan, Grihith Manchanda, Joshua Brandt, Richard O'Shaughnessy, and Richard Udall + +## Installation +This package assumes the user is on an LDAS-like cluster. + +To install, do the standard: pip install runmonitor-rift + +Configure environment variables: +* RUNMON\_BASE = a sub-directory in a public-facing directory (e.g. ~/public\_html/RUNMON/) +* RUNMON\_CLUSTER = a designator for a cluster (e.g. CIT) + +Some functionality, especially for healing scripts, will work best if this is installed in an environment which also has RIFT installed, though overrides will usually be available. + + + + + +%package help +Summary: Development documents and examples for runmonitor-RIFT +Provides: python3-runmonitor-RIFT-doc +%description help +# RIFT run-monitor + +A package providing utilities for monitoring and healing runs with [RIFT](https://pypi.org/project/RIFT/). Built from https://git.ligo.org/richard.udall/runmonitor_rift, with original work done at https://git.ligo.org/richard.udall/miscelleaneous-scripts/ + +Developed by Adhav Arulanandan, Grihith Manchanda, Joshua Brandt, Richard O'Shaughnessy, and Richard Udall + +## Installation +This package assumes the user is on an LDAS-like cluster. + +To install, do the standard: pip install runmonitor-rift + +Configure environment variables: +* RUNMON\_BASE = a sub-directory in a public-facing directory (e.g. ~/public\_html/RUNMON/) +* RUNMON\_CLUSTER = a designator for a cluster (e.g. CIT) + +Some functionality, especially for healing scripts, will work best if this is installed in an environment which also has RIFT installed, though overrides will usually be available. + + + + + +%prep +%autosetup -n runmonitor-RIFT-0.1.8.5 + +%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-runmonitor-RIFT -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.8.5-1 +- Package Spec generated @@ -0,0 +1 @@ +5cd02f75bee6cb233283bfc43ebd3958 runmonitor-RIFT-0.1.8.5.tar.gz |