From nobody Sun Mar 31 03:40:44 2024 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 4V6g0F0gC0z5GhkL; Sun, 31 Mar 2024 03:40:45 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V6g0D5N0gz4HcG; Sun, 31 Mar 2024 03:40:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711856444; 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=Gg0UWErjzEULSJquDArMncY/Qmj4RIFwNhiJjgyezuQ=; b=Rw2QIdauT3zLqHXEPt18r/HetjFkDWXnMZrqQ1HuzoACwizVkvAGF28OL3u7rvZJ14LONt QXmXSe31lZv2sBM+QCyptC6ug/wqLweiN15g+aFqW4rcOBsFoZqEE5Xa5BdWs9wu1o27II FmD4lv5+Abr29i6TvzBCu6+ckkIQfpQ/uiYWfvgC7ORlovW2fLDnLdTuYOqN4Lj4ca/teK qBfeZgG99FLr6B1519X9HV46RX2h/a9rY9/7EUVy1388Cxf2qd/LyUtojY7b2omVJnUck/ GFYRjO9teQMJRP8hDlRDo0K4IwbxZH44nUR7mzBNgtv6ytiEjppTaaY/dn88yQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711856444; a=rsa-sha256; cv=none; b=VzUjL2lGMr8OBHaBFe8orOTMdN6EROMERQX5wleTXwt3druTi+BhGIn2DZseZ/kZ6SEEjq fzJEvaXzU9FumlTHZWJRRkMk3e1d9YtQj/ysxN68HNViO7ZZHLA6csTdejOevuG6QC4rGk FIgGd4wwJr80gYYaV3VnICgigArQaa7F6YMXv6O8qnIhsd46H8HIVq1+tExss6i7jKtyYr S/EuXEzvV9WihFoxD5qm1o7iM0C41ZGKf39rXs7mjWadGOS+0RDNvYcjUEJRRnxcOVvvW+ vApoFxelMheSygjPGnyRVbSxcC4+QiZbaVVnKCUV5W7mg0uLYKOLN6gs1/Dqsg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711856444; 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=Gg0UWErjzEULSJquDArMncY/Qmj4RIFwNhiJjgyezuQ=; b=HtSg5UVnD+dmlLCUzDoWo1vtmTkPa3TfZ+VzVxHc5ZrBidpX+4zGut/teWzoq01A1VO1fi uw5ki+UHDRru4zTSTDJ1qwUHqVKhkJegIWAOK1EA9VnnHewJoB/HuiDQghpLkfoZZl7MOl 5gwaHi4cC/ju0VwdBavLLEsw+ShsuRH2T8FBKraM4KmSAbMoqh2hzcJY4COrHDZmr6ZezS t4co8TI7E9EQvYqXLOBsWN4W/Ju0Th9G4yYVlaC/DP8X5reZpxjaWuiA7YuueU6L803IEU r2Xg+S2n1khNa53kIxWnUUDrTy7RgEzlGfOdg4oJ4HTGGB7xeH5xvRhFweDcQQ== 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 4V6g0D4hG1zMMw; Sun, 31 Mar 2024 03:40:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 42V3eisx089171; Sun, 31 Mar 2024 03:40:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42V3eilV089168; Sun, 31 Mar 2024 03:40:44 GMT (envelope-from git) Date: Sun, 31 Mar 2024 03:40:44 GMT Message-Id: <202403310340.42V3eilV089168@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 745b591b79cb - main - lang/py-lupa: Update to 2.1 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: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 745b591b79cb457de8179a78119e289b51be1fda Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=745b591b79cb457de8179a78119e289b51be1fda commit 745b591b79cb457de8179a78119e289b51be1fda Author: Po-Chuan Hsieh AuthorDate: 2024-03-31 03:06:56 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-03-31 03:06:56 +0000 lang/py-lupa: Update to 2.1 Changes: https://github.com/scoder/lupa/blob/master/CHANGES.rst --- lang/py-lupa/Makefile | 8 ++++++-- lang/py-lupa/distinfo | 6 +++--- lang/py-lupa/files/patch-lupa-tests-test.py | 14 -------------- lang/py-lupa/files/patch-setup.py | 28 ---------------------------- 4 files changed, 9 insertions(+), 47 deletions(-) diff --git a/lang/py-lupa/Makefile b/lang/py-lupa/Makefile index c49dcfcdd6b4..212b959efcd5 100644 --- a/lang/py-lupa/Makefile +++ b/lang/py-lupa/Makefile @@ -1,5 +1,5 @@ PORTNAME= lupa -PORTVERSION= 2.0 +PORTVERSION= 2.1 CATEGORIES= lang python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,8 +11,12 @@ WWW= https://github.com/scoder/lupa LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cython3>=3.0.9:lang/cython3@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} + USES= lua pkgconfig python -USE_PYTHON= autoplist concurrent cython distutils unittest +USE_PYTHON= autoplist concurrent pep517 unittest MAKE_ARGS= --no-bundle --with-cython --with-lua-checks TEST_ARGS= lupa.tests.test diff --git a/lang/py-lupa/distinfo b/lang/py-lupa/distinfo index 3a6e93a8477a..00f9289caadc 100644 --- a/lang/py-lupa/distinfo +++ b/lang/py-lupa/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1684104502 -SHA256 (lupa-2.0.tar.gz) = ad3fef486be7adddd349fe9a9c393789061312cf98ebc533b489be34f484cb79 -SIZE (lupa-2.0.tar.gz) = 6278066 +TIMESTAMP = 1711466198 +SHA256 (lupa-2.1.tar.gz) = 760030712d5273396f5e963dd8731aefb5ac65d92eff8bf8fd4124c1630fe950 +SIZE (lupa-2.1.tar.gz) = 7111959 diff --git a/lang/py-lupa/files/patch-lupa-tests-test.py b/lang/py-lupa/files/patch-lupa-tests-test.py deleted file mode 100644 index e55fbee71c13..000000000000 --- a/lang/py-lupa/files/patch-lupa-tests-test.py +++ /dev/null @@ -1,14 +0,0 @@ -Obtained from: https://github.com/scoder/lupa/commit/9fecb31fd368043699b8a88310f2718858b18a5f - ---- lupa/tests/test.py.orig 2023-04-04 07:12:27 UTC -+++ lupa/tests/test.py -@@ -52,6 +52,9 @@ class TestLuaRuntimeRefcounting(LupaTestCase): - if off_by_one and old_count == new_count + 1: - # FIXME: This happens in test_attrgetter_refcycle - need to investigate why! - self.assertEqual(old_count, new_count + 1) -+ elif off_by_one and old_count == new_count + 2 and sys.version_info >= (3,11): -+ # FIXME: This happens in test_attrgetter_refcycle - need to investigate why! -+ self.assertEqual(old_count, new_count + 2) - else: - self.assertEqual(old_count, new_count) - diff --git a/lang/py-lupa/files/patch-setup.py b/lang/py-lupa/files/patch-setup.py deleted file mode 100644 index 24288085b463..000000000000 --- a/lang/py-lupa/files/patch-setup.py +++ /dev/null @@ -1,28 +0,0 @@ -Obtained from: https://github.com/scoder/lupa/commit/19279acda1ad7e7a536adafe399b183701287bc1 - ---- setup.py.orig 2023-04-04 07:12:27 UTC -+++ setup.py -@@ -365,10 +365,11 @@ if not configs and not option_no_bundle: - or (get_machine() != "x86_64" and 'luajit' in os.path.basename(lua_bundle_path.rstrip(os.sep))) - ) - ] --if not configs and not option_use_bundle: -- configs = find_lua_build(no_luajit=option_no_luajit) - if not configs: -- configs = no_lua_error() -+ configs = [ -+ (find_lua_build(no_luajit=option_no_luajit) if not option_use_bundle else {}) -+ or no_lua_error() -+ ] - - - # check if Cython is installed, and use it if requested or necessary -@@ -484,7 +485,7 @@ setup( - ], - - packages=['lupa'], -- build_requires=['Cython>=0.29.28'], -+ setup_requires=['Cython>=0.29.28'], - ext_modules=ext_modules, - libraries=ext_libraries, - **extra_setup_args