aboutsummaryrefslogtreecommitdiff
path: root/devel/py-wsgiutils
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-wsgiutils')
-rw-r--r--devel/py-wsgiutils/Makefile15
-rw-r--r--devel/py-wsgiutils/files/pkg-deinstall.in17
-rw-r--r--devel/py-wsgiutils/files/pkg-install.in16
3 files changed, 3 insertions, 45 deletions
diff --git a/devel/py-wsgiutils/Makefile b/devel/py-wsgiutils/Makefile
index fd699d51f604..7e75990c266c 100644
--- a/devel/py-wsgiutils/Makefile
+++ b/devel/py-wsgiutils/Makefile
@@ -16,19 +16,10 @@ DISTNAME= WSGIUtils-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Utility libraries for development of simple WSGI programs
-BUILD_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
USE_PYTHON= yes
-USE_PYDISTUTILS=yes
-
-PLIST_FILES= ${PYTHON_SITELIBDIR:S,${PREFIX}/,,}/${PYWSGIUTILS_EGG}
-PLIST_SUB= PYWSGIUTILS_EGG="${PYWSGIUTILS_EGG}"
-
-SUB_FILES+= pkg-deinstall pkg-install
-SUB_LIST+= EGG="WSGIUtils==${PORTVERSION}" \
- PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR}
+USE_PYDISTUTILS=easy_install
+PYDISTUTILS_PKGNAME= WSGIUtils
-PYWSGIUTILS_EGG= WSGIUtils-${PORTVERSION}-py${PYTHON_VER}.egg
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/${PYEASYINSTALL_EGG}
.include <bsd.port.mk>
diff --git a/devel/py-wsgiutils/files/pkg-deinstall.in b/devel/py-wsgiutils/files/pkg-deinstall.in
deleted file mode 100644
index 8ee207b16f16..000000000000
--- a/devel/py-wsgiutils/files/pkg-deinstall.in
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-# $FreeBSD$
-PKGNAME=$1
-#
-case $2 in
- DEINSTALL)
- easy_install -q -m -x -S %%PYTHON_SITELIBDIR%% %%EGG%%
- ;;
- POST-DEINSTALL)
- exit 0
- ;;
- *)
- echo "Unexpected Argument $2!!!"
- exit 1
- ;;
-esac
-exit 0
diff --git a/devel/py-wsgiutils/files/pkg-install.in b/devel/py-wsgiutils/files/pkg-install.in
deleted file mode 100644
index 9cddbe28f167..000000000000
--- a/devel/py-wsgiutils/files/pkg-install.in
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-# $FreeBSD$
-PKGNAME=$1
-#
-case $2 in
- POST-INSTALL)
- easy_install -q -N -S %%PYTHON_SITELIBDIR%% %%EGG%%
- ;;
- PRE-INSTALL)
- ;;
- *)
- echo "Unexpected Argument $2!!!"
- exit 1
- ;;
-esac
-exit 0