summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-honeycomb-beeline.spec161
-rw-r--r--sources1
3 files changed, 163 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..d9e3862 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
+
+[![OSS Lifecycle](https://img.shields.io/osslifecycle/honeycombio/beeline-python?color=success)](https://github.com/honeycombio/home/blob/main/honeycomb-oss-lifecycle-and-practices.md)
+[![Build Status](https://circleci.com/gh/honeycombio/beeline-python.svg?style=svg)](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
+
+[![OSS Lifecycle](https://img.shields.io/osslifecycle/honeycombio/beeline-python?color=success)](https://github.com/honeycombio/home/blob/main/honeycomb-oss-lifecycle-and-practices.md)
+[![Build Status](https://circleci.com/gh/honeycombio/beeline-python.svg?style=svg)](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
+
+[![OSS Lifecycle](https://img.shields.io/osslifecycle/honeycombio/beeline-python?color=success)](https://github.com/honeycombio/home/blob/main/honeycomb-oss-lifecycle-and-practices.md)
+[![Build Status](https://circleci.com/gh/honeycombio/beeline-python.svg?style=svg)](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
diff --git a/sources b/sources
new file mode 100644
index 0000000..3785132
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+71c646b76e8ae784c010994fb3ac27d0 honeycomb_beeline-3.5.1.tar.gz