pkgsrc/net/py-pysendfile/Makefile
adam 4c03818c6b py-pysendfile: added version 2.0.1
A Python interface to sendfile(2). sendfile(2) is a system call which provides
a "zero-copy" way of copying data from one file descriptor to another (a
socket). The phrase "zero-copy" refers to the fact that all of the copying of
data between the two descriptors is done entirely by the kernel, with no
copying of data into userspace buffers. This is particularly useful when
sending a file over a socket (e.g. FTP).
2019-01-16 08:30:15 +00:00

18 lines
574 B
Makefile

# $NetBSD: Makefile,v 1.1 2019/01/16 08:30:15 adam Exp $
DISTNAME= pysendfile-2.0.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pysendfile/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/giampaolo/pysendfile
COMMENT= Python interface to sendfile(2)
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
DEPENDS+= ${PYPKGPREFIX}-six>=1.10:../../lang/py-six
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"