From 2993451733402cfd7a08f5d4a0c81df09e989558 Mon Sep 17 00:00:00 2001 From: Serghei Mihai Date: Mon, 4 Jul 2016 18:28:57 +0200 Subject: [PATCH] debian: initial packaging --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 40 ++++++++++++++++++++++++++++++++++++++++ debian/rules | 11 +++++++++++ debian/source/format | 1 + debian/source/options | 1 + 6 files changed, 59 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/source/options diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..dde01a2 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +emails (0.5.5-1) unstable; urgency=low + + * source package automatically created by stdeb 0.8.5 + + -- Sergey Lavrinenko Mon, 04 Jul 2016 17:40:45 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..e6706cd --- /dev/null +++ b/debian/control @@ -0,0 +1,40 @@ +Source: emails +Maintainer: Sergey Lavrinenko +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="

Hi!
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}) + + + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..72b36b7 --- /dev/null +++ b/debian/rules @@ -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 + + + + diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/source/options b/debian/source/options new file mode 100644 index 0000000..bcc4bbb --- /dev/null +++ b/debian/source/options @@ -0,0 +1 @@ +extend-diff-ignore="\.egg-info$" \ No newline at end of file