On 2020/08/20 11:16, Renaud Allard wrote:
> 
> 
> On 8/20/20 11:01 AM, Renaud Allard wrote:
> > Hello,
> > 
> > Here is a proposed diff for py-simplejson to update it to the latest
> > version.
> > 
> > Regards
> 
> It seems that the PLIST is different between no FLAVOR and FLAVOR=python3. I
> have no idea how to manage that, but the diff for python3 looks like the one
> attached.

The python3 one works for both py2 and py3.

Very occasionally with some ports there are different sets of installed
files for 2/3 but not in the case, they're just in different directories
and with different suffixes which are handled by the MODPY_PYCACHE,
MODPY_PYC_MAGIC_TAG, MODPY_VERSION, MODPY_COMMENT variables.

If this gets a bit more testing of dependent ports then it's OK with me.


> ===================================================================
> RCS file: /cvs/ports/devel/py-simplejson/Makefile,v
> retrieving revision 1.33
> diff -u -p -r1.33 Makefile
> --- Makefile  3 Jul 2020 21:12:49 -0000       1.33
> +++ Makefile  20 Aug 2020 09:16:05 -0000
> @@ -2,10 +2,9 @@
>  
>  COMMENT =            JSON encoder/decoder
>  
> -MODPY_EGG_VERSION =  3.11.1
> +MODPY_EGG_VERSION =  3.17.2
>  DISTNAME =           simplejson-${MODPY_EGG_VERSION}
>  PKGNAME =            py-${DISTNAME}
> -REVISION =           2
>  
>  CATEGORIES =         devel
>  
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/devel/py-simplejson/distinfo,v
> retrieving revision 1.15
> diff -u -p -r1.15 distinfo
> --- distinfo  20 Jun 2017 21:27:07 -0000      1.15
> +++ distinfo  20 Aug 2020 09:16:05 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (simplejson-3.11.1.tar.gz) = 
> AaItSd3ZoWixNvJsrIfZozVmDOB6pcYwuONgfW9DJec=
> -SIZE (simplejson-3.11.1.tar.gz) = 78145
> +SHA256 (simplejson-3.17.2.tar.gz) = 
> dezHnybZkiKghPvdHOWq06w6i9U1zZBZUoRS2ji2iEE=
> +SIZE (simplejson-3.17.2.tar.gz) = 83210
> Index: pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/devel/py-simplejson/pkg/PLIST,v
> retrieving revision 1.11
> diff -u -p -r1.11 PLIST
> --- pkg/PLIST 2 Nov 2016 17:57:36 -0000       1.11
> +++ pkg/PLIST 20 Aug 2020 09:16:05 -0000
> @@ -11,14 +11,18 @@ lib/python${MODPY_VERSION}/site-packages
>  
> lib/python${MODPY_VERSION}/site-packages/simplejson/${MODPY_PYCACHE}compat.${MODPY_PYC_MAGIC_TAG}pyc
>  
> lib/python${MODPY_VERSION}/site-packages/simplejson/${MODPY_PYCACHE}decoder.${MODPY_PYC_MAGIC_TAG}pyc
>  
> lib/python${MODPY_VERSION}/site-packages/simplejson/${MODPY_PYCACHE}encoder.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/simplejson/${MODPY_PYCACHE}errors.${MODPY_PYC_MAGIC_TAG}pyc
>  
> lib/python${MODPY_VERSION}/site-packages/simplejson/${MODPY_PYCACHE}ordered_dict.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/simplejson/${MODPY_PYCACHE}raw_json.${MODPY_PYC_MAGIC_TAG}pyc
>  
> lib/python${MODPY_VERSION}/site-packages/simplejson/${MODPY_PYCACHE}scanner.${MODPY_PYC_MAGIC_TAG}pyc
>  
> lib/python${MODPY_VERSION}/site-packages/simplejson/${MODPY_PYCACHE}tool.${MODPY_PYC_MAGIC_TAG}pyc
> -lib/python${MODPY_VERSION}/site-packages/simplejson/_speedups.so
> +@so lib/python${MODPY_VERSION}/site-packages/simplejson/_speedups.so
>  lib/python${MODPY_VERSION}/site-packages/simplejson/compat.py
>  lib/python${MODPY_VERSION}/site-packages/simplejson/decoder.py
>  lib/python${MODPY_VERSION}/site-packages/simplejson/encoder.py
> +lib/python${MODPY_VERSION}/site-packages/simplejson/errors.py
>  lib/python${MODPY_VERSION}/site-packages/simplejson/ordered_dict.py
> +lib/python${MODPY_VERSION}/site-packages/simplejson/raw_json.py
>  lib/python${MODPY_VERSION}/site-packages/simplejson/scanner.py
>  lib/python${MODPY_VERSION}/site-packages/simplejson/tests/
>  lib/python${MODPY_VERSION}/site-packages/simplejson/tests/__init__.py



Reply via email to