From 418686fb7413aabe7cd132ad766436984eeba424 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 10 Apr 2023 21:15:24 +0000 Subject: automatic import of python-scout-apm --- .gitignore | 1 + python-scout-apm.spec | 220 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 222 insertions(+) create mode 100644 python-scout-apm.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..1a4ebc7 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/scout_apm-2.26.1.tar.gz diff --git a/python-scout-apm.spec b/python-scout-apm.spec new file mode 100644 index 0000000..2eb9337 --- /dev/null +++ b/python-scout-apm.spec @@ -0,0 +1,220 @@ +%global _empty_manifest_terminate_build 0 +Name: python-scout-apm +Version: 2.26.1 +Release: 1 +Summary: Scout Application Performance Monitoring Agent +License: MIT +URL: https://github.com/scoutapp/scout_apm_python +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/01/1f/6a895625819680c01a178bfbcacd919953802b634815b16e5dec4aa6cabb/scout_apm-2.26.1.tar.gz +BuildArch: noarch + +Requires: python3-psutil +Requires: python3-wrapt +Requires: python3-urllib3[secure] +Requires: python3-importlib-metadata +Requires: python3-asgiref +Requires: python3-urllib3[secure] +Requires: python3-contextvars + +%description +# Scout Python APM Agent + +[![GitHub Actions](https://github.com/scoutapp/scout_apm_python/workflows/CI/badge.svg?branch=master)](https://github.com/scoutapp/scout_apm_python/actions?workflow=CI) +[![PyPI](https://img.shields.io/pypi/v/scout-apm.svg)](https://pypi.python.org/pypi/scout-apm) +[![Documentation](https://img.shields.io/badge/docs-read%20online-green.svg)](https://docs.scoutapm.com/#python-agent) +[![Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black) + +Monitor the performance of Python Django apps, Flask apps, and Celery workers with Scout's [Python APM Agent](https://www.scoutapm.com). Detailed performance metrics and transaction traces are collected once the `scout-apm` package is installed and configured. + +![screenshot](https://s3-us-west-1.amazonaws.com/scout-blog/python_monitoring_release/python_monitoring_screenshot.png) + +## Requirements + +Python 2.7 or 3.4+. + +Scout APM has integrations for the following frameworks: + +* Bottle 0.12+ +* CherryPy 18.0.0+ +* Celery 3.1+ +* Django 1.8+ +* Dramatiq 1.0+ +* Falcon 2.0+ +* Flask 0.10+ +* Huey 2.0+ +* Hug 2.5.1+ +* Nameko 2.0+ +* Pyramid 1.8+ +* RQ 1.0+ +* Starlette 0.12+ + +For other frameworks, you can use the agent's instrumentation API. + +To use Scout, you'll need to +[sign up for an account](https://scoutapm.com/users/sign_up) or use +[our Heroku Addon](https://devcenter.heroku.com/articles/scout). + +## Documentation + +For full installation instructions, including information on configuring Scout +via environment variables and troubleshooting, see our +[Python docs](https://docs.scoutapm.com/#python-agent). + +## Support + +Please email us at support@scoutapm.com or [create a GitHub +issue](https://github.com/scoutapp/scout_apm_python/issues/). + + +%package -n python3-scout-apm +Summary: Scout Application Performance Monitoring Agent +Provides: python-scout-apm +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-scout-apm +# Scout Python APM Agent + +[![GitHub Actions](https://github.com/scoutapp/scout_apm_python/workflows/CI/badge.svg?branch=master)](https://github.com/scoutapp/scout_apm_python/actions?workflow=CI) +[![PyPI](https://img.shields.io/pypi/v/scout-apm.svg)](https://pypi.python.org/pypi/scout-apm) +[![Documentation](https://img.shields.io/badge/docs-read%20online-green.svg)](https://docs.scoutapm.com/#python-agent) +[![Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black) + +Monitor the performance of Python Django apps, Flask apps, and Celery workers with Scout's [Python APM Agent](https://www.scoutapm.com). Detailed performance metrics and transaction traces are collected once the `scout-apm` package is installed and configured. + +![screenshot](https://s3-us-west-1.amazonaws.com/scout-blog/python_monitoring_release/python_monitoring_screenshot.png) + +## Requirements + +Python 2.7 or 3.4+. + +Scout APM has integrations for the following frameworks: + +* Bottle 0.12+ +* CherryPy 18.0.0+ +* Celery 3.1+ +* Django 1.8+ +* Dramatiq 1.0+ +* Falcon 2.0+ +* Flask 0.10+ +* Huey 2.0+ +* Hug 2.5.1+ +* Nameko 2.0+ +* Pyramid 1.8+ +* RQ 1.0+ +* Starlette 0.12+ + +For other frameworks, you can use the agent's instrumentation API. + +To use Scout, you'll need to +[sign up for an account](https://scoutapm.com/users/sign_up) or use +[our Heroku Addon](https://devcenter.heroku.com/articles/scout). + +## Documentation + +For full installation instructions, including information on configuring Scout +via environment variables and troubleshooting, see our +[Python docs](https://docs.scoutapm.com/#python-agent). + +## Support + +Please email us at support@scoutapm.com or [create a GitHub +issue](https://github.com/scoutapp/scout_apm_python/issues/). + + +%package help +Summary: Development documents and examples for scout-apm +Provides: python3-scout-apm-doc +%description help +# Scout Python APM Agent + +[![GitHub Actions](https://github.com/scoutapp/scout_apm_python/workflows/CI/badge.svg?branch=master)](https://github.com/scoutapp/scout_apm_python/actions?workflow=CI) +[![PyPI](https://img.shields.io/pypi/v/scout-apm.svg)](https://pypi.python.org/pypi/scout-apm) +[![Documentation](https://img.shields.io/badge/docs-read%20online-green.svg)](https://docs.scoutapm.com/#python-agent) +[![Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black) + +Monitor the performance of Python Django apps, Flask apps, and Celery workers with Scout's [Python APM Agent](https://www.scoutapm.com). Detailed performance metrics and transaction traces are collected once the `scout-apm` package is installed and configured. + +![screenshot](https://s3-us-west-1.amazonaws.com/scout-blog/python_monitoring_release/python_monitoring_screenshot.png) + +## Requirements + +Python 2.7 or 3.4+. + +Scout APM has integrations for the following frameworks: + +* Bottle 0.12+ +* CherryPy 18.0.0+ +* Celery 3.1+ +* Django 1.8+ +* Dramatiq 1.0+ +* Falcon 2.0+ +* Flask 0.10+ +* Huey 2.0+ +* Hug 2.5.1+ +* Nameko 2.0+ +* Pyramid 1.8+ +* RQ 1.0+ +* Starlette 0.12+ + +For other frameworks, you can use the agent's instrumentation API. + +To use Scout, you'll need to +[sign up for an account](https://scoutapm.com/users/sign_up) or use +[our Heroku Addon](https://devcenter.heroku.com/articles/scout). + +## Documentation + +For full installation instructions, including information on configuring Scout +via environment variables and troubleshooting, see our +[Python docs](https://docs.scoutapm.com/#python-agent). + +## Support + +Please email us at support@scoutapm.com or [create a GitHub +issue](https://github.com/scoutapp/scout_apm_python/issues/). + + +%prep +%autosetup -n scout-apm-2.26.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-scout-apm -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot - 2.26.1-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..cbfd9ea --- /dev/null +++ b/sources @@ -0,0 +1 @@ +f74b37c3d21c91af90774ae1ec0b37f8 scout_apm-2.26.1.tar.gz -- cgit v1.2.3