aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKubilay Kocak <koobs@FreeBSD.org>2016-01-08 04:26:45 +0000
committerKubilay Kocak <koobs@FreeBSD.org>2016-01-08 04:26:45 +0000
commit88bd0c416d48ce963318d3507ae7b7e767962cb5 (patch)
treeb17d8fb95f2a1e5dbcacbeb6ed41b9a92f24dc65
parent1416c2338dc53fd370f5b9d473f5ab5132c6b198 (diff)
Notes
-rw-r--r--www/Makefile1
-rw-r--r--www/py-cookies/Makefile25
-rw-r--r--www/py-cookies/distinfo2
-rw-r--r--www/py-cookies/pkg-descr6
4 files changed, 34 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index cc56645f11f4..90600014760d 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -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
diff --git a/www/py-cookies/Makefile b/www/py-cookies/Makefile
new file mode 100644
index 000000000000..6eda55257a3a
--- /dev/null
+++ b/www/py-cookies/Makefile
@@ -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>
diff --git a/www/py-cookies/distinfo b/www/py-cookies/distinfo
new file mode 100644
index 000000000000..9020000a17b9
--- /dev/null
+++ b/www/py-cookies/distinfo
@@ -0,0 +1,2 @@
+SHA256 (cookies-2.2.1.tar.gz) = d6b698788cae4cfa4e62ef8643a9ca332b79bd96cb314294b864ae8d7eb3ee8e
+SIZE (cookies-2.2.1.tar.gz) = 40704
diff --git a/www/py-cookies/pkg-descr b/www/py-cookies/pkg-descr
new file mode 100644
index 000000000000..edb435198310
--- /dev/null
+++ b/www/py-cookies/pkg-descr
@@ -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