From nobody Tue Jan 7 12:53:52 2025 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YS9wK25cwz5kWmW; Tue, 07 Jan 2025 12:53:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YS9wJ5ppJz47JT; Tue, 7 Jan 2025 12:53:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736254432; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=SJrq1qjcFEmbhxyb821SImfDaYAkVsTVnXF6QATzJRk=; b=jr59J5oO/x6E//tdXXZRI1BFJmqEMrlzMjsGzvC4EHqkATmYy47v4sR6VF0tF1CVMtX4f+ ESnCXHcSo3ceTzQESllYXLNeENumbvGAlIdyjpfHoJn2JhCh6yUF3o0zYEttLepVImimZc pz0kvDN8eJjZshjWFVPrDO+ztM/+obP28xgdNc5IpOm7zMPlXRzoBlPbzQ6G1ghUHGOsZE vm0lMoqxHWTc6DvIScPfqwIL6DX64/xH8gmQfMQQkOnjIWnk5QZ1OZaGB0WdGUGNOPn9Su q4hgG4dpMNCSv5r+jfv37SlqufUTn3lslWBo/QyVNH/A1I3wzsnseUyQA4Jg4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736254432; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=SJrq1qjcFEmbhxyb821SImfDaYAkVsTVnXF6QATzJRk=; b=v+HZUxHaey+51TMCM9Oow1JnjzkZzAVZs/7LJlI0u13F/qKkVSDJfMj4t8pXzDA92XEZUn yOFTXe5IJKuByiQ0ZtrDSCnaYY1In4MsJsuTcz4V64HIuC5yxZgBeTCYl4YK2ddnJLuVWP OjFKrV38MC0T+DDbBQfeRKxJIZFwaUW4dlV2gzXdfgk8NiGaxr9zUwJRsZGVNqwTS3oSqE 7geCatk/0lzirtgSmx+dvYiyNAopPmkKP/HXenM5t/KZLJGS3G7M6yU6GQmGXmpnX8vNql IPFesSho+1qUHqDj3Bu71bm1E8G3PY8OqqMqA+0yZ8Vaztnc0C16vvXmOmeukg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736254432; a=rsa-sha256; cv=none; b=G4yon1oNBxORgGFdzuNRgjdxE7wnmeM0A7j33dBUaCwMb2lYSmiFyBj1Bqv6h5RrAbsOrj VBwv7eGwItVsoGf4ck+V8bFf87RB3P3AyvNL5o55rjVpStl6Wv7FQbXwty1BCJPtymWy5h diEZZOt7Sbth/TW21z0E0xsKensZhb3EiFCiQJMPVG2RBE+wo3OhQw63fm43Ydr66BvmqN wf+25i50Ayx7QHlad35bqERpJv0JRei+YOUm+/qECCmv+j1SObYa1TQQXmQY83xh8GQlYT XDek0r8PAdDsoYtEB1zd4o0txd8bjP1/T+qo3j7J5mnRiIkVXnDeaEm9aP34KQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YS9wJ4sKmz19gP; Tue, 07 Jan 2025 12:53:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 507Crq2k028168; Tue, 7 Jan 2025 12:53:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 507CrqoG028165; Tue, 7 Jan 2025 12:53:52 GMT (envelope-from git) Date: Tue, 7 Jan 2025 12:53:52 GMT Message-Id: <202501071253.507CrqoG028165@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: c361e55d7aec - main - www/py-wsaccel: Refactor List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c361e55d7aec4a0a4758b01a931e8b5bd7ffd384 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=c361e55d7aec4a0a4758b01a931e8b5bd7ffd384 commit c361e55d7aec4a0a4758b01a931e8b5bd7ffd384 Author: Niclas AuthorDate: 2025-01-07 12:52:18 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2025-01-07 12:53:33 +0000 www/py-wsaccel: Refactor - Switch to PEP517 build - Add test PR: 283582 --- www/py-wsaccel/Makefile | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/www/py-wsaccel/Makefile b/www/py-wsaccel/Makefile index 213ca0ba600b..68ecb5d2032f 100644 --- a/www/py-wsaccel/Makefile +++ b/www/py-wsaccel/Makefile @@ -1,5 +1,6 @@ PORTNAME= wsaccel DISTVERSION= 0.6.7 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,11 +14,21 @@ LICENSE_FILE= ${WRKSRC}/LICENSE DEPRECATED= Upstream ceased development +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}cython3>=3.0.11:lang/cython3@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} + USES= python -USE_PYTHON= autoplist distutils pytest +USE_PYTHON= autoplist pep517 pytest post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/utf8validator*.so ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/xormask*.so +do-test: + @(cd ${TEST_WRKSRC} && ${SETENVI} ${WRK_ENV} ${TEST_ENV} pytest \ + -k '${_PYTEST_FILTER_EXPRESSION}' \ + -v -rs -o addopts= \ + ${PYTEST_ARGS}) + .include