~dricottone/huttese-apk

ref: bc536ccb7997bffa95efc3fceda5bcef16e7bf7e huttese-apk/sr.ht/py3-aiosmtpd/APKBUILD -rw-r--r-- 873 bytes
bc536ccb — Drew DeVault py3-aiosmtpd: upgrade to 1.2.4 3 years ago
                                                                                
cb4c58b7 Drew DeVault
bc536ccb Drew DeVault
cb4c58b7 Drew DeVault
bc536ccb Drew DeVault
cb4c58b7 Drew DeVault
bc536ccb Drew DeVault
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
29
30
# Contributor: Drew DeVault <sir@cmpwn.com>
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-aiosmtpd
_pyname=aiosmtpd
pkgver=1.2.4
pkgrel=0
pkgdesc="A reimplementation of the Python stdlib smtpd.py based on asyncio"
url="https://github.com/aio-libs/aiosmtpd"
arch="noarch"
license="Apache-2.0"
depends="py3-atpublic"
makedepends="python3-dev py3-setuptools py3-pytest"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
replaces="py-aiosmtpd"
builddir="$srcdir"/$_pyname-$pkgver

build() {
	python3 setup.py build
}

check() {
	pytest-3
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="dc6041e284daceb89f8ca83b5cd715a5811eb4cf76504c23112e24c97d6c88480667c713ce094c2dcbc5b12a80605e551b6aadc4b1ce499089be68c7c4e7df8c  aiosmtpd-1.2.4.tar.gz"