From f9b3235e48db9dc617e0786756aa374cd702676b Mon Sep 17 00:00:00 2001 From: Kubilay Kocak Date: Sat, 1 Feb 2014 11:45:23 +0000 Subject: [PATCH] net/py-pysendfile: Modernise: STAGE, AUTOPLIST and more - Enable STAGE support - Enable AUTOPLIST, delete pkg-plist - Add LICENSE (MIT) - Deprecate easy_install target - Deprecate EASYINSTALL_ARCHDEP - Remove indefinite article from COMMENT - pkg-descr: Tab to space in WWW: - Bump PORTREVISION --- net/py-pysendfile/Makefile | 12 +++++++----- net/py-pysendfile/pkg-descr | 2 +- net/py-pysendfile/pkg-plist | 12 ------------ 3 files changed, 8 insertions(+), 18 deletions(-) delete mode 100644 net/py-pysendfile/pkg-plist diff --git a/net/py-pysendfile/Makefile b/net/py-pysendfile/Makefile index 90c2e9affaca..c4d6dc618879 100644 --- a/net/py-pysendfile/Makefile +++ b/net/py-pysendfile/Makefile @@ -3,18 +3,20 @@ PORTNAME= pysendfile PORTVERSION= 2.0.0 +PORTREVISION= 1 CATEGORIES= net python devel MASTER_SITES= GOOGLE_CODE PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= koobs@FreeBSD.org -COMMENT= A Python interface to sendfile(2) +COMMENT= Python interface to sendfile(2) + +LICENSE= MIT CONFLICTS_INSTALL= py*-sendfile-[0-9]* -USE_PYTHON= yes -USE_PYDISTUTILS= easy_install -PYEASYINSTALL_ARCHDEP= yes +USE_PYTHON= yes +USE_PYDISTUTILS= yes +PYDISTUTILS_AUTOPLIST= yes -NO_STAGE= yes .include diff --git a/net/py-pysendfile/pkg-descr b/net/py-pysendfile/pkg-descr index 3a123eeac275..cae138ab4032 100644 --- a/net/py-pysendfile/pkg-descr +++ b/net/py-pysendfile/pkg-descr @@ -3,4 +3,4 @@ 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 +WWW: http://code.google.com/p/pysendfile diff --git a/net/py-pysendfile/pkg-plist b/net/py-pysendfile/pkg-plist deleted file mode 100644 index 767cb035e4e8..000000000000 --- a/net/py-pysendfile/pkg-plist +++ /dev/null @@ -1,12 +0,0 @@ -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sendfile.so -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sendfile.py -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sendfile.pyc -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/sendfile.pyo -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/native_libs.txt -@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO -@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%