On Sun 22/03/2020 18:41, Paco Esteban wrote:
> Ping ?
> 
> Diffs attached again for convenience.

Comments inline

> Index: Makefile
> ===================================================================
> RCS file: /home/cvs/ports/devel/py-curtsies/Makefile,v
> retrieving revision 1.9
> diff -u -p -r1.9 Makefile
> --- Makefile  12 Jul 2019 20:45:47 -0000      1.9
> +++ Makefile  13 Mar 2020 14:32:06 -0000
> @@ -2,10 +2,9 @@
>  
>  COMMENT =            curses-like terminal wrapper
>  
> -MODPY_EGG_VERSION =  0.2.11
> +MODPY_EGG_VERSION =  0.3.1
>  DISTNAME =           curtsies-${MODPY_EGG_VERSION}
>  PKGNAME =            py-${DISTNAME}
> -REVISION =           1
>  CATEGORIES =         devel
>  
>  # MIT
> @@ -15,11 +14,16 @@ MODULES =         lang/python
>  
>  MODPY_SETUPTOOLS =   Yes
>  MODPY_PI =           Yes
> +MODPY_PYTEST =               Yes
>  
>  FLAVORS =            python3
> -FLAVOR ?=
> +FLAVOR =             python3
>  
>  RUN_DEPENDS =                devel/py-blessings${MODPY_FLAVOR} \
>                       devel/py-wcwidth${MODPY_FLAVOR}
> +
> +TEST_DEPENDS =               devel/py-nose${MODPY_FLAVOR} \
> +                     devel/py-mock${MODPY_FLAVOR} \
> +                     devel/py-pyte${MODPY_FLAVOR}

I prefer to have dependencies sorted ^.

With the above OK bket@ for py-curtsies

> Index: Makefile
> ===================================================================
> RCS file: /home/cvs/ports/devel/bpython/Makefile,v
> retrieving revision 1.26
> diff -u -p -r1.26 Makefile
> --- Makefile  22 Sep 2019 21:46:07 -0000      1.26
> +++ Makefile  15 Mar 2020 15:28:30 -0000
> @@ -5,6 +5,7 @@ COMMENT=      fancy interface to the Python i
>  MODPY_EGG_VERSION=0.18
>  DISTNAME=    bpython-${MODPY_EGG_VERSION}
>  CATEGORIES=  devel
> +REVISION =   0
>  
>  HOMEPAGE=    https://bpython-interpreter.org/
>  MAINTAINER=  Brian Callahan <bcal...@openbsd.org>
> @@ -19,11 +20,7 @@ MODULES=   lang/python
>  MODPY_SETUPTOOLS=Yes
>  
>  FLAVORS =    python3
> -FLAVOR ?=
> -
> -.if ${FLAVOR:Mpython3}
> -PKGNAME =    bpython${MODPY_MAJOR_VERSION}-${MODPY_EGG_VERSION}

'make install' results in a collision. Either set PKGNAME as above or
change the conflict marker (see below). Personally I prefer setting
PKGNAME.

> -.endif
> +FLAVOR =     python3
>  
>  RUN_DEPENDS= devel/desktop-file-utils \
>               devel/py-curtsies${MODPY_FLAVOR} \
> @@ -37,17 +34,5 @@ BUILD_DEPENDS=     devel/py-babel${MODPY_FLA
>  
>  TEST_DEPENDS=        devel/py-mock${MODPY_FLAVOR} \
>               devel/py-twisted${MODPY_FLAVOR}
> -
> -# de-conflict flavors
> -post-install:
> -.for b in bpdb bpython bpython-curses bpython-urwid
> -     mv ${PREFIX}/bin/$b{,${MODPY_BIN_SUFFIX}}
> -.endfor
> -     mv ${PREFIX}/man/man1/bpython{,${MODPY_BIN_SUFFIX}}.1
> -     mv ${PREFIX}/man/man5/bpython-config{,${MODPY_BIN_SUFFIX}}.5
> -     mv 
> ${PREFIX}/share/appinfo/org.bpython-interpreter.bpython{,${MODPY_BIN_SUFFIX}}.appdata.xml
> -     mv 
> ${PREFIX}/share/applications/org.bpython-interpreter.bpython{,${MODPY_BIN_SUFFIX}}.desktop
> -     mv ${PREFIX}/share/pixmaps/bpython{,${MODPY_BIN_SUFFIX}}.png
> -
>  
>  .include <bsd.port.mk>
> Index: pkg/PLIST
> ===================================================================
> RCS file: /home/cvs/ports/devel/bpython/pkg/PLIST,v
> retrieving revision 1.9
> diff -u -p -r1.9 PLIST
> --- pkg/PLIST 9 Aug 2019 00:00:40 -0000       1.9
> +++ pkg/PLIST 15 Mar 2020 16:07:07 -0000
> @@ -1,8 +1,10 @@
>  @comment $OpenBSD: PLIST,v 1.9 2019/08/09 00:00:40 bcallah Exp $
> -bin/bpdb${MODPY_BIN_SUFFIX}
> -bin/bpython${MODPY_BIN_SUFFIX}
> -bin/bpython-curses${MODPY_BIN_SUFFIX}
> -bin/bpython-urwid${MODPY_BIN_SUFFIX}
> +@conflict bpython-*

As explained above: either set PKGNAME or change the @conflict-marker to
bpython3-*.

My proposal is to let the MAINTAINER decide which is the better
solution.

BTW, the quirk you need to add to devel/quirks is dependent on the above:
- PKGNAME option: 'bpython' => 'bpython3'.
- Updated conflict-marker: 'bpython3' => 'bpython'

Reply via email to