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

Pierre-Elliott Bécue peb-guest at moszumanska.debian.org
Mon Jul 31 11:13:24 UTC 2017


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

peb-guest pushed a commit to annotated tag debian/1.0-1
in repository python-aiosmtpd.

commit 309d635bb950744070b7fa1c202f1a014708f196
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: #999999)
---
 debian/.git-dpm                      |  8 ++++++++
 debian/changelog                     |  5 +++++
 debian/compat                        |  1 +
 debian/control                       | 24 ++++++++++++++++++++++++
 debian/copyright                     | 24 ++++++++++++++++++++++++
 debian/patches/series                |  0
 debian/patches/sphinxIgnoreDebianDir | 13 +++++++++++++
 debian/python3-aiosmtpd.doc-base     | 10 ++++++++++
 debian/python3-aiosmtpd.docs         |  1 +
 debian/rules                         | 22 ++++++++++++++++++++++
 debian/source/format                 |  1 +
 debian/source/options                |  1 +
 debian/watch                         |  3 +++
 13 files changed, 113 insertions(+)

diff --git a/debian/.git-dpm b/debian/.git-dpm
new file mode 100644
index 0000000..816deff
--- /dev/null
+++ b/debian/.git-dpm
@@ -0,0 +1,8 @@
+# see git-dpm(1) from git-dpm package
+4c00f78c7b6408429a20d2d7652c791f0131acdd
+4c00f78c7b6408429a20d2d7652c791f0131acdd
+4e6c0b28fbc6bc9891f891b697fc4a3bbd9a5082
+4e6c0b28fbc6bc9891f891b697fc4a3bbd9a5082
+python-django-gravatar2_1.4.0.orig.tar.gz
+da2a21aa6c4e43a3ce3f6d5a0d830604620b9525
+6270
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..4d13a23
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-aiosmtpd (1.0-1) unstable; urgency=low
+
+  * Initial release (Closes: #999999)
+
+ -- 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/control b/debian/control
new file mode 100644
index 0000000..65a46f7
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,24 @@
+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
+Homepage: https://github.com/aio-libs/aiosmtpd
+Vcs-Browser: https://github.com/P-EB/python-aiosmtpd
+Vcs-Git: https://github.com/P-EB/python-aiosmtpd.git -b master
+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..1b8fdb6
--- /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: 2017 AIO Libs developers
+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/patches/sphinxIgnoreDebianDir b/debian/patches/sphinxIgnoreDebianDir
new file mode 100644
index 0000000..10ca043
--- /dev/null
+++ b/debian/patches/sphinxIgnoreDebianDir
@@ -0,0 +1,13 @@
+Index: python-aiosmtpd-1.0/conf.py
+===================================================================
+--- python-aiosmtpd-1.0.orig/conf.py
++++ python-aiosmtpd-1.0/conf.py
+@@ -68,7 +68,7 @@ release = get_version('aiosmtpd/smtp.py'
+ 
+ # List of patterns, relative to source directory, that match files and
+ # directories to ignore when looking for source files.
+-exclude_patterns = ['_build', '.tox/*', '.git*']
++exclude_patterns = ['_build', '.tox/*', '.git*', 'debian', '_sources', '_static']
+ 
+ # The reST default role (used for this markup: `text`) to use for all
+ # documents.
diff --git a/debian/python3-aiosmtpd.doc-base b/debian/python3-aiosmtpd.doc-base
new file mode 100644
index 0000000..4db792b
--- /dev/null
+++ b/debian/python3-aiosmtpd.doc-base
@@ -0,0 +1,10 @@
+Document: python3-aiosmtpd
+Title: Python3 aiosmtpd Manual
+Author: AIO Libs developers
+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/rules b/debian/rules
new file mode 100755
index 0000000..0e4f5a9
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+# See debhelper(7) (uncomment to enable)
+# output every command that modifies files on the build system.
+#export DH_VERBOSE = 1
+
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/default.mk
+
+export PYBUILD_NAME=aiosmtpd
+
+# main packaging script based on dh7 syntax
+%:
+	dh $@ --with python3,sphinxdoc --buildsystem=pybuild
+
+override_dh_auto_test:
+
+
+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