Hi,

my plan was to add a python3 flavor to libvirt-python, but this
seems to require an update of libvirt-python. However, renaming the
*package* (not the port) from libvirt-python do py-libvirt first
will make it a little bit easier to add a python3 flavor in the
future. I also bumped sysutils/virt-manager and added a quirk for
the name change. This survived a pkg_add -uv for both cases (only
libvirt-python installed and both libvirt-python and virt-manager
installed).

ok?

Ciao,
        Kili

Index: sysutils/libvirt-python/Makefile
===================================================================
RCS file: /cvs/ports/sysutils/libvirt-python/Makefile,v
retrieving revision 1.31
diff -u -p -r1.31 Makefile
--- sysutils/libvirt-python/Makefile    9 Nov 2019 10:32:26 -0000       1.31
+++ sysutils/libvirt-python/Makefile    18 Nov 2019 22:21:02 -0000
@@ -4,7 +4,8 @@ COMMENT =               libvirt virtualization API py
 
 MODPY_EGG_VERSION =    1.3.5
 DISTNAME =             libvirt-python-${MODPY_EGG_VERSION}
-REVISION =             1
+PKGNAME =              py-${DISTNAME:S/-python-/-/}
+REVISION =             2
 
 CATEGORIES =           sysutils
 
Index: sysutils/libvirt-python/pkg/PLIST
===================================================================
RCS file: /cvs/ports/sysutils/libvirt-python/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- sysutils/libvirt-python/pkg/PLIST   10 May 2014 07:48:53 -0000      1.1.1.1
+++ sysutils/libvirt-python/pkg/PLIST   18 Nov 2019 22:27:53 -0000
@@ -1,4 +1,5 @@
 @comment $OpenBSD: PLIST,v 1.1.1.1 2014/05/10 07:48:53 jasper Exp $
+@conflict libvirt-python-*
 lib/python${MODPY_VERSION}/site-packages/libvirt.py
 lib/python${MODPY_VERSION}/site-packages/libvirt.pyc
 lib/python${MODPY_VERSION}/site-packages/libvirt_lxc.py
Index: sysutils/virt-manager/Makefile
===================================================================
RCS file: /cvs/ports/sysutils/virt-manager/Makefile,v
retrieving revision 1.30
diff -u -p -r1.30 Makefile
--- sysutils/virt-manager/Makefile      9 Nov 2019 10:32:26 -0000       1.30
+++ sysutils/virt-manager/Makefile      18 Nov 2019 22:28:46 -0000
@@ -4,7 +4,7 @@ COMMENT=                GUI for managing virtual machi
 
 DISTNAME=              virt-manager-1.5.1
 CATEGORIES=            sysutils x11
-REVISION=              3
+REVISION=              4
 
 HOMEPAGE=              http://virt-manager.org/
 
Index: devel/quirks/Makefile
===================================================================
RCS file: /cvs/ports/devel/quirks/Makefile,v
retrieving revision 1.811
diff -u -p -r1.811 Makefile
--- devel/quirks/Makefile       17 Nov 2019 19:31:30 -0000      1.811
+++ devel/quirks/Makefile       18 Nov 2019 22:29:40 -0000
@@ -5,7 +5,7 @@ CATEGORIES =    devel databases
 DISTFILES =
 
 # API.rev
-PKGNAME =      quirks-3.202
+PKGNAME =      quirks-3.203
 PKG_ARCH =     *
 MAINTAINER =   Marc Espie <[email protected]>
 
Index: devel/quirks/files/Quirks.pm
===================================================================
RCS file: /cvs/ports/devel/quirks/files/Quirks.pm,v
retrieving revision 1.828
diff -u -p -r1.828 Quirks.pm
--- devel/quirks/files/Quirks.pm        17 Nov 2019 19:31:30 -0000      1.828
+++ devel/quirks/files/Quirks.pm        18 Nov 2019 22:29:40 -0000
@@ -338,6 +338,7 @@ my $stem_extensions = {
        'filter-senderscore' => 'opensmtpd-filter-senderscore',
        'ilmbase' => 'OpenEXR',
        'openexr-viewers' => 'OpenEXR-tools',
+       'libvirt-python' => 'py-libvirt',
 };
 
 my $obsolete_reason = {

Reply via email to