Date: Sun, 17 Jun 2012 22:45:26 +1000 (EST) From: koobs <koobs.freebsd@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/169177: [NEW PORT] net/py-pysendfile: A Python interface to sendfile(2) Message-ID: <20120617124526.9130B17225@freebsd-90-amd64.elysium> Resent-Message-ID: <201206171250.q5HCo38M006136@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 169177 >Category: ports >Synopsis: [NEW PORT] net/py-pysendfile: A Python interface to sendfile(2) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jun 17 12:50:03 UTC 2012 >Closed-Date: >Last-Modified: >Originator: koobs >Release: FreeBSD 9.0-RELEASE amd64 >Organization: >Environment: System: FreeBSD freebsd-90-amd64.elysium 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Sat May 5 14:51:14 EST >Description: 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. WWW: http://code.google.com/p/pysendfile Generated with FreeBSD Port Tools 0.99_6 (mode: new) >How-To-Repeat: >Fix: --- .shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # py-pysendfile # py-pysendfile/Makefile # py-pysendfile/pkg-descr # py-pysendfile/pkg-plist # py-pysendfile/distinfo # py-pysendfile/files # py-pysendfile/files/patch-setup.py # echo c - py-pysendfile mkdir -p py-pysendfile > /dev/null 2>&1 echo x - py-pysendfile/Makefile sed 's/^X//' >py-pysendfile/Makefile << '3ee193f97b541f94daa4d862744c5ccf' X# New ports collection makefile for: py-pysendfile X# Date created: 2012-06-15 X# Whom: koobs <koobs.freebsd@gmail.com> X# X# $FreeBSD$ X# X XPORTNAME= pysendfile XPORTVERSION= 2.0.0 XCATEGORIES= net python devel XMASTER_SITES= GOOGLE_CODE XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} X XMAINTAINER= koobs.freebsd@gmail.com XCOMMENT= A Python interface to sendfile(2) X XCONFLICTS_INSTALL= py*-sendfile X XUSE_PYTHON= 2.5+ XUSE_PYDISTUTILS= easy_install XPYEASYINSTALL_ARCHDEP= yes X X.include <bsd.port.mk> 3ee193f97b541f94daa4d862744c5ccf echo x - py-pysendfile/pkg-descr sed 's/^X//' >py-pysendfile/pkg-descr << '3878b3b59526afdb4357f660b6d6309b' Xsendfile(2) is a system call which provides a "zero-copy" way of copying data Xfrom one file descriptor to another (a socket). The phrase "zero-copy" refers Xto the fact that all of the copying of data between the two descriptors is Xdone entirely by the kernel, with no copying of data into userspace buffers. X XWWW: http://code.google.com/p/pysendfile 3878b3b59526afdb4357f660b6d6309b echo x - py-pysendfile/pkg-plist sed 's/^X//' >py-pysendfile/pkg-plist << '169d99ea314fbb5f6c418f08bd279a33' X@comment $FreeBSD$ X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sendfile.so X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sendfile.py X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sendfile.pyc X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sendfile.pyo X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/native_libs.txt X@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO X@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% 169d99ea314fbb5f6c418f08bd279a33 echo x - py-pysendfile/distinfo sed 's/^X//' >py-pysendfile/distinfo << 'eb5c1fa78422e56741331c273d69a62a' XSHA256 (pysendfile-2.0.0.tar.gz) = b7b747e47f2b1b16942d8db9139e0f0f70546ca80a06460bd5abfdc7a1bca957 XSIZE (pysendfile-2.0.0.tar.gz) = 11155 eb5c1fa78422e56741331c273d69a62a echo c - py-pysendfile/files mkdir -p py-pysendfile/files > /dev/null 2>&1 echo x - py-pysendfile/files/patch-setup.py sed 's/^X//' >py-pysendfile/files/patch-setup.py << '8661ea2bddfb081466def9ff70d4d03c' X--- ./setup.py.orig 2012-06-17 22:22:27.000000000 +1000 X+++ ./setup.py 2012-06-17 22:22:42.000000000 +1000 X@@ -79,6 +79,7 @@ X 'Topic :: Internet :: WWW/HTTP', X 'License :: OSI Approved :: MIT License', X ], X+ zip_safe=False, X ext_modules = [Extension('sendfile', X sources=['sendfilemodule.c'], X libraries=libraries)], 8661ea2bddfb081466def9ff70d4d03c exit --- .shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120617124526.9130B17225>