# $NetBSD: Makefile,v 1.7 2021/03/08 06:57:26 adam Exp $ DISTNAME= aiosmtpd-1.4.2 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= mail python MASTER_SITES= ${MASTER_SITE_PYPI:=a/aiosmtpd/} MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= https://github.com/aio-libs/aiosmtpd COMMENT= Asyncio based SMTP server LICENSE= apache-2.0 DEPENDS+= ${PYPKGPREFIX}-atpublic-[0-9]*:../../devel/py-atpublic DEPENDS+= ${PYPKGPREFIX}-attrs-[0-9]*:../../devel/py-attrs USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 .include "../../lang/python/pyversion.mk" .if ${_PYTHON_VERSION} < 38 DEPENDS+= ${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions .endif post-install: cd ${DESTDIR}${PREFIX}/bin && \ ${MV} aiosmtpd aiosmtpd-${PYVERSSUFFIX} || ${TRUE} .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk"