Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2012 07:21:01 +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: r306256 - head/www/trac-bzr
Message-ID:  <201210220721.q9M7L1SP059291@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Mon Oct 22 07:21:01 2012
New Revision: 306256
URL: http://svn.freebsd.org/changeset/ports/306256

Log:
  - replace direct setuptools dependency with USE_DISTUTILS=easy_install
  - bump PORTREVISION because USE_DISTUTILS implies both build and run dependency
  on setuptools
  - trim Makefile header
  - tune PYDISTUTILS_* variables and rely upon bsd.python.mk code instead of
  implementing the same stuff manually
  - tab -> space change in pkg-descr:WWW
  - move pkg-plist contents into Makefile:PLIST_FILES
  
  PR:		172858
  Submitted by:	rm (myself)
  Approved by:	Radim Kolar <hsn at sendmail dot cz> (maintainer)
  Feature safe:	yes

Deleted:
  head/www/trac-bzr/pkg-plist
Modified:
  head/www/trac-bzr/Makefile
  head/www/trac-bzr/pkg-descr

Modified: head/www/trac-bzr/Makefile
==============================================================================
--- head/www/trac-bzr/Makefile	Mon Oct 22 07:18:27 2012	(r306255)
+++ head/www/trac-bzr/Makefile	Mon Oct 22 07:21:01 2012	(r306256)
@@ -1,13 +1,9 @@
-# New ports collection makefile for:	trac-bzr
-# Date created:		2007-03-30
-# Whom:			Radim Kolar <hsn@sanatana.dharma>
-#
+# Created by: Radim Kolar <hsn@sanatana.dharma>
 # $FreeBSD$
-#
 
 PORTNAME=	bzr
 PORTVERSION=	20110228
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www
 MASTER_SITES=	http://schema.filez.com/distfiles/
 PKGNAMEPREFIX=	trac-
@@ -18,20 +14,15 @@ COMMENT=	Bazaar-NG plugin for Trac
 
 LICENSE=	GPLv2
 
-BUILD_DEPENDS=	${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
-RUN_DEPENDS=	tracd:${PORTSDIR}/www/trac bzr:${PORTSDIR}/devel/bzr
-
-USE_PYTHON=		-2.7
-USE_PYDISTUTILS=	yes
-PYDISTUTILS_NOEGGINFO=	yes
+RUN_DEPENDS=	tracd:${PORTSDIR}/www/trac \
+		bzr:${PORTSDIR}/devel/bzr
 
 USE_BZIP2=	yes
-
-PLIST_SUB=	EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
-		PYTRAC_BZR_EGG=${PYTRAC_BZR_EGG}
-
-EASY_INSTALL_CMD?=	easy_install-${PYTHON_VER}
-PYTRAC_BZR_EGG=	TracBzr-0.4.2-py${PYTHON_VER}.egg
+USE_PYTHON=	-2.7
+USE_PYDISTUTILS=easy_install
+PYDISTUTILS_PKGNAME=	TracBzr
+PYDISTUTILS_PKGVERSION=	0.4.2
+PLIST_FILES=	%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
 
 post-patch:
 	${REINPLACE_CMD} -e 's|tag_date = 1||' ${WRKSRC}/setup.cfg

Modified: head/www/trac-bzr/pkg-descr
==============================================================================
--- head/www/trac-bzr/pkg-descr	Mon Oct 22 07:18:27 2012	(r306255)
+++ head/www/trac-bzr/pkg-descr	Mon Oct 22 07:21:01 2012	(r306256)
@@ -1,4 +1,4 @@
 Trac-Bzr is a plugin for Trac (>= 0.10) that provides a
 version control backend for Bzr.
 
-WWW:	https://launchpad.net/trac-bzr
+WWW: https://launchpad.net/trac-bzr



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210220721.q9M7L1SP059291>