diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-10 19:24:23 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-10 19:24:23 +0000 |
| commit | 1953729d331bc2568372f9994cde9086bef073b3 (patch) | |
| tree | bcc78c5b57895664037df6d5d13108465e050962 | |
| parent | 97e6a566c855745151feb18f700fae02b3fe62ae (diff) | |
automatic import of python-libhoney
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-libhoney.spec | 167 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 169 insertions, 0 deletions
@@ -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 + +[](https://github.com/honeycombio/home/blob/main/honeycomb-oss-lifecycle-and-practices.md) +[](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 + +[](https://github.com/honeycombio/home/blob/main/honeycomb-oss-lifecycle-and-practices.md) +[](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 + +[](https://github.com/honeycombio/home/blob/main/honeycomb-oss-lifecycle-and-practices.md) +[](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 @@ -0,0 +1 @@ +35d68f647c567fedabeaf7ba8d57c33a libhoney-2.3.0.tar.gz |
