Re: add py3 flavour to devel/py-jsonschema

2016-05-10 Thread Daniel Jakots
On Mon, 9 May 2016 23:01:22 +0200, Antoine Jacoutot wrote: > > +FLAVORS = python3 > > +FLAVOR ?= > > + > > +post-install: > > + mv ${PREFIX}/bin/jsonschema > > ${PREFIX}/bin/jsonschema${MODPY_BIN_SUFFIX} > > Any reason not to do this only for the python3 FLAVOR? It doesn't change m

Re: add py3 flavour to devel/py-jsonschema

2016-05-09 Thread Jeremie Courreges-Anglas
Daniel Jakots writes: > On Mon, 09 May 2016 22:29:36 +0200, Jeremie Courreges-Anglas > wrote: > >> Daniel Jakots writes: >> >> > Hi, >> > >> > Here's a diff to add a py3 flavour to py-jsonschema. Tests are >> > slightly better than with py2 :) >> > >> > Comments ? OK ? >> >> nope, you shoul

Re: add py3 flavour to devel/py-jsonschema

2016-05-09 Thread Daniel Jakots
On Mon, 09 May 2016 22:29:36 +0200, Jeremie Courreges-Anglas wrote: > Daniel Jakots writes: > > > Hi, > > > > Here's a diff to add a py3 flavour to py-jsonschema. Tests are > > slightly better than with py2 :) > > > > Comments ? OK ? > > nope, you should amend the depends with ${MODPY_FLAVOR

Re: add py3 flavour to devel/py-jsonschema

2016-05-09 Thread Antoine Jacoutot
On Mon, May 09, 2016 at 08:23:48PM +0200, Daniel Jakots wrote: > Hi, > > Here's a diff to add a py3 flavour to py-jsonschema. Tests are slightly > better than with py2 :) > > Comments ? OK ? > > Cheers, > Daniel > > Index: Makefile > =

Re: add py3 flavour to devel/py-jsonschema

2016-05-09 Thread Jeremie Courreges-Anglas
Daniel Jakots writes: > Hi, > > Here's a diff to add a py3 flavour to py-jsonschema. Tests are slightly > better than with py2 :) > > Comments ? OK ? nope, you should amend the depends with ${MODPY_FLAVOR}. functools32 is only needed for python2.7. -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5

add py3 flavour to devel/py-jsonschema

2016-05-09 Thread Daniel Jakots
Hi, Here's a diff to add a py3 flavour to py-jsonschema. Tests are slightly better than with py2 :) Comments ? OK ? Cheers, Daniel Index: Makefile === RCS file: /cvs/ports/devel/py-jsonschema/Makefile,v retrieving revision 1.3 diff