1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/www/py-pastedeploy/files/pkg-deinstall.in
Nicola Vitale b171b6f540 Load, configure, and compose WSGI applications and servers
Paste Deployment is a system for finding and configuring WSGI
applications and servers. For WSGI application consumers it provides a
single, simple function (loadapp) for loading a WSGI application from
a configuration file or a Python Egg. For WSGI application providers
it only asks for a single, simple entry point to your application, so
that application users don't need to be exposed to the implementation
details of your application.

The result is something a system administrator can install and manage
without knowing any Python, or the details of the WSGI application or
its container.

This tool provides code to load WSGI applications and servers from
URIs; these URIs can refer to Python Eggs for INI-style configuration
files. Paste Script provides commands to serve applications based on
this configuration file.

Author:	Ian Bicking <ianb at colorstudy com>
WWW:	http://pythonpaste.org/deploy/

PR:		ports/106755
Submitted by:	Dryice Liu	<dryice at dryice.name>
Approved by:	alexbl (mentor)
Reviewed by:	dryice (maintainer)
2007-01-07 09:53:55 +00:00

18 lines
218 B
Bash

#!/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