Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Nov 2014 11:51:56 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r372359 - in head/www: . py-bottle-cork
Message-ID:  <201411091151.sA9BpuIg031688@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sun Nov  9 11:51:55 2014
New Revision: 372359
URL: https://svnweb.freebsd.org/changeset/ports/372359
QAT: https://qat.redports.org/buildarchive/r372359/

Log:
  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.

Added:
  head/www/py-bottle-cork/
  head/www/py-bottle-cork/Makefile   (contents, props changed)
  head/www/py-bottle-cork/distinfo   (contents, props changed)
  head/www/py-bottle-cork/pkg-descr   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Sun Nov  9 11:36:08 2014	(r372358)
+++ head/www/Makefile	Sun Nov  9 11:51:55 2014	(r372359)
@@ -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

Added: head/www/py-bottle-cork/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-bottle-cork/Makefile	Sun Nov  9 11:51:55 2014	(r372359)
@@ -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>

Added: head/www/py-bottle-cork/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-bottle-cork/distinfo	Sun Nov  9 11:51:55 2014	(r372359)
@@ -0,0 +1,2 @@
+SHA256 (bottle-cork-0.10.tar.gz) = a4bed8e0756fa774406611f662bf95ea5aa93eb4f8515c60acf3e4b1db810d61
+SIZE (bottle-cork-0.10.tar.gz) = 59221

Added: head/www/py-bottle-cork/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-bottle-cork/pkg-descr	Sun Nov  9 11:51:55 2014	(r372359)
@@ -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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411091151.sA9BpuIg031688>