On Tue, Feb 25, 2020 at 06:17:07PM +0100, Paco Esteban wrote:
> Hi ports@,

> www/jupyter-notebook is now py3 only.  That's the only consumer for
> sysutils/py-prometheus_client so here's a diff to make it py3 only too.

> Comments and/or ok appreciated.

You'll also need to put something in quirks, but ok kmos

--Kurt

> Index: Makefile
> ===================================================================
> RCS file: /home/cvs/ports/sysutils/py-prometheus_client/Makefile,v
> retrieving revision 1.3
> diff -u -p -r1.3 Makefile
> --- Makefile  17 Feb 2020 10:40:26 -0000      1.3
> +++ Makefile  25 Feb 2020 15:49:16 -0000
> @@ -5,6 +5,7 @@ COMMENT =             python client for the prometh
>  MODPY_EGG_VERSION =  0.7.1
>  DISTNAME =           prometheus_client-${MODPY_EGG_VERSION}
>  PKGNAME =            py-${DISTNAME}
> +REVISION =           0
>  
>  CATEGORIES =         sysutils
>  
> @@ -18,7 +19,7 @@ MODPY_PI =          Yes
>  MODPY_SETUPTOOLS =   Yes
>  
>  FLAVORS =            python3
> -FLAVOR ?=
> +FLAVOR =             python3
>  
>  NO_TEST =            Yes
>  
> Index: pkg/PLIST
> ===================================================================
> RCS file: /home/cvs/ports/sysutils/py-prometheus_client/pkg/PLIST,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 PLIST
> --- pkg/PLIST 29 Apr 2019 13:05:01 -0000      1.1.1.1
> +++ pkg/PLIST 25 Feb 2020 15:50:06 -0000
> @@ -1,4 +1,6 @@
>  @comment $OpenBSD: PLIST,v 1.1.1.1 2019/04/29 13:05:01 bket Exp $
> +@conflict sysutils/py-prometheus_client-*
> +@pkgpath sysutils/py-prometheus_client
>  lib/python${MODPY_VERSION}/site-packages/prometheus_client/
>  
> lib/python${MODPY_VERSION}/site-packages/prometheus_client-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
>  
> lib/python${MODPY_VERSION}/site-packages/prometheus_client-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
> 
> -- 
> Paco Esteban.
> 5818130B8A6DBC03
> 

Reply via email to