pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-quixote py-quixote: updated to 2.9.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fcc2cab31954
branches:  trunk
changeset: 377891:fcc2cab31954
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Mar 24 08:20:06 2018 +0000

description:
py-quixote: updated to 2.9.1

v2.9.1
    Add itervalues() and iteritems() methods to SessionManager.

    Allow unicode strings passed to redirect().

    Fix handling of __future__ import statements in PTL.


v2.9
    There was a packaging error for 2.8.  It included files not intended
    to be released which broke the 'ptl' package.  This release repairs
    that error and includes a small change to random session tokens.

    Use 128-bit random tokens for session keys and form tokens.

    Our previous 64-bit values should still be more than secure
    for web applications but recommended best practice is currently
    128-bit.  We use URL-safe base64 encoding so the length of
    the tokens is only a bit longer.

    Use base64 instead of hex encoding for util.randbytes()

v2.8
    Don't set duplicate ID attributes on radio inputs.

    ptl_import recompiles ptl files

    Since stat.st_mtime is a float in linux, _load_pyc will almost always
    recompile the ptl files.  Here's a patch to make the logic follow
    compile.c in python.

diffstat:

 devel/py-quixote/Makefile |  12 ++++--------
 devel/py-quixote/PLIST    |  14 +-------------
 devel/py-quixote/distinfo |  10 +++++-----
 3 files changed, 10 insertions(+), 26 deletions(-)

diffs (85 lines):

diff -r 7f5d795e571c -r fcc2cab31954 devel/py-quixote/Makefile
--- a/devel/py-quixote/Makefile Sat Mar 24 08:10:37 2018 +0000
+++ b/devel/py-quixote/Makefile Sat Mar 24 08:20:06 2018 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2017/01/01 14:43:35 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2018/03/24 08:20:06 adam Exp $
 
+DISTNAME=      Quixote-2.9.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
-DISTNAME=      Quixote-2.7
-CATEGORIES=    devel www
+CATEGORIES=    devel www python
 MASTER_SITES=  http://quixote.ca/releases/
 
 MAINTAINER=    manu%NetBSD.org@localhost
@@ -10,11 +10,7 @@
 COMMENT=       Framework for writing Python web application
 LICENSE=       mit
 
-REPLACE_PYTHON+= setup.py quixote/server/*.py quixote/test/*.py quixote/ptl/*.py
-REPLACE_PYTHON+= quixote/demo/*.py
-
-PYTHON_VERSIONS_INCOMPATIBLE=  34 35 36 # not yet ported as of 2.7
+PYTHON_VERSIONS_INCOMPATIBLE=  34 35 36 # v3.0 is for Python 3.x only
 
 .include "../../lang/python/distutils.mk"
-.include "../../lang/python/application.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 7f5d795e571c -r fcc2cab31954 devel/py-quixote/PLIST
--- a/devel/py-quixote/PLIST    Sat Mar 24 08:10:37 2018 +0000
+++ b/devel/py-quixote/PLIST    Sat Mar 24 08:20:06 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2014/01/19 20:37:43 wiz Exp $
+@comment $NetBSD: PLIST,v 1.6 2018/03/24 08:20:06 adam Exp $
 ${PYSITELIB}/${EGG_FILE}
 ${PYSITELIB}/quixote/__init__.py
 ${PYSITELIB}/quixote/__init__.pyc
@@ -18,9 +18,6 @@
 ${PYSITELIB}/quixote/demo/mini_demo.py
 ${PYSITELIB}/quixote/demo/mini_demo.pyc
 ${PYSITELIB}/quixote/demo/mini_demo.pyo
-${PYSITELIB}/quixote/demo/profile.py
-${PYSITELIB}/quixote/demo/profile.pyc
-${PYSITELIB}/quixote/demo/profile.pyo
 ${PYSITELIB}/quixote/demo/root.ptl
 ${PYSITELIB}/quixote/directory.py
 ${PYSITELIB}/quixote/directory.pyc
@@ -69,9 +66,6 @@
 ${PYSITELIB}/quixote/ptl/ihooks_local.py
 ${PYSITELIB}/quixote/ptl/ihooks_local.pyc
 ${PYSITELIB}/quixote/ptl/ihooks_local.pyo
-${PYSITELIB}/quixote/ptl/infinite_reload.py
-${PYSITELIB}/quixote/ptl/infinite_reload.pyc
-${PYSITELIB}/quixote/ptl/infinite_reload.pyo
 ${PYSITELIB}/quixote/ptl/install.py
 ${PYSITELIB}/quixote/ptl/install.pyc
 ${PYSITELIB}/quixote/ptl/install.pyo
@@ -87,12 +81,6 @@
 ${PYSITELIB}/quixote/ptl/qx_distutils.py
 ${PYSITELIB}/quixote/ptl/qx_distutils.pyc
 ${PYSITELIB}/quixote/ptl/qx_distutils.pyo
-${PYSITELIB}/quixote/ptl/relimport.py
-${PYSITELIB}/quixote/ptl/relimport.pyc
-${PYSITELIB}/quixote/ptl/relimport.pyo
-${PYSITELIB}/quixote/ptl/test_import.py
-${PYSITELIB}/quixote/ptl/test_import.pyc
-${PYSITELIB}/quixote/ptl/test_import.pyo
 ${PYSITELIB}/quixote/publish.py
 ${PYSITELIB}/quixote/publish.pyc
 ${PYSITELIB}/quixote/publish.pyo
diff -r 7f5d795e571c -r fcc2cab31954 devel/py-quixote/distinfo
--- a/devel/py-quixote/distinfo Sat Mar 24 08:10:37 2018 +0000
+++ b/devel/py-quixote/distinfo Sat Mar 24 08:20:06 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2015/11/03 03:29:15 agc Exp $
+$NetBSD: distinfo,v 1.4 2018/03/24 08:20:06 adam Exp $
 
-SHA1 (Quixote-2.7.tar.gz) = 964dead6cf9cb8a99b20b283ed58599cec08d85d
-RMD160 (Quixote-2.7.tar.gz) = 5b4d1a52022e3635641121bade23c8d610b962d8
-SHA512 (Quixote-2.7.tar.gz) = 79b70f8b7dd8e3b178a483398ecf278792323f57adcdf9f5f78a6e9f7a8e03323b31a6b85ab6b2d07b7af911890245ee7dd20d6e87e52077f3e32b3c92e930eb
-Size (Quixote-2.7.tar.gz) = 208400 bytes
+SHA1 (Quixote-2.9.1.tar.gz) = 8ca189913ca25fb54f543b4873061167dd6b8c4d
+RMD160 (Quixote-2.9.1.tar.gz) = 7c5c78c194d84b125831f2fe43c4542117259a88
+SHA512 (Quixote-2.9.1.tar.gz) = b844b1777192c5d6ecdaba47bc07dfdf628cc644ec5dc48113f8f5cdebb8d3fafddce41635ffc255afa1f1f4f9bf5188046c9e8c664d81efbc1331dbb19db2c8
+Size (Quixote-2.9.1.tar.gz) = 211731 bytes



Home | Main Index | Thread Index | Old Index