summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 04:08:53 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 04:08:53 +0000
commita0fdb880b1bf74a43ffa5b661d01027a2ea82548 (patch)
treec96c426c8b060275911fc14c4f42dc0f72b94fc5
parent06ceb90c49e61c6af7f8aa0a7e09b8152b6d1632 (diff)
automatic import of python-gears-cliopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-gears-cli.spec434
-rw-r--r--sources1
3 files changed, 436 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..19abb7c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gears-cli-1.2.0.tar.gz
diff --git a/python-gears-cli.spec b/python-gears-cli.spec
new file mode 100644
index 0000000..c11352f
--- /dev/null
+++ b/python-gears-cli.spec
@@ -0,0 +1,434 @@
+%global _empty_manifest_terminate_build 0
+Name: python-gears-cli
+Version: 1.2.0
+Release: 1
+Summary: RedisGears cli
+License: BSD-3-Clause
+URL: https://pypi.org/project/gears-cli/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/3a/d7/3825a886884ec3012525b57a6cd1313acb4022334e3a4d90bdf066dd07c7/gears-cli-1.2.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-redis
+Requires: python3-click
+
+%description
+[![license](https://img.shields.io/github/license/RedisGears/gears-cli.svg)](https://github.com/RedisGears/gears-cli)
+[![PyPI version](https://badge.fury.io/py/gears-cli.svg)](https://badge.fury.io/py/gears-cli)
+[![CircleCI](https://circleci.com/gh/RedisGears/gears-cli/tree/master.svg?style=svg)](https://circleci.com/gh/RedisGears/gears-cli/tree/master)
+[![Releases](https://img.shields.io/github/release/RedisGears/gears-cli.svg)](https://github.com/RedisGears/gears-cli/releases/latest)
+[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/RedisGears/gears-cli.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/RedisGears/gears-cli/context:python)
+ [![Known Vulnerabilities](https://snyk.io/test/github/RedisGears/gears-cli/badge.svg?targetFile=requirements.txt)](https://snyk.io/test/github/RedisGears/gears-cli?targetFile=requirements.txt)
+
+# gears-cli
+Simple cli that allows the send python code to RedisGears
+
+## Install
+```python
+pip install gears-cli
+```
+
+## Install latest code
+
+```python
+pip install git+https://github.com/RedisGears/gears-cli.git
+```
+
+## Usage
+```
+> gears-cli --help
+Usage: gears-cli [OPTIONS] COMMAND [ARGS]...
+
+Options:
+ --help Show this message and exit.
+
+Commands:
+ export-requirements Export requirements from RedisGears
+ import-requirements Import requirements to RedisGears
+ install-requirements Install give requirements
+ run Run gears function
+
+
+> gears-cli run --help
+Usage: gears-cli run [OPTIONS] FILEPATH [EXTRA_ARGS]...
+
+ Run gears function
+
+Options:
+ --host TEXT Redis host to connect to
+ --port INTEGER Redis port to connect to
+ --user TEXT Redis acl user
+ --password TEXT Redis password
+ --ssl BOOLEAN Use ssl
+ --ssl-password TEXT Passphrase for ssl key
+ --ssl-keyfile TEXT Path to ssl key file
+ --ssl-certfile TEXT Path to ssl certificate file
+ --ssl-ca-certs TEXT Path to ssl ca certificate file
+ --ssl-verify-ca BOOLEAN Whether or not to us CA to verify certs
+ --requirements TEXT Path to requirements.txt file
+ --help Show this message and exit.
+
+> gears-cli export-requirements --help
+Usage: gears-cli export-requirements [OPTIONS]
+
+ Export requirements from RedisGears
+
+Options:
+ --host TEXT Redis host to connect to
+ --port INTEGER Redis port to connect to
+ --user TEXT Redis acl user
+ --password TEXT Redis password
+ --ssl BOOLEAN Use ssl
+ --ssl-password TEXT Passphrase for ssl key
+ --ssl-keyfile TEXT Path to ssl key file
+ --ssl-certfile TEXT Path to ssl certificate file
+ --ssl-ca-certs TEXT Path to ssl ca certificate file
+ --ssl-verify-ca BOOLEAN Whether or not to us CA to verify certs
+ --save-directory TEXT Directory for exported files
+ --output-prefix TEXT Prefix for the requirement zip file
+ --registration-id TEXT Regisrations ids to extract their requirements
+ --requirement TEXT Requirement to export
+ --all Export all requirements
+ --help Show this message and exit.
+
+> gears-cli import-requirements --help
+Usage: gears-cli import-requirements [OPTIONS] [REQUIREMENTS]...
+
+ Import requirements to RedisGears
+
+Options:
+ --host TEXT Redis host to connect to
+ --port INTEGER Redis port to connect to
+ --user TEXT Redis acl user
+ --password TEXT Redis password
+ --ssl BOOLEAN Use ssl
+ --ssl-password TEXT Passphrase for ssl key
+ --ssl-keyfile TEXT Path to ssl key file
+ --ssl-certfile TEXT Path to ssl certificate file
+ --ssl-ca-certs TEXT Path to ssl ca certificate file
+ --ssl-verify-ca BOOLEAN Whether or not to us CA to verify certs
+ --requirements-path TEXT Path of requirements directory containing
+ requirements zip files, could also be a zip file
+ contains more requirements zip files
+ --all Import all requirements in zip file
+ --bulk-size INTEGER Max bulk size to send to redis in MB
+ --help Show this message and exit.
+
+> gears-cli install-requirements --help
+Usage: gears-cli install-requirements [OPTIONS] [REQUIREMENTS]...
+
+ Install give requirements
+
+Options:
+ --host TEXT Redis host to connect to
+ --port INTEGER Redis port to connect to
+ --user TEXT Redis acl user
+ --password TEXT Redis password
+ --ssl BOOLEAN Use ssl
+ --ssl-password TEXT Passphrase for ssl key
+ --ssl-keyfile TEXT Path to ssl key file
+ --ssl-certfile TEXT Path to ssl certificate file
+ --ssl-ca-certs TEXT Path to ssl ca certificate file
+ --ssl-verify-ca BOOLEAN Whether or not to us CA to verify certs
+ --requirements-file TEXT Path to requirements.txt file
+ --help Show this message and exit.
+```
+
+
+%package -n python3-gears-cli
+Summary: RedisGears cli
+Provides: python-gears-cli
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-gears-cli
+[![license](https://img.shields.io/github/license/RedisGears/gears-cli.svg)](https://github.com/RedisGears/gears-cli)
+[![PyPI version](https://badge.fury.io/py/gears-cli.svg)](https://badge.fury.io/py/gears-cli)
+[![CircleCI](https://circleci.com/gh/RedisGears/gears-cli/tree/master.svg?style=svg)](https://circleci.com/gh/RedisGears/gears-cli/tree/master)
+[![Releases](https://img.shields.io/github/release/RedisGears/gears-cli.svg)](https://github.com/RedisGears/gears-cli/releases/latest)
+[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/RedisGears/gears-cli.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/RedisGears/gears-cli/context:python)
+ [![Known Vulnerabilities](https://snyk.io/test/github/RedisGears/gears-cli/badge.svg?targetFile=requirements.txt)](https://snyk.io/test/github/RedisGears/gears-cli?targetFile=requirements.txt)
+
+# gears-cli
+Simple cli that allows the send python code to RedisGears
+
+## Install
+```python
+pip install gears-cli
+```
+
+## Install latest code
+
+```python
+pip install git+https://github.com/RedisGears/gears-cli.git
+```
+
+## Usage
+```
+> gears-cli --help
+Usage: gears-cli [OPTIONS] COMMAND [ARGS]...
+
+Options:
+ --help Show this message and exit.
+
+Commands:
+ export-requirements Export requirements from RedisGears
+ import-requirements Import requirements to RedisGears
+ install-requirements Install give requirements
+ run Run gears function
+
+
+> gears-cli run --help
+Usage: gears-cli run [OPTIONS] FILEPATH [EXTRA_ARGS]...
+
+ Run gears function
+
+Options:
+ --host TEXT Redis host to connect to
+ --port INTEGER Redis port to connect to
+ --user TEXT Redis acl user
+ --password TEXT Redis password
+ --ssl BOOLEAN Use ssl
+ --ssl-password TEXT Passphrase for ssl key
+ --ssl-keyfile TEXT Path to ssl key file
+ --ssl-certfile TEXT Path to ssl certificate file
+ --ssl-ca-certs TEXT Path to ssl ca certificate file
+ --ssl-verify-ca BOOLEAN Whether or not to us CA to verify certs
+ --requirements TEXT Path to requirements.txt file
+ --help Show this message and exit.
+
+> gears-cli export-requirements --help
+Usage: gears-cli export-requirements [OPTIONS]
+
+ Export requirements from RedisGears
+
+Options:
+ --host TEXT Redis host to connect to
+ --port INTEGER Redis port to connect to
+ --user TEXT Redis acl user
+ --password TEXT Redis password
+ --ssl BOOLEAN Use ssl
+ --ssl-password TEXT Passphrase for ssl key
+ --ssl-keyfile TEXT Path to ssl key file
+ --ssl-certfile TEXT Path to ssl certificate file
+ --ssl-ca-certs TEXT Path to ssl ca certificate file
+ --ssl-verify-ca BOOLEAN Whether or not to us CA to verify certs
+ --save-directory TEXT Directory for exported files
+ --output-prefix TEXT Prefix for the requirement zip file
+ --registration-id TEXT Regisrations ids to extract their requirements
+ --requirement TEXT Requirement to export
+ --all Export all requirements
+ --help Show this message and exit.
+
+> gears-cli import-requirements --help
+Usage: gears-cli import-requirements [OPTIONS] [REQUIREMENTS]...
+
+ Import requirements to RedisGears
+
+Options:
+ --host TEXT Redis host to connect to
+ --port INTEGER Redis port to connect to
+ --user TEXT Redis acl user
+ --password TEXT Redis password
+ --ssl BOOLEAN Use ssl
+ --ssl-password TEXT Passphrase for ssl key
+ --ssl-keyfile TEXT Path to ssl key file
+ --ssl-certfile TEXT Path to ssl certificate file
+ --ssl-ca-certs TEXT Path to ssl ca certificate file
+ --ssl-verify-ca BOOLEAN Whether or not to us CA to verify certs
+ --requirements-path TEXT Path of requirements directory containing
+ requirements zip files, could also be a zip file
+ contains more requirements zip files
+ --all Import all requirements in zip file
+ --bulk-size INTEGER Max bulk size to send to redis in MB
+ --help Show this message and exit.
+
+> gears-cli install-requirements --help
+Usage: gears-cli install-requirements [OPTIONS] [REQUIREMENTS]...
+
+ Install give requirements
+
+Options:
+ --host TEXT Redis host to connect to
+ --port INTEGER Redis port to connect to
+ --user TEXT Redis acl user
+ --password TEXT Redis password
+ --ssl BOOLEAN Use ssl
+ --ssl-password TEXT Passphrase for ssl key
+ --ssl-keyfile TEXT Path to ssl key file
+ --ssl-certfile TEXT Path to ssl certificate file
+ --ssl-ca-certs TEXT Path to ssl ca certificate file
+ --ssl-verify-ca BOOLEAN Whether or not to us CA to verify certs
+ --requirements-file TEXT Path to requirements.txt file
+ --help Show this message and exit.
+```
+
+
+%package help
+Summary: Development documents and examples for gears-cli
+Provides: python3-gears-cli-doc
+%description help
+[![license](https://img.shields.io/github/license/RedisGears/gears-cli.svg)](https://github.com/RedisGears/gears-cli)
+[![PyPI version](https://badge.fury.io/py/gears-cli.svg)](https://badge.fury.io/py/gears-cli)
+[![CircleCI](https://circleci.com/gh/RedisGears/gears-cli/tree/master.svg?style=svg)](https://circleci.com/gh/RedisGears/gears-cli/tree/master)
+[![Releases](https://img.shields.io/github/release/RedisGears/gears-cli.svg)](https://github.com/RedisGears/gears-cli/releases/latest)
+[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/RedisGears/gears-cli.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/RedisGears/gears-cli/context:python)
+ [![Known Vulnerabilities](https://snyk.io/test/github/RedisGears/gears-cli/badge.svg?targetFile=requirements.txt)](https://snyk.io/test/github/RedisGears/gears-cli?targetFile=requirements.txt)
+
+# gears-cli
+Simple cli that allows the send python code to RedisGears
+
+## Install
+```python
+pip install gears-cli
+```
+
+## Install latest code
+
+```python
+pip install git+https://github.com/RedisGears/gears-cli.git
+```
+
+## Usage
+```
+> gears-cli --help
+Usage: gears-cli [OPTIONS] COMMAND [ARGS]...
+
+Options:
+ --help Show this message and exit.
+
+Commands:
+ export-requirements Export requirements from RedisGears
+ import-requirements Import requirements to RedisGears
+ install-requirements Install give requirements
+ run Run gears function
+
+
+> gears-cli run --help
+Usage: gears-cli run [OPTIONS] FILEPATH [EXTRA_ARGS]...
+
+ Run gears function
+
+Options:
+ --host TEXT Redis host to connect to
+ --port INTEGER Redis port to connect to
+ --user TEXT Redis acl user
+ --password TEXT Redis password
+ --ssl BOOLEAN Use ssl
+ --ssl-password TEXT Passphrase for ssl key
+ --ssl-keyfile TEXT Path to ssl key file
+ --ssl-certfile TEXT Path to ssl certificate file
+ --ssl-ca-certs TEXT Path to ssl ca certificate file
+ --ssl-verify-ca BOOLEAN Whether or not to us CA to verify certs
+ --requirements TEXT Path to requirements.txt file
+ --help Show this message and exit.
+
+> gears-cli export-requirements --help
+Usage: gears-cli export-requirements [OPTIONS]
+
+ Export requirements from RedisGears
+
+Options:
+ --host TEXT Redis host to connect to
+ --port INTEGER Redis port to connect to
+ --user TEXT Redis acl user
+ --password TEXT Redis password
+ --ssl BOOLEAN Use ssl
+ --ssl-password TEXT Passphrase for ssl key
+ --ssl-keyfile TEXT Path to ssl key file
+ --ssl-certfile TEXT Path to ssl certificate file
+ --ssl-ca-certs TEXT Path to ssl ca certificate file
+ --ssl-verify-ca BOOLEAN Whether or not to us CA to verify certs
+ --save-directory TEXT Directory for exported files
+ --output-prefix TEXT Prefix for the requirement zip file
+ --registration-id TEXT Regisrations ids to extract their requirements
+ --requirement TEXT Requirement to export
+ --all Export all requirements
+ --help Show this message and exit.
+
+> gears-cli import-requirements --help
+Usage: gears-cli import-requirements [OPTIONS] [REQUIREMENTS]...
+
+ Import requirements to RedisGears
+
+Options:
+ --host TEXT Redis host to connect to
+ --port INTEGER Redis port to connect to
+ --user TEXT Redis acl user
+ --password TEXT Redis password
+ --ssl BOOLEAN Use ssl
+ --ssl-password TEXT Passphrase for ssl key
+ --ssl-keyfile TEXT Path to ssl key file
+ --ssl-certfile TEXT Path to ssl certificate file
+ --ssl-ca-certs TEXT Path to ssl ca certificate file
+ --ssl-verify-ca BOOLEAN Whether or not to us CA to verify certs
+ --requirements-path TEXT Path of requirements directory containing
+ requirements zip files, could also be a zip file
+ contains more requirements zip files
+ --all Import all requirements in zip file
+ --bulk-size INTEGER Max bulk size to send to redis in MB
+ --help Show this message and exit.
+
+> gears-cli install-requirements --help
+Usage: gears-cli install-requirements [OPTIONS] [REQUIREMENTS]...
+
+ Install give requirements
+
+Options:
+ --host TEXT Redis host to connect to
+ --port INTEGER Redis port to connect to
+ --user TEXT Redis acl user
+ --password TEXT Redis password
+ --ssl BOOLEAN Use ssl
+ --ssl-password TEXT Passphrase for ssl key
+ --ssl-keyfile TEXT Path to ssl key file
+ --ssl-certfile TEXT Path to ssl certificate file
+ --ssl-ca-certs TEXT Path to ssl ca certificate file
+ --ssl-verify-ca BOOLEAN Whether or not to us CA to verify certs
+ --requirements-file TEXT Path to requirements.txt file
+ --help Show this message and exit.
+```
+
+
+%prep
+%autosetup -n gears-cli-1.2.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-gears-cli -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..d0e679c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+d0149554a3f086bd7f44e2f640f15b9d gears-cli-1.2.0.tar.gz