switch py-qrcode to py3-only, ok feinerer@ (maintainer)

This commit is contained in:
sthen 2020-11-24 13:08:42 +00:00
parent 279c1007bc
commit 43a0ae0128
5 changed files with 13 additions and 15 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.1099 2020/11/22 17:40:08 daniel Exp $
# $OpenBSD: Makefile,v 1.1100 2020/11/24 13:08:42 sthen Exp $
COMMENT = exceptions to pkg_add rules
CATEGORIES = devel databases
DISTFILES =
# API.rev
PKGNAME = quirks-3.491
PKGNAME = quirks-3.492
PKG_ARCH = *
MAINTAINER = Marc Espie <espie@openbsd.org>

View File

@ -1,7 +1,7 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
# $OpenBSD: Quirks.pm,v 1.1117 2020/11/22 17:40:08 daniel Exp $
# $OpenBSD: Quirks.pm,v 1.1118 2020/11/24 13:08:42 sthen Exp $
#
# Copyright (c) 2009 Marc Espie <espie@openbsd.org>
#
@ -513,6 +513,7 @@ my $stem_extensions = {
'py-mpd2' => 'py3-mpd2',
'py-autobahn' => 'py3-autobahn',
'py-txaio' => 'py3-txaio',
'py-qrcode' => 'py3-qrcode',
};
my $obsolete_reason = {

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.530 2020/11/14 11:06:54 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.531 2020/11/24 13:08:42 sthen Exp $
SUBDIR =
SUBDIR += DevIL
@ -253,7 +253,6 @@
SUBDIR += py-opengl
SUBDIR += py-opengl,python3
SUBDIR += py-pyx
SUBDIR += py-qrcode
SUBDIR += py-qrcode,python3
SUBDIR += py-sane,python3
SUBDIR += py-seaborn,python3

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.7 2020/07/03 21:12:55 sthen Exp $
# $OpenBSD: Makefile,v 1.8 2020/11/24 13:08:43 sthen Exp $
COMMENT = QR Code image generator
MODPY_EGG_VERSION = 6.1
DISTNAME = qrcode-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
REVISION = 1
REVISION = 2
CATEGORIES = graphics textproc
@ -26,10 +26,6 @@ TEST_DEPENDS = devel/py-mock${MODPY_FLAVOR} \
devel/py-test-cov${MODPY_FLAVOR}
FLAVORS = python3
FLAVOR ?=
post-install:
mv ${PREFIX}/bin/qr ${PREFIX}/bin/qr${MODPY_BIN_SUFFIX}
mv ${PREFIX}/man/man1/qr.1 ${PREFIX}/man/man1/qr${MODPY_BIN_SUFFIX}.1
FLAVOR = python3
.include <bsd.port.mk>

View File

@ -1,5 +1,7 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2018/05/28 05:11:05 feinerer Exp $
bin/qr${MODPY_BIN_SUFFIX}
@comment $OpenBSD: PLIST,v 1.2 2020/11/24 13:08:43 sthen Exp $
@conflict py-qrcode-*
@pkgpath graphics/py-qrcode
bin/qr
lib/python${MODPY_VERSION}/site-packages/qrcode/
lib/python${MODPY_VERSION}/site-packages/qrcode-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/qrcode-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
@ -54,4 +56,4 @@ lib/python${MODPY_VERSION}/site-packages/qrcode/tests/test_qrcode.py
lib/python${MODPY_VERSION}/site-packages/qrcode/tests/test_release.py
lib/python${MODPY_VERSION}/site-packages/qrcode/tests/test_script.py
lib/python${MODPY_VERSION}/site-packages/qrcode/util.py
@man man/man1/qr${MODPY_BIN_SUFFIX}.1
@man man/man1/qr.1