From 1953729d331bc2568372f9994cde9086bef073b3 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 10 Apr 2023 19:24:23 +0000 Subject: automatic import of python-libhoney --- python-libhoney.spec | 167 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 167 insertions(+) create mode 100644 python-libhoney.spec (limited to 'python-libhoney.spec') 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` 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` 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` 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 - 2.3.0-1 +- Package Spec generated -- cgit v1.2.3