From nobody Mon Aug 08 19:14:53 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 4M1m9T4b3Sz4Yrlf; Mon, 8 Aug 2022 19:14:53 +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 4M1m9T45n3z3gys; Mon, 8 Aug 2022 19:14:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659986093; 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=PdDyIxXVZtRZPW3saMcmkjSxP4xzAsDdzkDhebp+TSk=; b=lm6CIPKInL+MsqM0mzhWL+zAd3dhEKQAKoPZGLCdJvtPq7/ymy5hQO+C2Y+WIjp/bwBFjP BCQI7/37ZwJFlHgtw09CUO9Qm9hTwWyCVo0s8HTWEnBa7ELBRIYp0XU4VLNiQ3IrGCWxru sa3tndQGwFsjSzTFfny9mWN0AcNMCGsDRjlrnB8X6DfHf73vhVAn+j0h9Lh8iZr1qGPa7n O2fC1L8ytx2cXl5KDTD2sMJLTv9sXzH6i8OUE79wrj8T8T76ekos+CwG+ZIOMqhNuOa1PG sjTD8VydlztroQi7V1aWsfOVd1GurJE3RdJZWzfl/0sdKtWAv5EX+YFmSYy12Q== 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 4M1m9T2rcyz13JB; Mon, 8 Aug 2022 19:14:53 +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 278JErYp011250; Mon, 8 Aug 2022 19:14:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 278JErlv011249; Mon, 8 Aug 2022 19:14:53 GMT (envelope-from git) Date: Mon, 8 Aug 2022 19:14:53 GMT Message-Id: <202208081914.278JErlv011249@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dries Michiels Subject: git: c39aa34d299d - main - devel/py-lru-dict: add new port 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: driesm X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c39aa34d299da60309ca44a792fd744abca168e9 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659986093; 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=PdDyIxXVZtRZPW3saMcmkjSxP4xzAsDdzkDhebp+TSk=; b=W8OPB/kcEo1S3GL0v+MQyB50/EdqZ0M23qjyBmA59YRAeY4XeBauBN4pBd2ErlhijWcXDl 2YFb6qwpNlm+ztHCgho7J2QtdYIFSw940gfom32htq3qp9fMjZaNRegfG1mC4N4RJKQbWP qQ9TPS3DYs+bUyHu6Xbgd337Cnrkp+PPfWON8JDCSPPswIimh9vBtqcbC9vqnwwAIX1um8 zzf2hqVHLSwTL+0FPbgKPnad7mX/yTX4vS0SdHuruJhUtGELWwm/9NS5TMo3KxJFlm2qcQ af6uBLXFL1SV/Qjr9YYqa4hhyGF7PYh/eeJRzuwJ87fsK9EFw3FcvyLPHgVKSQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659986093; a=rsa-sha256; cv=none; b=TdCRiYHiwSoWG7VZawInQ4HK5nstZDF+UUpae5iTto4/qyl4fqMx2c3Ub1VNrpbNvV1wTQ a6j2RnZZaxUH3aznZQ+mzNIV4OUZx+rtr/s/KsSDI9Tz3nIoZQ3rMMwyMOfO+HR1LAZG6F ko/zrk/D7LLpibtDJmcepzDh2eAURVRkKuft/FUbwiFJeD0f7EpbwTl+QNfn6QWK0pF8wg msEKamK+jfc6zw1gwesWdsvGloCwQ6cILM3nq6mQRqyby/TSDrMsZ8gYRgirufyJXyr/DJ CGpFfVfBlMQfyKHfZ6N7BHzsiVQMmt7xQZyTiMLukCGoNQHpF1AdGvqeEJiBOw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by driesm: URL: https://cgit.FreeBSD.org/ports/commit/?id=c39aa34d299da60309ca44a792fd744abca168e9 commit c39aa34d299da60309ca44a792fd744abca168e9 Author: Dries Michiels AuthorDate: 2022-08-08 19:11:53 +0000 Commit: Dries Michiels CommitDate: 2022-08-08 19:14:37 +0000 devel/py-lru-dict: add new port A fast and memory efficient LRU cache for Python. --- devel/Makefile | 1 + devel/py-lru-dict/Makefile | 16 ++++++++++++++++ devel/py-lru-dict/distinfo | 3 +++ devel/py-lru-dict/files/pkg-message.in | 16 ++++++++++++++++ devel/py-lru-dict/pkg-descr | 6 ++++++ 5 files changed, 42 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 1942b238a863..f9f48009bf00 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4734,6 +4734,7 @@ SUBDIR += py-logutils SUBDIR += py-logzero SUBDIR += py-louie + SUBDIR += py-lru-dict SUBDIR += py-lunardate SUBDIR += py-lxml SUBDIR += py-lxml-stubs diff --git a/devel/py-lru-dict/Makefile b/devel/py-lru-dict/Makefile new file mode 100644 index 000000000000..0951bf853329 --- /dev/null +++ b/devel/py-lru-dict/Makefile @@ -0,0 +1,16 @@ +PORTNAME= lru-dict +DISTVERSION= 1.1.8 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= driesm@FreeBSD.org +COMMENT= Fast and memory efficient LRU cache for Python + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python:3.6+ +USE_PYTHON= autoplist concurrent distutils pytest + +.include diff --git a/devel/py-lru-dict/distinfo b/devel/py-lru-dict/distinfo new file mode 100644 index 000000000000..a6ba533b65b2 --- /dev/null +++ b/devel/py-lru-dict/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1659985642 +SHA256 (lru-dict-1.1.8.tar.gz) = 878bc8ef4073e5cfb953dfc1cf4585db41e8b814c0106abde34d00ee0d0b3115 +SIZE (lru-dict-1.1.8.tar.gz) = 10921 diff --git a/devel/py-lru-dict/files/pkg-message.in b/devel/py-lru-dict/files/pkg-message.in new file mode 100644 index 000000000000..ae97ff64e4bb --- /dev/null +++ b/devel/py-lru-dict/files/pkg-message.in @@ -0,0 +1,16 @@ +[ +{ type: install + message: <> /var/log/pyznap.log +0 0 * * * root %%BINDIR%%/pyznap send >> /var/log/pyznap.log +EOM +} +] diff --git a/devel/py-lru-dict/pkg-descr b/devel/py-lru-dict/pkg-descr new file mode 100644 index 000000000000..3d51b0948dea --- /dev/null +++ b/devel/py-lru-dict/pkg-descr @@ -0,0 +1,6 @@ +A fixed size dict like container which evicts Least Recently Used (LRU) +items once size limit is exceeded. There are many python implementations +available which does similar things. This is a fast and efficient C +implementation. LRU maximum capacity can be modified at run-time. + +WWW: https://github.com/amitdev/lru-dict