diff options
Diffstat (limited to 'python-scout-apm.spec')
| -rw-r--r-- | python-scout-apm.spec | 220 |
1 files changed, 220 insertions, 0 deletions
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 + +[](https://github.com/scoutapp/scout_apm_python/actions?workflow=CI) +[](https://pypi.python.org/pypi/scout-apm) +[](https://docs.scoutapm.com/#python-agent) +[](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. + + + +## 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 + +[](https://github.com/scoutapp/scout_apm_python/actions?workflow=CI) +[](https://pypi.python.org/pypi/scout-apm) +[](https://docs.scoutapm.com/#python-agent) +[](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. + + + +## 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 + +[](https://github.com/scoutapp/scout_apm_python/actions?workflow=CI) +[](https://pypi.python.org/pypi/scout-apm) +[](https://docs.scoutapm.com/#python-agent) +[](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. + + + +## 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 <Python_Bot@openeuler.org> - 2.26.1-1 +- Package Spec generated |
