summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-10 19:24:23 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-10 19:24:23 +0000
commit1953729d331bc2568372f9994cde9086bef073b3 (patch)
treebcc78c5b57895664037df6d5d13108465e050962
parent97e6a566c855745151feb18f700fae02b3fe62ae (diff)
automatic import of python-libhoney
-rw-r--r--.gitignore1
-rw-r--r--python-libhoney.spec167
-rw-r--r--sources1
3 files changed, 169 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..66facdd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/libhoney-2.3.0.tar.gz
diff --git a/python-libhoney.spec b/python-libhoney.spec
new file mode 100644
index 0000000..63923c5
--- /dev/null
+++ b/python-libhoney.spec
@@ -0,0 +1,167 @@
+%global _empty_manifest_terminate_build 0
+Name: python-libhoney
+Version: 2.3.0
+Release: 1
+Summary: Python library for sending data to Honeycomb
+License: Apache-2.0
+URL: https://github.com/honeycombio/libhoney-py
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/d1/f2/975a8aa59b787251715fd678f6595a4c995e92f3ce93db5186ca6ea23a92/libhoney-2.3.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-requests
+Requires: python3-statsd
+
+%description
+# libhoney-py
+
+[![OSS Lifecycle](https://img.shields.io/osslifecycle/honeycombio/libhoney-py?color=success)](https://github.com/honeycombio/home/blob/main/honeycomb-oss-lifecycle-and-practices.md)
+[![Build Status](https://circleci.com/gh/honeycombio/libhoney-py.svg?style=svg)](https://app.circleci.com/pipelines/github/honeycombio/libhoney-py)
+
+Python library for sending events to [Honeycomb](https://honeycomb.io), a service for debugging your software in production.
+
+- [Usage and Examples](https://docs.honeycomb.io/sdk/python/)
+
+For tracing support and automatic instrumentation of Django, Flask, AWS Lambda, and other frameworks, check out our [Beeline for Python](https://github.com/honeycombio/beeline-python).
+
+## Contributions
+
+Features, bug fixes and other changes to libhoney are gladly accepted. Please
+open issues or a pull request with your change. Remember to add your name to the
+CONTRIBUTORS file!
+
+All contributions will be released under the Apache License 2.0.
+
+## Releases
+
+You may need to install the `bump2version` utility by running `pip install bump2version`.
+
+To update the version number, do
+
+```
+bump2version [major|minor|patch|release|build]
+```
+
+If you want to release the version publicly, you will need to manually create a tag `v<x.y.z>` and push it in order to
+cause CircleCI to automatically push builds to github releases and PyPI.
+
+
+%package -n python3-libhoney
+Summary: Python library for sending data to Honeycomb
+Provides: python-libhoney
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-libhoney
+# libhoney-py
+
+[![OSS Lifecycle](https://img.shields.io/osslifecycle/honeycombio/libhoney-py?color=success)](https://github.com/honeycombio/home/blob/main/honeycomb-oss-lifecycle-and-practices.md)
+[![Build Status](https://circleci.com/gh/honeycombio/libhoney-py.svg?style=svg)](https://app.circleci.com/pipelines/github/honeycombio/libhoney-py)
+
+Python library for sending events to [Honeycomb](https://honeycomb.io), a service for debugging your software in production.
+
+- [Usage and Examples](https://docs.honeycomb.io/sdk/python/)
+
+For tracing support and automatic instrumentation of Django, Flask, AWS Lambda, and other frameworks, check out our [Beeline for Python](https://github.com/honeycombio/beeline-python).
+
+## Contributions
+
+Features, bug fixes and other changes to libhoney are gladly accepted. Please
+open issues or a pull request with your change. Remember to add your name to the
+CONTRIBUTORS file!
+
+All contributions will be released under the Apache License 2.0.
+
+## Releases
+
+You may need to install the `bump2version` utility by running `pip install bump2version`.
+
+To update the version number, do
+
+```
+bump2version [major|minor|patch|release|build]
+```
+
+If you want to release the version publicly, you will need to manually create a tag `v<x.y.z>` and push it in order to
+cause CircleCI to automatically push builds to github releases and PyPI.
+
+
+%package help
+Summary: Development documents and examples for libhoney
+Provides: python3-libhoney-doc
+%description help
+# libhoney-py
+
+[![OSS Lifecycle](https://img.shields.io/osslifecycle/honeycombio/libhoney-py?color=success)](https://github.com/honeycombio/home/blob/main/honeycomb-oss-lifecycle-and-practices.md)
+[![Build Status](https://circleci.com/gh/honeycombio/libhoney-py.svg?style=svg)](https://app.circleci.com/pipelines/github/honeycombio/libhoney-py)
+
+Python library for sending events to [Honeycomb](https://honeycomb.io), a service for debugging your software in production.
+
+- [Usage and Examples](https://docs.honeycomb.io/sdk/python/)
+
+For tracing support and automatic instrumentation of Django, Flask, AWS Lambda, and other frameworks, check out our [Beeline for Python](https://github.com/honeycombio/beeline-python).
+
+## Contributions
+
+Features, bug fixes and other changes to libhoney are gladly accepted. Please
+open issues or a pull request with your change. Remember to add your name to the
+CONTRIBUTORS file!
+
+All contributions will be released under the Apache License 2.0.
+
+## Releases
+
+You may need to install the `bump2version` utility by running `pip install bump2version`.
+
+To update the version number, do
+
+```
+bump2version [major|minor|patch|release|build]
+```
+
+If you want to release the version publicly, you will need to manually create a tag `v<x.y.z>` and push it in order to
+cause CircleCI to automatically push builds to github releases and PyPI.
+
+
+%prep
+%autosetup -n libhoney-2.3.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-libhoney -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 2.3.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..2bc72e0
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+35d68f647c567fedabeaf7ba8d57c33a libhoney-2.3.0.tar.gz