From nobody Tue Jun 21 16:36:52 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 266EB878704; Tue, 21 Jun 2022 16:36: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 4LSBxJ6zgQz3FvG; Tue, 21 Jun 2022 16:36:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655829413; 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=MDH6FJAQOE5o4WHsXq5B959OBD42//gb9MiH33JHUxE=; b=IxWt/w9jNjprETNOBLDi1Ks3z/+Ynx4rrbKd9/lCs5nvr3EUUBgU0zahyiph7VU3XSy9gv FyNGDg7QkZC2O8KaDRUZ7fAZMNyV7hSKdK1GmAymvu8Sbl0N3u8p10sY4VWCtAUMjYfls2 /dVDeV6byzhFhmN+9mP/UbMnPr8o2Y4iKcXmqPSstDgb2rLxP57rpKoM1TBUWDw8rc0XLT oc+PiNVKbENwdV+BM2VuFQtmQScp0LDGoLZqyLjgbUIBRTMqkndabeqOKO+S7Kx9hxIZiT CcBizFpkF8YOzP8/JRegO3ThCKWlt0FckA4OnwAflOyuxSrCqG2p7iWCueOsTQ== 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 BA65415680; Tue, 21 Jun 2022 16:36:52 +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 25LGaqlQ058697; Tue, 21 Jun 2022 16:36:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25LGaqY9058696; Tue, 21 Jun 2022 16:36:52 GMT (envelope-from git) Date: Tue, 21 Jun 2022 16:36:52 GMT Message-Id: <202206211636.25LGaqY9058696@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: 8e710879be3f - main - devel/py-attrs-strict: Add py-attrs-strict 1.0.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: 8e710879be3fba8a6666fd3912a7bf847b8c3285 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655829413; 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=MDH6FJAQOE5o4WHsXq5B959OBD42//gb9MiH33JHUxE=; b=JQMw9+X4T/A6wxx79T75VDoxvf577a/0f26CE4YsJFLaeD1Ca+Dk8/6ZLA8pUOb54FdWry WHQfAsHfNI+NNnxkRSyKRz8FNhuJo8+paPt9NlErsdQ4ptTFQ3UGnK4zspJM8Afc8hnE0e rn3O1j9RjM4v+SLqunEWlYAezlxRSLPsHD2RyuI0cSVL7yy5S7mRBmQ3SyzWCyOjEsjGg1 uCXpv8VSn09CrgMMI1XgBepHgLEi7R05zVGm3M8NfP9jBO8iRALfFdvEWwpo5DF/QRhDXv 3JVzsmBTN5MNxSRmPEX1cqcpQZZMKK97Sn2JjkJNBOBWTA8HX0CAta5bylszgQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655829413; a=rsa-sha256; cv=none; b=C+2YYpiKGry0RRDtVGwAloXDNMUNJAgv9ixXff7WHf1Gd2yQfWQB2w+HiYYQFR6Dg6UjBt tWcJkoWxB5JSm+vEOmij0K0HXrABu7194KVg3qBKqiDsDEBetoAzNfQLV/pf1i0dnQP4dq u19I9vTMvFnCRRV5pj9DIdBsrKheuqZFtTA+0XZ9VsCzYPqltYox+D8VczeT56HBpPHolr w7JWYGYF0px/phCHxpEJlZ7aryYNKm7YvlGNQwpcL4iY4z7Ql/lL30xtK7kTHUnspaM5qa ybJ6FhpNX0K5KkrY2MrcwmY9o4lpgNUa0IQHO94P9JEVplss6NHpu9Hk9BDihg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=8e710879be3fba8a6666fd3912a7bf847b8c3285 commit 8e710879be3fba8a6666fd3912a7bf847b8c3285 Author: Po-Chuan Hsieh AuthorDate: 2022-06-21 16:32:23 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-06-21 16:32:23 +0000 devel/py-attrs-strict: Add py-attrs-strict 1.0.0 attrs-strict is a Python package which contains runtime validation for attrs data classes based on the types existing in the typing module. WWW: https://github.com/bloomberg/attrs-strict --- devel/Makefile | 1 + devel/py-attrs-strict/Makefile | 29 +++++++++++++++++++++++++++++ devel/py-attrs-strict/distinfo | 3 +++ devel/py-attrs-strict/pkg-descr | 4 ++++ 4 files changed, 37 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index fa7de6c96cef..7ebf480177da 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4211,6 +4211,7 @@ SUBDIR += py-atomicwrites SUBDIR += py-atpublic SUBDIR += py-attrs + SUBDIR += py-attrs-strict SUBDIR += py-autocommand SUBDIR += py-autoflake SUBDIR += py-automaton diff --git a/devel/py-attrs-strict/Makefile b/devel/py-attrs-strict/Makefile new file mode 100644 index 000000000000..68c27fdaf8e6 --- /dev/null +++ b/devel/py-attrs-strict/Makefile @@ -0,0 +1,29 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= attrs-strict +PORTVERSION= 1.0.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= attrs_strict-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Runtime validators for attrs + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=19.1.0:devel/py-attrs@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include + +.if ${PYTHON_REL} < 30800 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} +.endif + +.include diff --git a/devel/py-attrs-strict/distinfo b/devel/py-attrs-strict/distinfo new file mode 100644 index 000000000000..2bc4573aa25b --- /dev/null +++ b/devel/py-attrs-strict/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1655561112 +SHA256 (attrs_strict-1.0.0.tar.gz) = 6326c1e51c4fd2fffc9dd607dec06c31add64eedbd37a651ea88f663a37c3f18 +SIZE (attrs_strict-1.0.0.tar.gz) = 25097 diff --git a/devel/py-attrs-strict/pkg-descr b/devel/py-attrs-strict/pkg-descr new file mode 100644 index 000000000000..0603216c6753 --- /dev/null +++ b/devel/py-attrs-strict/pkg-descr @@ -0,0 +1,4 @@ +attrs-strict is a Python package which contains runtime validation for attrs +data classes based on the types existing in the typing module. + +WWW: https://github.com/bloomberg/attrs-strict