8e65477e82
- trial now has an --exitfirst flag which stops the test run after the first error or failure. - twisted.internet.ssl.CertificateOptions now supports chain certificates. - twisted.internet.endpoints now provides ProcessEndpoint, a child process endpoint. - Factory now has a forProtocol classmethod that constructs an instance and sets its protocol attribute. - twisted.internet.endpoints.connectProtocol allows connecting to a client endpoint using only a protocol instance, rather than requiring a factory. - twisted.trial.unittest.SynchronousTestCase.assertNoResult no longer swallows the result, if the assertion succeeds. - twisted.python.constants.FlagConstant implements __iter__ so that it can be iterated upon to find the flags that went into a flag set, and implements __nonzero__ to test as false when empty. - assertIs and assertIsNot have now been added to twisted.trial.unittest.TestCase. - twisted.trial.unittest.TestCase.failureResultOf now takes an optional expected failure type argument. - The POSIX implementation of twisted.internet.interfaces.IReactorProcess now does not change the parent process UID or GID in order to run child processes with a different UID or GID.
21 lines
586 B
Makefile
21 lines
586 B
Makefile
# $NetBSD: Makefile,v 1.16 2013/08/13 17:47:41 adam Exp $
|
|
|
|
PKGNAME= py-${DISTNAME:S/Twisted/twisted-docs/}
|
|
COMMENT= Framework for writing networked applications (documentation)
|
|
.include "../../net/py-twisted/Makefile.common"
|
|
|
|
USE_TOOLS+= pax
|
|
NO_CONFIGURE= yes
|
|
NO_BUILD= yes
|
|
|
|
HTMLDIR= share/doc/py-twisted-docs
|
|
DOC_SRCDIR= ${WRKSRC}/doc
|
|
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
|
|
|
|
INSTALLATION_DIRS= ${HTMLDIR}
|
|
|
|
do-install:
|
|
cd ${DOC_SRCDIR} && pax -rw -pe * ${DESTDIR}${PREFIX}/${HTMLDIR}
|
|
cd ${DESTDIR}${PREFIX} && ${FIND} ${HTMLDIR} -type f -print >>${PLIST_SRC}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|