summaryrefslogtreecommitdiff
path: root/pcr-testing/python-aiosmtpd/PKGBUILD
blob: 3bb976dd2a63a429f1092299f58286b00d0c6f6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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
}