summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 05:47:58 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 05:47:58 +0000
commit0ca2ab6f64420a80ccd157faa01ce959fb51066e (patch)
tree1630eadf25d5e45d7eb1ff731eff921d82000555
parentdeb9fe7b0cb55cfc0da9a022635083a02db0ce04 (diff)
automatic import of python-oort-cloudopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-oort-cloud.spec206
-rw-r--r--sources1
3 files changed, 208 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..451c25c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/oort-cloud-1.13.0.tar.gz
diff --git a/python-oort-cloud.spec b/python-oort-cloud.spec
new file mode 100644
index 0000000..78ddeb1
--- /dev/null
+++ b/python-oort-cloud.spec
@@ -0,0 +1,206 @@
+%global _empty_manifest_terminate_build 0
+Name: python-oort-cloud
+Version: 1.13.0
+Release: 1
+Summary: Oort utility to upload all your files in Arcsecond.io's cloud storage.
+License: MIT
+URL: https://github.com/arcsecond-io/oort
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/02/6c/2a74cc0a49afe92bb0f0c56858141c0da5886dad5157560d7389983de6d1/oort-cloud-1.13.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-arcsecond
+Requires: python3-astropy
+Requires: python3-flask
+Requires: python3-peewee
+Requires: python3-watchdog
+Requires: python3-supervisor
+Requires: python3-dateparser
+Requires: python3-dotenv
+
+%description
+[![Upload Python Package to Pypi](https://github.com/arcsecond-io/oort/actions/workflows/pythonpublish.yml/badge.svg)](https://github.com/arcsecond-io/oort/actions/workflows/pythonpublish.yml) [![Run Tests and Linting](https://github.com/arcsecond-io/oort/actions/workflows/pythonpackage.yml/badge.svg)](https://github.com/arcsecond-io/oort/actions/workflows/pythonpackage.yml) [![Deploy Docs](https://github.com/arcsecond-io/oort/actions/workflows/docsdeploy.yml/badge.svg)](https://github.com/arcsecond-io/oort/actions/workflows/docsdeploy.yml) [![Downloads](http://pepy.tech/badge/oort-cloud)](http://pepy.tech/project/oort-cloud)
+
+# Oort-Cloud for Arcsecond
+
+Oort-Cloud is the open-source super-easy-to-use tool for automatically and
+continuously uploading to [Arcsecond.io](https://www.arcsecond.io) files
+that are inside a folder.
+
+[Arcsecond.io](https://www.arcsecond.io) is a comprehensive cloud platform
+for astronomical observations, for individual astronomers, collaborations and
+observatories.
+
+## Usage
+
+Use pip (see [this page](https://pip.pypa.io/en/stable/installing/) on how to install pip, if you haven't done so):
+
+```bash
+$ pip install oort-cloud
+```
+
+Install for the user only (non-root):
+
+```bash
+$ pip install oort-cloud --user
+```
+
+Upgrade oort-cloud:
+
+```bash
+$ pip install oort-cloud --upgrade
+```
+
+Almost no-step-3 usage (the first one is to login to Arcsecond.io if not yet done):
+
+```bash
+oort login
+oort restart
+oort watch [OPTIONS] folder1 folder2 ...
+```
+
+See [detailed documentation](https://arcsecond-io.github.io/oort/) for a complete
+description of all options and capabilities, with screenshots.
+
+
+%package -n python3-oort-cloud
+Summary: Oort utility to upload all your files in Arcsecond.io's cloud storage.
+Provides: python-oort-cloud
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-oort-cloud
+[![Upload Python Package to Pypi](https://github.com/arcsecond-io/oort/actions/workflows/pythonpublish.yml/badge.svg)](https://github.com/arcsecond-io/oort/actions/workflows/pythonpublish.yml) [![Run Tests and Linting](https://github.com/arcsecond-io/oort/actions/workflows/pythonpackage.yml/badge.svg)](https://github.com/arcsecond-io/oort/actions/workflows/pythonpackage.yml) [![Deploy Docs](https://github.com/arcsecond-io/oort/actions/workflows/docsdeploy.yml/badge.svg)](https://github.com/arcsecond-io/oort/actions/workflows/docsdeploy.yml) [![Downloads](http://pepy.tech/badge/oort-cloud)](http://pepy.tech/project/oort-cloud)
+
+# Oort-Cloud for Arcsecond
+
+Oort-Cloud is the open-source super-easy-to-use tool for automatically and
+continuously uploading to [Arcsecond.io](https://www.arcsecond.io) files
+that are inside a folder.
+
+[Arcsecond.io](https://www.arcsecond.io) is a comprehensive cloud platform
+for astronomical observations, for individual astronomers, collaborations and
+observatories.
+
+## Usage
+
+Use pip (see [this page](https://pip.pypa.io/en/stable/installing/) on how to install pip, if you haven't done so):
+
+```bash
+$ pip install oort-cloud
+```
+
+Install for the user only (non-root):
+
+```bash
+$ pip install oort-cloud --user
+```
+
+Upgrade oort-cloud:
+
+```bash
+$ pip install oort-cloud --upgrade
+```
+
+Almost no-step-3 usage (the first one is to login to Arcsecond.io if not yet done):
+
+```bash
+oort login
+oort restart
+oort watch [OPTIONS] folder1 folder2 ...
+```
+
+See [detailed documentation](https://arcsecond-io.github.io/oort/) for a complete
+description of all options and capabilities, with screenshots.
+
+
+%package help
+Summary: Development documents and examples for oort-cloud
+Provides: python3-oort-cloud-doc
+%description help
+[![Upload Python Package to Pypi](https://github.com/arcsecond-io/oort/actions/workflows/pythonpublish.yml/badge.svg)](https://github.com/arcsecond-io/oort/actions/workflows/pythonpublish.yml) [![Run Tests and Linting](https://github.com/arcsecond-io/oort/actions/workflows/pythonpackage.yml/badge.svg)](https://github.com/arcsecond-io/oort/actions/workflows/pythonpackage.yml) [![Deploy Docs](https://github.com/arcsecond-io/oort/actions/workflows/docsdeploy.yml/badge.svg)](https://github.com/arcsecond-io/oort/actions/workflows/docsdeploy.yml) [![Downloads](http://pepy.tech/badge/oort-cloud)](http://pepy.tech/project/oort-cloud)
+
+# Oort-Cloud for Arcsecond
+
+Oort-Cloud is the open-source super-easy-to-use tool for automatically and
+continuously uploading to [Arcsecond.io](https://www.arcsecond.io) files
+that are inside a folder.
+
+[Arcsecond.io](https://www.arcsecond.io) is a comprehensive cloud platform
+for astronomical observations, for individual astronomers, collaborations and
+observatories.
+
+## Usage
+
+Use pip (see [this page](https://pip.pypa.io/en/stable/installing/) on how to install pip, if you haven't done so):
+
+```bash
+$ pip install oort-cloud
+```
+
+Install for the user only (non-root):
+
+```bash
+$ pip install oort-cloud --user
+```
+
+Upgrade oort-cloud:
+
+```bash
+$ pip install oort-cloud --upgrade
+```
+
+Almost no-step-3 usage (the first one is to login to Arcsecond.io if not yet done):
+
+```bash
+oort login
+oort restart
+oort watch [OPTIONS] folder1 folder2 ...
+```
+
+See [detailed documentation](https://arcsecond-io.github.io/oort/) for a complete
+description of all options and capabilities, with screenshots.
+
+
+%prep
+%autosetup -n oort-cloud-1.13.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-oort-cloud -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 1.13.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..34a9e0e
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+95ea5aaeafc40ee85cf94423fea46b46 oort-cloud-1.13.0.tar.gz