1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- remove direct setuptools dependency

- no PORTREVISION bump is needed, because it is already depending on it via
USE_DISTUTILS
- trim Makefile header (completely)
- limit python version to 2.x only
- move pkg-plist contents into Makefile:PLIST_FILES

PR:		173161
Submitted by:	rm (myself)
Approved by:	kuriyama (maintainer, by mail)
Feature safe:	yes
This commit is contained in:
Ruslan Makhmatkhanov 2012-11-11 14:31:08 +00:00
parent 8b13819aba
commit 4e6cc03d38
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=307315
2 changed files with 2 additions and 13 deletions

View File

@ -1,9 +1,4 @@
# New ports collection makefile for: trac-accountmanager
# Date created: 17 Feb 2006
# Whom: kuriyama@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= accountmanager
PORTVERSION= 0.4.${REV}
@ -18,23 +13,18 @@ DIST_SUBDIR= trac
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Account Manager Plugin for trac
BUILD_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
RUN_DEPENDS= tracd:${PORTSDIR}/www/trac
FETCH_BEFORE_ARGS= -o ${DISTFILES}
REV= 11722
USE_ZIP= yes
USE_PYTHON= yes
USE_PYTHON= -2.7
USE_PYDISTUTILS= easy_install
PYDISTUTILS_PKGNAME= TracAccountManager
PYDISTUTILS_PKGVERSION= 0.4dev
PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
WRKSRC= ${WRKDIR}/accountmanagerplugin/trunk
EASY_INSTALL_CMD?= easy_install-${PYTHON_VER}
pre-build:
cd ${WRKSRC} && ${PYTHON_CMD} setup.py bdist_egg
# --- trac.ini
# [components]
# acct_mgr.* = enabled

View File

@ -1 +0,0 @@
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%