aboutsummaryrefslogtreecommitdiff
path: root/www/py-wsgiref
diff options
context:
space:
mode:
authorAlexander Botero-Lowry <alexbl@FreeBSD.org>2006-12-22 05:21:23 +0000
committerAlexander Botero-Lowry <alexbl@FreeBSD.org>2006-12-22 05:21:23 +0000
commita3897566f8e40672d5ad233d3d5659154955a09b (patch)
tree44fa754fa6b6edcc306feb43a3da48678d1a937b /www/py-wsgiref
parentbcc49aeba00e41f097ce37cbc5bd66d6f8f8ceaa (diff)
downloadports-a3897566f8e40672d5ad233d3d5659154955a09b.tar.gz
ports-a3897566f8e40672d5ad233d3d5659154955a09b.zip
Notes
Diffstat (limited to 'www/py-wsgiref')
-rw-r--r--www/py-wsgiref/Makefile26
-rw-r--r--www/py-wsgiref/distinfo3
-rw-r--r--www/py-wsgiref/files/patch-setup.py14
-rw-r--r--www/py-wsgiref/pkg-descr4
-rw-r--r--www/py-wsgiref/pkg-plist19
5 files changed, 66 insertions, 0 deletions
diff --git a/www/py-wsgiref/Makefile b/www/py-wsgiref/Makefile
new file mode 100644
index 000000000000..bd7b38e96482
--- /dev/null
+++ b/www/py-wsgiref/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: py-wsgiref
+# Date created: 21 Dec 2006
+# Whom: Alexander Botero-Lowry <alexbl@FreeBSD.org>
+#
+# $FreeBSD$
+
+PORTNAME= wsgiref
+PORTVERSION= 0.1.2
+CATEGORIES= www devel python
+MASTER_SITES= http://cheeseshop.python.org/packages/source/w/wsgiref/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= alexbl@FreeBSD.org
+COMMENT= Backport of Python 2.5's wsgiref module
+
+USE_ZIP= yes
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} >= 250
+IGNORE= hashlib ships with Python 2.5.x
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/py-wsgiref/distinfo b/www/py-wsgiref/distinfo
new file mode 100644
index 000000000000..002cbdb84d4c
--- /dev/null
+++ b/www/py-wsgiref/distinfo
@@ -0,0 +1,3 @@
+MD5 (wsgiref-0.1.2.zip) = 29b146e6ebd0f9fb119fe321f7bcf6cb
+SHA256 (wsgiref-0.1.2.zip) = c7e610c800957046c04c8014aab8cce8f0b9f0495c8cd349e57c1f7cabf40e79
+SIZE (wsgiref-0.1.2.zip) = 37351
diff --git a/www/py-wsgiref/files/patch-setup.py b/www/py-wsgiref/files/patch-setup.py
new file mode 100644
index 000000000000..f737b9bdda47
--- /dev/null
+++ b/www/py-wsgiref/files/patch-setup.py
@@ -0,0 +1,14 @@
+--- setup.py.orig Thu Dec 21 21:11:56 2006
++++ setup.py Thu Dec 21 21:15:05 2006
+@@ -2,10 +2,7 @@
+
+ """Distutils setup file"""
+
+-import ez_setup
+-ez_setup.use_setuptools()
+-
+-from setuptools import setup, find_packages
++from distutils.core import setup
+
+ # Metadata
+ PACKAGE_NAME = "wsgiref"
diff --git a/www/py-wsgiref/pkg-descr b/www/py-wsgiref/pkg-descr
new file mode 100644
index 000000000000..5f0018e1ea58
--- /dev/null
+++ b/www/py-wsgiref/pkg-descr
@@ -0,0 +1,4 @@
+wsgiref is a reference implementation of the WSGI standard. This is a
+backport of wsgiref which is included in Python 2.5
+
+WWW: http://cheeseshop.python.org/pypi/wsgiref
diff --git a/www/py-wsgiref/pkg-plist b/www/py-wsgiref/pkg-plist
new file mode 100644
index 000000000000..84ed4474f70e
--- /dev/null
+++ b/www/py-wsgiref/pkg-plist
@@ -0,0 +1,19 @@
+%%PYTHON_SITELIBDIR%%/wsgiref/__init__.py
+%%PYTHON_SITELIBDIR%%/wsgiref/__init__.pyc
+%%PYTHON_SITELIBDIR%%/wsgiref/__init__.pyo
+%%PYTHON_SITELIBDIR%%/wsgiref/handlers.py
+%%PYTHON_SITELIBDIR%%/wsgiref/handlers.pyc
+%%PYTHON_SITELIBDIR%%/wsgiref/handlers.pyo
+%%PYTHON_SITELIBDIR%%/wsgiref/headers.py
+%%PYTHON_SITELIBDIR%%/wsgiref/headers.pyc
+%%PYTHON_SITELIBDIR%%/wsgiref/headers.pyo
+%%PYTHON_SITELIBDIR%%/wsgiref/simple_server.py
+%%PYTHON_SITELIBDIR%%/wsgiref/simple_server.pyc
+%%PYTHON_SITELIBDIR%%/wsgiref/simple_server.pyo
+%%PYTHON_SITELIBDIR%%/wsgiref/util.py
+%%PYTHON_SITELIBDIR%%/wsgiref/util.pyc
+%%PYTHON_SITELIBDIR%%/wsgiref/util.pyo
+%%PYTHON_SITELIBDIR%%/wsgiref/validate.py
+%%PYTHON_SITELIBDIR%%/wsgiref/validate.pyc
+%%PYTHON_SITELIBDIR%%/wsgiref/validate.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/wsgiref