From nobody Fri Sep 22 18:29:40 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 4Rsgm43VTlz4vDw4; Fri, 22 Sep 2023 18:29:40 +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 4Rsgm42zXRz4c2V; Fri, 22 Sep 2023 18:29:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695407380; 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=F9Ov/kIFDpo6nw1RVwckuTIBOdnxQpDXOi1qj0FbMpc=; b=Xi4NWLTIka2yv+h4lSjn6BXCSAS9+9ssgDB4dn6TQ9mEaJfY+2xClt8Kxy8Z9ZMlU8nV1A aIHXfDegEOd4CGSo8EKSbGiPihuB2NjkDh9qeN5GMv+rNKTk5RidYa/F82ccQE5CSa7yzq jNHUPCbyTqW9mCgg6/Ppu8Kq79NVxBxudDPSMxuqpCQV7p2B9b+R7ePNATUhVkGwkWShiM SQrfbI8tJmnPt8ICdp+6o1t2FMj+5v2AeIB/DdsorjwRqJ6VJxn7vKNVgb3GrSbT/Biy5X k2ZSBkwzPa/BqArWIuwfwEY8dOGbRLCSzATeRGfqo3OuuGLhXIosBrYvGt3JLA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695407380; a=rsa-sha256; cv=none; b=cJEY+sPt15ni0pytypDS96Wk87JS6GbePDkak7BGIi+RLWO6GmXKFStc6ZKsxcHTw6wLgU 5TJzhpR8VAHiByd0877AUtVYviy4eknoJ4oY4tcQPxRvIHR84OaxIW20fXbw/d/afiSsgf axDSdFpjGHvnYHjMuYsWu57qtv+nU+eMJbTjwse2wC0mNwA0pwq6L4UMjpfNvE+NfZyogP I1HULdofu7id3nIiR5rHoovH1BuB0L7mhgFwQk1O9cE19MwE/0umejT3nGxInwhmDtxGML I+ZG5o1Wg7FUEuMOLrZS9BoWBP5EClTA791JAsPxZLNxAUyW/qo/qsMsKzWJMQ== 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=1695407380; 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=F9Ov/kIFDpo6nw1RVwckuTIBOdnxQpDXOi1qj0FbMpc=; b=JHIzOl0ezD8waSUFkwfjgcJlRC5LcvyVQMuYrsw00VMeeYQ0F4Et2hH6MNheaqLLXj+Hso bIMLc1LpWnl71xChxA1hCvK0bndW8Pj2e81Pnu/eoAqA0+636O4EDLufXag+L3zkMetRvf TUljJB3ySgb/gf62zTUtb2epyVovRIgQ0VWy1Zp+OtFQQHONs+ioXQka23ka8rW21uYFmJ b/ODuWPFpwZ/AZlhRKrYZZygRxNPHN7gyrYgZVw6qN734thzicYhfvfeBRL3jFY7OFsiXO vRIu9h/4ENwGo5JfhzKlNq1LhCQjgZ0BqflV0a0EJL23oHuNiESR3w42uyxljA== 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 4Rsgm423yqzXf9; Fri, 22 Sep 2023 18:29:40 +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 38MITe0v098754; Fri, 22 Sep 2023 18:29:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38MITe9D098751; Fri, 22 Sep 2023 18:29:40 GMT (envelope-from git) Date: Fri, 22 Sep 2023 18:29:40 GMT Message-Id: <202309221829.38MITe9D098751@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Matthew Seaman Subject: git: fe5230eba989 - main - devel/py-assertpy: 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: matthew X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fe5230eba98968dab8737a7f159c9efd149ff014 Auto-Submitted: auto-generated The branch main has been updated by matthew: URL: https://cgit.FreeBSD.org/ports/commit/?id=fe5230eba98968dab8737a7f159c9efd149ff014 commit fe5230eba98968dab8737a7f159c9efd149ff014 Author: Matthew Seaman AuthorDate: 2023-09-03 08:21:03 +0000 Commit: Matthew Seaman CommitDate: 2023-09-22 18:29:28 +0000 devel/py-assertpy: New port Simple assertions library for unit testing in Python --- devel/Makefile | 1 + devel/py-assertpy/Makefile | 19 +++++++++++++++++++ devel/py-assertpy/distinfo | 3 +++ devel/py-assertpy/pkg-descr | 7 +++++++ 4 files changed, 30 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 1f16370bc99d..0a53ca9e085f 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4260,6 +4260,7 @@ SUBDIR += py-asn1crypto SUBDIR += py-aspectlib SUBDIR += py-aspy.yaml + SUBDIR += py-assertpy SUBDIR += py-ast-decompiler SUBDIR += py-asteval SUBDIR += py-astor diff --git a/devel/py-assertpy/Makefile b/devel/py-assertpy/Makefile new file mode 100644 index 000000000000..e4a782fc4787 --- /dev/null +++ b/devel/py-assertpy/Makefile @@ -0,0 +1,19 @@ +PORTNAME= assertpy +PORTVERSION= 1.1 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= matthew@FreeBSD.org +COMMENT= Simple assertions library for unit testing in Python +WWW= https://github.com/assertpy/assertpy + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include diff --git a/devel/py-assertpy/distinfo b/devel/py-assertpy/distinfo new file mode 100644 index 000000000000..a81d73f91be9 --- /dev/null +++ b/devel/py-assertpy/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1693728491 +SHA256 (assertpy-1.1.tar.gz) = acc64329934ad71a3221de185517a43af33e373bb44dc05b5a9b174394ef4833 +SIZE (assertpy-1.1.tar.gz) = 25421 diff --git a/devel/py-assertpy/pkg-descr b/devel/py-assertpy/pkg-descr new file mode 100644 index 000000000000..142b92210a8b --- /dev/null +++ b/devel/py-assertpy/pkg-descr @@ -0,0 +1,7 @@ +Simple assertions library for unit testing in Python with a nice +fluent API. Supports both Python 2 and 3. + +Just import the assert_that function, and away you go... + +Of course, assertpy works best with a python test runner like pytest +(our favorite) or Nose.