From nobody Fri Dec 08 09:50:28 2023 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 4SmmbT1SkBz53j1N; Fri, 8 Dec 2023 09:50:29 +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 4SmmbT0qyMz3c0l; Fri, 8 Dec 2023 09:50:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702029029; 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=lkncywi5vG2771xwF3ED1GrU8JlOLTcixfVOj9F5Uj8=; b=ro6lsOotnhwOGY9YXV+IU4cSGFsx3HxhXvPys2X6mmsyoAtf+96gxJu0O7KcSreqVA8L4V nyT7pof+wRRe+LIMV9Zd9bnKycDXFbmn9gDsYCGUs/z+n4svRHLNSCQJ4e0JJsq+AT9KTL 550Y8vDdAAo+xGQXpyAEg9Gh6zgIPdqlp6IX+UJ6SoyVsujfgyzbrfI8ZwH01MRiY8MnC+ ifHTA9KN7pbbyAu0K092aLL1OHvkY3KMvIJd00Ce9tMpJ7DZFfCj9xXJrjnq3HmDL/Vi2q IdE3dFQ7xbfjX9XVjcYRAsIMIJWyblwGZkbsOvCjKVRlnNr9PAVbjHlw8BiB6Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702029029; a=rsa-sha256; cv=none; b=ooz7LMCjk6v+qChhG0LG3Go7a5bK99SjSMxn47W0IfIZUj+9ARhLwrDVNBRpxNp7jL8bXa Ws3kZHUMa7nAiBWKuKigU1+2tI3Io9aSAZorogP5BmdBOv7SjlU1YcQgNthGkow5pidpTg lmstuuk8GyNRSNGuDAI6CakYYBPeseTNEo50CFjmPO3IoeGs8cJUAzxaovf23yUtUbF45C Q6casJI6LdoDTPMXrHKijxeurD1+3IwpS3N7njpXUrIKC1iYXc3Gs5rf4WFlqkOTsJ1gYG T1B5VJvdp8XJ4K+yMPCGY6Mj4LeYnK8X+Qz/EpEXfd7tWaEwNIJolF+h3G91lQ== 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=1702029029; 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=lkncywi5vG2771xwF3ED1GrU8JlOLTcixfVOj9F5Uj8=; b=jeSGHPpKt7vCUNoP/Swjf1y77WQOOoGuKSPctyFVl28r8Y6dgdOq1keeVGBS+itvWDTVSN SX7ikDm/E2GWF/fj/JJzmhO2WVO/Uv6IujN1GjepoSUAWYJTyI1tnwJLwMVVyzDsnFLzVV z5uK55rCs2R9U6kGN8/PUyTdRBn/GtnAKkajhyZ9NANNvf6jQQydPi+dy3H09DhqqdbOXv E4OMowXykXGudqBkH5EZ5oexmfa2LXxfi/C7EycbKTItl34gqHckg4WtwGAUum+E6cHprK OwpuNFSYO1i7GRL+BmNK8fdf254SkfCxycVRewM49n5ViqYqonN1gcl7SzptJw== 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 4SmmbS6yxSz16J; Fri, 8 Dec 2023 09:50:28 +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 3B89oSYV089869; Fri, 8 Dec 2023 09:50:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3B89oSnh089866; Fri, 8 Dec 2023 09:50:28 GMT (envelope-from git) Date: Fri, 8 Dec 2023 09:50:28 GMT Message-Id: <202312080950.3B89oSnh089866@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kai Knoblich Subject: git: 0d92723c0690 - main - devel/py-diskcache: Switch to Django 4.2 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kai X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0d92723c069066b4c4a5d23ab74b61d2dc8f9f7e Auto-Submitted: auto-generated The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=0d92723c069066b4c4a5d23ab74b61d2dc8f9f7e commit 0d92723c069066b4c4a5d23ab74b61d2dc8f9f7e Author: Kai Knoblich AuthorDate: 2023-12-08 09:42:47 +0000 Commit: Kai Knoblich CommitDate: 2023-12-08 09:49:58 +0000 devel/py-diskcache: Switch to Django 4.2 * Django 4.1 reaches its End-of-Life at 2023-12-31 thus switch to Django 4.2 which has long-term support. * Update test suite as well and switch to USE_PYTHON=pytest. Although devel/py-tox is specified in "setup.py" for the test suite, the use of pytest (or unittest) in terms of FreeBSD ports on downstream side makes more sense and give better results. This is because the tests are carried out within the native system environment and are therefore also tested against the Python version and packages/ports that are actually installed. * Bump PORTREVISION due changed dependencies. PR: 275212 Approved by: maintainer timeout (2+ weeks) --- devel/py-diskcache/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/devel/py-diskcache/Makefile b/devel/py-diskcache/Makefile index 130c09e0bdb1..1664a74d72a6 100644 --- a/devel/py-diskcache/Makefile +++ b/devel/py-diskcache/Makefile @@ -1,6 +1,7 @@ PORTNAME= diskcache DISTVERSIONPREFIX= v DISTVERSION= 5.6.1 +PORTREVISION= 1 CATEGORIES= devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -10,18 +11,19 @@ WWW= https://grantjenks.com/docs/diskcache/ LICENSE= APACHE20 -PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django41>0:www/py-django41@${PY_FLAVOR} +PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>0:www/py-django42@${PY_FLAVOR} BUILD_DEPENDS= ${PY_DEPENDS} RUN_DEPENDS= ${PY_DEPENDS} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox@${PY_FLAVOR} USES= python -USE_PYTHON= distutils autoplist unittest # 1 test fails, see https://github.com/grantjenks/python-diskcache/issues/262 +USE_PYTHON= distutils autoplist pytest USE_GITHUB= yes GH_ACCOUNT= grantjenks GH_PROJECT= python-diskcache +TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + NO_ARCH= yes .include