Monday, August 02, 2021

Re: www/py-itsdangerous to 1.1.0

On Sun, Aug 01, 2021 at 08:44:18PM -0500, Lucas Raab wrote:
> Hello,

> Here's an initial update to www/py-itsdangerous to 1.1.0. This isn't
> the latest version, but flask, itsdangerous, werkzeug, click, et al
> all saw major version bumps this past spring. My thought was to
> take a conservative approach to these and start out with
> everything-but-the-latest to see how things go. Bad approach or
> other thoughts?

> www/py-flask doesn't show any differences in failed tests than before
> and www/py-httpbin doesn't report any errors (and uses flask to boot).
> Couple quick tests with flask projects didn't reveal anything untoward,
> but anyone else report differently? Look good otherwise?

> Changelog: https://itsdangerous.palletsprojects.com/en/2.0.x/changes/

> General announcement of the latest version of the palletsprojects
> suite: https://palletsprojects.com/blog/flask-2-0-released/

This doesn't apply to -current. It's based on the 6.9 release version
I'm guessing, or your ports tree is out of date.

--Kurt

> Thanks,
> Lucas

> diff fa22c8e9dedb0a031f41f04e2e469e3b70ac7be8 /usr/ports
> blob - c40903f7cc07fa6971bb46a216402bd170ea3d2f
> file + www/py-itsdangerous/Makefile
> --- www/py-itsdangerous/Makefile
> +++ www/py-itsdangerous/Makefile
> @@ -2,8 +2,7 @@
>
> COMMENT = helpers to pass trusted data to untrusted environments
>
> -MODPY_EGG_VERSION = 0.24
> -REVISION = 8
> +MODPY_EGG_VERSION = 1.1.0
> DISTNAME = itsdangerous-${MODPY_EGG_VERSION}
> PKGNAME = py-${DISTNAME}
>
> @@ -19,6 +18,7 @@ MODPY_PI = Yes
> MODULES = lang/python
>
> MODPY_SETUPTOOLS = Yes
> +MODPY_PYTEST = Yes
>
> BUILD_DEPENDS = textproc/py-sphinx,python3>=1.5
>
> @@ -26,6 +26,7 @@ FLAVORS = python3
> FLAVOR = python3
>
> MAKE_ENV += PYTHONPATH=${WRKSRC}
> +USE_GMAKE = Yes
>
> post-build:
> @cd ${WRKSRC}/docs && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} html
> blob - 129b2407734a91cf2bdfd2613a74926a02b500fa
> file + www/py-itsdangerous/distinfo
> --- www/py-itsdangerous/distinfo
> +++ www/py-itsdangerous/distinfo
> @@ -1,2 +1,2 @@
> -SHA256 (itsdangerous-0.24.tar.gz) = y7P8+NPjPfhhcJ7K+J2eZinP8KIXvChI8bQc0w02BRk=
> -SIZE (itsdangerous-0.24.tar.gz) = 46541
> +SHA256 (itsdangerous-1.1.0.tar.gz) = MhsDPQfypBNtPsdi6snxahDM1g9TwMka+QIXrOe6Hxk=
> +SIZE (itsdangerous-1.1.0.tar.gz) = 53219
> blob - b61892f1d71e9bfbb7327ec2ec2a126b7796a938
> file + /dev/null
> --- www/py-itsdangerous/patches/patch-docs_Makefile
> +++ /dev/null
> @@ -1,12 +0,0 @@
> -$OpenBSD: patch-docs_Makefile,v 1.1 2016/04/16 19:06:26 shadchin Exp $
> ---- docs/Makefile.orig Fri Apr 15 21:28:40 2016
> -+++ docs/Makefile Fri Apr 15 21:28:46 2016
> -@@ -3,7 +3,7 @@
> -
> - # You can set these variables from the command line.
> - SPHINXOPTS =
> --SPHINXBUILD = sphinx-build
> -+SPHINXBUILD ?= sphinx-build
> - PAPER =
> - BUILDDIR = _build
> -
> blob - 67411cf9c17ce57c71a663eed38816e71ef40551
> file + www/py-itsdangerous/patches/patch-docs_conf_py
> --- www/py-itsdangerous/patches/patch-docs_conf_py
> +++ www/py-itsdangerous/patches/patch-docs_conf_py
> @@ -2,14 +2,15 @@ $OpenBSD: patch-docs_conf_py,v 1.1 2016/04/16 19:06:26
>
> Prevent build from calling out to the internet.
>
> ---- docs/conf.py.orig Fri Apr 15 21:29:34 2016
> -+++ docs/conf.py Fri Apr 15 21:29:43 2016
> -@@ -26,7 +26,7 @@ sys.path.append(os.path.abspath('..'))
> +Index: docs/conf.py
> +--- docs/conf.py.orig
> ++++ docs/conf.py
> +@@ -11,7 +11,7 @@ release, version = get_version("itsdangerous")
> + # General --------------------------------------------------------------
>
> - # Add any Sphinx extension module names here, as strings. They can be extensions
> - # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
> --extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx']
> -+extensions = ['sphinx.ext.autodoc']
> + master_doc = "index"
> +-extensions = ["sphinx.ext.autodoc", "sphinx.ext.intersphinx", "pallets_sphinx_themes"]
> ++extensions = ["sphinx.ext.autodoc", "pallets_sphinx_themes"]
> + intersphinx_mapping = {"python": ("https://docs.python.org/3/", None)}
>
> - # Add any paths that contain templates here, relative to this directory.
> - templates_path = ['_templates']
> + # HTML -----------------------------------------------------------------
> blob - ca418bf64f46e8cfad13c2258e56cafa665cb3a7
> file + /dev/null
> --- www/py-itsdangerous/patches/patch-setup_py
> +++ /dev/null
> @@ -1,11 +0,0 @@
> -$OpenBSD: patch-setup_py,v 1.1 2015/09/23 11:26:05 jca Exp $
> ---- setup.py.orig Wed Sep 23 13:19:05 2015
> -+++ setup.py Wed Sep 23 13:19:45 2015
> -@@ -11,6 +11,7 @@ setup(
> - version='0.24',
> - url='http://github.com/mitsuhiko/itsdangerous',
> - py_modules=['itsdangerous'],
> -+ test_suite='tests',
> - description='Various helpers to pass trusted data to '
> - 'untrusted environments and back.',
> - zip_safe=False,
> blob - 9d9dc5cc7d183361948f996a1434e0e4987ab831
> file + www/py-itsdangerous/pkg/PLIST
> --- www/py-itsdangerous/pkg/PLIST
> +++ www/py-itsdangerous/pkg/PLIST
> @@ -1,35 +1,78 @@
> @comment $OpenBSD: PLIST,v 1.7 2021/03/01 13:11:19 sthen Exp $
> @pkgpath www/py-itsdangerous
> -lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}itsdangerous.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/itsdangerous/
> lib/python${MODPY_VERSION}/site-packages/itsdangerous-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
> lib/python${MODPY_VERSION}/site-packages/itsdangerous-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
> lib/python${MODPY_VERSION}/site-packages/itsdangerous-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
> lib/python${MODPY_VERSION}/site-packages/itsdangerous-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
> -lib/python${MODPY_VERSION}/site-packages/itsdangerous-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/not-zip-safe
> lib/python${MODPY_VERSION}/site-packages/itsdangerous-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
> -lib/python${MODPY_VERSION}/site-packages/itsdangerous.py
> +lib/python${MODPY_VERSION}/site-packages/itsdangerous/__init__.py
> +${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/itsdangerous/${MODPY_PYCACHE}/
> +lib/python${MODPY_VERSION}/site-packages/itsdangerous/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/itsdangerous/${MODPY_PYCACHE}_compat.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/itsdangerous/${MODPY_PYCACHE}_json.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/itsdangerous/${MODPY_PYCACHE}encoding.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/itsdangerous/${MODPY_PYCACHE}exc.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/itsdangerous/${MODPY_PYCACHE}jws.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/itsdangerous/${MODPY_PYCACHE}serializer.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/itsdangerous/${MODPY_PYCACHE}signer.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/itsdangerous/${MODPY_PYCACHE}timed.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/itsdangerous/${MODPY_PYCACHE}url_safe.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/itsdangerous/_compat.py
> +lib/python${MODPY_VERSION}/site-packages/itsdangerous/_json.py
> +lib/python${MODPY_VERSION}/site-packages/itsdangerous/encoding.py
> +lib/python${MODPY_VERSION}/site-packages/itsdangerous/exc.py
> +lib/python${MODPY_VERSION}/site-packages/itsdangerous/jws.py
> +lib/python${MODPY_VERSION}/site-packages/itsdangerous/serializer.py
> +lib/python${MODPY_VERSION}/site-packages/itsdangerous/signer.py
> +lib/python${MODPY_VERSION}/site-packages/itsdangerous/timed.py
> +lib/python${MODPY_VERSION}/site-packages/itsdangerous/url_safe.py
> share/doc/${MODPY_PY_PREFIX}itsdangerous/
> +share/doc/${MODPY_PY_PREFIX}itsdangerous/404.html
> +share/doc/${MODPY_PY_PREFIX}itsdangerous/_images/
> +share/doc/${MODPY_PY_PREFIX}itsdangerous/_images/itsdangerous-logo.png
> share/doc/${MODPY_PY_PREFIX}itsdangerous/_sources/
> +share/doc/${MODPY_PY_PREFIX}itsdangerous/_sources/changes.rst.txt
> +share/doc/${MODPY_PY_PREFIX}itsdangerous/_sources/encoding.rst.txt
> +share/doc/${MODPY_PY_PREFIX}itsdangerous/_sources/exceptions.rst.txt
> share/doc/${MODPY_PY_PREFIX}itsdangerous/_sources/index.rst.txt
> +share/doc/${MODPY_PY_PREFIX}itsdangerous/_sources/jws.rst.txt
> +share/doc/${MODPY_PY_PREFIX}itsdangerous/_sources/license.rst.txt
> +share/doc/${MODPY_PY_PREFIX}itsdangerous/_sources/serializer.rst.txt
> +share/doc/${MODPY_PY_PREFIX}itsdangerous/_sources/signer.rst.txt
> +share/doc/${MODPY_PY_PREFIX}itsdangerous/_sources/timed.rst.txt
> +share/doc/${MODPY_PY_PREFIX}itsdangerous/_sources/url_safe.rst.txt
> share/doc/${MODPY_PY_PREFIX}itsdangerous/_static/
> share/doc/${MODPY_PY_PREFIX}itsdangerous/_static/basic.css
> share/doc/${MODPY_PY_PREFIX}itsdangerous/_static/doctools.js
> share/doc/${MODPY_PY_PREFIX}itsdangerous/_static/documentation_options.js
> share/doc/${MODPY_PY_PREFIX}itsdangerous/_static/file.png
> -share/doc/${MODPY_PY_PREFIX}itsdangerous/_static/flasky.css
> -share/doc/${MODPY_PY_PREFIX}itsdangerous/_static/itsdangerous.png
> +share/doc/${MODPY_PY_PREFIX}itsdangerous/_static/flask.css
> +share/doc/${MODPY_PY_PREFIX}itsdangerous/_static/itsdangerous-logo-sidebar.png
> +share/doc/${MODPY_PY_PREFIX}itsdangerous/_static/itsdangerous-logo.png
> share/doc/${MODPY_PY_PREFIX}itsdangerous/_static/jquery-3.5.1.js
> share/doc/${MODPY_PY_PREFIX}itsdangerous/_static/jquery.js
> share/doc/${MODPY_PY_PREFIX}itsdangerous/_static/language_data.js
> share/doc/${MODPY_PY_PREFIX}itsdangerous/_static/minus.png
> share/doc/${MODPY_PY_PREFIX}itsdangerous/_static/plus.png
> +share/doc/${MODPY_PY_PREFIX}itsdangerous/_static/pocoo.css
> share/doc/${MODPY_PY_PREFIX}itsdangerous/_static/pygments.css
> share/doc/${MODPY_PY_PREFIX}itsdangerous/_static/searchtools.js
> share/doc/${MODPY_PY_PREFIX}itsdangerous/_static/underscore-1.12.0.js
> share/doc/${MODPY_PY_PREFIX}itsdangerous/_static/underscore.js
> +share/doc/${MODPY_PY_PREFIX}itsdangerous/_static/version_warning_offset.js
> +share/doc/${MODPY_PY_PREFIX}itsdangerous/changes.html
> +share/doc/${MODPY_PY_PREFIX}itsdangerous/encoding.html
> +share/doc/${MODPY_PY_PREFIX}itsdangerous/exceptions.html
> share/doc/${MODPY_PY_PREFIX}itsdangerous/genindex.html
> share/doc/${MODPY_PY_PREFIX}itsdangerous/index.html
> +share/doc/${MODPY_PY_PREFIX}itsdangerous/jws.html
> +share/doc/${MODPY_PY_PREFIX}itsdangerous/license.html
> share/doc/${MODPY_PY_PREFIX}itsdangerous/objects.inv
> share/doc/${MODPY_PY_PREFIX}itsdangerous/py-modindex.html
> share/doc/${MODPY_PY_PREFIX}itsdangerous/search.html
> share/doc/${MODPY_PY_PREFIX}itsdangerous/searchindex.js
> +share/doc/${MODPY_PY_PREFIX}itsdangerous/serializer.html
> +share/doc/${MODPY_PY_PREFIX}itsdangerous/signer.html
> +share/doc/${MODPY_PY_PREFIX}itsdangerous/timed.html
> +share/doc/${MODPY_PY_PREFIX}itsdangerous/url_safe.html

No comments:

Post a Comment