From nobody Wed Sep 18 06:19:32 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 4X7pQX6KQjz5W0LP; Wed, 18 Sep 2024 06:19:32 +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 4X7pQX50Myz4GhR; Wed, 18 Sep 2024 06:19:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726640372; 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=fCgiOSsM5n358GuP5jyHdoGvzR2JPSG830CxCKozzJ8=; b=VMMAn/RBEWOIyw/VatnaEDraxSMsJEw65x5WpjqJafioqvLNlyFMG2OYtw++/Nuz0od1em JQiasg57cqPbxYz6TD39ex/s19CbHnQ0N2E98z64ZNrKsXo0fDZED8v1JZ34wQ8zJXJ3F6 rS9WbneY5CS9+aXTGu3Sxe7qLPoJPuNWEMRcXD39EfeQwz3djiIL/qvL3N5Fw97bJ2fooE DkYzSaGYfMmO0ydfuc4UuFObLY4WLVrJMEfX9GZrxUJXuWk0ezHiDkdPCNfv7WO6Zy6Qug LIzZLDVd8HOYfZTS9iFqINB1Wl3nqfa+CYBDeRCzgv0ZDliTMOQN/eWSO6Nb1A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726640372; a=rsa-sha256; cv=none; b=pFbBYLGR5QmvDh9P6ejqe9+NiNL3NrU9OtfVB32EsKXFl+1fdO4/9c06HmdfNyujIHzdl8 4N6ALZPGcP71HscF333I42OhmBkHUDskEwNxepA2GLWjA4urjftgKpkuUGe0D+3vYqVULx g+fyP/IV2zR8XRuw19XAWtNSuLsVZHqONWXJ42/ofvyBwLd1aV8BnO4Ybae96HnCq7GU9t rQKuNIKD7+JkaGC+y+iM5KQcRgu9K+G/shk2MT2IIHy0Ymi5QMHlWUYZQy/v0h2anpWBcu oYQ+LHBZZzKqwzyIRp1Hrfmj9EbiUEAmGbE3qSMCosOim6dyK9civNiXO94thQ== 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=1726640372; 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=fCgiOSsM5n358GuP5jyHdoGvzR2JPSG830CxCKozzJ8=; b=U31OBFQsCiYLq9TTcxb3eP1fHHX4tSgcPMkGoiPUGeXMODuXRBeuSlXsxs4OTLRPoP1i9z uXl29ZVbG0m8SIjZ+gJe51/cDwryPezJECKgU5S+mnrjbkW2UyxE0ZvH4mVl04BoUTT8wZ 15iMDR5t1WYMIWeacMyowHUJr+6cq7eLl0TCiHR3f/kE3xvPyq2ZF3BEG/XJ7mkFpFTtGP Q44Mf9Z2lSDLaN9O1PdorhnNJwZC2koT0p0BeS9CzFrlHzOZVioGQ3VU1ifVtH5rCsRz95 tyTTm4elgN3fc6EKYhsm8sxwHBsfab50AA7BCHe797ixADqdE8uslTaINY/V+Q== 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 4X7pQX47X6z19Kd; Wed, 18 Sep 2024 06:19:32 +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 48I6JWmW033698; Wed, 18 Sep 2024 06:19:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48I6JWZR033695; Wed, 18 Sep 2024 06:19:32 GMT (envelope-from git) Date: Wed, 18 Sep 2024 06:19:32 GMT Message-Id: <202409180619.48I6JWZR033695@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: f83ff47b96db - main - devel/py-python-pcre: 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: f83ff47b96db4ebaf12d38a0bc9819c39441b515 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=f83ff47b96db4ebaf12d38a0bc9819c39441b515 commit f83ff47b96db4ebaf12d38a0bc9819c39441b515 Author: Po-Chuan Hsieh AuthorDate: 2024-09-18 05:56:34 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-09-18 06:13:15 +0000 devel/py-python-pcre: Convert to USE_PYTHON=pep517 - Use USES=localbase:ldflags - Update pkg-descr - Bump PORTREVISION for package change --- devel/py-python-pcre/Makefile | 12 ++++++------ devel/py-python-pcre/files/patch-setup.py | 11 ----------- devel/py-python-pcre/pkg-descr | 2 +- 3 files changed, 7 insertions(+), 18 deletions(-) diff --git a/devel/py-python-pcre/Makefile b/devel/py-python-pcre/Makefile index 8c911e1a38b3..5db3acbc7d18 100644 --- a/devel/py-python-pcre/Makefile +++ b/devel/py-python-pcre/Makefile @@ -1,5 +1,6 @@ PORTNAME= python-pcre DISTVERSION= 0.7 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,15 +12,14 @@ WWW= https://github.com/awahlig/python-pcre LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} LIB_DEPENDS= libpcre.so:devel/pcre -USES= python -USE_PYTHON= autoplist concurrent distutils - -post-patch: - @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/setup.py +USES= localbase:ldflags python +USE_PYTHON= autoplist concurrent pep517 post-install: - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/site-packages/_pcre*.so + ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/devel/py-python-pcre/files/patch-setup.py b/devel/py-python-pcre/files/patch-setup.py deleted file mode 100644 index e678a0114e7f..000000000000 --- a/devel/py-python-pcre/files/patch-setup.py +++ /dev/null @@ -1,11 +0,0 @@ ---- setup.py.orig 2014-08-17 09:21:38 UTC -+++ setup.py -@@ -33,6 +33,8 @@ from distutils.core import setup, Extens - - _pcre = Extension('_pcre', ['src/pcremodule.c'], - libraries=['pcre'], -+ include_dirs=['%%LOCALBASE%%/include'], -+ library_dirs=['%%LOCALBASE%%/lib'], - extra_compile_args=['-fno-strict-aliasing']) - - diff --git a/devel/py-python-pcre/pkg-descr b/devel/py-python-pcre/pkg-descr index 4c075e0aa162..7a7b980dcf74 100644 --- a/devel/py-python-pcre/pkg-descr +++ b/devel/py-python-pcre/pkg-descr @@ -1 +1 @@ -A Python PCRE library +python-pcre is a Python bindings for PCRE regex engine.