summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 11:54:37 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 11:54:37 +0000
commit931053ed41533af1a7cc74579d3236f3a6ef4208 (patch)
treef17613a94842b0143a36abb243aad1fcea1af401
parent2e50a55bee1de91518a2c496e50f4e3532d26a4e (diff)
automatic import of python-tgext-debugbaropeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-tgext-debugbar.spec96
-rw-r--r--sources1
3 files changed, 98 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..32968b4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/tgext.debugbar-0.5.0.tar.gz
diff --git a/python-tgext-debugbar.spec b/python-tgext-debugbar.spec
new file mode 100644
index 0000000..aa2277f
--- /dev/null
+++ b/python-tgext-debugbar.spec
@@ -0,0 +1,96 @@
+%global _empty_manifest_terminate_build 0
+Name: python-tgext.debugbar
+Version: 0.5.0
+Release: 1
+Summary: Provides debug toolbar for TurboGears2
+License: MIT
+URL: https://pypi.python.org/pypi/tgext.debugbar
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/db/88/8d590f05ff6e1ee66f7374323beaf3a908aea2402a8d672451e1a52d4f12/tgext.debugbar-0.5.0.tar.gz
+BuildArch: noarch
+
+
+%description
+tgext.debugbar provides a Debug Toolbar for TurboGears2 framework.
+Exposed sections are:
+* Controller and Rendering time reporting
+* Controller Profiling
+* Request Parameters, Headers, Attributes and Environ
+* SQLAlchemy Queries reporting and timing
+* Explain and Show result of performed SQLAlchemy queries
+* List mounted controllers, their path and exposed methods
+* Log Messages
+
+%package -n python3-tgext.debugbar
+Summary: Provides debug toolbar for TurboGears2
+Provides: python-tgext.debugbar
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-tgext.debugbar
+tgext.debugbar provides a Debug Toolbar for TurboGears2 framework.
+Exposed sections are:
+* Controller and Rendering time reporting
+* Controller Profiling
+* Request Parameters, Headers, Attributes and Environ
+* SQLAlchemy Queries reporting and timing
+* Explain and Show result of performed SQLAlchemy queries
+* List mounted controllers, their path and exposed methods
+* Log Messages
+
+%package help
+Summary: Development documents and examples for tgext.debugbar
+Provides: python3-tgext.debugbar-doc
+%description help
+tgext.debugbar provides a Debug Toolbar for TurboGears2 framework.
+Exposed sections are:
+* Controller and Rendering time reporting
+* Controller Profiling
+* Request Parameters, Headers, Attributes and Environ
+* SQLAlchemy Queries reporting and timing
+* Explain and Show result of performed SQLAlchemy queries
+* List mounted controllers, their path and exposed methods
+* Log Messages
+
+%prep
+%autosetup -n tgext.debugbar-0.5.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-tgext.debugbar -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..73be047
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+e58df09df441259a1fe56725686f0e9b tgext.debugbar-0.5.0.tar.gz