Date: Wed, 31 Oct 2012 08:11:25 +0000 (UTC) From: Ruslan Mahmatkhanov <rm@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r306737 - head/www/trac-spam-filter Message-ID: <201210310811.q9V8BPmd087542@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rm Date: Wed Oct 31 08:11:25 2012 New Revision: 306737 URL: http://svn.freebsd.org/changeset/ports/306737 Log: - do not directly depend on setuptools, use USE_DISTUTILS instead - bump PORTREVISION because of dependency change - trim Makefile header - limit python version to 2.x only - move pkg-plist contents into Makefile:PLIST_FILES - tab -> space change in pkg-descr:WWW PR: 173056 Submitted by: rm (myself) Approved by: Sutra Zhou <zhoushuqun at gmail dot com> (maintainer, by mail) Feature safe: yes Deleted: head/www/trac-spam-filter/pkg-plist Modified: head/www/trac-spam-filter/Makefile head/www/trac-spam-filter/pkg-descr Modified: head/www/trac-spam-filter/Makefile ============================================================================== --- head/www/trac-spam-filter/Makefile Wed Oct 31 07:58:36 2012 (r306736) +++ head/www/trac-spam-filter/Makefile Wed Oct 31 08:11:25 2012 (r306737) @@ -1,13 +1,9 @@ -# New ports collection makefile for: trac-spam-filter -# Date created: 23 September 2007 -# Whom: sutra -# +# Created by: sutra # $FreeBSD$ -# PORTNAME= TracSpamFilter PORTVERSION= 0.2.1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= www devel python MASTER_SITES= http://zhoushuqun.com/files/ \ http://freebsd.unixfreunde.de/sources/ @@ -17,22 +13,12 @@ MAINTAINER= zhoushuqun@gmail.com COMMENT= Allow different ways to reject contributions that contain spam RUN_DEPENDS= tracd:${PORTSDIR}/www/trac -BUILD_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}dev +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}dev -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_NOEGGINFO= yes -PLIST_SUB+= PORTNAME=${PORTNAME} PORTVERSION=${PORTVERSION} PYTHONVERSION=${_PYTHON_VERSION} - -do-build: - cd ${WRKSRC}; \ - ${PYTHON_CMD} setup.py bdist_egg - -do-install: -.for i in * - ${INSTALL_DATA} ${WRKSRC}/dist/${i} ${PYTHON_SITELIBDIR}/ -.endfor +USE_PYTHON= -2.7 +USE_PYDISTUTILS= easy_install +PYDISTUTILS_PKGVERSION= ${PORTVERSION}dev +PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% .include <bsd.port.mk> Modified: head/www/trac-spam-filter/pkg-descr ============================================================================== --- head/www/trac-spam-filter/pkg-descr Wed Oct 31 07:58:36 2012 (r306736) +++ head/www/trac-spam-filter/pkg-descr Wed Oct 31 08:11:25 2012 (r306737) @@ -1,4 +1,4 @@ A plugin is being developed that will allow different ways to reject contributions that contain spam. -WWW: http://trac.edgewall.org/wiki/SpamFilter +WWW: http://trac.edgewall.org/wiki/SpamFilter
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210310811.q9V8BPmd087542>