Include application .mk and add two scripts (used only in tests anyway) to

REPLACE_PYTHON.
This commit is contained in:
epg 2008-09-19 18:03:24 +00:00
parent 79ad709f8b
commit faff8945ae

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.12 2008/09/16 01:59:07 epg Exp $
# $NetBSD: Makefile,v 1.13 2008/09/19 18:03:24 epg Exp $
#
PKGNAME= ${PYPKGPREFIX}-twisted-${TWISTED_VERSION}
@ -8,8 +8,12 @@ COMMENT= Framework for writing networked applications
DEPENDS+= ${PYPKGPREFIX}-OpenSSL>=0.6:../../security/py-OpenSSL
DEPENDS+= ${PYPKGPREFIX}-ZopeInterface>=3.0.1:../../devel/py-ZopeInterface
REPLACE_PYTHON+= ${WRKSRC}/twisted/mail/test/pop3testserver.py
REPLACE_PYTHON+= ${WRKSRC}/twisted/trial/test/scripttest.py
do-test:
cd ${WRKSRC} && ./build/scripts-${PYVERSSUFFIX}/trial twisted
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"