diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-10 21:16:39 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-10 21:16:39 +0000 |
commit | 733b6f7f8adbe4174569675a50c6145865c93058 (patch) | |
tree | 469d62c54e0a2f5163abe13d5cd1554250373dba | |
parent | e08ec77342ca272f627312585d4b33c71db8b6c8 (diff) |
automatic import of python-honeycomb-beeline
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-honeycomb-beeline.spec | 161 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 163 insertions, 0 deletions
@@ -0,0 +1 @@ +/honeycomb_beeline-3.5.1.tar.gz diff --git a/python-honeycomb-beeline.spec b/python-honeycomb-beeline.spec new file mode 100644 index 0000000..0b6d5b2 --- /dev/null +++ b/python-honeycomb-beeline.spec @@ -0,0 +1,161 @@ +%global _empty_manifest_terminate_build 0 +Name: python-honeycomb-beeline +Version: 3.5.1 +Release: 1 +Summary: Honeycomb library for easy instrumentation +License: Apache-2.0 +URL: https://github.com/honeycombio/beeline-python +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ed/b0/31879d9c45f1b40fd752ce24034cbecd8efbc07c5665ec7adc3eae036305/honeycomb_beeline-3.5.1.tar.gz +BuildArch: noarch + +Requires: python3-libhoney +Requires: python3-wrapt + +%description +# Honeycomb Beeline for Python + +[](https://github.com/honeycombio/home/blob/main/honeycomb-oss-lifecycle-and-practices.md) +[](https://app.circleci.com/pipelines/github/honeycombio/beeline-python) + +This package makes it easy to instrument your Python web application to send useful events to [Honeycomb](https://honeycomb.io), a service for debugging your software in production. + +- [Usage and Examples](https://docs.honeycomb.io/getting-data-in/beelines/beeline-python/) +- [API Reference](https://honeycombio.github.io/beeline-python/) + +## Compatible with + +Currently, supports Django (>3.2), Flask, Bottle, and Tornado. + +Compatible with Python >3.7. + +## Updating to 3.3.0 + +Version 3.3.0 added support for Environment & Services, which changes sending behavior based on API Key. + +If you are using the [FileTransmission](https://github.com/honeycombio/libhoney-py/blob/main/libhoney/transmission.py#L448) method and setting a false API key - and still working in Classic mode - you must update the key to be 32 characters in length to keep the same behavior. + +## Contributions + +Features, bug fixes and other changes to `beeline-python` are gladly accepted. + +If you add a new test module, be sure and update `beeline.test_suite` to pick up the new tests. + +All contributions will be released under the Apache License 2.0. + + +%package -n python3-honeycomb-beeline +Summary: Honeycomb library for easy instrumentation +Provides: python-honeycomb-beeline +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-honeycomb-beeline +# Honeycomb Beeline for Python + +[](https://github.com/honeycombio/home/blob/main/honeycomb-oss-lifecycle-and-practices.md) +[](https://app.circleci.com/pipelines/github/honeycombio/beeline-python) + +This package makes it easy to instrument your Python web application to send useful events to [Honeycomb](https://honeycomb.io), a service for debugging your software in production. + +- [Usage and Examples](https://docs.honeycomb.io/getting-data-in/beelines/beeline-python/) +- [API Reference](https://honeycombio.github.io/beeline-python/) + +## Compatible with + +Currently, supports Django (>3.2), Flask, Bottle, and Tornado. + +Compatible with Python >3.7. + +## Updating to 3.3.0 + +Version 3.3.0 added support for Environment & Services, which changes sending behavior based on API Key. + +If you are using the [FileTransmission](https://github.com/honeycombio/libhoney-py/blob/main/libhoney/transmission.py#L448) method and setting a false API key - and still working in Classic mode - you must update the key to be 32 characters in length to keep the same behavior. + +## Contributions + +Features, bug fixes and other changes to `beeline-python` are gladly accepted. + +If you add a new test module, be sure and update `beeline.test_suite` to pick up the new tests. + +All contributions will be released under the Apache License 2.0. + + +%package help +Summary: Development documents and examples for honeycomb-beeline +Provides: python3-honeycomb-beeline-doc +%description help +# Honeycomb Beeline for Python + +[](https://github.com/honeycombio/home/blob/main/honeycomb-oss-lifecycle-and-practices.md) +[](https://app.circleci.com/pipelines/github/honeycombio/beeline-python) + +This package makes it easy to instrument your Python web application to send useful events to [Honeycomb](https://honeycomb.io), a service for debugging your software in production. + +- [Usage and Examples](https://docs.honeycomb.io/getting-data-in/beelines/beeline-python/) +- [API Reference](https://honeycombio.github.io/beeline-python/) + +## Compatible with + +Currently, supports Django (>3.2), Flask, Bottle, and Tornado. + +Compatible with Python >3.7. + +## Updating to 3.3.0 + +Version 3.3.0 added support for Environment & Services, which changes sending behavior based on API Key. + +If you are using the [FileTransmission](https://github.com/honeycombio/libhoney-py/blob/main/libhoney/transmission.py#L448) method and setting a false API key - and still working in Classic mode - you must update the key to be 32 characters in length to keep the same behavior. + +## Contributions + +Features, bug fixes and other changes to `beeline-python` are gladly accepted. + +If you add a new test module, be sure and update `beeline.test_suite` to pick up the new tests. + +All contributions will be released under the Apache License 2.0. + + +%prep +%autosetup -n honeycomb-beeline-3.5.1 + +%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-honeycomb-beeline -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 3.5.1-1 +- Package Spec generated @@ -0,0 +1 @@ +71c646b76e8ae784c010994fb3ac27d0 honeycomb_beeline-3.5.1.tar.gz |