Wednesday, August 30, 2017

Re: CVS: cvs.openbsd.org: ports

On Wed, 30 Aug 2017 16:43:54 -0600 (MDT), Juan Francisco Cantero
Hurtado <juanfra@openbsd.org> wrote:

> CVSROOT: /cvs
> Module name: ports
> Changes by: juanfra@cvs.openbsd.org 2017/08/30 16:43:54
>
> Modified files:
> lang : Makefile
> lang/cython : Makefile distinfo
> lang/cython/pkg: PLIST
>
> Log message:
> Update to cython 0.26.1. Add python3 flavor.

Hola juanfra,

You can't do this. You can add a py3 flavor only for 'py-' prefixed
package otherwise there's no way to differentiate the py2 package from
the py3 one. To see the problem you can do:

/usr/ports/lang/cython$ FLAVOR="python3" make show=FULLPKGNAME
cython-0.26.1
/usr/ports/lang/cython$ make show=FULLPKGNAME
cython-0.26.1

Also even if this worked, you wouldn't be able to install both py2 and
py3 package because binaries would conflict, they would need to be
renamed.

Cheers,
Daniel

No comments:

Post a Comment