On Sat, Oct 17, 2020 at 04:28:31PM +0200, Sebastien Marie wrote:
> Hi,
> 
> The following diff should switch print/py-relatorio to py3-only. No
> ports uses the py2 version.
> 
> It was requested by aja@ to help removing depends on graphics/pycha.

Thanks, comments below.
 
> Thanks.
> -- 
> Sebastien Marie
> 
> diff 8d5f3f997177f10fa711cf85536d953bd24f3762 
> /home/semarie/repos/openbsd/ports
> blob - 3317db9e0b3a19d44f86dcb738f756c8027bebcb
> file + print/Makefile
> --- print/Makefile
> +++ print/Makefile
> @@ -59,7 +59,6 @@
>      SUBDIR += ptouch-driver
>      SUBDIR += py-cups,python3
>      SUBDIR += py-poppler
> -    SUBDIR += py-relatorio
>      SUBDIR += py-relatorio,python3
>      SUBDIR += py-reportlab
>      SUBDIR += py-reportlab,python3
> blob - e17f9905bd4f9c166836216d7084080eb8d994c6
> file + print/py-relatorio/Makefile
> --- print/py-relatorio/Makefile
> +++ print/py-relatorio/Makefile
> @@ -21,17 +21,12 @@ MODULES=          lang/python
>  
>  MODPY_SETUPTOOLS=    Yes
>  
> -FLAVOR?=
> +FLAVOR?=             python3

Don't put '?' here.

>  FLAVORS=             python3
>  
>  RUN_DEPENDS=         www/py-genshi${MODPY_FLAVOR} \
>                       textproc/py-lxml${MODPY_FLAVOR} \
>                       devel/py-magic${MODPY_FLAVOR}
> -
> -.if !${FLAVOR:Mpython3}
> -RUN_DEPENDS+=                graphics/pycha \
> -                     textproc/py-yaml
> -.endif
>  
>  TEST_DEPENDS=                devel/py-nose${MODPY_FLAVOR}

You are missing @pkgpath and @conflict markers in the PLIST... and bump.

>  
> diff 8d5f3f997177f10fa711cf85536d953bd24f3762 
> /home/semarie/repos/openbsd/ports
> blob - 6dc6ff2051af247661a116ccca209666e8f19cee
> file + devel/quirks/Makefile
> --- devel/quirks/Makefile
> +++ devel/quirks/Makefile
> @@ -5,7 +5,7 @@ CATEGORIES =  devel databases
>  DISTFILES =
>  
>  # API.rev
> -PKGNAME =    quirks-3.458
> +PKGNAME =    quirks-3.459
>  PKG_ARCH =   *
>  MAINTAINER = Marc Espie <es...@openbsd.org>
>  
> blob - c9de330f1f47d40a51a39d05f8e034b31cd904b2
> file + devel/quirks/files/Quirks.pm
> --- devel/quirks/files/Quirks.pm
> +++ devel/quirks/files/Quirks.pm
> @@ -493,6 +493,7 @@ my $stem_extensions = {
>       'py-zmq' => 'py3-zmq',
>       'py-kiwisolver' => 'py3-kiwisolver',
>       'py-scipy' => 'py3-scipy',
> +     'py-relatorio' => 'py3-relatorio',    
>  };
>  
>  my $obsolete_reason = {
> 

-- 
Antoine

Reply via email to