diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-30 17:17:17 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-30 17:17:17 +0000 |
commit | 3e954cce618f46ade2c32d31c45916e545256574 (patch) | |
tree | a200a0fa6b99ecf4e8e4360f6cb5075ca84907f4 | |
parent | 8e0123545a4fa5a437fce84d22b6f0d0ea045a7b (diff) |
automatic import of python-pyramid-translogger
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-pyramid-translogger.spec | 102 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 104 insertions, 0 deletions
@@ -0,0 +1 @@ +/pyramid_translogger-0.1.tar.gz diff --git a/python-pyramid-translogger.spec b/python-pyramid-translogger.spec new file mode 100644 index 0000000..8a298f2 --- /dev/null +++ b/python-pyramid-translogger.spec @@ -0,0 +1,102 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pyramid_translogger +Version: 0.1 +Release: 1 +Summary: access log logger tween (almost stolen from Paste.translogger) +License: UNKNOWN +URL: https://github.com/podhmo/pyramid_translogger +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/87/13/6ae5d26568808de59a06d1e43a5d50a1ba0b2e6a548e276aa6cc67d6d8f6/pyramid_translogger-0.1.tar.gz +BuildArch: noarch + + +%description +development.ini + # add pyramid_translogger + pyramid.includes = pyramid_translogger +access log is shown + serving on http://0.0.0.0:6543 + 127.0.0.1 - - [01/Nov/2014:14:21:56 +0900] "GET / HTTP/1.1" 200 - "-" "curl/7.33.0" + 127.0.0.1 - - [01/Nov/2014:14:22:07 +0900] "GET / HTTP/1.1" 200 - "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:32.0) Gecko/20100101 Firefox/32.0" + 127.0.0.1 - - [01/Nov/2014:14:22:07 +0900] "GET /static/theme.css HTTP/1.1" 200 - "http://localhost:6543/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:32.0) Gecko/20100101 Firefox/32.0" + 127.0.0.1 - - [01/Nov/2014:14:22:07 +0900] "GET /static/pyramid.png HTTP/1.1" 200 - "http://localhost:6543/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:32.0) Gecko/20100101 Firefox/32.0" + 127.0.0.1 - - [01/Nov/2014:14:22:07 +0900] "GET /_debug_toolbar/static/css/toolbar.css HTTP/1.1" 304 - "http://localhost:6543/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:32.0) Gecko/20100101 Firefox/32.0" + 127.0.0.1 - - [01/Nov/2014:14:22:07 +0900] "GET /_debug_toolbar/static/img/pdtb.png HTTP/1.1" 304 - "http://localhost:6543/_debug_toolbar/static/css/toolbar.css" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:32.0) Gecko/20100101 Firefox/32.0" + +%package -n python3-pyramid_translogger +Summary: access log logger tween (almost stolen from Paste.translogger) +Provides: python-pyramid_translogger +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-pyramid_translogger +development.ini + # add pyramid_translogger + pyramid.includes = pyramid_translogger +access log is shown + serving on http://0.0.0.0:6543 + 127.0.0.1 - - [01/Nov/2014:14:21:56 +0900] "GET / HTTP/1.1" 200 - "-" "curl/7.33.0" + 127.0.0.1 - - [01/Nov/2014:14:22:07 +0900] "GET / HTTP/1.1" 200 - "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:32.0) Gecko/20100101 Firefox/32.0" + 127.0.0.1 - - [01/Nov/2014:14:22:07 +0900] "GET /static/theme.css HTTP/1.1" 200 - "http://localhost:6543/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:32.0) Gecko/20100101 Firefox/32.0" + 127.0.0.1 - - [01/Nov/2014:14:22:07 +0900] "GET /static/pyramid.png HTTP/1.1" 200 - "http://localhost:6543/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:32.0) Gecko/20100101 Firefox/32.0" + 127.0.0.1 - - [01/Nov/2014:14:22:07 +0900] "GET /_debug_toolbar/static/css/toolbar.css HTTP/1.1" 304 - "http://localhost:6543/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:32.0) Gecko/20100101 Firefox/32.0" + 127.0.0.1 - - [01/Nov/2014:14:22:07 +0900] "GET /_debug_toolbar/static/img/pdtb.png HTTP/1.1" 304 - "http://localhost:6543/_debug_toolbar/static/css/toolbar.css" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:32.0) Gecko/20100101 Firefox/32.0" + +%package help +Summary: Development documents and examples for pyramid_translogger +Provides: python3-pyramid_translogger-doc +%description help +development.ini + # add pyramid_translogger + pyramid.includes = pyramid_translogger +access log is shown + serving on http://0.0.0.0:6543 + 127.0.0.1 - - [01/Nov/2014:14:21:56 +0900] "GET / HTTP/1.1" 200 - "-" "curl/7.33.0" + 127.0.0.1 - - [01/Nov/2014:14:22:07 +0900] "GET / HTTP/1.1" 200 - "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:32.0) Gecko/20100101 Firefox/32.0" + 127.0.0.1 - - [01/Nov/2014:14:22:07 +0900] "GET /static/theme.css HTTP/1.1" 200 - "http://localhost:6543/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:32.0) Gecko/20100101 Firefox/32.0" + 127.0.0.1 - - [01/Nov/2014:14:22:07 +0900] "GET /static/pyramid.png HTTP/1.1" 200 - "http://localhost:6543/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:32.0) Gecko/20100101 Firefox/32.0" + 127.0.0.1 - - [01/Nov/2014:14:22:07 +0900] "GET /_debug_toolbar/static/css/toolbar.css HTTP/1.1" 304 - "http://localhost:6543/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:32.0) Gecko/20100101 Firefox/32.0" + 127.0.0.1 - - [01/Nov/2014:14:22:07 +0900] "GET /_debug_toolbar/static/img/pdtb.png HTTP/1.1" 304 - "http://localhost:6543/_debug_toolbar/static/css/toolbar.css" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:32.0) Gecko/20100101 Firefox/32.0" + +%prep +%autosetup -n pyramid_translogger-0.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-pyramid_translogger -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1-1 +- Package Spec generated @@ -0,0 +1 @@ +e938119fc582e7aae8bc4c5e624b2e1a pyramid_translogger-0.1.tar.gz |