aboutsummaryrefslogtreecommitdiff
path: root/devel/py-testgears
diff options
context:
space:
mode:
authorAlexander Botero-Lowry <alexbl@FreeBSD.org>2007-07-30 09:42:28 +0000
committerAlexander Botero-Lowry <alexbl@FreeBSD.org>2007-07-30 09:42:28 +0000
commit4942ce5a7d8a3d0cbebaf4d202011850d1f7569f (patch)
treedb1f21912f461000d609ddcd5d130946bcfe9e09 /devel/py-testgears
parentb4be9b354e86bd790925c5a9a2e67df8ba20bc00 (diff)
downloadports-4942ce5a7d8a3d0cbebaf4d202011850d1f7569f.tar.gz
ports-4942ce5a7d8a3d0cbebaf4d202011850d1f7569f.zip
Notes
Diffstat (limited to 'devel/py-testgears')
-rw-r--r--devel/py-testgears/Makefile10
-rw-r--r--devel/py-testgears/files/pkg-deinstall.in17
-rw-r--r--devel/py-testgears/pkg-plist3
3 files changed, 2 insertions, 28 deletions
diff --git a/devel/py-testgears/Makefile b/devel/py-testgears/Makefile
index d645fb149623..82f0f4bbd87f 100644
--- a/devel/py-testgears/Makefile
+++ b/devel/py-testgears/Makefile
@@ -16,15 +16,7 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Python module to run tests written as simple functions
-BUILD_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools
-# need to remove the egg
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-
-SUB_FILES= pkg-deinstall
-SUB_LIST= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} \
- EGG="${PORTNAME}==${PORTVERSION}"
+USE_PYDISTUTILS=easy_install
.include <bsd.port.mk>
diff --git a/devel/py-testgears/files/pkg-deinstall.in b/devel/py-testgears/files/pkg-deinstall.in
index 92b4ad53ba82..e69de29bb2d1 100644
--- a/devel/py-testgears/files/pkg-deinstall.in
+++ b/devel/py-testgears/files/pkg-deinstall.in
@@ -1,17 +0,0 @@
-#!/bin/sh
-# $FreeBSD$
-PKGNAME=$1
-#
-case $2 in
- DEINSTALL)
- easy_install -m -x -D -S %%PYTHON_SITELIBDIR%% %%EGG%%
- ;;
- POST-DEINSTALL)
- exit 0
- ;;
- *)
- echo "Unexpected Argument $2!!!"
- exit 1
- ;;
-esac
-exit 0
diff --git a/devel/py-testgears/pkg-plist b/devel/py-testgears/pkg-plist
index 0f8298feb33b..ddf68a1c022f 100644
--- a/devel/py-testgears/pkg-plist
+++ b/devel/py-testgears/pkg-plist
@@ -1,2 +1 @@
-@comment $FreeBSD$
-%%PYTHON_SITELIBDIR%%/TestGears-0.2-py2.4.egg
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%