Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jan 2016 04:26:46 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r405512 - in head/www: . py-cookies
Message-ID:  <201601080426.u084QkRF082800@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Fri Jan  8 04:26:45 2016
New Revision: 405512
URL: https://svnweb.freebsd.org/changeset/ports/405512

Log:
  [NEW] www/py-cookies: Friendlier RFC 6265-compliant cookie parser/renderer
  
  cookies.py is a Python module for working with HTTP cookies: parsing and
  rendering 'Cookie:' request headers and 'Set-Cookie:' response headers, and
  exposing a convenient API for creating and modifying cookies. It can be used
  as a replacement of Python's Cookie.py (aka http.cookies).
  
  WWW: https://github.com/sashahart/cookies
  
  PR:		205914
  Submitted by:	Brendan Molloy <brendan+freebsd@bbqsrc.net>

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

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Fri Jan  8 04:17:48 2016	(r405511)
+++ head/www/Makefile	Fri Jan  8 04:26:45 2016	(r405512)
@@ -1516,6 +1516,7 @@
     SUBDIR += py-clientform
     SUBDIR += py-collective.easytemplate
     SUBDIR += py-collective.templateengines
+    SUBDIR += py-cookies
     SUBDIR += py-cssmin
     SUBDIR += py-cssselect
     SUBDIR += py-cssutils

Added: head/www/py-cookies/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-cookies/Makefile	Fri Jan  8 04:26:45 2016	(r405512)
@@ -0,0 +1,25 @@
+# Created by: Brendan Molloy <brendan+freebsd@bbqsrc.net>
+# $FreeBSD$
+
+PORTNAME=	cookies
+PORTVERSION=	2.2.1
+CATEGORIES=	www devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	brendan+freebsd@bbqsrc.net
+COMMENT=	Friendlier RFC 6265-compliant cookie parser/renderer
+
+LICENSE=	MIT
+
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
+
+do-test:
+	@(cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test)
+
+.include <bsd.port.mk>

Added: head/www/py-cookies/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-cookies/distinfo	Fri Jan  8 04:26:45 2016	(r405512)
@@ -0,0 +1,2 @@
+SHA256 (cookies-2.2.1.tar.gz) = d6b698788cae4cfa4e62ef8643a9ca332b79bd96cb314294b864ae8d7eb3ee8e
+SIZE (cookies-2.2.1.tar.gz) = 40704

Added: head/www/py-cookies/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-cookies/pkg-descr	Fri Jan  8 04:26:45 2016	(r405512)
@@ -0,0 +1,6 @@
+cookies.py is a Python module for working with HTTP cookies: parsing and
+rendering 'Cookie:' request headers and 'Set-Cookie:' response headers, and 
+exposing a convenient API for creating and modifying cookies. It can be used
+as a replacement of Python's Cookie.py (aka http.cookies).
+
+WWW: https://github.com/sashahart/cookies



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