Hi,

I was updating one of my 6.6 machines to 6.7 and noticed following lines
in output of pkg_add -u:

Skipping py-wstools-0.4.8 (update candidate for py-wstools-0.4.4p1)
        py-wstools-0.4.4p1 pkgpaths: www/py-wtools
        py-wstools-0.4.8 pkgpaths: www/py-wtools  www/py-wstools

So, it's hard to spot but in above last line, there ar two spaces
between www/py-wtools and www/py-wstools. Looking into ports CVS tree,
we can see that whitespace snuck in. Here is a diff to fix it. I think
it would be nice if that could be ported back to -stable.

While at it I allowed myself to add white space around `=` as diff in
the Makefile is really simple -- revision bump.

Also, should pkg_create fail when there is some unexpected characters in
pkgpaths or any other annotations in plist?

> diff -u -p -w -r1.3 Makefile
> --- Makefile  17 Feb 2020 07:55:40 -0000      1.3
> +++ Makefile  21 May 2020 06:23:02 -0000
> @@ -6,6 +6,7 @@ MODPY_EGG_VERSION=    0.4.8
>  DISTNAME=            wstools-${MODPY_EGG_VERSION}
>  PKGNAME=             py-${DISTNAME}
>  CATEGORIES=          www
> +REVISION =           0
>  
>  # BSD
>  PERMIT_PACKAGE=      Yes

Above just shows that it's rev bump change in makefile.

Index: Makefile
===================================================================
RCS file: /cvs/ports/www/py-wstools/Makefile,v
retrieving revision 1.3
diff -u -p -u -r1.3 Makefile
--- Makefile    17 Feb 2020 07:55:40 -0000      1.3
+++ Makefile    21 May 2020 06:23:57 -0000
@@ -1,16 +1,17 @@
 # $OpenBSD: Makefile,v 1.3 2020/02/17 07:55:40 jasper Exp $
 
-COMMENT=               WSDL parsing services package for Python
+COMMENT =              WSDL parsing services package for Python
 
-MODPY_EGG_VERSION=     0.4.8
-DISTNAME=              wstools-${MODPY_EGG_VERSION}
-PKGNAME=               py-${DISTNAME}
-CATEGORIES=            www
+MODPY_EGG_VERSION =    0.4.8
+DISTNAME =             wstools-${MODPY_EGG_VERSION}
+PKGNAME =              py-${DISTNAME}
+CATEGORIES =           www
+REVISION =             0
 
 # BSD
-PERMIT_PACKAGE=        Yes
+PERMIT_PACKAGE =       Yes
 
-MODULES=               lang/python
+MODULES =              lang/python
 
 MODPY_PI =             Yes
 MODPY_SETUPTOOLS=      Yes
@@ -19,7 +20,7 @@ MODPY_PYTEST =                Yes
 FLAVORS =              python3
 FLAVOR ?=
 
-BUILD_DEPENDS=         devel/py-pbr${MODPY_FLAVOR} \
+BUILD_DEPENDS =                devel/py-pbr${MODPY_FLAVOR} \
                        devel/py-six${MODPY_FLAVOR} \
                        devel/py-test-runner${MODPY_FLAVOR}
 RUN_DEPENDS =          devel/py-pbr${MODPY_FLAVOR} \
Index: pkg/PFRAG.no-python3
===================================================================
RCS file: /cvs/ports/www/py-wstools/pkg/PFRAG.no-python3,v
retrieving revision 1.1
diff -u -p -u -r1.1 PFRAG.no-python3
--- pkg/PFRAG.no-python3        13 Feb 2020 18:32:02 -0000      1.1
+++ pkg/PFRAG.no-python3        21 May 2020 06:23:57 -0000
@@ -1,2 +1,2 @@
 @comment $OpenBSD: PFRAG.no-python3,v 1.1 2020/02/13 18:32:02 jasper Exp $
-@pkgpath www/py-wtools 
+@pkgpath www/py-wtools

-- 
Regards,
 Mikolaj

Reply via email to