pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-webpy py-webpy: updated to 0.62



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e3aa646d8501
branches:  trunk
changeset: 387783:e3aa646d8501
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Nov 06 18:34:58 2022 +0000

description:
py-webpy: updated to 0.62

0.62

* Fixed: application.load() assumes ctx.path will be a latin1 string
* Fixed: can not reset session data to same value as initialized.
* Fixed: can not set session expire time.
* Fixed: not export session store `MemoryStore`.

0.61

* setup.py: Add python_requires='>=3.5'

0.60

* Python-2 support has been completely dropped. Welcome to Python 3.
* Fixed: session store `DiskStore` doesn't return correctly if session
  directory doesn't exist.
* Fixed: incorrect str/bytes type of session data.
* Fixed: `db.query("insert... returning")` fails to commit.

diffstat:

 www/py-webpy/Makefile |  19 +++++++++++--------
 www/py-webpy/PLIST    |  26 +++++++++-----------------
 www/py-webpy/distinfo |   8 ++++----
 3 files changed, 24 insertions(+), 29 deletions(-)

diffs (96 lines):

diff -r a4631ded4350 -r e3aa646d8501 www/py-webpy/Makefile
--- a/www/py-webpy/Makefile     Sun Nov 06 18:29:10 2022 +0000
+++ b/www/py-webpy/Makefile     Sun Nov 06 18:34:58 2022 +0000
@@ -1,21 +1,24 @@
-# $NetBSD: Makefile,v 1.25 2022/01/10 20:54:11 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2022/11/06 18:34:58 adam Exp $
 
-DISTNAME=      web.py-0.37
+DISTNAME=      web.py-0.62
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    www python
-MASTER_SITES=  http://webpy.org/static/
+MASTER_SITES=  ${MASTER_SITE_PYPI:=w/web.py/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://webpy.org/
 COMMENT=       Simple, public domain web publishing system
 LICENSE=       public-domain
 
-USE_LANGUAGES= #none
+DEPENDS+=      ${PYPKGPREFIX}-cheroot>=6.0.0:../../www/py-cheroot
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=5.4.1:../../devel/py-test
+
+USE_LANGUAGES= # none
 
-REPLACE_PYTHON+=               web/__init__.py web/utils.py
-PYTHON_VERSIONS_ACCEPTED=      27 # not yet ported as of 0.37
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-.include "../../lang/python/application.mk"
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r a4631ded4350 -r e3aa646d8501 www/py-webpy/PLIST
--- a/www/py-webpy/PLIST        Sun Nov 06 18:29:10 2022 +0000
+++ b/www/py-webpy/PLIST        Sun Nov 06 18:34:58 2022 +0000
@@ -1,5 +1,9 @@
-@comment $NetBSD: PLIST,v 1.9 2022/01/14 17:52:06 wiz Exp $
-${PYSITELIB}/${EGG_INFODIR}
+@comment $NetBSD: PLIST,v 1.10 2022/11/06 18:34:58 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/web/__init__.py
 ${PYSITELIB}/web/__init__.pyc
 ${PYSITELIB}/web/__init__.pyo
@@ -33,9 +37,9 @@
 ${PYSITELIB}/web/net.py
 ${PYSITELIB}/web/net.pyc
 ${PYSITELIB}/web/net.pyo
-${PYSITELIB}/web/python23.py
-${PYSITELIB}/web/python23.pyc
-${PYSITELIB}/web/python23.pyo
+${PYSITELIB}/web/py3helpers.py
+${PYSITELIB}/web/py3helpers.pyc
+${PYSITELIB}/web/py3helpers.pyo
 ${PYSITELIB}/web/session.py
 ${PYSITELIB}/web/session.pyc
 ${PYSITELIB}/web/session.pyo
@@ -51,18 +55,6 @@
 ${PYSITELIB}/web/webapi.py
 ${PYSITELIB}/web/webapi.pyc
 ${PYSITELIB}/web/webapi.pyo
-${PYSITELIB}/web/webopenid.py
-${PYSITELIB}/web/webopenid.pyc
-${PYSITELIB}/web/webopenid.pyo
 ${PYSITELIB}/web/wsgi.py
 ${PYSITELIB}/web/wsgi.pyc
 ${PYSITELIB}/web/wsgi.pyo
-${PYSITELIB}/web/wsgiserver/__init__.py
-${PYSITELIB}/web/wsgiserver/__init__.pyc
-${PYSITELIB}/web/wsgiserver/__init__.pyo
-${PYSITELIB}/web/wsgiserver/ssl_builtin.py
-${PYSITELIB}/web/wsgiserver/ssl_builtin.pyc
-${PYSITELIB}/web/wsgiserver/ssl_builtin.pyo
-${PYSITELIB}/web/wsgiserver/ssl_pyopenssl.py
-${PYSITELIB}/web/wsgiserver/ssl_pyopenssl.pyc
-${PYSITELIB}/web/wsgiserver/ssl_pyopenssl.pyo
diff -r a4631ded4350 -r e3aa646d8501 www/py-webpy/distinfo
--- a/www/py-webpy/distinfo     Sun Nov 06 18:29:10 2022 +0000
+++ b/www/py-webpy/distinfo     Sun Nov 06 18:34:58 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.7 2021/10/26 11:30:51 nia Exp $
+$NetBSD: distinfo,v 1.8 2022/11/06 18:34:58 adam Exp $
 
-BLAKE2s (web.py-0.37.tar.gz) = 397b9d3361e1f7b97de1884040a399403d5289b595fdc19e528209b9027766ad
-SHA512 (web.py-0.37.tar.gz) = 766e24d9df6ab1c3a214156794a19c23fcb16ca7a4ee7586a7723f802eab2ba0b8cda4653c2504ef63f773609436ac12dfd40bbe6cf20e2f93bf95493f041628
-Size (web.py-0.37.tar.gz) = 90232 bytes
+BLAKE2s (web.py-0.62.tar.gz) = 46cf2e2d8eca8a943815bc905530dd55764d7629e1e4f12aa2fd567126963137
+SHA512 (web.py-0.62.tar.gz) = b85fae51ae411991b6f0eb03041dbb9584b5b005a240354a6112fe805f82cecfb3e245a378c1f1a232904633afe9e5e1ce5d9d118b368ea9ba5b0ab88f9cccfa
+Size (web.py-0.62.tar.gz) = 623196 bytes



Home | Main Index | Thread Index | Old Index