summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-10 08:50:31 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-10 08:50:31 +0000
commitb0a8c12fbe81e0a25f9509bfb18b7aadb08be0ab (patch)
treeedd302f9ec741a9eca8c9a94ca1b90eef984360e
parent3be1f914364223a659ca5e62793657715d4a2a71 (diff)
automatic import of python-google-cloud-pubsub
-rw-r--r--.gitignore1
-rw-r--r--python-google-cloud-pubsub.spec119
-rw-r--r--sources1
3 files changed, 121 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..00e3c81 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/google-cloud-pubsub-2.16.0.tar.gz
diff --git a/python-google-cloud-pubsub.spec b/python-google-cloud-pubsub.spec
new file mode 100644
index 0000000..977788a
--- /dev/null
+++ b/python-google-cloud-pubsub.spec
@@ -0,0 +1,119 @@
+%global _empty_manifest_terminate_build 0
+Name: python-google-cloud-pubsub
+Version: 2.16.0
+Release: 1
+Summary: Google Cloud Pub/Sub API client library
+License: Apache 2.0
+URL: https://github.com/googleapis/python-pubsub
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/09/b6/e8e1d72c5deaf7fac998816bdde56aef01bb6dccc5f180c5e263a0e75e11/google-cloud-pubsub-2.16.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-grpcio
+Requires: python3-google-api-core[grpc]
+Requires: python3-proto-plus
+Requires: python3-protobuf
+Requires: python3-grpc-google-iam-v1
+Requires: python3-grpcio-status
+Requires: python3-proto-plus
+Requires: python3-libcst
+
+%description
+|GA| |pypi| |versions|
+`Google Cloud Pub / Sub`_ is a fully-managed real-time messaging service that
+allows you to send and receive messages between independent applications. You
+can leverage Cloud Pub/Sub’s flexibility to decouple systems and components
+hosted on Google Cloud Platform or elsewhere on the Internet. By building on
+the same technology Google uses, Cloud Pub / Sub is designed to provide “at
+least once” delivery at low latency with on-demand scalability to 1 million
+messages per second (and beyond).
+Publisher applications can send messages to a ``topic`` and other applications
+can subscribe to that topic to receive the messages. By decoupling senders and
+receivers, Google Cloud Pub/Sub allows developers to communicate between
+independently written applications.
+- `Product Documentation`_
+- `Client Library Documentation`_
+
+%package -n python3-google-cloud-pubsub
+Summary: Google Cloud Pub/Sub API client library
+Provides: python-google-cloud-pubsub
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-google-cloud-pubsub
+|GA| |pypi| |versions|
+`Google Cloud Pub / Sub`_ is a fully-managed real-time messaging service that
+allows you to send and receive messages between independent applications. You
+can leverage Cloud Pub/Sub’s flexibility to decouple systems and components
+hosted on Google Cloud Platform or elsewhere on the Internet. By building on
+the same technology Google uses, Cloud Pub / Sub is designed to provide “at
+least once” delivery at low latency with on-demand scalability to 1 million
+messages per second (and beyond).
+Publisher applications can send messages to a ``topic`` and other applications
+can subscribe to that topic to receive the messages. By decoupling senders and
+receivers, Google Cloud Pub/Sub allows developers to communicate between
+independently written applications.
+- `Product Documentation`_
+- `Client Library Documentation`_
+
+%package help
+Summary: Development documents and examples for google-cloud-pubsub
+Provides: python3-google-cloud-pubsub-doc
+%description help
+|GA| |pypi| |versions|
+`Google Cloud Pub / Sub`_ is a fully-managed real-time messaging service that
+allows you to send and receive messages between independent applications. You
+can leverage Cloud Pub/Sub’s flexibility to decouple systems and components
+hosted on Google Cloud Platform or elsewhere on the Internet. By building on
+the same technology Google uses, Cloud Pub / Sub is designed to provide “at
+least once” delivery at low latency with on-demand scalability to 1 million
+messages per second (and beyond).
+Publisher applications can send messages to a ``topic`` and other applications
+can subscribe to that topic to receive the messages. By decoupling senders and
+receivers, Google Cloud Pub/Sub allows developers to communicate between
+independently written applications.
+- `Product Documentation`_
+- `Client Library Documentation`_
+
+%prep
+%autosetup -n google-cloud-pubsub-2.16.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-google-cloud-pubsub -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 2.16.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..3547ddc
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+2d0c8bcd7a99206efa669b5dffb39dda google-cloud-pubsub-2.16.0.tar.gz