mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
This small app provides multi-host utilities to Django projects by using
threadlocals, middleware and simple utilities. Using the middleware provided, you can "easily" provide multi-site awareness to any project. WWW: http://bitbucket.org/bkroeze/django-threaded-multihost/ PR: ports/141302 Submitted by: Kevin Golding <ports at caomhin.org>
This commit is contained in:
parent
6b3e82e430
commit
7f709d92e4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=245619
@ -1322,6 +1322,7 @@
|
|||||||
SUBDIR += py-django-devel
|
SUBDIR += py-django-devel
|
||||||
SUBDIR += py-django-registration
|
SUBDIR += py-django-registration
|
||||||
SUBDIR += py-django-tagging
|
SUBDIR += py-django-tagging
|
||||||
|
SUBDIR += py-django-threaded-multihost
|
||||||
SUBDIR += py-dtflickr
|
SUBDIR += py-dtflickr
|
||||||
SUBDIR += py-ez_web
|
SUBDIR += py-ez_web
|
||||||
SUBDIR += py-fcgi
|
SUBDIR += py-fcgi
|
||||||
|
27
www/py-django-threaded-multihost/Makefile
Normal file
27
www/py-django-threaded-multihost/Makefile
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
# New ports collection makefile for: py-django-threaded-multihost
|
||||||
|
# Date created: 8 December 2009
|
||||||
|
# Whom: Kevin Golding <ports@caomhin.org>
|
||||||
|
#
|
||||||
|
# $FreeBSD$
|
||||||
|
#
|
||||||
|
|
||||||
|
PORTNAME= django-threaded-multihost
|
||||||
|
PORTVERSION= 1.3.2
|
||||||
|
CATEGORIES= www python
|
||||||
|
MASTER_SITES= http://cdn.bitbucket.org/bkroeze/django-threaded-multihost/downloads/
|
||||||
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||||
|
DISTNAME= ${PORTNAME}-${PORTVERSION:C/([[:digit:]]\.[[:digit:]])\./\1-/g}
|
||||||
|
|
||||||
|
MAINTAINER= ports@caomhin.org
|
||||||
|
COMMENT= Multi-host utilities to Django.
|
||||||
|
|
||||||
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/django/bin/django-admin.py:${PORTSDIR}/www/py-django
|
||||||
|
|
||||||
|
USE_PYTHON= yes
|
||||||
|
USE_PYDISTUTILS= easy_install
|
||||||
|
PYDISTUTILS_NOEGGINFO= yes
|
||||||
|
PYEASYINSTALL_EGG= ${PYDISTUTILS_PKGNAME:C/[^A-Za-z0-9.]+/_/g}-${PORTVERSION:C/([[:digit:]]\.[[:digit:]])\./\1_/g}-${PYTHON_VERSION:S/thon//}${PYEASYINSTALL_OSARCH}.egg
|
||||||
|
PYEASYINSTALL_UNINSTALLARGS= -q -m -S ${PYTHON_SITELIBDIR} \
|
||||||
|
${PYDISTUTILS_PKGNAME}==${PYDISTUTILS_PKGVERSION:C/([[:digit:]]\.[[:digit:]])\./\1_/g}
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
3
www/py-django-threaded-multihost/distinfo
Normal file
3
www/py-django-threaded-multihost/distinfo
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
MD5 (django-threaded-multihost-1.3-2.tar.gz) = bba26d70c76028c9334c35dc439fed60
|
||||||
|
SHA256 (django-threaded-multihost-1.3-2.tar.gz) = 7bc9b1eb5918a250cdd95efba7379188322623fb434aedf73ff114d0dedffd15
|
||||||
|
SIZE (django-threaded-multihost-1.3-2.tar.gz) = 12971
|
5
www/py-django-threaded-multihost/pkg-descr
Normal file
5
www/py-django-threaded-multihost/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
This small app provides multi-host utilities to Django projects by using
|
||||||
|
threadlocals, middleware and simple utilities. Using the middleware provided,
|
||||||
|
you can "easily" provide multi-site awareness to any project.
|
||||||
|
|
||||||
|
WWW: http://bitbucket.org/bkroeze/django-threaded-multihost/
|
1
www/py-django-threaded-multihost/pkg-plist
Normal file
1
www/py-django-threaded-multihost/pkg-plist
Normal file
@ -0,0 +1 @@
|
|||||||
|
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
|
Loading…
Reference in New Issue
Block a user