aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorkoobs <koobs@FreeBSD.org>2014-02-01 19:45:23 +0800
committerkoobs <koobs@FreeBSD.org>2014-02-01 19:45:23 +0800
commita91d44fc54a93b1d3e2f9ab7f098335886a26ac7 (patch)
treeb2c0281679696f3308aaa2ce1f270f5b3931894d /net
parent5845c74db96620534391a0295618917d0f3d638e (diff)
downloadfreebsd-ports-gnome-a91d44fc54a93b1d3e2f9ab7f098335886a26ac7.tar.gz
freebsd-ports-gnome-a91d44fc54a93b1d3e2f9ab7f098335886a26ac7.tar.zst
freebsd-ports-gnome-a91d44fc54a93b1d3e2f9ab7f098335886a26ac7.zip
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
Diffstat (limited to 'net')
-rw-r--r--net/py-pysendfile/Makefile12
-rw-r--r--net/py-pysendfile/pkg-descr2
-rw-r--r--net/py-pysendfile/pkg-plist12
3 files changed, 8 insertions, 18 deletions
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 <bsd.port.mk>
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%%