On 2019/08/13 11:30, Kurt Mosiejczuk wrote:
> On Tue, Aug 13, 2019 at 03:17:58PM +0100, Stuart Henderson wrote:
>
> > Because the stem changes from py-xmldiff to py3-xmldiff, this will need more
> > work in order that the update is picked up.
>
> > Untested but I think it will need
>
> > @conflict py-xmldiff-*
> > @pkgpath textproc/py-xmldiff
>
> > If unsure, please test update paths:
>
> > - build new packages for the port itself + devel/quirks, move them to
> > a directory on their own e.g. /tmp/test
>
> > - install the old packages (e.g. uninstall the new packages after testing
> > and pkg_add the old ones from mirrors)
>
> > - "PKG_PATH=/tmp/test pkg_add -D unsigned -u" and check that the relevant
> > package/s were updated (there will be a bunch of "no update for XX" noise
> > for unrelated packages on the sytem of course that can be ignored)
>
> That does work. (I did have to install py3-six and py3-lxml first since
> they are new dependencies).
>
> Here's the diff. OK to commit?
Thanks, OK.
> --Kurt
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/textproc/py-xmldiff/Makefile,v
> retrieving revision 1.9
> diff -u -p -r1.9 Makefile
> --- Makefile 13 Aug 2019 13:04:54 -0000 1.9
> +++ Makefile 13 Aug 2019 15:28:27 -0000
> @@ -6,6 +6,7 @@ MODPY_EGG_VERSION= 2.3
> DISTNAME= xmldiff-${MODPY_EGG_VERSION}
> PKGNAME= py-xmldiff-${MODPY_EGG_VERSION}
> CATEGORIES= textproc
> +REVISION= 0
>
> HOMEPAGE= https://github.com/Shoobx/xmldiff
>
> Index: pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/textproc/py-xmldiff/pkg/PLIST,v
> retrieving revision 1.2
> diff -u -p -r1.2 PLIST
> --- pkg/PLIST 13 Aug 2019 13:04:54 -0000 1.2
> +++ pkg/PLIST 13 Aug 2019 15:28:27 -0000
> @@ -1,4 +1,6 @@
> @comment $OpenBSD: PLIST,v 1.2 2019/08/13 13:04:54 kmos Exp $
> +@conflict py-xmldiff-*
> +@pkgpath textproc/py-xmldiff
> bin/xmldiff
> bin/xmlpatch
> lib/python${MODPY_VERSION}/site-packages/xmldiff/