summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 10:40:28 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 10:40:28 +0000
commitbdefbdd6b4bf4bb6912584c617ddcd3562e176a9 (patch)
treee58d1bceea481f94553cf84e58564305a8a56424
parent7fc19b202d5f70c5ffb909bca15f5096d73a5460 (diff)
automatic import of python-elastic-enterprise-searchopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-elastic-enterprise-search.spec173
-rw-r--r--sources1
3 files changed, 175 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..dbdb054 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/elastic-enterprise-search-8.4.0.tar.gz
diff --git a/python-elastic-enterprise-search.spec b/python-elastic-enterprise-search.spec
new file mode 100644
index 0000000..ecc0acc
--- /dev/null
+++ b/python-elastic-enterprise-search.spec
@@ -0,0 +1,173 @@
+%global _empty_manifest_terminate_build 0
+Name: python-elastic-enterprise-search
+Version: 8.4.0
+Release: 1
+Summary: Official Python client for Elastic Enterprise Search, App Search, and Workplace Search
+License: Apache Software License
+URL: https://github.com/elastic/enterprise-search-python
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/2c/02/a74cd0759dbc553b835adac21dd0477d8b452f6e1f4a8587d5c95008c53b/elastic-enterprise-search-8.4.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-elastic-transport
+Requires: python3-PyJWT
+Requires: python3-dateutil
+Requires: python3-six
+Requires: python3-pytest
+Requires: python3-pytest-asyncio
+Requires: python3-pytest-cov
+Requires: python3-pytest-mock
+Requires: python3-pytest-vcr
+Requires: python3-pytest-freezegun
+Requires: python3-mock
+Requires: python3-requests
+Requires: python3-aiohttp
+Requires: python3-requests
+
+%description
+
+Official Python client for Elastic Enterprise Search, App Search, and Workplace Search
+
+## Installation
+
+The package can be installed from [PyPI](https://pypi.org/project/elastic-enterprise-search):
+
+```bash
+$ python -m pip install elastic-enterprise-search
+```
+
+The version follows the Elastic Stack version so `7.11` is compatible
+with Enterprise Search released in Elastic Stack 7.11.
+
+## Documentation
+
+[See the documentation](https://www.elastic.co/guide/en/enterprise-search-clients/python) for how to get started,
+compatibility info, configuring, and an API reference.
+
+## Contributing
+
+If you'd like to make a contribution to `enterprise-search-python` we
+provide [contributing documentation](https://github.com/elastic/enterprise-search-python/tree/main/CONTRIBUTING.md)
+to ensure your first contribution goes smoothly.
+
+## License
+
+`enterprise-search-python` is available under the Apache-2.0 license.
+For more details see [LICENSE](https://github.com/elastic/enterprise-search-python/blob/main/LICENSE).
+
+
+%package -n python3-elastic-enterprise-search
+Summary: Official Python client for Elastic Enterprise Search, App Search, and Workplace Search
+Provides: python-elastic-enterprise-search
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-elastic-enterprise-search
+
+Official Python client for Elastic Enterprise Search, App Search, and Workplace Search
+
+## Installation
+
+The package can be installed from [PyPI](https://pypi.org/project/elastic-enterprise-search):
+
+```bash
+$ python -m pip install elastic-enterprise-search
+```
+
+The version follows the Elastic Stack version so `7.11` is compatible
+with Enterprise Search released in Elastic Stack 7.11.
+
+## Documentation
+
+[See the documentation](https://www.elastic.co/guide/en/enterprise-search-clients/python) for how to get started,
+compatibility info, configuring, and an API reference.
+
+## Contributing
+
+If you'd like to make a contribution to `enterprise-search-python` we
+provide [contributing documentation](https://github.com/elastic/enterprise-search-python/tree/main/CONTRIBUTING.md)
+to ensure your first contribution goes smoothly.
+
+## License
+
+`enterprise-search-python` is available under the Apache-2.0 license.
+For more details see [LICENSE](https://github.com/elastic/enterprise-search-python/blob/main/LICENSE).
+
+
+%package help
+Summary: Development documents and examples for elastic-enterprise-search
+Provides: python3-elastic-enterprise-search-doc
+%description help
+
+Official Python client for Elastic Enterprise Search, App Search, and Workplace Search
+
+## Installation
+
+The package can be installed from [PyPI](https://pypi.org/project/elastic-enterprise-search):
+
+```bash
+$ python -m pip install elastic-enterprise-search
+```
+
+The version follows the Elastic Stack version so `7.11` is compatible
+with Enterprise Search released in Elastic Stack 7.11.
+
+## Documentation
+
+[See the documentation](https://www.elastic.co/guide/en/enterprise-search-clients/python) for how to get started,
+compatibility info, configuring, and an API reference.
+
+## Contributing
+
+If you'd like to make a contribution to `enterprise-search-python` we
+provide [contributing documentation](https://github.com/elastic/enterprise-search-python/tree/main/CONTRIBUTING.md)
+to ensure your first contribution goes smoothly.
+
+## License
+
+`enterprise-search-python` is available under the Apache-2.0 license.
+For more details see [LICENSE](https://github.com/elastic/enterprise-search-python/blob/main/LICENSE).
+
+
+%prep
+%autosetup -n elastic-enterprise-search-8.4.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-elastic-enterprise-search -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 8.4.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..38a6b93
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+b07c8a50a2c396623a2cc1d1d3ad8abf elastic-enterprise-search-8.4.0.tar.gz