From 96b09a4fea567ab33c751ff5918cacbeb522a1ba Mon Sep 17 00:00:00 2001 From: Pietro Cerutti Date: Fri, 12 Mar 2010 14:45:14 +0000 Subject: [PATCH] - New port: devel/py-setproctitle A setproctitle implementation for Python. The library allows a process to change its title (as displayed by system tools such as ps(1) and top(1). WWW: http://pypi.python.org/pypi/setproctitle/ PR: 144694 Submitted by: Sofian Brabez (maintainer) Approved by: jadawin (wants his PRs, can't commit right now) --- devel/Makefile | 1 + devel/py-setproctitle/Makefile | 32 ++++++++++++++++++++++++++++++++ devel/py-setproctitle/distinfo | 3 +++ devel/py-setproctitle/pkg-descr | 6 ++++++ 4 files changed, 42 insertions(+) create mode 100644 devel/py-setproctitle/Makefile create mode 100644 devel/py-setproctitle/distinfo create mode 100644 devel/py-setproctitle/pkg-descr diff --git a/devel/Makefile b/devel/Makefile index e2663d778de6..74bfa7664d42 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2673,6 +2673,7 @@ SUBDIR += py-rtree SUBDIR += py-ruledispatch SUBDIR += py-sendfile + SUBDIR += py-setproctitle SUBDIR += py-setuptools SUBDIR += py-setuptools_darcs SUBDIR += py-shapely diff --git a/devel/py-setproctitle/Makefile b/devel/py-setproctitle/Makefile new file mode 100644 index 000000000000..4fbe821b1a10 --- /dev/null +++ b/devel/py-setproctitle/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: py-setproctitle +# Date created: 2010-03-12 +# Whom: Sofian Brabez +# +# $FreeBSD$ +# + +PORTNAME= setproctitle +PORTVERSION= 1.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sbrabez@gmail.com +COMMENT= Allow customization of the process title + +USE_PYTHON= yes +USE_PYDISTUTILS= yes + +PLIST_FILES= %%PYTHON_SITELIBDIR%%/${PORTNAME}.so + +PORTDOCS= COPYRIGHT HISTORY README + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for f in ${PORTDOCS} + @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} +.endfor +.endif + +.include diff --git a/devel/py-setproctitle/distinfo b/devel/py-setproctitle/distinfo new file mode 100644 index 000000000000..8317b67102bd --- /dev/null +++ b/devel/py-setproctitle/distinfo @@ -0,0 +1,3 @@ +MD5 (setproctitle-1.0.tar.gz) = 27504766d1a0ea30a88d8eaf1e311fa3 +SHA256 (setproctitle-1.0.tar.gz) = a8b08c7a589aa6b76729bdee25d5a5e6b4c85415e30f356e308366711b98db48 +SIZE (setproctitle-1.0.tar.gz) = 12003 diff --git a/devel/py-setproctitle/pkg-descr b/devel/py-setproctitle/pkg-descr new file mode 100644 index 000000000000..c5eb74f0fbc3 --- /dev/null +++ b/devel/py-setproctitle/pkg-descr @@ -0,0 +1,6 @@ +A setproctitle implementation for Python. + +The library allows a process to change its title (as displayed by system tools +such as ps(1) and top(1). + +WWW: http://pypi.python.org/pypi/setproctitle/