summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2017-04-25 17:16:57 +0000
committerfhajny <fhajny@pkgsrc.org>2017-04-25 17:16:57 +0000
commit5422d62be3163bf790b063c1e649ffacc4c4241f (patch)
tree7be7d7e4f97cd0d40e7725a5ad9161a685e751de /mail
parent11b2cb82e409a81c4226e14d21563b23790a6bf9 (diff)
downloadpkgsrc-5422d62be3163bf790b063c1e649ffacc4c4241f.tar.gz
Import aiosmtpd 1.0a5 as mail/py-aiosmtpd.
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.
Diffstat (limited to 'mail')
-rw-r--r--mail/py-aiosmtpd/ALTERNATIVES1
-rw-r--r--mail/py-aiosmtpd/DESCR3
-rw-r--r--mail/py-aiosmtpd/Makefile21
-rw-r--r--mail/py-aiosmtpd/PLIST82
-rw-r--r--mail/py-aiosmtpd/distinfo6
5 files changed, 113 insertions, 0 deletions
diff --git a/mail/py-aiosmtpd/ALTERNATIVES b/mail/py-aiosmtpd/ALTERNATIVES
new file mode 100644
index 00000000000..e726a447d65
--- /dev/null
+++ b/mail/py-aiosmtpd/ALTERNATIVES
@@ -0,0 +1 @@
+bin/smtpd @PREFIX@/bin/smtpd@PYVERSSUFFIX@
diff --git a/mail/py-aiosmtpd/DESCR b/mail/py-aiosmtpd/DESCR
new file mode 100644
index 00000000000..65024234ba4
--- /dev/null
+++ b/mail/py-aiosmtpd/DESCR
@@ -0,0 +1,3 @@
+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/mail/py-aiosmtpd/Makefile b/mail/py-aiosmtpd/Makefile
new file mode 100644
index 00000000000..c8a7d76c0d5
--- /dev/null
+++ b/mail/py-aiosmtpd/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2017/04/25 17:16:57 fhajny Exp $
+
+DISTNAME= aiosmtpd-1.0a5
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= mail
+MASTER_SITES= ${MASTER_SITE_PYPI:=a/aiosmtpd/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/aio-libs/aiosmtpd/
+COMMENT= Reimplementation of the Python stdlib smtpd.py based on asyncio
+LICENSE= apache-2.0
+
+DEPENDS+= ${PYPKGPREFIX}-atpublic-[0-9]*:../../devel/py-atpublic
+
+USE_LANGUAGES= # none
+
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && ${MV} smtpd smtpd${PYVERSSUFFIX}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/py-aiosmtpd/PLIST b/mail/py-aiosmtpd/PLIST
new file mode 100644
index 00000000000..2849245d837
--- /dev/null
+++ b/mail/py-aiosmtpd/PLIST
@@ -0,0 +1,82 @@
+@comment $NetBSD: PLIST,v 1.1 2017/04/25 17:16:57 fhajny Exp $
+bin/smtpd${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/aiosmtpd/__init__.py
+${PYSITELIB}/aiosmtpd/__main__.py
+${PYSITELIB}/aiosmtpd/__init__.pyo
+${PYSITELIB}/aiosmtpd/__init__.pyc
+${PYSITELIB}/aiosmtpd/__main__.pyo
+${PYSITELIB}/aiosmtpd/__main__.pyc
+${PYSITELIB}/aiosmtpd/controller.pyo
+${PYSITELIB}/aiosmtpd/controller.pyc
+${PYSITELIB}/aiosmtpd/handlers.pyo
+${PYSITELIB}/aiosmtpd/handlers.pyc
+${PYSITELIB}/aiosmtpd/lmtp.pyo
+${PYSITELIB}/aiosmtpd/lmtp.pyc
+${PYSITELIB}/aiosmtpd/main.pyo
+${PYSITELIB}/aiosmtpd/main.pyc
+${PYSITELIB}/aiosmtpd/smtp.pyo
+${PYSITELIB}/aiosmtpd/smtp.pyc
+${PYSITELIB}/aiosmtpd/controller.py
+${PYSITELIB}/aiosmtpd/docs/.gitignore
+${PYSITELIB}/aiosmtpd/docs/Makefile
+${PYSITELIB}/aiosmtpd/docs/NEWS.rst
+${PYSITELIB}/aiosmtpd/docs/__init__.py
+${PYSITELIB}/aiosmtpd/docs/__init__.pyo
+${PYSITELIB}/aiosmtpd/docs/__init__.pyc
+${PYSITELIB}/aiosmtpd/docs/cli.rst
+${PYSITELIB}/aiosmtpd/docs/controller.rst
+${PYSITELIB}/aiosmtpd/docs/handlers.rst
+${PYSITELIB}/aiosmtpd/docs/intro.rst
+${PYSITELIB}/aiosmtpd/docs/lmtp.rst
+${PYSITELIB}/aiosmtpd/docs/smtp.rst
+${PYSITELIB}/aiosmtpd/handlers.py
+${PYSITELIB}/aiosmtpd/lmtp.py
+${PYSITELIB}/aiosmtpd/main.py
+${PYSITELIB}/aiosmtpd/smtp.py
+${PYSITELIB}/aiosmtpd/testing/__init__.py
+${PYSITELIB}/aiosmtpd/testing/__init__.pyo
+${PYSITELIB}/aiosmtpd/testing/__init__.pyc
+${PYSITELIB}/aiosmtpd/testing/helpers.pyo
+${PYSITELIB}/aiosmtpd/testing/helpers.pyc
+${PYSITELIB}/aiosmtpd/testing/helpers.py
+${PYSITELIB}/aiosmtpd/tests/__init__.py
+${PYSITELIB}/aiosmtpd/tests/__init__.pyo
+${PYSITELIB}/aiosmtpd/tests/__init__.pyc
+${PYSITELIB}/aiosmtpd/tests/test_handlers.pyo
+${PYSITELIB}/aiosmtpd/tests/test_handlers.pyc
+${PYSITELIB}/aiosmtpd/tests/test_lmtp.pyo
+${PYSITELIB}/aiosmtpd/tests/test_lmtp.pyc
+${PYSITELIB}/aiosmtpd/tests/test_main.pyo
+${PYSITELIB}/aiosmtpd/tests/test_main.pyc
+${PYSITELIB}/aiosmtpd/tests/test_server.pyo
+${PYSITELIB}/aiosmtpd/tests/test_server.pyc
+${PYSITELIB}/aiosmtpd/tests/test_smtp.pyo
+${PYSITELIB}/aiosmtpd/tests/test_smtp.pyc
+${PYSITELIB}/aiosmtpd/tests/test_starttls.pyo
+${PYSITELIB}/aiosmtpd/tests/test_starttls.pyc
+${PYSITELIB}/aiosmtpd/tests/certs/__init__.py
+${PYSITELIB}/aiosmtpd/tests/certs/__init__.pyo
+${PYSITELIB}/aiosmtpd/tests/certs/__init__.pyc
+${PYSITELIB}/aiosmtpd/tests/certs/server.crt
+${PYSITELIB}/aiosmtpd/tests/certs/server.key
+${PYSITELIB}/aiosmtpd/tests/test_handlers.py
+${PYSITELIB}/aiosmtpd/tests/test_lmtp.py
+${PYSITELIB}/aiosmtpd/tests/test_main.py
+${PYSITELIB}/aiosmtpd/tests/test_server.py
+${PYSITELIB}/aiosmtpd/tests/test_smtp.py
+${PYSITELIB}/aiosmtpd/tests/test_starttls.py
+${PYSITELIB}/examples/__init__.py
+${PYSITELIB}/examples/__init__.pyo
+${PYSITELIB}/examples/__init__.pyc
+${PYSITELIB}/examples/client.pyo
+${PYSITELIB}/examples/client.pyc
+${PYSITELIB}/examples/server.pyo
+${PYSITELIB}/examples/server.pyc
+${PYSITELIB}/examples/client.py
+${PYSITELIB}/examples/server.py
diff --git a/mail/py-aiosmtpd/distinfo b/mail/py-aiosmtpd/distinfo
new file mode 100644
index 00000000000..4f2fbd6f3cb
--- /dev/null
+++ b/mail/py-aiosmtpd/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/04/25 17:16:57 fhajny Exp $
+
+SHA1 (aiosmtpd-1.0a5.tar.gz) = 8c246349b0947d22dd3bd379aa38f062e0732487
+RMD160 (aiosmtpd-1.0a5.tar.gz) = d335c697e60dadea055738fa79ce8980da7e55d8
+SHA512 (aiosmtpd-1.0a5.tar.gz) = e9c87eaad4c2a09bbcda2619d91958fc0cdc8cd15d8893a4b8ad9c8dc7202207c4bc7000823e83a84fb30441a22339328ec76d2d73027dc9e27beb7ce70d6a13
+Size (aiosmtpd-1.0a5.tar.gz) = 42031 bytes