[Python-modules-commits] [python-aiosmtpd] 03/03: Bumping to 1.1-1

Pierre-Elliott Bécue peb-guest at moszumanska.debian.org
Thu Jul 6 21:06:58 UTC 2017


This is an automated email from the git hooks/post-receive script.

peb-guest pushed a commit to branch master
in repository python-aiosmtpd.

commit ac4a9a4090253e32c1589a8c1b416b53ec8c5fcc
Author: Pierre-Elliott Bécue <becue at crans.org>
Date:   Thu Jul 6 23:06:47 2017 +0200

    Bumping to 1.1-1
    
      * New upstream release
        - Drop support for Python 3.4.
        - As per RFC 5321, §4.1.4, multiple HELO / EHLO commands in the
          same session are semantically equivalent to RSET. (Closes #78)
        - As per RFC 5321, $4.1.1.9, NOOP takes an optional argument,
          which is ignored. API BREAK If you have a handler that implements
          handle_NOOP(), it previously took zero arguments but now requires
          a single argument. (Closes #107)
        - The command line options --version / -v has been added to print
          the package’s current version number. (Closes #111)
        - General improvements in the Controller class. (Closes #104)
        - When aiosmtpd handles a STARTTLS it must arrange for the
          original transport to be closed when the wrapped transport is
          closed. This fixes a hidden exception which occurs when an EOF is
          received on the original tranport after the connection is
          lost. (Closes #83)
        - Widen the catch of ConnectionResetError and CancelledError to
          also catch such errors from handler methods. (Closes #110)
        - Added a manpage for the aiosmtpd command line script. (Closes #116)
        - Added much better support for the HELP. There’s a new decorator
          called @syntax() which you can use in derived classes to decorate
          smtp_*() methods.  These then show up in HELP responses. This also
          fixes HELP responses for the LMTP subclass. (Closes #113)
        - The Controller class now takes an optional keyword argument
          ssl_context which is passed directly to the asyncio
          create_server() call.
      * Homepage change
      * Copyright fixes
---
 debian/changelog                   |  33 +++++++++
 debian/contrib/manpages/aiosmtpd.1 | 140 ++++++++++++++++++++++---------------
 debian/control                     |   2 +-
 debian/copyright                   |   9 ++-
 4 files changed, 123 insertions(+), 61 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 5516b96..a5a9415 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,36 @@
+python-aiosmtpd (1.1-1) unstable; urgency=low
+
+  * New upstream release
+    - Drop support for Python 3.4.
+    - As per RFC 5321, §4.1.4, multiple HELO / EHLO commands in the
+      same session are semantically equivalent to RSET. (Closes #78)
+    - As per RFC 5321, $4.1.1.9, NOOP takes an optional argument,
+      which is ignored. API BREAK If you have a handler that implements
+      handle_NOOP(), it previously took zero arguments but now requires
+      a single argument. (Closes #107)
+    - The command line options --version / -v has been added to print
+      the package’s current version number. (Closes #111)
+    - General improvements in the Controller class. (Closes #104)
+    - When aiosmtpd handles a STARTTLS it must arrange for the
+      original transport to be closed when the wrapped transport is
+      closed. This fixes a hidden exception which occurs when an EOF is
+      received on the original tranport after the connection is
+      lost. (Closes #83)
+    - Widen the catch of ConnectionResetError and CancelledError to
+      also catch such errors from handler methods. (Closes #110)
+    - Added a manpage for the aiosmtpd command line script. (Closes #116)
+    - Added much better support for the HELP. There’s a new decorator
+      called @syntax() which you can use in derived classes to decorate
+      smtp_*() methods.  These then show up in HELP responses. This also
+      fixes HELP responses for the LMTP subclass. (Closes #113)
+    - The Controller class now takes an optional keyword argument
+      ssl_context which is passed directly to the asyncio
+      create_server() call.
+  * Homepage change
+  * Copyright fixes
+
+ -- Pierre-Elliott Bécue <becue at crans.org>  Thu, 06 Jul 2017 22:58:33 +0200
+
 python-aiosmtpd (1.0-1) unstable; urgency=low
 
   * Initial release (Closes: #866009)
diff --git a/debian/contrib/manpages/aiosmtpd.1 b/debian/contrib/manpages/aiosmtpd.1
index b9f9fdc..12c68d9 100644
--- a/debian/contrib/manpages/aiosmtpd.1
+++ b/debian/contrib/manpages/aiosmtpd.1
@@ -1,61 +1,87 @@
-.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.47.4.
-.TH AIOSMTPD "1" "June 2017" "aiosmtpd 1.0" "User Commands"
+.\" Man page generated from reStructuredText.
+.
+.TH AIOSMTPD 1 "2017-07-01" "1.1" ""
 .SH NAME
-aiosmtpd \- An asyncio RFC 5321 SMTP server with extensions.
+aiosmtpd \- Provide a Simple Mail Transfer Procotol (SMTP) server
+.
+.nr rst2man-indent-level 0
+.
+.de1 rstReportMargin
+\\$1 \\n[an-margin]
+level \\n[rst2man-indent-level]
+level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
+-
+\\n[rst2man-indent0]
+\\n[rst2man-indent1]
+\\n[rst2man-indent2]
+..
+.de1 INDENT
+.\" .rstReportMargin pre:
+. RS \\$1
+. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
+. nr rst2man-indent-level +1
+.\" .rstReportMargin post:
+..
+.de UNINDENT
+. RE
+.\" indent \\n[an-margin]
+.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.nr rst2man-indent-level -1
+.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
+..
+.SH SYNOPSIS
+.sp
+aiosmtpd [options]
 .SH DESCRIPTION
-usage: \fI\,/usr/bin/aiosmtpd\/\fP [\-h] [\-n] [\-c CLASSPATH] [\-s SIZE] [\-u] [\-d]
-.TP
-[\-l [HOST:PORT]]
-[CLASSARGS [CLASSARGS ...]]
-.PP
-An RFC 5321 SMTP server with extensions.
-.SS "positional arguments:"
-.TP
-CLASSARGS
-Additional arguments passed to the handler CLASS.
-.SS "optional arguments:"
-.TP
-\fB\-h\fR, \fB\-\-help\fR
-show this help message and exit
-.TP
-\fB\-n\fR, \fB\-\-nosetuid\fR
-This program generally tries to setuid `nobody',
-unless this flag is set. The setuid call will fail if
-this program is not run as root (in which case, use
-this flag).
-.TP
-\fB\-c\fR CLASSPATH, \fB\-\-class\fR CLASSPATH
-Use the given class, as a Python dotted import path,
-as the handler class for SMTP events. This class can
-process received messages and do other actions during
-the SMTP dialog. Uses a debugging handler by default.
-.TP
-\fB\-s\fR SIZE, \fB\-\-size\fR SIZE
-Restrict the total size of the incoming message to
-SIZE number of bytes via the RFC 1870 SIZE extension.
-Defaults to 33554432 bytes.
-.TP
-\fB\-u\fR, \fB\-\-smtputf8\fR
-Enable the SMTPUTF8 extension and behave as an RFC
-6531 SMTP proxy.
-.TP
-\fB\-d\fR, \fB\-\-debug\fR
+.sp
+This program provides an RFC 5321 compliant SMTP server that supports
+customizable extensions.
+.SH OPTIONS
+.INDENT 0.0
+.TP
+.B \-h\fP,\fB  \-\-help
+Show this help message and exit
+.TP
+.B \-v\fP,\fB  \-\-version
+Show program\(aqs version number and exit.
+.TP
+.B \-n\fP,\fB  \-\-nosetuid
+This program generally tries to setuid \fBnobody\fP, unless this flag is
+set.  The setuid call will fail if this program is not run as root (in
+which case, use this flag).
+.TP
+.BI \-c \ CLASSPATH\fP,\fB \ \-\-class \ CLASSPATH
+Use the given class (as a Python dotted import path) as the handler class
+for SMTP events.  This class can process received messages and do other
+actions during the SMTP dialog.  If not give, this uses a debugging
+handler by default.
+.sp
+When given all remaining positional arguments are passed as arguments to
+the class\(aqs \fB at classmethod from_cli()\fP method, which should do any
+appropriate type conversion, and then return an instance of the handler
+class.
+.TP
+.BI \-s \ SIZE\fP,\fB \ \-\-size \ SIZE
+Restrict the total size of the incoming message to SIZE number of bytes
+via the RFC 1870 SIZE extension.  Defaults to 33554432 bytes.
+.TP
+.B \-u\fP,\fB  \-\-smtputf8
+Enable the SMTPUTF8 extension and behave as an RFC 6531 SMTP proxy.
+.TP
+.B \-d\fP,\fB  \-\-debug
 Increase debugging output.
+.UNINDENT
+.INDENT 0.0
 .TP
-\fB\-l\fR [HOST:PORT], \fB\-\-listen\fR [HOST:PORT]
-Optional host and port to listen on. If the PORT part
-is not given, then port 8025 is used. If only :PORT is
-given, then localhost is used for the hostname. If
-neither are given, localhost:8025 is used.
-.SH "SEE ALSO"
-The full documentation for
-.B aiosmtpd
-is maintained as a Texinfo manual.  If the
-.B info
-and
-.B aiosmtpd
-programs are properly installed at your site, the command
-.IP
-.B info aiosmtpd
-.PP
-should give you access to the complete manual.
+.B \-l [HOST:PORT], \-\-listen [HOST:PORT]
+Optional host and port to listen on. If the PORT part is not given, then
+port 8025 is used. If only :PORT is given, then localhost is used for the
+hostname. If neither are given, localhost:8025 is used.
+.UNINDENT
+.SH AUTHOR
+The aiosmtpd developers
+.SH COPYRIGHT
+2015-2017 The aiosmtpd developrs
+.\" Generated by docutils manpage writer.
+.
diff --git a/debian/control b/debian/control
index 4f152f9..9fc9336 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,7 @@ Build-Depends: debhelper (>= 9),
                python3-sphinx
 Standards-Version: 4.0.0
 Testsuite: autopkgtest-pkg-python
-Homepage: https://github.com/aio-libs/aiosmtpd
+Homepage: https://aiosmtpd.readthedocs.io
 Vcs-Browser: https://anonscm.debian.org/git/python-modules/packages/python-aiosmtpd.git
 Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-aiosmtpd.git
 X-Python3-Version: >= 3.5
diff --git a/debian/copyright b/debian/copyright
index 36e6df0..75bb0f2 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -4,13 +4,13 @@ Source: https://github.com/aio-libs/aiosmtpd
 
 Files: *
 Copyright: Barry Warsaw <barry at python.org>, Eric V. Smith, Andrew Kuchling, Jason Coombs
-License: Apache
+License: Apache-2.0
 
 Files: debian/*
 Copyright: 2017 Pierre-Elliott Bécue <becue at crans.org>
-License: Apache
+License: Apache-2.0
 
-License: Apache
+License: Apache-2.0
  Licensed under the Apache License, Version 2.0 (the "License"); you may not
  use this file except in compliance with the License.  You may obtain a copy of
  the License at
@@ -22,3 +22,6 @@ License: Apache
  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
  License for the specific language governing permissions and limitations under
  the License.
+ .
+ On Debian systems, the full text of the Apache License version 2.0 can be
+ found in the file `/usr/share/common-licenses/Apache-2.0'.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-aiosmtpd.git



More information about the Python-modules-commits mailing list