From nobody Sun Aug 14 18:38:02 2022 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 4M5R4C029Vz4Ygj1; Sun, 14 Aug 2022 18:38:03 +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 4M5R4B6c1kz3CB6; Sun, 14 Aug 2022 18:38:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660502282; 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=LBIxk8oEER8ANHwiRyvcGwGX12uXUCuZtjqwDpBjzCc=; b=kCA117zLmpdtPmnJmp2I8rULVlaEN7/HgzhVTs7c07sovcaDB4Oz9wsdpoXKeCTpBUcAPN fyhy6zHxeSnyuNQ5eIF1U0ZGMCUs4tsxEF2U1eldkU7V1Q3dOf0KyZz0oH89+heUIaEkTa /rT1ywnr+D9i0FU9a+X0J+pe6wBPCnGHOch5T+4UrxZ2zh9fvrgY/PM2WZD9MFMkJyq3mu z/eKFOwJIOtRHxwfB9/kIKWqm4fd2OnYjJ1a+Lx01l8/jekNOR+RbLe0ICMBx63toVk8j3 LUlwuuYVB4pRJBfVmdPk00EBo80OAG27gFZunCWZ73VibNPL3dfBVSa619W+vg== 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 4M5R4B5RX1z11Mk; Sun, 14 Aug 2022 18:38:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 27EIc2vH073760; Sun, 14 Aug 2022 18:38:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27EIc2SZ073759; Sun, 14 Aug 2022 18:38:02 GMT (envelope-from git) Date: Sun, 14 Aug 2022 18:38:02 GMT Message-Id: <202208141838.27EIc2SZ073759@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 9152f9cc5bcf - main - devel/py-diskcache: New port: Disk and file backed persistent cache 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9152f9cc5bcfc9d17a410c054eaf6a62e8ce096b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660502282; 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=LBIxk8oEER8ANHwiRyvcGwGX12uXUCuZtjqwDpBjzCc=; b=wTMP+5ppLh+F4QRCnJyqZu43qrbnF/IUpKadz0Z/3XMihQPZ+C0qKAAYkgHxn2HP+N/8P7 FP6AhMllty2T+XxmKKE2yDdqr7GnNeST/umNwRXlYw+RWUhuxbB6KmShgr8r/ffgVsEo2x ujeC8lzef2O0mlhGLc4BIIboZElPFTFgMjw5GjSkAHqh0lOzFdRlA2KPhqkkFfApVH+Ac4 sxaDxtCR5lBNuvKCWipYxtDjiozITh4nZ1G8Ztcz5m/NBG2fh+UQSAG6kRAcTW8T+Z0hlR 7h4qYCe/rhCrFvidrUtx0VV4wEqSiOUNss5qcCmq7YRHGkIosraSXzPu8cIWIQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660502282; a=rsa-sha256; cv=none; b=OCWf8f/+TZQe/7b/3Vr2W8rN0m/3rzk5VYpIkmjHs/MPUp+IcuPbEhMCeWL5FRZ2z8wOEg ipmj0Y4V6VCRP4dt18n5GOxQyfstF0Z4kXyR2B8e6GevOj/HtEsmJyKkodU2vgOPtXaLnH P1bPvL7ej3JhraIw9QCBB4qXSdQkNi9KAbgWdm6SPTtPw665rmftJ4YVOWYwgl12Bzv4H1 Pl6uoLoE1w0dynfINdEgN/zRjKEUDO4muUijCJPU76smhnq3/l33DHNJH2v0HxeOEIkxYD /yQvV36Gs3jyLIZwyojT4i+RkmIKzvc02P0VYYYmQExnoZueDxb4VtO+QcJstg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=9152f9cc5bcfc9d17a410c054eaf6a62e8ce096b commit 9152f9cc5bcfc9d17a410c054eaf6a62e8ce096b Author: Yuri Victorovich AuthorDate: 2022-08-14 17:30:45 +0000 Commit: Yuri Victorovich CommitDate: 2022-08-14 18:37:55 +0000 devel/py-diskcache: New port: Disk and file backed persistent cache --- devel/Makefile | 1 + devel/py-diskcache/Makefile | 26 ++++++++++++++++++++++++++ devel/py-diskcache/distinfo | 3 +++ devel/py-diskcache/pkg-descr | 8 ++++++++ 4 files changed, 38 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 46005b354e83..a7197492b4a6 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4435,6 +4435,7 @@ SUBDIR += py-diazo SUBDIR += py-dill SUBDIR += py-dirspec + SUBDIR += py-diskcache SUBDIR += py-distlib SUBDIR += py-distributed SUBDIR += py-dj40-django-rq diff --git a/devel/py-diskcache/Makefile b/devel/py-diskcache/Makefile new file mode 100644 index 000000000000..be59e0e24db8 --- /dev/null +++ b/devel/py-diskcache/Makefile @@ -0,0 +1,26 @@ +PORTNAME= diskcache +DISTVERSIONPREFIX= v +DISTVERSION= 5.4.0 +CATEGORIES= devel python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Disk and file backed persistent cache + +LICENSE= APACHE20 + +PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django41>0:www/py-django41@${PY_FLAVOR} +BUILD_DEPENDS= ${PY_DEPENDS} +RUN_DEPENDS= ${PY_DEPENDS} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox@${PY_FLAVOR} + +USES= python:3.5+ +USE_PYTHON= distutils autoplist unittest # 1 test fails, see https://github.com/grantjenks/python-diskcache/issues/262 + +USE_GITHUB= yes +GH_ACCOUNT= grantjenks +GH_PROJECT= python-diskcache + +NO_ARCH= yes + +.include diff --git a/devel/py-diskcache/distinfo b/devel/py-diskcache/distinfo new file mode 100644 index 000000000000..c3ee85274567 --- /dev/null +++ b/devel/py-diskcache/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1660497519 +SHA256 (grantjenks-python-diskcache-v5.4.0_GH0.tar.gz) = 5cdfcb16c9773584e8dca21c23c622e3c787721b1b09635a25e4f00c28073b2a +SIZE (grantjenks-python-diskcache-v5.4.0_GH0.tar.gz) = 653968 diff --git a/devel/py-diskcache/pkg-descr b/devel/py-diskcache/pkg-descr new file mode 100644 index 000000000000..28ecf78254f0 --- /dev/null +++ b/devel/py-diskcache/pkg-descr @@ -0,0 +1,8 @@ +DiskCache is an Apache2 licensed disk and file backed cache library, written in +pure-Python, and compatible with Django. + +The cloud-based computing of 2021 puts a premium on memory. Gigabytes of empty +space is left on disks as processes vie for memory. Among these processes is +Memcached (and sometimes Redis) which is used as a cache. + +WWW: https://grantjenks.com/docs/diskcache/