diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-11 04:54:18 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 04:54:18 +0000 |
commit | 429249548ca7b4718b8706b792a6646733c705f0 (patch) | |
tree | 1349e06596bfc09d9293b1ab67d304c76e94da65 | |
parent | 7975902330a09c1cba8401e6b417660aa7614214 (diff) |
automatic import of python-djrill
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-djrill.spec | 168 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 170 insertions, 0 deletions
@@ -0,0 +1 @@ +/djrill-2.1.0.tar.gz diff --git a/python-djrill.spec b/python-djrill.spec new file mode 100644 index 0000000..2bef06c --- /dev/null +++ b/python-djrill.spec @@ -0,0 +1,168 @@ +%global _empty_manifest_terminate_build 0 +Name: python-djrill +Version: 2.1.0 +Release: 1 +Summary: Mandrill transactional email for Django +License: BSD License +URL: https://github.com/brack3t/Djrill/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/9f/33/b385e7823be0dfa375444cae71be9dd1450fea31f7dbf19f734e572ff849/djrill-2.1.0.tar.gz +BuildArch: noarch + + +%description + * Github: project page, exactly as it appears here + * Docs: shared-intro section gets included in docs/index.rst + quickstart section gets included in docs/quickstart.rst + * PyPI: project page (via setup.py long_description), + with several edits to freeze it to the specific PyPI release + (see long_description_from_readme in setup.py) + You can use docutils 1.0 markup, but *not* any Sphinx additions. +Djrill integrates the `Mandrill <http://mandrill.com>`_ transactional +email service into Django. + **PROJECT STATUS: INACTIVE** + As of April, 2016, Djrill is no longer actively maintained (other + than security updates). It is likely to keep working unless/until + Mandrill changes their APIs, but Djrill will not be updated for + newer Django versions or Mandrill changes. + (`more info <https://github.com/brack3t/Djrill/issues/111>`_) + You may be interested in + `django-anymail <https://github.com/anymail/django-anymail>`_, + a Djrill fork that supports Mailgun, Postmark, SendGrid, and other + transactional ESPs (including limited support for Mandrill). +In general, Djrill "just works" with Django's built-in `django.core.mail` +package. It includes: +* Support for HTML, attachments, extra headers, and other features of + `Django's built-in email <https://docs.djangoproject.com/en/stable/topics/email/>`_ +* Mandrill-specific extensions like tags, metadata, tracking, and MailChimp templates +* Optional support for Mandrill inbound email and other webhook notifications, + via Django signals +Djrill is released under the BSD license. It is tested against Django 1.4--1.9 +(including Python 3 with Django 1.6+, and PyPy support with Django 1.5+). +Djrill uses `semantic versioning <http://semver.org/>`_. +**Resources** +* Full documentation: https://djrill.readthedocs.org/en/v2.1/ +* Package on PyPI: https://pypi.python.org/pypi/djrill +* Project on Github: https://github.com/brack3t/Djrill + +%package -n python3-djrill +Summary: Mandrill transactional email for Django +Provides: python-djrill +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-djrill + * Github: project page, exactly as it appears here + * Docs: shared-intro section gets included in docs/index.rst + quickstart section gets included in docs/quickstart.rst + * PyPI: project page (via setup.py long_description), + with several edits to freeze it to the specific PyPI release + (see long_description_from_readme in setup.py) + You can use docutils 1.0 markup, but *not* any Sphinx additions. +Djrill integrates the `Mandrill <http://mandrill.com>`_ transactional +email service into Django. + **PROJECT STATUS: INACTIVE** + As of April, 2016, Djrill is no longer actively maintained (other + than security updates). It is likely to keep working unless/until + Mandrill changes their APIs, but Djrill will not be updated for + newer Django versions or Mandrill changes. + (`more info <https://github.com/brack3t/Djrill/issues/111>`_) + You may be interested in + `django-anymail <https://github.com/anymail/django-anymail>`_, + a Djrill fork that supports Mailgun, Postmark, SendGrid, and other + transactional ESPs (including limited support for Mandrill). +In general, Djrill "just works" with Django's built-in `django.core.mail` +package. It includes: +* Support for HTML, attachments, extra headers, and other features of + `Django's built-in email <https://docs.djangoproject.com/en/stable/topics/email/>`_ +* Mandrill-specific extensions like tags, metadata, tracking, and MailChimp templates +* Optional support for Mandrill inbound email and other webhook notifications, + via Django signals +Djrill is released under the BSD license. It is tested against Django 1.4--1.9 +(including Python 3 with Django 1.6+, and PyPy support with Django 1.5+). +Djrill uses `semantic versioning <http://semver.org/>`_. +**Resources** +* Full documentation: https://djrill.readthedocs.org/en/v2.1/ +* Package on PyPI: https://pypi.python.org/pypi/djrill +* Project on Github: https://github.com/brack3t/Djrill + +%package help +Summary: Development documents and examples for djrill +Provides: python3-djrill-doc +%description help + * Github: project page, exactly as it appears here + * Docs: shared-intro section gets included in docs/index.rst + quickstart section gets included in docs/quickstart.rst + * PyPI: project page (via setup.py long_description), + with several edits to freeze it to the specific PyPI release + (see long_description_from_readme in setup.py) + You can use docutils 1.0 markup, but *not* any Sphinx additions. +Djrill integrates the `Mandrill <http://mandrill.com>`_ transactional +email service into Django. + **PROJECT STATUS: INACTIVE** + As of April, 2016, Djrill is no longer actively maintained (other + than security updates). It is likely to keep working unless/until + Mandrill changes their APIs, but Djrill will not be updated for + newer Django versions or Mandrill changes. + (`more info <https://github.com/brack3t/Djrill/issues/111>`_) + You may be interested in + `django-anymail <https://github.com/anymail/django-anymail>`_, + a Djrill fork that supports Mailgun, Postmark, SendGrid, and other + transactional ESPs (including limited support for Mandrill). +In general, Djrill "just works" with Django's built-in `django.core.mail` +package. It includes: +* Support for HTML, attachments, extra headers, and other features of + `Django's built-in email <https://docs.djangoproject.com/en/stable/topics/email/>`_ +* Mandrill-specific extensions like tags, metadata, tracking, and MailChimp templates +* Optional support for Mandrill inbound email and other webhook notifications, + via Django signals +Djrill is released under the BSD license. It is tested against Django 1.4--1.9 +(including Python 3 with Django 1.6+, and PyPy support with Django 1.5+). +Djrill uses `semantic versioning <http://semver.org/>`_. +**Resources** +* Full documentation: https://djrill.readthedocs.org/en/v2.1/ +* Package on PyPI: https://pypi.python.org/pypi/djrill +* Project on Github: https://github.com/brack3t/Djrill + +%prep +%autosetup -n djrill-2.1.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-djrill -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 2.1.0-1 +- Package Spec generated @@ -0,0 +1 @@ +3b5c0bbdc8b70c83935ed02943c11011 djrill-2.1.0.tar.gz |