debian: initial packaging

This commit is contained in:
Serghei Mihai 2016-07-04 18:28:57 +02:00
parent 6a2e6264f4
commit 2993451733
6 changed files with 59 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@ -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

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
7

40
debian/control vendored Normal file
View File

@ -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})

11
debian/rules vendored Executable file
View File

@ -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

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

1
debian/source/options vendored Normal file
View File

@ -0,0 +1 @@
extend-diff-ignore="\.egg-info$"