diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 08:52:25 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 08:52:25 +0000 |
commit | 91f7600d5313660418f8c094f526ad2e0ae1e941 (patch) | |
tree | 32f5cd8b98b1298138441329d067132fa4b73e71 | |
parent | 7cbe2bfe4e08cf0342ada84b0da58ba8bed95eeb (diff) |
automatic import of python-Flask-SendGridopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-flask-sendgrid.spec | 79 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 81 insertions, 0 deletions
@@ -0,0 +1 @@ +/Flask-SendGrid-0.7.1.tar.gz diff --git a/python-flask-sendgrid.spec b/python-flask-sendgrid.spec new file mode 100644 index 0000000..004a12b --- /dev/null +++ b/python-flask-sendgrid.spec @@ -0,0 +1,79 @@ +%global _empty_manifest_terminate_build 0 +Name: python-Flask-SendGrid +Version: 0.7.1 +Release: 1 +Summary: Adds SendGrid support to Flask applications +License: MIT +URL: http://github.com/frankv/flask-sendgrid +Source0: https://mirrors.aliyun.com/pypi/web/packages/07/ba/e8005aec6e1ad74f8b920aa9ce99912ed81c89c72a4b6b35f5ba98989079/Flask-SendGrid-0.7.1.tar.gz +BuildArch: noarch + +Requires: python3-SendGrid + +%description +|PyPI version| |Travis Build| |Coverage Status| +Flask plugin for sending emails with `SendGrid`_. +Provides full support for all Twilio SendGrid `Web API v3`_ endpoints, including `v3 /mail/send`_. + +%package -n python3-Flask-SendGrid +Summary: Adds SendGrid support to Flask applications +Provides: python-Flask-SendGrid +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-Flask-SendGrid +|PyPI version| |Travis Build| |Coverage Status| +Flask plugin for sending emails with `SendGrid`_. +Provides full support for all Twilio SendGrid `Web API v3`_ endpoints, including `v3 /mail/send`_. + +%package help +Summary: Development documents and examples for Flask-SendGrid +Provides: python3-Flask-SendGrid-doc +%description help +|PyPI version| |Travis Build| |Coverage Status| +Flask plugin for sending emails with `SendGrid`_. +Provides full support for all Twilio SendGrid `Web API v3`_ endpoints, including `v3 /mail/send`_. + +%prep +%autosetup -n Flask-SendGrid-0.7.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-Flask-SendGrid -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.7.1-1 +- Package Spec generated @@ -0,0 +1 @@ +7e298c2c34f45df319e3e0e7ba31ce9a Flask-SendGrid-0.7.1.tar.gz |