From nobody Sat Jul 06 16:28:38 2024 X-Original-To: dev-commits-ports-main@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 4WGbRW3Wkgz5P2kQ; Sat, 06 Jul 2024 16:28:39 +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 4WGbRV55C8z4G7R; Sat, 6 Jul 2024 16:28:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720283318; 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=6xL3x1pilkJXWnv0DsOY1QTtkyTBieHKz0C+IJyN8bs=; b=RsBwC+g7ryjXoIDhSInAKFM93ykkL3m6tYM/KVCQWy/6g2dhiC5M8ZyALp011en7NG2Wid wPN63mcnwQByWIFJ7EYA0sFKhSJ1kmZaAP8PiPPeBGhkzbE7y6IRniNBqxFR+tHP1BQ114 QXyu98MdcuUpFISVCe9LInUPZ78fwrwoivNo7n98RhTA6MnfhJRJ/yfBehA9DUxw76oSyg +B0ndVQxAvGjzzzsr/uoXV7eim0TDMFgmS6+uQmDJ8smvPkMwcxhn/p6JpFz/qiG9W/5iq hikplwQsJtBKvDnqToU1RRve9ohZxYMaNuov30ICyPR6x5TlacByY44TE9Amdw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1720283318; a=rsa-sha256; cv=none; b=k/CVCNh8QGClr2saVVoxGx7BPBu3Ago7fKF7pIm1AhDEACSLeNUWyz+47TWX17QgCXqdw6 lzAvlQnh7TnSRaWR0TFBeyx2gvVvsn9LpeccpTndjeZC1ZWaJN3uvTcBKPkkXO56dihYP2 LUVFPqxrkzchYYBKLVrW+Kd1OO35O2YGlEUqgEDYHR9fj3fRvJvJduNOl7YxNQ3Kgmc2uh 8D9c/eTzZ96vvzlkwIEfk6CMVsgRF1982Ryyq6QnQAo6eCHXk04EbURh4VyVnnx2hDlrfx rNsUK6yvtVmqNQnSMSRd4TCjmJ8CU6p3/m1eU9Ee3NNkfkWKsbc047eozuxVVw== 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=1720283318; 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=6xL3x1pilkJXWnv0DsOY1QTtkyTBieHKz0C+IJyN8bs=; b=BmSmXJfVJgqhelnRBA/qB9SjVTBuJFgizLHfTcV1LHuGYpon2MG8wA2eQQ5gVX57i3EZH0 tehL7MXf7LyxIgvSEJeeUTdr1N7IXm2mux+acyFqDUp+DfdRlzOuDFcgqv++JBUTcQphk4 XePjEsirFuOzQi1TDAYt2oSaR/CSXyhtv0G7X2J8b/3thPwuq8a6ZYw2P8Iv7CGm9PTWHU 8XMUxS/m5VaxurK+1GcVhKFrsUk2e/yhDlGZHoNQ62rEphQ353/4dwImaBPN6rQ63G56Nm Qnu8gRQyJNDMQjoT0GsILjaaw9hM3+2OJiz8L7FN4CaQK1qi3/l19xjKzND//A== 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 4WGbRV4jmdznWj; Sat, 6 Jul 2024 16:28:38 +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 466GScrX082651; Sat, 6 Jul 2024 16:28:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 466GScx7082648; Sat, 6 Jul 2024 16:28:38 GMT (envelope-from git) Date: Sat, 6 Jul 2024 16:28:38 GMT Message-Id: <202407061628.466GScx7082648@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: 3c45bcb35ad1 - main - devel/py-freebsd: Convert to USE_PYTHON=pep517 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@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: 3c45bcb35ad1ed59f0c5f8b5b70221b72f4a327b Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=3c45bcb35ad1ed59f0c5f8b5b70221b72f4a327b commit 3c45bcb35ad1ed59f0c5f8b5b70221b72f4a327b Author: Po-Chuan Hsieh AuthorDate: 2024-07-06 16:11:55 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-07-06 16:11:55 +0000 devel/py-freebsd: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for package change --- devel/py-freebsd/Makefile | 11 +++++++---- devel/py-freebsd/files/patch-setup.py | 11 +++++++++++ 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/devel/py-freebsd/Makefile b/devel/py-freebsd/Makefile index 7d88ed6ba8d8..149396375b30 100644 --- a/devel/py-freebsd/Makefile +++ b/devel/py-freebsd/Makefile @@ -1,6 +1,7 @@ PORTNAME= freebsd PORTVERSION= 0.9.5 -DISTVERSIONPREFIX=v +DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -10,17 +11,19 @@ COMMENT= Python interface to FreeBSD-specific system libraries LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYRIGHT +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} + USES= python -USE_PYTHON= autoplist distutils unittest +USE_PYTHON= autoplist concurrent pep517 unittest USE_GITHUB= yes GH_ACCOUNT= sobomax GH_PROJECT= py-freebsd -PYDISTUTILS_BUILD_TARGET=build_ext -i TEST_ARGS= discover -s tests post-install: - ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/freebsd*.so + ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/devel/py-freebsd/files/patch-setup.py b/devel/py-freebsd/files/patch-setup.py new file mode 100644 index 000000000000..3ffef612f40a --- /dev/null +++ b/devel/py-freebsd/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2022-01-23 05:12:10 UTC ++++ setup.py +@@ -51,7 +51,7 @@ setup_options = { + print(F'Extension options:\n{extension_options}') + + setup_options = { +- 'name' : "py-freebsd", ++ 'name' : "freebsd", + 'version' : "0.9.5", + 'description' : "Python Interface to FreeBSD Platform Library", + 'author' : "Hye-Shik Chang",