pkgsrc/net/py-foolscap/Makefile

42 lines
1.1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.6 2012/08/21 23:43:46 gdt Exp $
#
DISTNAME= foolscap-0.6.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/.tar//}
CATEGORIES= net python
MASTER_SITES= http://pypi.python.org/packages/source/f/foolscap/
MAINTAINER= kamel.derouiche@gmail.com
Update to 0.6.3. Note that 0.6.1 really does not work with Twisted in pkgsrc. * Release 0.6.3 (05-Jan-2012) ** Compatibility Fixes This release really is compatible with Twisted-11.1.0 . The previous Foolscap release (0.6.2), despite the changes described below, suffered mild incompatibilites with the new TLS code in the final Twisted-11.1.0 release. The most common symptom is a DirtyReactorError in unit tests that use Tub.stopService() in their tearDown() method (to coordinate shutdown and cleanup). Another symptom is tests overlapping with one another, causing port-already-in-use errors. This incompatibility did not generally affect normal operation, but only impacted unit tests. ** Other Changes The Debian packaging tools in misc/ were removed, as they were pretty stale. These days, both Debian and Ubuntu make their own Foolscap packages. * Release 0.6.2 (15-Oct-2011) ** Compatibility Fixes Foolscap-0.6.2 will be compatible with future versions of Twisted (>11.0.0). The 0.6.1 release will not: a TLS change went into Twisted trunk recently (after the 11.0.0 release) which broke Foolscap 0.6.1 and earlier. This release also fixes a minor incompatibility with newer versions of OpenSSL (0.9.8o was ok, 1.0.0d was not), which caused errors in the test suite (but normal runtime operation) on e.g. Ubuntu 11.10 "Oneiric". ** Git-Over-Foolscap Tools The doc/examples/ directory contains two executables (git-foolscap and git-remote-pb) which, when placed in your $PATH, make it easy to use Foolscap to access a Git repository. These use the flappserver/flappclient tools and let you build a FURL that provides read-only or read-write access to a single repository. This is somewhat like providing SSH access to a repo, but with a much smaller scope: the client will only be able to manipulate the one repository, and gets no other authority on the target system. See the tool's inline comments for usage instructions. ** Minor Fixes Using 'flappserver upload-file FILE1 FILE2 FILE3..' (with three or more files) now correctly uploads all files: previously it only managed to upload the first and last. 'flappserver' argument handling was improved slightly. A workaround was added to handle a Twisted stdio-closing bug which affected flappserver's run-command function and broke the git-foolscap tool. Several changes were made for the benefit of Windows: log filenames all use hyphens (not colons), log filtering tools tolerate the lack of atomic-rename filesystem operations, and some unixisms in the test suite were removed. The Tub.setLogGathererFURL() method can now accept a list (iterable) of log gatherer FURLs, not just a single one.
2012-05-25 13:22:58 +02:00
#MAINTAINER+= gdt@NetBSD.org
HOMEPAGE= http://foolscap.lothar.com/trac
COMMENT= Foolscap contains an RPC protocol for Twisted
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-ZopeInterface>=3.6.1:../../devel/py-ZopeInterface
DEPENDS+= ${PYPKGPREFIX}-twisted-[0-9]*:../../net/py-twisted
DEPENDS+= ${PYPKGPREFIX}-OpenSSL>=0.6:../../security/py-OpenSSL
PKG_DESTDIR_SUPPORT= user-destdir
TEST_TARGET= test
USE_LANGUAGES= # none
# Why?
PYTHON_VERSIONS_ACCEPTED= 27 26
INSTALLATION_DIRS+= share/doc/py-foolscap
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/*.txt \
${DESTDIR}${PREFIX}/share/doc/py-foolscap
${INSTALL_DATA} ${WRKSRC}/doc/*.xhtml \
${DESTDIR}${PREFIX}/share/doc/py-foolscap
${INSTALL_DATA} ${WRKSRC}/doc/*.css \
${DESTDIR}${PREFIX}/share/doc/py-foolscap
${INSTALL_DATA} ${WRKSRC}/doc/*.tpl \
${DESTDIR}${PREFIX}/share/doc/py-foolscap
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"