Make py-websocket-client py3 only

OK sthen kmos
This commit is contained in:
kn 2021-09-09 14:37:24 +00:00
parent 88797107ac
commit 0ea4d27ca3
5 changed files with 12 additions and 14 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.1294 2021/09/08 19:58:25 sthen Exp $
# $OpenBSD: Makefile,v 1.1295 2021/09/09 14:37:24 kn Exp $
COMMENT = exceptions to pkg_add rules
CATEGORIES = devel databases
DISTFILES =
# API.rev
PKGNAME = quirks-4.47
PKGNAME = quirks-4.48
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.1310 2021/09/08 19:58:25 sthen Exp $
# $OpenBSD: Quirks.pm,v 1.1311 2021/09/09 14:37:24 kn Exp $
#
# Copyright (c) 2009 Marc Espie <espie@openbsd.org>
#
@ -490,6 +490,7 @@ my $stem_extensions = {
'py-bcrypt' => 'py3-bcrypt',
'py-iso8601' => 'py3-iso8601',
'py-asn1crypto' => 'py3-asn1crypto',
'py-websocket-client' => 'py3-websocket-client',
};
my $obsolete_reason = {};

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.1267 2021/09/08 20:00:15 sthen Exp $
# $OpenBSD: Makefile,v 1.1268 2021/09/09 14:37:24 kn Exp $
SUBDIR =
SUBDIR += adns
@ -631,7 +631,6 @@
SUBDIR += py-transmissionrpc-ng,python3
SUBDIR += py-twitter,python3
SUBDIR += py-txtorcon,python3
SUBDIR += py-websocket-client
SUBDIR += py-websocket-client,python3
SUBDIR += py-xmpppy
SUBDIR += py-zeroconf,python3

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.11 2021/05/21 19:50:34 kmos Exp $
# $OpenBSD: Makefile,v 1.12 2021/09/09 14:37:25 kn Exp $
COMMENT = WebSocket client for Python
MODPY_EGG_VERSION = 0.37.0
DISTNAME = websocket_client-${MODPY_EGG_VERSION}
PKGNAME = py-websocket-client-${MODPY_EGG_VERSION}
REVISION = 5
REVISION = 6
CATEGORIES = net
@ -20,11 +20,8 @@ MODPY_SETUPTOOLS = Yes
MODULES = lang/python
FLAVORS = python3
FLAVOR ?=
FLAVOR = python3
RUN_DEPENDS = devel/py-six${MODPY_FLAVOR}
post-install:
mv ${PREFIX}/bin/wsdump.py ${PREFIX}/bin/wsdump.py${MODPY_BIN_SUFFIX}
.include <bsd.port.mk>

View File

@ -1,6 +1,7 @@
@comment $OpenBSD: PLIST,v 1.3 2021/02/19 23:13:05 sthen Exp $
@conflict py-websocket-client-<0.37.0p4
bin/wsdump.py${MODPY_BIN_SUFFIX}
@comment $OpenBSD: PLIST,v 1.4 2021/09/09 14:37:25 kn Exp $
@conflict py-websocket-client-*
@pkgpath net/py-websocket-client
bin/wsdump.py
lib/python${MODPY_VERSION}/site-packages/websocket/
lib/python${MODPY_VERSION}/site-packages/websocket/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/websocket/${MODPY_PYCACHE}/