Add new port www/py-bottle-cork

PR:		194192
Submitted by:	Olivier (cochard.me)

bottle-cork provides a simple set of methods to implement Authentication
and Authorization in web applications based on Bottle.
This commit is contained in:
John Marino 2014-11-09 11:51:55 +00:00
parent 1dfe68b7b0
commit 389b439e91
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=372359
4 changed files with 50 additions and 0 deletions

View File

@ -1454,6 +1454,7 @@
SUBDIR += py-bleach
SUBDIR += py-blogofile
SUBDIR += py-bottle
SUBDIR += py-bottle-cork
SUBDIR += py-cherrypy
SUBDIR += py-cherrypy-old
SUBDIR += py-clientform

View File

@ -0,0 +1,43 @@
# $FreeBSD$
PORTNAME= bottle-cork
PORTVERSION= 0.10
CATEGORIES= www python
MASTER_SITES= GH
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= olivier@cochard.me
COMMENT= Bottle authentication and authorization module
LICENSE= LGPL3
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bottle>0:${PORTSDIR}/www/py-bottle \
${PYTHON_PKGNAMEPREFIX}beaker>0:${PORTSDIR}/www/py-beaker
USE_GITHUB= yes
GH_ACCOUNT= FedericoCeratto
GH_PROJECT= bottle-cork
GH_COMMIT= c881fae
GH_TAGNAME= v${PORTVERSION}
USES= python
USE_PYTHON= distutils autoplist
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
PORTEXAMPLES= *
OPTIONS_DEFINE= SQLITE MONGODB SQLALCHEMY EXAMPLES
.include <bsd.port.options.mk>
SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3
MONGODB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pymongo>0:${PORTSDIR}/databases/pymongo
SQLALCHEMY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlalchemy>0:${PORTSDIR}/databases/py-sqlalchemy
.if ${PORT_OPTIONS:MEXAMPLES}
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/examples && \
${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (bottle-cork-0.10.tar.gz) = a4bed8e0756fa774406611f662bf95ea5aa93eb4f8515c60acf3e4b1db810d61
SIZE (bottle-cork-0.10.tar.gz) = 59221

View File

@ -0,0 +1,4 @@
bottle-cork provides a simple set of methods to implement Authentication
and Authorization in web applications based on Bottle.
WWW: http://cork.firelet.net/