From nobody Sun Aug 25 05:06:13 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 4Ws1x219V9z5VJjp; Sun, 25 Aug 2024 05:06:14 +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 4Ws1x16MmSz4ZQL; Sun, 25 Aug 2024 05:06:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724562373; 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=+MS84KHrls5fzZI+CRYtMlwH0bM0jOPpaHrnvgQGQRo=; b=CiTOnkmjf1NMwhHHoQTTl4u6Lp25nJwcRdWJF6SAmFogzCudDsqKq0vKwqjMLfZbC8O60p 4fwzfjoRDKDBiKkz7rYdGn96jQUNdWRscg7rPRXbV+gFGv0ZJqxDlvk6quKEgsAcZdVsaW F20ivSXHvD0dzwK7AU7hVQk98M8J+N9Da6JfRU5EfyvCyO9yoIaCUcmmJZFAfwaOnRqeFh OXYOWyG4wrOC4u3FOiOGplO1cX+6t8f3T5MEoKBydseCXxIR6wp939HGL//DmoTbm75rNv 2Y9E4z4O8xSD8Y3SJXqiJwZIgydrPtH8ROjnPdxQP37yL8rme1gvqAGpg0+M4g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724562373; a=rsa-sha256; cv=none; b=fwLSf1puyu4ZzucFvLTpq4Q2YeOiH0hF8drpw/CZ+zETNRloKYERXCHoHOX+io9XLPNEQn fLr2k8hVEkzCAoFHVgyvXisIKZmXmFfJGOnBnthbY5gqfVveaUi2c14xWX34+6bfeKPlm7 9yTKaexbTjWorsE56cGD9Va03jLD7408S7Jam/1z5HQXH+HZlriz2x4G1QT399t+iD4jPY SmAqq7jaMFY1y1xSJ9V4T2BkT+oayBGZ7Jua6g0dT0koEFfLxiS3PPNL3t6KerFq0j6J8b LP67vGykukyWXNKYno88B4RYoTSBWbBydTDjQq9KsCumOIZvFbcKkeCRcEaDag== 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=1724562373; 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=+MS84KHrls5fzZI+CRYtMlwH0bM0jOPpaHrnvgQGQRo=; b=hUczsEZwcd5lfytLBPqGPNC+r3yub7o/PwgSqihn4mCdN1McN0Au2OUM2YCDFrHiQsgvxB YortAPecW+uS5mE1j6KRCRxYSJ1hvOVuYUQlh03/oqkbxore3HcwVMSJS/Di0reV8JBRAv zEmviTMAhZ31GceqFofVEDW4e4ZyT74Fo5N4eSHN0yzrqowm+B0LQU6QCDuqwF8Fu/rGfN O8X0W2di6Nedhu8R9W5F9IcZ3P+hfSVXaRCdRm8hH3AO4iC/ER6OUHVbeAtCOnELcWcEHO B9U21gETAhjgPxEZknMCjfvGuzpek7Fy8PS/6COBUnff8Q8cpGwTavypSF7/FA== 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 4Ws1x15V7Rz1PKc; Sun, 25 Aug 2024 05:06:13 +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 47P56DhU074508; Sun, 25 Aug 2024 05:06:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47P56DFF074505; Sun, 25 Aug 2024 05:06:13 GMT (envelope-from git) Date: Sun, 25 Aug 2024 05:06:13 GMT Message-Id: <202408250506.47P56DFF074505@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Xin LI Subject: git: 44b3bcf38075 - main - databases/py-hiredis: upgrade to 3.0.0. 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: delphij X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 44b3bcf3807506509a24b261c7fdf95626077c0f Auto-Submitted: auto-generated The branch main has been updated by delphij: URL: https://cgit.FreeBSD.org/ports/commit/?id=44b3bcf3807506509a24b261c7fdf95626077c0f commit 44b3bcf3807506509a24b261c7fdf95626077c0f Author: Xin LI AuthorDate: 2024-08-10 08:42:53 +0000 Commit: Xin LI CommitDate: 2024-08-25 05:05:51 +0000 databases/py-hiredis: upgrade to 3.0.0. PR: ports/280724 Approved by: maintainer timeout --- databases/py-hiredis/Makefile | 2 +- databases/py-hiredis/distinfo | 6 +++--- databases/py-hiredis/files/patch-setup.py | 32 +++++++++++++++++++------------ 3 files changed, 24 insertions(+), 16 deletions(-) diff --git a/databases/py-hiredis/Makefile b/databases/py-hiredis/Makefile index 91b010f7c7bd..1267645cc752 100644 --- a/databases/py-hiredis/Makefile +++ b/databases/py-hiredis/Makefile @@ -1,5 +1,5 @@ PORTNAME= hiredis -PORTVERSION= 2.0.0 +PORTVERSION= 3.0.0 CATEGORIES= databases python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/databases/py-hiredis/distinfo b/databases/py-hiredis/distinfo index f8fd6ec61c8c..951b860bea36 100644 --- a/databases/py-hiredis/distinfo +++ b/databases/py-hiredis/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1651161094 -SHA256 (hiredis-2.0.0.tar.gz) = 81d6d8e39695f2c37954d1011c0480ef7cf444d4e3ae24bc5e89ee5de360139a -SIZE (hiredis-2.0.0.tar.gz) = 75807 +TIMESTAMP = 1723278447 +SHA256 (hiredis-3.0.0.tar.gz) = fed8581ae26345dea1f1e0d1a96e05041a727a45e7d8d459164583e23c6ac441 +SIZE (hiredis-3.0.0.tar.gz) = 87581 diff --git a/databases/py-hiredis/files/patch-setup.py b/databases/py-hiredis/files/patch-setup.py index 248919915e4a..5ae9a3fc2bb4 100644 --- a/databases/py-hiredis/files/patch-setup.py +++ b/databases/py-hiredis/files/patch-setup.py @@ -1,16 +1,24 @@ ---- setup.py.orig 2021-03-28 15:11:23 UTC +--- setup.py.orig 2024-07-19 12:05:48 UTC +++ setup.py -@@ -11,9 +11,10 @@ def version(): - return module.__version__ +@@ -18,8 +18,7 @@ def get_sources(): - ext = Extension("hiredis.hiredis", -- sources=sorted(glob.glob("src/*.c") + -- ["vendor/hiredis/%s.c" % src for src in ("alloc", "read", "sds")]), -- include_dirs=["vendor"]) -+ sources=sorted(glob.glob("src/*.c")), -+ include_dirs=["%%LOCALBASE%%/include"], -+ library_dirs=["%%LOCALBASE%%/lib"], -+ libraries=["hiredis"]) + + def get_sources(): +- hiredis_sources = ("alloc", "async", "hiredis", "net", "read", "sds", "sockcompat") +- return sorted(glob.glob("src/*.c") + ["vendor/hiredis/%s.c" % src for src in hiredis_sources]) ++ return sorted(glob.glob("src/*.c")) + + + def get_linker_args(): +@@ -47,8 +46,9 @@ ext = Extension("hiredis.hiredis", + sources=get_sources(), + extra_compile_args=get_compiler_args(), + extra_link_args=get_linker_args(), +- libraries=get_libraries(), +- include_dirs=["vendor"]) ++ include_dirs=["/usr/local/include"], ++ library_dirs=["/usr/local/lib"], ++ libraries=["hiredis"]) setup( - name="hiredis", + name="hiredis",