summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-17 03:34:08 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-17 03:34:08 +0000
commita506a84b887362d6dfe0a3e38938912e509b7762 (patch)
tree9d6e0042a3acfd5259fab536f22cc4d6125cc349
parent0fa13fe8fc9b4f9b20d426eea9a4752b5d1ca1f0 (diff)
automatic import of python-repoze-debug
-rw-r--r--.gitignore1
-rw-r--r--python-repoze-debug.spec72
-rw-r--r--sources1
3 files changed, 74 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..abf5d47 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/repoze.debug-1.1.tar.gz
diff --git a/python-repoze-debug.spec b/python-repoze-debug.spec
new file mode 100644
index 0000000..832d4b3
--- /dev/null
+++ b/python-repoze-debug.spec
@@ -0,0 +1,72 @@
+%global _empty_manifest_terminate_build 0
+Name: python-repoze.debug
+Version: 1.1
+Release: 1
+Summary: Forensic debugging WSGI middleware
+License: BSD-derived (http://www.repoze.org/LICENSE.txt)
+URL: http://www.repoze.org
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/94/41/12c9883799f8045b9f8b77363e0defc547324dbf1a04537f09fd722fd91d/repoze.debug-1.1.tar.gz
+BuildArch: noarch
+
+
+%description
+Middleware for in-production forensic debugging.
+
+%package -n python3-repoze.debug
+Summary: Forensic debugging WSGI middleware
+Provides: python-repoze.debug
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-repoze.debug
+Middleware for in-production forensic debugging.
+
+%package help
+Summary: Development documents and examples for repoze.debug
+Provides: python3-repoze.debug-doc
+%description help
+Middleware for in-production forensic debugging.
+
+%prep
+%autosetup -n repoze.debug-1.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-repoze.debug -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 17 2023 Python_Bot <Python_Bot@openeuler.org> - 1.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..e83a445
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+77ce968c9b0aa5c7a1d0559422e5f943 repoze.debug-1.1.tar.gz