pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/py-pysendfile py-pysendfile: added version 2.0.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/5e1ced7d6fa0
branches: trunk
changeset: 328076:5e1ced7d6fa0
user: adam <adam%pkgsrc.org@localhost>
date: Wed Jan 16 08:30:15 2019 +0000
description:
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).
diffstat:
net/py-pysendfile/DESCR | 6 ++++++
net/py-pysendfile/Makefile | 18 ++++++++++++++++++
net/py-pysendfile/PLIST | 6 ++++++
net/py-pysendfile/distinfo | 6 ++++++
4 files changed, 36 insertions(+), 0 deletions(-)
diffs (52 lines):
diff -r 306a4ea69b8b -r 5e1ced7d6fa0 net/py-pysendfile/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-pysendfile/DESCR Wed Jan 16 08:30:15 2019 +0000
@@ -0,0 +1,6 @@
+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).
diff -r 306a4ea69b8b -r 5e1ced7d6fa0 net/py-pysendfile/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-pysendfile/Makefile Wed Jan 16 08:30:15 2019 +0000
@@ -0,0 +1,18 @@
+# $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@localhost
+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"
diff -r 306a4ea69b8b -r 5e1ced7d6fa0 net/py-pysendfile/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-pysendfile/PLIST Wed Jan 16 08:30:15 2019 +0000
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2019/01/16 08:30:15 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/sendfile.so
diff -r 306a4ea69b8b -r 5e1ced7d6fa0 net/py-pysendfile/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-pysendfile/distinfo Wed Jan 16 08:30:15 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/01/16 08:30:15 adam Exp $
+
+SHA1 (pysendfile-2.0.1.tar.gz) = c6cd5f646ef9d891495c53e8a2eee48e73c10306
+RMD160 (pysendfile-2.0.1.tar.gz) = ad3d649d310529821ee0ac202e700beef941c707
+SHA512 (pysendfile-2.0.1.tar.gz) = d6ee08eb251fac30c90a9ee829fd992f3620697eef2893ced5a2c6273486c3c5fd35c70962585a8d747d578817391f91c929bfeeba8c4485d52a15748229ca9c
+Size (pysendfile-2.0.1.tar.gz) = 19315 bytes
Home |
Main Index |
Thread Index |
Old Index