From nobody Mon Sep 11 03:13:49 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 4RkWyQ20zFz4tGld; Mon, 11 Sep 2023 03:13:50 +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 4RkWyP71Xdz3b44; Mon, 11 Sep 2023 03:13:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694402030; 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=gjW+scL2A0PPBJfXtZGsQYAR0ZYZRgQKKobd1THDCNw=; b=vrUU1CUzxF9npUo2BXU3B8vOJy7ctANGAPe3njDJBYDbWqflKFqFZq1b4aDVNdFhhGM4VP IpJwUhSn8hdiDs8PorXChvq7zuo1QeAdLmh4MQfAliSEzWtjwQmDf8gfnLF8f+rtxvHv/c a3cOaZPbLkAUIiHxTVYAbQmaA88Fgt/hVVspUeeQ4qPoqw/bIp9XFRvmteDT7/LDfWQNjE Myntt/Mbl5nE5p+B7FYOTJzKBERWE+WcKnteyh4mkcK4X5SmL/ZTpHJ108s5hVFlUDuhPh wMCF7qsWmCuw3nmMyeknqmaAgeI7bkA19HXYdNLsMZa9swiBLhbLAzqKkC0+cQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694402030; a=rsa-sha256; cv=none; b=Tpqixb7BmbDuITshaQLRW8pT//OhGJJBYFC+2kBfXZA5z+GnJakeY68FsVABOsOyddEUJY tpu9qsuevUpMZNqI+qMLfdTuAVC2YUytOcxQ7UK8PO7KX6BYlwiwRGw++b98Kh6FLcOb5z JwERPSJMvCzlauFLDBQ9QBHaNllKm6oo+V0V1g73zO+iGqWyHNeuoImmM+/CanhcJzWf9N 6KhZECjs8ultlySfUQDJzKFL3xv+fP3ZoKWwVsBmqNJbXVSCns0kIPwwXaFAybm+d4qNak qZd8OJ3hKVwzT9Ldx3swRd6kqCdHCIF2asTao5EmggyA+virr4vDhZVGIJxF3A== 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=1694402030; 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=gjW+scL2A0PPBJfXtZGsQYAR0ZYZRgQKKobd1THDCNw=; b=YvNMocQyEg9rnnXYJmhQGO3Zo5TQbTbFBOMiAnvuuMQ9Bx/utMcpA6lU3cGund3Fko7jKa EEX+pyInMSXohtJRp41LZ+uf+KrBmfhSJKerMiQwVIlSNSnRb0w2lkfIGSQfs7KttrpXVx 46ju9f9A5RqeO1YE61IC3PUG0PG7wSwOY7WWKKmWE5MmAxOue0Mv59zHk74ggEjH9hbzZC w/TXwPjgwVzZ03GAVa4YGdMyWvNtQdUorIrro+Duf+H5evEoTnKd4VBLDUwa4C5S07Dy94 zTBZ+iO9oO9ShPiruDa5AQDNByW/cEiGqWEDNqiUMRESpl7TKkToqdDwXq8E6Q== 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 4RkWyP5CLkzYlp; Mon, 11 Sep 2023 03:13:49 +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 38B3Dn93021335; Mon, 11 Sep 2023 03:13:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38B3DnkF021332; Mon, 11 Sep 2023 03:13:49 GMT (envelope-from git) Date: Mon, 11 Sep 2023 03:13:49 GMT Message-Id: <202309110313.38B3DnkF021332@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 11bb9c7a8ffe - main - devel/py-setoptconf: Add py-setoptconf 0.3.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: 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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 11bb9c7a8ffe63896275b64843362f2778307078 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=11bb9c7a8ffe63896275b64843362f2778307078 commit 11bb9c7a8ffe63896275b64843362f2778307078 Author: Po-Chuan Hsieh AuthorDate: 2023-09-11 02:51:22 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-09-11 03:03:56 +0000 devel/py-setoptconf: Add py-setoptconf 0.3.0 setoptconf is a Python library that can be used to retrieve program settings from a variety of common sources: - Command Line - Environment Variables - INI Files - JSON Files - YAML Files - Python Objects/Modules The goal of this project is to define your desired settings in a simple and consistent way, and then point setoptconf at as many of the sources as you'd like to use, and let it comb them all, looking for your settings. --- devel/Makefile | 1 + devel/py-setoptconf/Makefile | 23 +++++++++++++++++++++++ devel/py-setoptconf/distinfo | 3 +++ devel/py-setoptconf/pkg-descr | 12 ++++++++++++ 4 files changed, 39 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 9100c98775fc..704c0199bc53 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5564,6 +5564,7 @@ SUBDIR += py-serializable SUBDIR += py-serpent SUBDIR += py-session-info + SUBDIR += py-setoptconf SUBDIR += py-setproctitle SUBDIR += py-setuptools SUBDIR += py-setuptools-declarative-requirements diff --git a/devel/py-setoptconf/Makefile b/devel/py-setoptconf/Makefile new file mode 100644 index 000000000000..96994bbb513b --- /dev/null +++ b/devel/py-setoptconf/Makefile @@ -0,0 +1,23 @@ +PORTNAME= setoptconf +PORTVERSION= 0.3.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Retrieve program settings from various sources in a consistant method +WWW= https://github.com/jayclassless/setoptconf + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +OPTIONS_DEFINE= YAML + +YAML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} + +.include diff --git a/devel/py-setoptconf/distinfo b/devel/py-setoptconf/distinfo new file mode 100644 index 000000000000..92104dd3bb45 --- /dev/null +++ b/devel/py-setoptconf/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1694348234 +SHA256 (setoptconf-0.3.0.tar.gz) = d2ecbd27c0c7d0d53990e2df98d9aad6490df8b75b71c621d8c441d6e91e3161 +SIZE (setoptconf-0.3.0.tar.gz) = 13725 diff --git a/devel/py-setoptconf/pkg-descr b/devel/py-setoptconf/pkg-descr new file mode 100644 index 000000000000..4328c3ebb8ad --- /dev/null +++ b/devel/py-setoptconf/pkg-descr @@ -0,0 +1,12 @@ +setoptconf is a Python library that can be used to retrieve program settings +from a variety of common sources: +- Command Line +- Environment Variables +- INI Files +- JSON Files +- YAML Files +- Python Objects/Modules + +The goal of this project is to define your desired settings in a simple and +consistent way, and then point setoptconf at as many of the sources as you'd +like to use, and let it comb them all, looking for your settings.