From nobody Thu Jul 13 06:46:53 2023 X-Original-To: dev-commits-ports-all@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 4R1lWx6WG2z4nChK; Thu, 13 Jul 2023 06:46: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 4R1lWx5mnCz43Df; Thu, 13 Jul 2023 06:46:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689230813; 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=fnpM5WRzg7XkApLIySgCDII61b/hdcE9AWIKra6Hxqs=; b=IGNTJm0E1306SOu/oFgeK0n7PYLe3qrD56Pt77gMzqhssZt4JGMjVjjvpkPA+XU8YcTvto lb5a7i1TlfxyX+AqSnL4JeHivNU7crGJHobU+7lGR504KCLeMJs2CJDlyuQ2scquITPV4r wMDoK5IHsR66zcWJxt6YEMhzSnvjT6Qv5Ropq9Fe487OeFC8FbTq8s7on0F73akHZBvvd8 jTk6ZH0u4HclB+giltigmXl2m6cRDkC7BYP7MDfVg0yT39+14dlfjOwP3bd4mLNnOIL5a4 Xk3eNdiReUbpQnUy2facUaxSelX/udepREUc/ObEaxgmkThlkJh5QVQxTu6l+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689230813; 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=fnpM5WRzg7XkApLIySgCDII61b/hdcE9AWIKra6Hxqs=; b=P2ZQAwkZHeINc5C0zuK1m5s6OlCOkEZfPR09EZBlKA15AT53KASqTZAz/2EZ7/sS3fQj3y J/jzeccCmdMSkCjxaRfKQpuVjXDjWPJ99lPJuHJzZVRgZtGUTwklRzllZGcJTa9KQJTs2W NzB6hQxCo2Y6YobX84J05oX91TMA23Tx5unVGMPSF4hKiUjIosfCVU/M7heuDXZ+KrUp7E zDjZxO8/6dWqC37qoM7vmbhzJX1CgEDRJf4gld0LgCfr15fP4eA1Cd0yyESgs/ix5IBC19 10NfT7Tc9WpMyXl/PAPLGpfgfRgVqldDuKgi9IcAHx+KfA4JL6j0dDUDdJVEhQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689230813; a=rsa-sha256; cv=none; b=t+AylIVLv0T7UJH0MHrVk7VLjYAx46E12lCdvHtrd4108SkclJ1+vd34vX+WsA44O+EVEL 2BOJpS6q7ezbhsXVt1geajTvAc0lK+j9WIyGGMLEcs5QVcED/hawSzJ4g7obeuUjUz0tKp pAA0C6zcl6efUU6UyEWiihDu3WJWjhzNVv011DTI5oQHnExglEAuxXaL+Cmn1wyfpA3tlR mCuaNKf22fKUsSdnJO5TNrqOwoJuNORRK/kdKlEnrXzL044hr9oo7Mt1f3vz2qWZFeQ7Z9 O5Ecn3Cke7nGwH2cyJITN8bowjK4q2zRtLX61n861aNZYOCR5ICF8E3stKnaJg== 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 4R1lWx4rkpzh3Q; Thu, 13 Jul 2023 06:46:53 +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 36D6kri6051530; Thu, 13 Jul 2023 06:46:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36D6krLm051529; Thu, 13 Jul 2023 06:46:53 GMT (envelope-from git) Date: Thu, 13 Jul 2023 06:46:53 GMT Message-Id: <202307130646.36D6krLm051529@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: 02c179d799fb - main - misc/py-synced-collections: New port: Interact with persistent key-value stores using Pythonic abstractions List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: 02c179d799fb0ed833d819f63ec299d5b62bcfa2 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=02c179d799fb0ed833d819f63ec299d5b62bcfa2 commit 02c179d799fb0ed833d819f63ec299d5b62bcfa2 Author: Yuri Victorovich AuthorDate: 2023-07-13 06:44:16 +0000 Commit: Yuri Victorovich CommitDate: 2023-07-13 06:44:16 +0000 misc/py-synced-collections: New port: Interact with persistent key-value stores using Pythonic abstractions --- misc/Makefile | 1 + misc/py-synced-collections/Makefile | 25 ++++++++++++++++++++++ misc/py-synced-collections/distinfo | 3 +++ .../files/patch-pyproject.toml | 11 ++++++++++ misc/py-synced-collections/pkg-descr | 7 ++++++ 5 files changed, 47 insertions(+) diff --git a/misc/Makefile b/misc/Makefile index dbe852ef7755..d4f478cfee4a 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -467,6 +467,7 @@ SUBDIR += py-spdx-lookup SUBDIR += py-spdx-tools SUBDIR += py-spinners + SUBDIR += py-synced-collections SUBDIR += py-tes SUBDIR += py-tflearn SUBDIR += py-tflite diff --git a/misc/py-synced-collections/Makefile b/misc/py-synced-collections/Makefile new file mode 100644 index 000000000000..467ad4ef78ed --- /dev/null +++ b/misc/py-synced-collections/Makefile @@ -0,0 +1,25 @@ +PORTNAME= synced-collections +DISTVERSION= 1.0.0 +CATEGORIES= misc +MASTER_SITES= PYPI # some test files are missing in the PYPI tarball +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:S/-/_/}-${DISTVERSION} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Interact with persistent key-value stores using Pythonic abstractions +WWW= https://signac.io/ + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist pytest # tests fail because of missing packages xx_test, unclear where tp report + +NO_ARCH= yes + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +.include diff --git a/misc/py-synced-collections/distinfo b/misc/py-synced-collections/distinfo new file mode 100644 index 000000000000..ebd783b0faf2 --- /dev/null +++ b/misc/py-synced-collections/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1689230043 +SHA256 (synced_collections-1.0.0.tar.gz) = c5c72df4074ce95625f155d8bc1ac608ba4d9fbb0fffde4da3c0e3a88a1e30bd +SIZE (synced_collections-1.0.0.tar.gz) = 48819 diff --git a/misc/py-synced-collections/files/patch-pyproject.toml b/misc/py-synced-collections/files/patch-pyproject.toml new file mode 100644 index 000000000000..f599cee878ad --- /dev/null +++ b/misc/py-synced-collections/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- pyproject.toml.orig 2023-07-13 06:36:28 UTC ++++ pyproject.toml +@@ -3,7 +3,7 @@ + # This software is licensed under the BSD 3-Clause License. + [build-system] + build-backend = "setuptools.build_meta" +-requires = ["setuptools>=64.0.0"] ++requires = ["setuptools"] + + [project] + name = "synced_collections" diff --git a/misc/py-synced-collections/pkg-descr b/misc/py-synced-collections/pkg-descr new file mode 100644 index 000000000000..197c929771ce --- /dev/null +++ b/misc/py-synced-collections/pkg-descr @@ -0,0 +1,7 @@ +The synced_collections package provides Pythonic abstractions over various +underlying data stores, presenting APIs that behave like standard built-in +Python collections like dicts. synced_collections form the backbone of +signac's data and metadata storage, but may be used just as easily outside +of signac. For instance, users wishing to access a JSON file on disk like a +dictionary and automatically persist all changes could use the +synced_collections.JSONDict.