aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-repoze.what/Makefile24
-rw-r--r--devel/py-repoze.what/distinfo3
-rw-r--r--devel/py-repoze.what/pkg-descr17
-rw-r--r--devel/py-repoze.what/pkg-plist41
5 files changed, 86 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 19033a6043e6..ba1034fdcbaf 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2455,6 +2455,7 @@
SUBDIR += py-qt4-test
SUBDIR += py-rbtree
SUBDIR += py-repl
+ SUBDIR += py-repoze.what
SUBDIR += py-repoze.who
SUBDIR += py-repoze.who-testutil
SUBDIR += py-resourcepackage
diff --git a/devel/py-repoze.what/Makefile b/devel/py-repoze.what/Makefile
new file mode 100644
index 000000000000..70167efe3a35
--- /dev/null
+++ b/devel/py-repoze.what/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: py-repoze.what
+# Date created: 3rd August,2009
+# Whom: Wen Heping <wenheping@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= repoze.what
+PORTVERSION= 1.0.8
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= wenheping@gmail.com
+COMMENT= Authorization for WSGI applications
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Paste>=1.7.2:${PORTSDIR}/www/py-paste \
+ ${PYTHON_PKGNAMEPREFIX}repoze.who-testutil>=0:${PORTSDIR}/devel/py-repoze.who-testutil
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= easy_install
+
+.include <bsd.port.mk>
diff --git a/devel/py-repoze.what/distinfo b/devel/py-repoze.what/distinfo
new file mode 100644
index 000000000000..aff5bf96e9cc
--- /dev/null
+++ b/devel/py-repoze.what/distinfo
@@ -0,0 +1,3 @@
+MD5 (repoze.what-1.0.8.tar.gz) = 2e9659f4d23711f41017cd4a26d76848
+SHA256 (repoze.what-1.0.8.tar.gz) = b4fb50d444866dc1410a4b9d04f9a05762f756b58f4f67b767b470f77f74a6db
+SIZE (repoze.what-1.0.8.tar.gz) = 58980
diff --git a/devel/py-repoze.what/pkg-descr b/devel/py-repoze.what/pkg-descr
new file mode 100644
index 000000000000..7747056894b4
--- /dev/null
+++ b/devel/py-repoze.what/pkg-descr
@@ -0,0 +1,17 @@
+repoze.what is an authorization framework for WSGI applications,
+based on repoze.who (which deals with authentication and
+identification).
+
+On the one hand, it enables an authorization system based on the
+groups to which the `authenticated or anonymous` user belongs and
+the permissions granted to such groups by loading these groups
+and permissions into the request on the way in to the downstream
+WSGI application.
+
+And on the other hand, it enables you to manage your groups and
+permissions from the application itself or another program, under
+a backend-independent API. For example, it would be easy for you
+to switch from one back-end to another, and even use this framework
+to migrate the data.
+
+WWW: http://what.repoze.org/docs/1.x/
diff --git a/devel/py-repoze.what/pkg-plist b/devel/py-repoze.what/pkg-plist
new file mode 100644
index 000000000000..002063804f96
--- /dev/null
+++ b/devel/py-repoze.what/pkg-plist
@@ -0,0 +1,41 @@
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/entry_points.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/namespace_packages.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/adapters/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/adapters/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/adapters/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/adapters/testutil.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/adapters/testutil.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/adapters/testutil.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/authorize.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/authorize.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/authorize.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/middleware.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/middleware.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/middleware.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/plugins/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/plugins/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/plugins/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/predicates.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/predicates.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/predicates.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/release.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/release.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/release.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/adapters
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what/plugins
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze/what
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/repoze
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%