[Python-modules-commits] [python-aiosmtpd] 02/02: Import Debian changes 1.0-1

Pierre-Elliott Bécue peb-guest at moszumanska.debian.org
Fri Jun 30 14:49:55 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 f883c3ab3e09829e087a48203bd14fb80c7d7d8e
Author: Pierre-Elliott Bécue <becue at crans.org>
Date:   Mon Jun 26 14:35:00 2017 +0200

    Import Debian changes 1.0-1
    
    python-aiosmtpd (1.0-1) unstable; urgency=low
    
      * Initial release (Closes: #866009)
---
 debian/changelog                   |  5 ++++
 debian/compat                      |  1 +
 debian/contrib/manpages/aiosmtpd.1 | 61 ++++++++++++++++++++++++++++++++++++++
 debian/control                     | 25 ++++++++++++++++
 debian/copyright                   | 24 +++++++++++++++
 debian/patches/series              |  0
 debian/python3-aiosmtpd.doc-base   | 10 +++++++
 debian/python3-aiosmtpd.docs       |  1 +
 debian/python3-aiosmtpd.manpages   |  1 +
 debian/rules                       | 16 ++++++++++
 debian/source/format               |  1 +
 debian/source/options              |  1 +
 debian/watch                       |  3 ++
 13 files changed, 149 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..5516b96
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-aiosmtpd (1.0-1) unstable; urgency=low
+
+  * Initial release (Closes: #866009)
+
+ -- Pierre-Elliott Bécue <becue at crans.org>  Mon, 26 Jun 2017 14:35:00 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/contrib/manpages/aiosmtpd.1 b/debian/contrib/manpages/aiosmtpd.1
new file mode 100644
index 0000000..b9f9fdc
--- /dev/null
+++ b/debian/contrib/manpages/aiosmtpd.1
@@ -0,0 +1,61 @@
+.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.47.4.
+.TH AIOSMTPD "1" "June 2017" "aiosmtpd 1.0" "User Commands"
+.SH NAME
+aiosmtpd \- An asyncio RFC 5321 SMTP server with extensions.
+.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
+Increase debugging output.
+.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.
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..bf4e9ab
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,25 @@
+Source: python-aiosmtpd
+Section: python
+Priority: optional
+Maintainer: Pierre-Elliott Bécue <becue at crans.org>
+Build-Depends: debhelper (>= 9),
+               dh-python,
+               python3-all (>= 3.5),
+               python3-public,
+               python3-setuptools,
+               python3-sphinx
+Standards-Version: 4.0.0
+Testsuite: autopkgtest-pkg-python
+Homepage: https://github.com/aio-libs/aiosmtpd
+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
+
+Package: python3-aiosmtpd
+Architecture: all
+Depends: ${misc:Depends},
+         ${python3:Depends}
+Description: Python3 asyncio based SMTP server
+ This is a server for SMTP and related protocols, similar in utility to the
+ standard library’s smtpd.py module, but rewritten to be based on asyncio for
+ Python 3.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..36e6df0
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,24 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: aiosmtpd
+Source: https://github.com/aio-libs/aiosmtpd
+
+Files: *
+Copyright: Barry Warsaw <barry at python.org>, Eric V. Smith, Andrew Kuchling, Jason Coombs
+License: Apache
+
+Files: debian/*
+Copyright: 2017 Pierre-Elliott Bécue <becue at crans.org>
+License: Apache
+
+License: Apache
+ 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
+ .
+ http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+ License for the specific language governing permissions and limitations under
+ the License.
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e69de29
diff --git a/debian/python3-aiosmtpd.doc-base b/debian/python3-aiosmtpd.doc-base
new file mode 100644
index 0000000..d07b5cf
--- /dev/null
+++ b/debian/python3-aiosmtpd.doc-base
@@ -0,0 +1,10 @@
+Document: python3-aiosmtpd
+Title: Python3 aiosmtpd Manual
+Author: Barry Warsaw <barry at python.org>, Eric V. Smith, Andrew Kuchling, Jason Coombs
+Abstract: This manual describes how to use Python3 AIOSMTPD library and
+ binaries
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python3-aiosmtpd/html/intro.html
+Files: /usr/share/doc/python3-aiosmtpd/html/*.html
diff --git a/debian/python3-aiosmtpd.docs b/debian/python3-aiosmtpd.docs
new file mode 100644
index 0000000..aad8ecf
--- /dev/null
+++ b/debian/python3-aiosmtpd.docs
@@ -0,0 +1 @@
+debian/compiled_doc/html
diff --git a/debian/python3-aiosmtpd.manpages b/debian/python3-aiosmtpd.manpages
new file mode 100644
index 0000000..e95204f
--- /dev/null
+++ b/debian/python3-aiosmtpd.manpages
@@ -0,0 +1 @@
+debian/contrib/manpages/aiosmtpd.1
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..652f936
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+# See debhelper(7) (uncomment to enable)
+# output every command that modifies files on the build system.
+#export DH_VERBOSE = 1
+
+export PYBUILD_NAME=aiosmtpd
+
+# main packaging script based on dh7 syntax
+%:
+	dh $@ --with python3,sphinxdoc --buildsystem=pybuild
+
+override_dh_auto_install:
+	dh_auto_install
+	PYTHONPATH=. sphinx-build -N -q -E -c ./ -b html . debian/compiled_doc/temp
+	mv debian/compiled_doc/temp/aiosmtpd/docs debian/compiled_doc/html
+	rm -rf debian/compiled_doc/temp
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..b2b7b88
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+extend-diff-ignore="^[^/]+\.egg-info/"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..5845986
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/aiosmtpd/aiosmtpd-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

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