debian: initial packaging
This commit is contained in:
parent
6a2e6264f4
commit
2993451733
|
@ -0,0 +1,5 @@
|
|||
emails (0.5.5-1) unstable; urgency=low
|
||||
|
||||
* source package automatically created by stdeb 0.8.5
|
||||
|
||||
-- Sergey Lavrinenko <s@lavr.me> Mon, 04 Jul 2016 17:40:45 +0200
|
|
@ -0,0 +1 @@
|
|||
7
|
|
@ -0,0 +1,40 @@
|
|||
Source: emails
|
||||
Maintainer: Sergey Lavrinenko <s@lavr.me>
|
||||
Section: python
|
||||
Priority: optional
|
||||
Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.6.6-3), debhelper (>= 7.4.3)
|
||||
Standards-Version: 3.9.1
|
||||
|
||||
|
||||
Package: python-emails
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}, ${python:Depends}
|
||||
python-cssutils,
|
||||
python-lxml,
|
||||
python-chardet,
|
||||
python-dateutil,
|
||||
python-requests
|
||||
Description: Modern python library for emails.
|
||||
python-emails
|
||||
~~~~~~~~~~~~~
|
||||
.
|
||||
Modern python library for email.
|
||||
.
|
||||
Build message:
|
||||
.
|
||||
.. code-block:: python
|
||||
.
|
||||
>>> import emails
|
||||
>>> message = emails.html(html="<p>Hi!<br>Here is your receipt...",
|
||||
subject="Your receipt No. 567098123",
|
||||
mail_from=('Some Store', 'store@somestore.com'))
|
||||
>>> message.attach(data=open('bill.pdf', 'rb'), filename='bill.pdf')
|
||||
.
|
||||
send message and get response from smtp server:
|
||||
.
|
||||
.. code-block:: python
|
||||
.
|
||||
>>> r = message.send(to='s@lavr.me', smtp={'host': 'aspmx.l.google.com', 'timeout': 5})
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
# This file was automatically generated by stdeb 0.8.5 at
|
||||
# Mon, 04 Jul 2016 17:40:45 +0200
|
||||
|
||||
%:
|
||||
dh $@ --with python2
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1 @@
|
|||
3.0 (quilt)
|
|
@ -0,0 +1 @@
|
|||
extend-diff-ignore="\.egg-info$"
|
Reference in New Issue