# $NetBSD: Makefile,v 1.52 2022/10/19 14:25:19 nia Exp $ .include "../../net/py-twisted/Makefile.common" PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} COMMENT= Framework for writing networked applications DEPENDS+= ${PYPKGPREFIX}-ZopeInterface>=4.4.2:../../devel/py-ZopeInterface DEPENDS+= ${PYPKGPREFIX}-attrs>=19.2.0:../../devel/py-attrs DEPENDS+= ${PYPKGPREFIX}-automat>=0.8.0:../../devel/py-automat DEPENDS+= ${PYPKGPREFIX}-constantly>=15.1:../../devel/py-constantly DEPENDS+= ${PYPKGPREFIX}-hamcrest>=1.9.0:../../devel/py-hamcrest DEPENDS+= ${PYPKGPREFIX}-hyperlink>=17.1.1:../../www/py-hyperlink DEPENDS+= ${PYPKGPREFIX}-incremental>=21.3.0:../../devel/py-incremental DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=3.6.5:../../devel/py-typing-extensions DEPENDS+= ${PYPKGPREFIX}-service_identity>=18.1.0:../../security/py-service_identity DEPENDS+= ${PYPKGPREFIX}-idna>=2.4:../../www/py-idna REPLACE_PYTHON+= src/twisted/mail/test/pop3testserver.py REPLACE_PYTHON+= src/twisted/trial/test/scripttest.py USE_LANGUAGES= c99 USE_PKG_RESOURCES= yes PYTHON_VERSIONS_INCOMPATIBLE= 27 post-install: .for bin in cftp ckeygen conch mailmail pyhtmlizer tkconch trial twist twistd cd ${DESTDIR}${PREFIX}/bin && \ ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE} .endfor .include "../../lang/python/application.mk" .include "../../lang/python/egg.mk" PYTHON_VERSIONED_DEPENDENCIES+= OpenSSL .include "../../lang/python/versioned_dependencies.mk" .include "../../mk/bsd.pkg.mk"