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

- Added devel/py-setuptools as dependency

- Bumped PORTREVISION
- Fixed the issue with packing list, when you have
  previously installed setuptools on the system
- Fixed a typo in pkg-descr
- Replaced pkg-plist with PLIST_FILES

PR:		ports/107613
Submitted by:	Nicola Vitale <nivit at email.it>
Approved by:	alexbl (mentor, implicit), maintainer timeout (15 days)
This commit is contained in:
Nicola Vitale 2007-01-21 20:19:19 +00:00
parent eda2f9f7ff
commit 2019e4fa80
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=182917
5 changed files with 46 additions and 19 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= wsgiutils
PORTVERSION= 0.7
PORTREVISION= 1
CATEGORIES= devel textproc www python
MASTER_SITES= http://www.owlfish.com/software/wsgiutils/downloads/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -15,10 +16,19 @@ DISTNAME= WSGIUtils-${PORTVERSION}
MAINTAINER= j.haarman@synantics.com
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_SUB= PORTVERSION=${PORTVERSION} \
PYTHON_VERSION_NR=${_PYTHON_PORTBRANCH}
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}
PYWSGIUTILS_EGG= WSGIUtils-${PORTVERSION}-py${PYTHON_VER}.egg
.include <bsd.port.mk>

View File

@ -0,0 +1,17 @@
#!/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

View File

@ -0,0 +1,16 @@
#!/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

View File

@ -1,7 +1,7 @@
WSGIUtils is a package of standalone utility libraries that ease the development
of simple WSGI programs.
The package is divided into two main components which can be used individualy or
The package is divided into two main components which can be used individually or
in combination.
wsgiServer is a multi-threaded WSGI web server based on SimpleHTTPServer.

View File

@ -1,16 +0,0 @@
%%PYTHON_SITELIBDIR%%/wsgiutils/SessionClient.py
%%PYTHON_SITELIBDIR%%/wsgiutils/SessionClient.pyc
%%PYTHON_SITELIBDIR%%/wsgiutils/SessionClient.pyo
%%PYTHON_SITELIBDIR%%/wsgiutils/SessionServer.py
%%PYTHON_SITELIBDIR%%/wsgiutils/SessionServer.pyc
%%PYTHON_SITELIBDIR%%/wsgiutils/SessionServer.pyo
%%PYTHON_SITELIBDIR%%/wsgiutils/__init__.py
%%PYTHON_SITELIBDIR%%/wsgiutils/__init__.pyc
%%PYTHON_SITELIBDIR%%/wsgiutils/__init__.pyo
%%PYTHON_SITELIBDIR%%/wsgiutils/wsgiAdaptor.py
%%PYTHON_SITELIBDIR%%/wsgiutils/wsgiAdaptor.pyc
%%PYTHON_SITELIBDIR%%/wsgiutils/wsgiAdaptor.pyo
%%PYTHON_SITELIBDIR%%/wsgiutils/wsgiServer.py
%%PYTHON_SITELIBDIR%%/wsgiutils/wsgiServer.pyc
%%PYTHON_SITELIBDIR%%/wsgiutils/wsgiServer.pyo
@dirrm %%PYTHON_SITELIBDIR%%/wsgiutils/