diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-10 10:16:17 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-10 10:16:17 +0000 |
| commit | 1db9c0fd3a84f1acdf202b27d4fea91f22882ac4 (patch) | |
| tree | 72d84a14a199989bf51e38435345988e7722d8f6 | |
| parent | bb7daac43f902aeb4319a6f9e1c31d7f470c558f (diff) | |
automatic import of python-opensearch-py
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-opensearch-py.spec | 285 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 287 insertions, 0 deletions
@@ -0,0 +1 @@ +/opensearch-py-2.2.0.tar.gz diff --git a/python-opensearch-py.spec b/python-opensearch-py.spec new file mode 100644 index 0000000..0396368 --- /dev/null +++ b/python-opensearch-py.spec @@ -0,0 +1,285 @@ +%global _empty_manifest_terminate_build 0 +Name: python-opensearch-py +Version: 2.2.0 +Release: 1 +Summary: Python client for OpenSearch +License: Apache-2.0 +URL: https://github.com/opensearch-project/opensearch-py +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/1b/80/1b89585c839c7e50a5ccd56392b734ace9da0607a062bfa5d5bdd3212cf6/opensearch-py-2.2.0.tar.gz +BuildArch: noarch + +Requires: python3-urllib3 +Requires: python3-requests +Requires: python3-six +Requires: python3-dateutil +Requires: python3-certifi +Requires: python3-ipaddress +Requires: python3-aiohttp +Requires: python3-requests +Requires: python3-coverage +Requires: python3-mock +Requires: python3-pyyaml +Requires: python3-pytest +Requires: python3-pytest-cov +Requires: python3-pytz +Requires: python3-pytest-mock +Requires: python3-sphinx +Requires: python3-sphinx-rtd-theme +Requires: python3-myst-parser +Requires: python3-sphinx-copybutton +Requires: python3-black +Requires: python3-jinja2 +Requires: python3-botocore +Requires: python3-sphinx +Requires: python3-sphinx-rtd-theme +Requires: python3-myst-parser +Requires: python3-sphinx-copybutton +Requires: python3-requests-kerberos + +%description +[](https://github.com/opensearch-project/opensearch-py/actions/workflows/unified-release.yml) +[](https://github.com/opensearch-project/opensearch-py/actions/workflows/ci.yml) +[](https://github.com/opensearch-project/opensearch-py/actions/workflows/integration.yml) +[](https://discuss.opendistrocommunity.dev/c/clients/) + + + + +OpenSearch Python Client + +- [Welcome!](https://github.com/opensearch-project/opensearch-py#welcome) +- [User Guide](https://github.com/opensearch-project/opensearch-py#user-guide) +- [API Doc](https://opensearch-project.github.io/opensearch-py/) +- [Compatibility with OpenSearch](https://github.com/opensearch-project/opensearch-py#compatibility-with-opensearch) +- [Project Resources](https://github.com/opensearch-project/opensearch-py#project-resources) +- [Code of Conduct](https://github.com/opensearch-project/opensearch-py#code-of-conduct) +- [License](https://github.com/opensearch-project/opensearch-py#license) +- [Copyright](https://github.com/opensearch-project/opensearch-py#copyright) + +## Welcome! + +**opensearch-py** is [a community-driven, open source fork](https://aws.amazon.com/blogs/opensource/introducing-opensearch/) +of elasticsearch-py licensed under the [Apache v2.0 License](https://github.com/opensearch-project/opensearch-py/blob/main/LICENSE.txt). +For more information, see [opensearch.org](https://opensearch.org/) and the [API Doc](https://opensearch-project.github.io/opensearch-py/). + +## User Guide + +To get started with the OpenSearch Python Client, see [User Guide](https://github.com/opensearch-project/opensearch-py/blob/main/USER_GUIDE.md). + +## Compatibility with OpenSearch + +See [Compatibility](https://github.com/opensearch-project/opensearch-py/blob/main/COMPATIBILITY.md). + +## Project Resources + +* [Project Website](https://opensearch.org/) +* [Downloads](https://opensearch.org/downloads.html) +* [Documentation](https://opensearch.org/docs/latest/clients/python/) +* Need help? Try [Forums](https://discuss.opendistrocommunity.dev/) +* [Project Principles](https://opensearch.org/#principles) +* [Contributing to OpenSearch](https://github.com/opensearch-project/opensearch-py/blob/main/CONTRIBUTING.md) +* [Maintainer Responsibilities](https://github.com/opensearch-project/opensearch-py/blob/main/MAINTAINERS.md) +* [Release Management](https://github.com/opensearch-project/opensearch-py/blob/main/RELEASING.md) +* [Admin Responsibilities](https://github.com/opensearch-project/opensearch-py/blob/main/ADMINS.md) +* [Security](https://github.com/opensearch-project/opensearch-py/blob/main/SECURITY.md) + +## Code of Conduct + +This project has adopted the +[Amazon Open Source Code of Conduct](https://github.com/opensearch-project/opensearch-py/blob/main/CODE_OF_CONDUCT.md). +For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq), or contact +[opensource-codeofconduct@amazon.com](mailto:opensource-codeofconduct@amazon.com) with any additional questions or comments. + +## License + +This project is licensed under the +[Apache v2.0 License](https://github.com/opensearch-project/opensearch-py/blob/main/LICENSE.txt). + +## Copyright + +Copyright OpenSearch Contributors. See +[NOTICE](https://github.com/opensearch-project/opensearch-py/blob/main/NOTICE.txt) for details. + + +%package -n python3-opensearch-py +Summary: Python client for OpenSearch +Provides: python-opensearch-py +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-opensearch-py +[](https://github.com/opensearch-project/opensearch-py/actions/workflows/unified-release.yml) +[](https://github.com/opensearch-project/opensearch-py/actions/workflows/ci.yml) +[](https://github.com/opensearch-project/opensearch-py/actions/workflows/integration.yml) +[](https://discuss.opendistrocommunity.dev/c/clients/) + + + + +OpenSearch Python Client + +- [Welcome!](https://github.com/opensearch-project/opensearch-py#welcome) +- [User Guide](https://github.com/opensearch-project/opensearch-py#user-guide) +- [API Doc](https://opensearch-project.github.io/opensearch-py/) +- [Compatibility with OpenSearch](https://github.com/opensearch-project/opensearch-py#compatibility-with-opensearch) +- [Project Resources](https://github.com/opensearch-project/opensearch-py#project-resources) +- [Code of Conduct](https://github.com/opensearch-project/opensearch-py#code-of-conduct) +- [License](https://github.com/opensearch-project/opensearch-py#license) +- [Copyright](https://github.com/opensearch-project/opensearch-py#copyright) + +## Welcome! + +**opensearch-py** is [a community-driven, open source fork](https://aws.amazon.com/blogs/opensource/introducing-opensearch/) +of elasticsearch-py licensed under the [Apache v2.0 License](https://github.com/opensearch-project/opensearch-py/blob/main/LICENSE.txt). +For more information, see [opensearch.org](https://opensearch.org/) and the [API Doc](https://opensearch-project.github.io/opensearch-py/). + +## User Guide + +To get started with the OpenSearch Python Client, see [User Guide](https://github.com/opensearch-project/opensearch-py/blob/main/USER_GUIDE.md). + +## Compatibility with OpenSearch + +See [Compatibility](https://github.com/opensearch-project/opensearch-py/blob/main/COMPATIBILITY.md). + +## Project Resources + +* [Project Website](https://opensearch.org/) +* [Downloads](https://opensearch.org/downloads.html) +* [Documentation](https://opensearch.org/docs/latest/clients/python/) +* Need help? Try [Forums](https://discuss.opendistrocommunity.dev/) +* [Project Principles](https://opensearch.org/#principles) +* [Contributing to OpenSearch](https://github.com/opensearch-project/opensearch-py/blob/main/CONTRIBUTING.md) +* [Maintainer Responsibilities](https://github.com/opensearch-project/opensearch-py/blob/main/MAINTAINERS.md) +* [Release Management](https://github.com/opensearch-project/opensearch-py/blob/main/RELEASING.md) +* [Admin Responsibilities](https://github.com/opensearch-project/opensearch-py/blob/main/ADMINS.md) +* [Security](https://github.com/opensearch-project/opensearch-py/blob/main/SECURITY.md) + +## Code of Conduct + +This project has adopted the +[Amazon Open Source Code of Conduct](https://github.com/opensearch-project/opensearch-py/blob/main/CODE_OF_CONDUCT.md). +For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq), or contact +[opensource-codeofconduct@amazon.com](mailto:opensource-codeofconduct@amazon.com) with any additional questions or comments. + +## License + +This project is licensed under the +[Apache v2.0 License](https://github.com/opensearch-project/opensearch-py/blob/main/LICENSE.txt). + +## Copyright + +Copyright OpenSearch Contributors. See +[NOTICE](https://github.com/opensearch-project/opensearch-py/blob/main/NOTICE.txt) for details. + + +%package help +Summary: Development documents and examples for opensearch-py +Provides: python3-opensearch-py-doc +%description help +[](https://github.com/opensearch-project/opensearch-py/actions/workflows/unified-release.yml) +[](https://github.com/opensearch-project/opensearch-py/actions/workflows/ci.yml) +[](https://github.com/opensearch-project/opensearch-py/actions/workflows/integration.yml) +[](https://discuss.opendistrocommunity.dev/c/clients/) + + + + +OpenSearch Python Client + +- [Welcome!](https://github.com/opensearch-project/opensearch-py#welcome) +- [User Guide](https://github.com/opensearch-project/opensearch-py#user-guide) +- [API Doc](https://opensearch-project.github.io/opensearch-py/) +- [Compatibility with OpenSearch](https://github.com/opensearch-project/opensearch-py#compatibility-with-opensearch) +- [Project Resources](https://github.com/opensearch-project/opensearch-py#project-resources) +- [Code of Conduct](https://github.com/opensearch-project/opensearch-py#code-of-conduct) +- [License](https://github.com/opensearch-project/opensearch-py#license) +- [Copyright](https://github.com/opensearch-project/opensearch-py#copyright) + +## Welcome! + +**opensearch-py** is [a community-driven, open source fork](https://aws.amazon.com/blogs/opensource/introducing-opensearch/) +of elasticsearch-py licensed under the [Apache v2.0 License](https://github.com/opensearch-project/opensearch-py/blob/main/LICENSE.txt). +For more information, see [opensearch.org](https://opensearch.org/) and the [API Doc](https://opensearch-project.github.io/opensearch-py/). + +## User Guide + +To get started with the OpenSearch Python Client, see [User Guide](https://github.com/opensearch-project/opensearch-py/blob/main/USER_GUIDE.md). + +## Compatibility with OpenSearch + +See [Compatibility](https://github.com/opensearch-project/opensearch-py/blob/main/COMPATIBILITY.md). + +## Project Resources + +* [Project Website](https://opensearch.org/) +* [Downloads](https://opensearch.org/downloads.html) +* [Documentation](https://opensearch.org/docs/latest/clients/python/) +* Need help? Try [Forums](https://discuss.opendistrocommunity.dev/) +* [Project Principles](https://opensearch.org/#principles) +* [Contributing to OpenSearch](https://github.com/opensearch-project/opensearch-py/blob/main/CONTRIBUTING.md) +* [Maintainer Responsibilities](https://github.com/opensearch-project/opensearch-py/blob/main/MAINTAINERS.md) +* [Release Management](https://github.com/opensearch-project/opensearch-py/blob/main/RELEASING.md) +* [Admin Responsibilities](https://github.com/opensearch-project/opensearch-py/blob/main/ADMINS.md) +* [Security](https://github.com/opensearch-project/opensearch-py/blob/main/SECURITY.md) + +## Code of Conduct + +This project has adopted the +[Amazon Open Source Code of Conduct](https://github.com/opensearch-project/opensearch-py/blob/main/CODE_OF_CONDUCT.md). +For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq), or contact +[opensource-codeofconduct@amazon.com](mailto:opensource-codeofconduct@amazon.com) with any additional questions or comments. + +## License + +This project is licensed under the +[Apache v2.0 License](https://github.com/opensearch-project/opensearch-py/blob/main/LICENSE.txt). + +## Copyright + +Copyright OpenSearch Contributors. See +[NOTICE](https://github.com/opensearch-project/opensearch-py/blob/main/NOTICE.txt) for details. + + +%prep +%autosetup -n opensearch-py-2.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-opensearch-py -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 2.2.0-1 +- Package Spec generated @@ -0,0 +1 @@ +749fe4d363a80045d1e4120958f6a55c opensearch-py-2.2.0.tar.gz |
