Download raw body.
www/py-webpy and Python 3.13
On Mon, Feb 24, 2025 at 07:18:12PM -0500, Daniel Dickman wrote:
>
> py-webpy doesn't support Python 3.13 due to the use of the cgi module
> which was removed in this Python update.
>
> Updating from 0.61 to 0.70 fixes things.
>
> Unfortunately the latest release doesn't seem to be available on pypi, and
> only on github so have adjusted the port to fetch the distfile from GH.
>
> There's also a new RDEP on py-multipart.
>
> ok?
ok kevlo@
Thanks for taking care of it.
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/www/py-webpy/Makefile,v
> diff -u -p -u -r1.25 Makefile
> --- Makefile 21 Dec 2024 11:39:15 -0000 1.25
> +++ Makefile 25 Feb 2025 00:15:30 -0000
> @@ -1,9 +1,11 @@
> COMMENT= web framework for python
>
> -MODPY_DISTV= 0.61
> -DISTNAME= web.py-${MODPY_DISTV}
> -PKGNAME= py-webpy-${MODPY_DISTV}
> -REVISION= 5
> +MODPY_DISTV= 0.70
> +GH_ACCOUNT = webpy
> +GH_PROJECT = webpy
> +GH_TAGNAME = webpy-${MODPY_DISTV}
> +DISTNAME= webpy-${MODPY_DISTV}
> +PKGNAME= py-${DISTNAME}
>
> CATEGORIES= www
>
> @@ -16,9 +18,9 @@ PERMIT_PACKAGE= Yes
>
> MODULES= lang/python
>
> -MODPY_PI= Yes
> MODPY_PYBUILD = setuptools
>
> -RUN_DEPENDS= www/py-cheroot
> +RUN_DEPENDS= www/py-cheroot \
> + www/py-multipart
>
> .include <bsd.port.mk>
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/www/py-webpy/distinfo,v
> diff -u -p -u -r1.9 distinfo
> --- distinfo 15 Aug 2020 15:39:06 -0000 1.9
> +++ distinfo 25 Feb 2025 00:15:30 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (web.py-0.61.tar.gz) = x6kIGusIbNPnA8dVOkfudRiNHTJfJe7HZU2bsAtezLs=
> -SIZE (web.py-0.61.tar.gz) = 623070
> +SHA256 (webpy-0.70.tar.gz) = 7uNuQjtehUYxRRWdlHNePDpMHIB4VVBC2BOTSDULACI=
> +SIZE (webpy-0.70.tar.gz) = 104202
> Index: pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/www/py-webpy/pkg/PLIST,v
> diff -u -p -u -r1.13 PLIST
> --- pkg/PLIST 21 Dec 2024 11:39:15 -0000 1.13
> +++ pkg/PLIST 25 Feb 2025 00:15:30 -0000
> @@ -1,11 +1,6 @@
> -@pkgpath www/py-webpy,python3
> @conflict py-webpy-*
> +@pkgpath www/py-webpy,python3
> lib/python${MODPY_VERSION}/site-packages/web/
> -lib/python${MODPY_VERSION}/site-packages/web.py-${MODPY_DISTV}.dist-info/
> -lib/python${MODPY_VERSION}/site-packages/web.py-${MODPY_DISTV}.dist-info/METADATA
> -lib/python${MODPY_VERSION}/site-packages/web.py-${MODPY_DISTV}.dist-info/RECORD
> -lib/python${MODPY_VERSION}/site-packages/web.py-${MODPY_DISTV}.dist-info/WHEEL
> -lib/python${MODPY_VERSION}/site-packages/web.py-${MODPY_DISTV}.dist-info/top_level.txt
> lib/python${MODPY_VERSION}/site-packages/web/__init__.py
> ${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/web/${MODPY_PYCACHE}/
> lib/python${MODPY_VERSION}/site-packages/web/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
> @@ -63,3 +58,9 @@ lib/python${MODPY_VERSION}/site-packages
> lib/python${MODPY_VERSION}/site-packages/web/utils.py
> lib/python${MODPY_VERSION}/site-packages/web/webapi.py
> lib/python${MODPY_VERSION}/site-packages/web/wsgi.py
> +lib/python${MODPY_VERSION}/site-packages/web_py-${MODPY_DISTV}.dist-info/
> +lib/python${MODPY_VERSION}/site-packages/web_py-${MODPY_DISTV}.dist-info/LICENSE.txt
> +lib/python${MODPY_VERSION}/site-packages/web_py-${MODPY_DISTV}.dist-info/METADATA
> +lib/python${MODPY_VERSION}/site-packages/web_py-${MODPY_DISTV}.dist-info/RECORD
> +lib/python${MODPY_VERSION}/site-packages/web_py-${MODPY_DISTV}.dist-info/WHEEL
> +lib/python${MODPY_VERSION}/site-packages/web_py-${MODPY_DISTV}.dist-info/top_level.txt
www/py-webpy and Python 3.13