Thursday, February 28, 2019

Re: Update: devel/py-py 1.5.3 -> 1.8.0

OK mariani@

On Sun, Feb 24, 2019 at 2:10 AM Kurt Mosiejczuk <kurt@cranky.work> wrote:
>
> The update on this one was pretty easy. While in there I made the
> test use TEST_ENV and set up the test environment properly based on
> what I learned from semarie while updating py-dateutil.
>
> The testing of the dependencies took a while.
>
> I tested the following that have py-py as a TEST_DEPENDS:
> devel/py-six, devel/py-cheetah, devel/py-prompt-toolkit,
> devel/py-cffi (no actual tests), devel/pudb, devel/py-nbconvert,
> www/py-pylons, www/py-paste, www/pelican, www/py-httpie, www/py-weberror,
> www/py-repoze-profile, security/py-paramiko, and shells/py-qtconsole.
> Every one had the same results with the updated 1.8.0 as the original 1.5.3.
>
> The following two had tests that wouldn't run:
> devel/py-tox and www/py-paste-script
> The original was the same.
>
> devel/spyder takes forever, pulls in lots of dependencies, and then
> complains that HOME isn't set. Although it does that for the old
> version too.
>
> The following had py-py as BUILD_DEPENDS:
> security/letsencrypt/py-acme, databases/py-psycopg2, and textproc/py-sphinx
> All three built fine with the updated py-py.
>
> --Kurt
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/devel/py-py/Makefile,v
> retrieving revision 1.31
> diff -u -p -r1.31 Makefile
> --- Makefile 28 Apr 2018 10:41:04 -0000 1.31
> +++ Makefile 24 Feb 2019 05:01:56 -0000
> @@ -2,7 +2,7 @@
>
> COMMENT= cross-python path, ini-parsing, io, code, log facilities
>
> -MODPY_EGG_VERSION = 1.5.3
> +MODPY_EGG_VERSION = 1.8.0
> DISTNAME= py-${MODPY_EGG_VERSION}
> PKGNAME= py-${DISTNAME}
>
> @@ -21,7 +21,10 @@ FLAVOR?=
>
> TEST_DEPENDS += devel/py-test${MODPY_FLAVOR}
>
> +TEST_ENV += LC_CTYPE=C.UTF-8
> +
> do-test:
> - cd ${WRKSRC} && LC_CTYPE=C.UTF-8 ${MODPY_BIN} -m pytest
> + cd ${WRKSRC} && exec ${SETENV} ${MAKE_ENV} ${TEST_ENV} \
> + ${MODPY_BIN} -m pytest
>
> .include <bsd.port.mk>
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/devel/py-py/distinfo,v
> retrieving revision 1.10
> diff -u -p -r1.10 distinfo
> --- distinfo 28 Apr 2018 10:41:04 -0000 1.10
> +++ distinfo 24 Feb 2019 05:01:56 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (py-1.5.3.tar.gz) = Kcn6tJXXUo6Auh40O5WGhPSs5ocyfm94mpS/PRkV+IE=
> -SIZE (py-1.5.3.tar.gz) = 202335
> +SHA256 (py-1.8.0.tar.gz) = 3GObBGpuLP9bvkAZStZZNta6NgtSs8P+HQioLdULXlM=
> +SIZE (py-1.8.0.tar.gz) = 205096
> Index: pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/devel/py-py/pkg/PLIST,v
> retrieving revision 1.11
> diff -u -p -r1.11 PLIST
> --- pkg/PLIST 28 Apr 2018 10:41:04 -0000 1.11
> +++ pkg/PLIST 24 Feb 2019 05:01:56 -0000
> @@ -14,6 +14,7 @@ lib/python${MODPY_VERSION}/site-packages
> lib/python${MODPY_VERSION}/site-packages/py/${MODPY_PYCACHE}_builtin.${MODPY_PYC_MAGIC_TAG}pyc
> lib/python${MODPY_VERSION}/site-packages/py/${MODPY_PYCACHE}_error.${MODPY_PYC_MAGIC_TAG}pyc
> lib/python${MODPY_VERSION}/site-packages/py/${MODPY_PYCACHE}_std.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/py/${MODPY_PYCACHE}_version.${MODPY_PYC_MAGIC_TAG}pyc
> lib/python${MODPY_VERSION}/site-packages/py/${MODPY_PYCACHE}_xmlgen.${MODPY_PYC_MAGIC_TAG}pyc
> lib/python${MODPY_VERSION}/site-packages/py/${MODPY_PYCACHE}test.${MODPY_PYC_MAGIC_TAG}pyc
> lib/python${MODPY_VERSION}/site-packages/py/_builtin.py
> @@ -85,5 +86,6 @@ lib/python${MODPY_VERSION}/site-packages
> lib/python${MODPY_VERSION}/site-packages/py/_vendored_packages/${MODPY_PYCACHE}iniconfig.${MODPY_PYC_MAGIC_TAG}pyc
> lib/python${MODPY_VERSION}/site-packages/py/_vendored_packages/apipkg.py
> lib/python${MODPY_VERSION}/site-packages/py/_vendored_packages/iniconfig.py
> +lib/python${MODPY_VERSION}/site-packages/py/_version.py
> lib/python${MODPY_VERSION}/site-packages/py/_xmlgen.py
> lib/python${MODPY_VERSION}/site-packages/py/test.py
>

No comments:

Post a Comment