blob: f3e2a9c56cafb14c649443ec59d26da180343c18 (
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
29
30
|
# $NetBSD: Makefile,v 1.35 2017/10/19 08:50:34 adam Exp $
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
COMMENT= Framework for writing networked applications
.include "../../net/py-twisted/Makefile.common"
DEPENDS+= ${PYPKGPREFIX}-automat>=0.3.0:../../devel/py-automat
DEPENDS+= ${PYPKGPREFIX}-constantly>=15.1:../../devel/py-constantly
DEPENDS+= ${PYPKGPREFIX}-hyperlink>=17.1.1:../../www/py-hyperlink
DEPENDS+= ${PYPKGPREFIX}-idna>=2.4:../../devel/py-incremental
DEPENDS+= ${PYPKGPREFIX}-incremental>=16.10.1:../../devel/py-incremental
DEPENDS+= ${PYPKGPREFIX}-OpenSSL>=16.0.0:../../security/py-OpenSSL
DEPENDS+= ${PYPKGPREFIX}-service_identity-[0-9]*:../../security/py-service_identity
DEPENDS+= ${PYPKGPREFIX}-ZopeInterface>=3.0.1:../../devel/py-ZopeInterface
REPLACE_PYTHON+= src/twisted/mail/test/pop3testserver.py
REPLACE_PYTHON+= src/twisted/trial/test/scripttest.py
REPLACE_PYTHON+= src/twisted/python/test/pullpipe.py
CFLAGS.SunOS+= -D_XOPEN_SOURCE=1 -D_XOPEN_SOURCE_EXTENDED=1 -Du_int=uint32_t
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
for i in cftp ckeygen conch mailmail pyhtmlizer tkconch trial twist twistd; do \
${MV} $$i $$i-${PYVERSSUFFIX} || ${TRUE}; \
done
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
|