On Thu, 28 Jun 2018 15:27:04 +0100, Stuart Henderson
<s...@spacehopper.org> wrote:

> @pkgpath devel/py-libmagic${MODPY_FLAVOR}

This doesn't work.
If I have @pkgpath devel/py-libmagic, only py2 gets updated. If I have
@pkgpath devel/py-libmagic${MODPY_FLAVOR}, none gets updated.
In order to test, I put
@pkgpath devel/py-libmagic
@pkgpath devel/py-libmagic,python3

and pkg_add updated both:
py-libmagic-5.34->py-magic-0.4.15v0: ok
py3-libmagic-5.34->py3-magic-0.4.15v0: ok

The only other python port that has something like that is
py-sqlalchemy and it has what sthen said:
@pkgpath databases/py-sqlalchemy${MODPY_FLAVOR}

Any idea?

I attached the py-magic port and the quirks diff I currently have.

Cheers,
Daniel
Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/quirks/Makefile,v
retrieving revision 1.647
diff -u -p -r1.647 Makefile
--- Makefile	20 Nov 2018 17:35:16 -0000	1.647
+++ Makefile	25 Nov 2018 19:16:19 -0000
@@ -5,7 +5,7 @@ CATEGORIES =	devel databases
 DISTFILES =
 
 # API.rev
-PKGNAME =	quirks-3.40
+PKGNAME =	quirks-3.41
 PKG_ARCH =	*
 MAINTAINER =	Marc Espie <es...@openbsd.org>
 
Index: files/Quirks.pm
===================================================================
RCS file: /cvs/ports/devel/quirks/files/Quirks.pm,v
retrieving revision 1.661
diff -u -p -r1.661 Quirks.pm
--- files/Quirks.pm	20 Nov 2018 17:35:16 -0000	1.661
+++ files/Quirks.pm	25 Nov 2018 19:16:19 -0000
@@ -285,6 +285,8 @@ my $stem_extensions = {
 # 6.5
 	'ValyriaTear' => 'valyriatear',
 	'apertium-es-ast_NO-PN' => 'apertium-es-ast',
+	'py-libmagic' => 'py-magic',
+	'py3-libmagic' => 'py3-magic',
 };
 
 my $obsolete_reason = {

Attachment: py-magic.tgz
Description: application/compressed-tar

Reply via email to