summaryrefslogtreecommitdiff
path: root/pcr-testing/python-aiosmtpd
diff options
context:
space:
mode:
Diffstat (limited to 'pcr-testing/python-aiosmtpd')
-rw-r--r--pcr-testing/python-aiosmtpd/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/pcr-testing/python-aiosmtpd/PKGBUILD b/pcr-testing/python-aiosmtpd/PKGBUILD
new file mode 100644
index 000000000..3bb976dd2
--- /dev/null
+++ b/pcr-testing/python-aiosmtpd/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: bill-auger <bill-auger@programmer.net>
+# Maintainer (AUR): Simon Hanna <simon dot hanna AT serve-me DOT info>
+
+
+pkgname=('python-aiosmtpd')
+pkgver=1.1
+pkgrel=1
+pkgdesc="A reimplementation of the Python stdlib smtpd.py based on asyncio"
+arch=(any)
+url=https://github.com/aio-libs/aiosmtpd
+license=('Apache')
+options=(!emptydirs)
+
+makedepends=('python-setuptools')
+depends=('python-atpublic')
+
+_upstream_name='aiosmtpd'
+_release=${_upstream_name}-${pkgver}
+source=(https://github.com/aio-libs/aiosmtpd/archive/${pkgver}.tar.gz)
+sha256sums=('5a3925a0c7609005e5cfd96e916a644e20b201b6743ffe0e095addb2b146a198')
+
+
+package()
+{
+ cd "${srcdir}/${_release}"
+
+ python setup.py install --root="${pkgdir}/" --optimize=1
+}