summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-12 05:00:53 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-12 05:00:53 +0000
commitf1ed98e6b8fdf1db549b051e51714903031777fd (patch)
tree123294f081adc4e7f173e9330b2492bbd3d0656c
parentd99722ed95bd10fb78f8b62aa59659f60acb856a (diff)
automatic import of python-raven-aiohttp
-rw-r--r--.gitignore1
-rw-r--r--python-raven-aiohttp.spec80
-rw-r--r--sources1
3 files changed, 82 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..a6b89f1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/raven-aiohttp-0.7.0.zip
diff --git a/python-raven-aiohttp.spec b/python-raven-aiohttp.spec
new file mode 100644
index 0000000..c2c4bd4
--- /dev/null
+++ b/python-raven-aiohttp.spec
@@ -0,0 +1,80 @@
+%global _empty_manifest_terminate_build 0
+Name: python-raven-aiohttp
+Version: 0.7.0
+Release: 1
+Summary: An asyncio transport for raven-python
+License: BSD
+URL: https://github.com/getsentry/raven-aiohttp
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/39/12/0693844b4d7650dbaea5edf5cef0dba94a7887fe0d72f4a1b34de173a465/raven-aiohttp-0.7.0.zip
+BuildArch: noarch
+
+Requires: python3-aiohttp
+Requires: python3-raven
+Requires: python3-flake8
+Requires: python3-isort
+Requires: python3-pytest
+Requires: python3-pytest-asyncio
+Requires: python3-pytest-cov
+Requires: python3-pytest-mock
+
+%description
+
+
+%package -n python3-raven-aiohttp
+Summary: An asyncio transport for raven-python
+Provides: python-raven-aiohttp
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-raven-aiohttp
+
+
+%package help
+Summary: Development documents and examples for raven-aiohttp
+Provides: python3-raven-aiohttp-doc
+%description help
+
+
+%prep
+%autosetup -n raven-aiohttp-0.7.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-raven-aiohttp -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 0.7.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..cc86f66
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+90139d110789c61dc7afc389dc2a939e raven-aiohttp-0.7.0.zip