From nobody Wed Feb 21 15:17:05 2024 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 4Tg0Hk14zrz59dXv; Wed, 21 Feb 2024 15:17:06 +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 4Tg0Hj5n7tz4sxG; Wed, 21 Feb 2024 15:17:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708528625; 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=ovrI6Xpw9eOHGb/GnBHdfm9XGn1RWIF2zmBBEZYJIgE=; b=UdFrgc6LuXlotJUhf7xKc4GYKyBGooJiNGIgxYo2oP9hHjT7kEa1s/2ov89pwgamTtLVmD dPhnE7/FaZYKcuQvGDkkEro4mlxASwiLqYDYtLkS0JhZPYZY01uA8f3nov/mWj7frQsiOs swzmd5x3+fAyenBMN9Aw2/m2QQyJ8pKvNI11rTDKBpO/KZqqnZvem1YZmp/UoblxF27F3k KUmStB1Ag4pU4MTLQ9CNyq+Kzh6Eql4lJYaShVDH9Kc91SrAu0uCQXK4ddGedSrH898sUT 5ZyFtovOfvtKqMajLbsP2AJbQRGSlMykh2cXit8Rez4pxQqEYyY4pe/tYAfdlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708528625; 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=ovrI6Xpw9eOHGb/GnBHdfm9XGn1RWIF2zmBBEZYJIgE=; b=T0rNa2+8W2zNSDSVdMHrZpoOlkEMf0dch+Z1rDtCEPEgjgGx57pmuW9s7MbnP+JnV72z74 T6HHMy9Mm5VYvqWYT2DNyUepv6VYEct84RY82rjrz0a3/TmPcYL3irNysTSZEnWVbPWM1Y RLd533w6wGl4a9Fo+XXWP1iLskrSiszGRd4DBng9YSaxWPOMF9Hpq0Ch8Un2G8XyzGxuIp gWl+X3ED/LxR49X/fPVx+EsTpOFEvZHAUfLSI+qQUmcXQxV5uOww2bJq+qmFRtTiOo9uxT LLRkg0knvSvVXzcAJ8o+mF+SpuC07O1Zb2V7geMKXgT01QvhzP4EYIcP6Go42Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708528625; a=rsa-sha256; cv=none; b=E6H/D17N9wSWalr5VlWEr1s6CIcqHLiI1/9V82zVsBDXfDvlK6RMemJmwBmn7DmDxFVWT/ wX95fH+J1UX0UaYW+YcYaFxlvNlZocuTlB03adp6DHYT5zanWuy6wJg2e3gyEUG7W1f6aB 5QirD62+5jmT/+SZrgLTq0/oOdV9djsiSGURqxQQr9Swks0AcvN8vxufT8SPTULgYwvqSq oFABQ7p0sDqah1PNpk4i59kgcQJfZUMHe8+XbD3JQUFIySWeS/8Y/mdAS++mjHvh7JiW5H xLXFigBgwZSCC9qeNfKl/JHIXL2TKJT4/SC8kw+snuo9BdRd7eJIDEgr8rijEg== 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 4Tg0Hj4vJkz16gy; Wed, 21 Feb 2024 15:17:05 +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 41LFH54R011844; Wed, 21 Feb 2024 15:17:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41LFH5BA011841; Wed, 21 Feb 2024 15:17:05 GMT (envelope-from git) Date: Wed, 21 Feb 2024 15:17:05 GMT Message-Id: <202402211517.41LFH5BA011841@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: ed17a9032d94 - main - devel/py-dirty-equals: Add py-dirty-equals 0.7.1.post0 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: ed17a9032d94a5abd4e97bae56256d105cb04291 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=ed17a9032d94a5abd4e97bae56256d105cb04291 commit ed17a9032d94a5abd4e97bae56256d105cb04291 Author: Po-Chuan Hsieh AuthorDate: 2024-02-21 14:12:47 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-02-21 15:06:04 +0000 devel/py-dirty-equals: Add py-dirty-equals 0.7.1.post0 dirty-equals is a python library that (mis)uses the __eq__ method to make python code (generally unit tests) more declarative and therefore easier to read and write. dirty-equals can be used in whatever context you like, but it comes into its own when writing unit tests for applications where you're commonly checking the response to API calls and the contents of a database. --- devel/Makefile | 1 + devel/py-dirty-equals/Makefile | 24 ++++++++++++++++++++++++ devel/py-dirty-equals/distinfo | 3 +++ devel/py-dirty-equals/pkg-descr | 7 +++++++ 4 files changed, 35 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 63bf5921c4d2..539631acdd3a 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4614,6 +4614,7 @@ SUBDIR += py-diff-cover SUBDIR += py-dill SUBDIR += py-dirspec + SUBDIR += py-dirty-equals SUBDIR += py-diskcache SUBDIR += py-distlib SUBDIR += py-distributed diff --git a/devel/py-dirty-equals/Makefile b/devel/py-dirty-equals/Makefile new file mode 100644 index 000000000000..cb355195f0c6 --- /dev/null +++ b/devel/py-dirty-equals/Makefile @@ -0,0 +1,24 @@ +PORTNAME= dirty-equals +PORTVERSION= 0.7.1.post0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= dirty_equals-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Do dirty (but extremely useful) things with equals +WWW= https://dirty-equals.helpmanual.io/latest/ \ + https://github.com/samuelcolvin/dirty-equals + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytz>=2021.3,1:devel/py-pytz@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include diff --git a/devel/py-dirty-equals/distinfo b/devel/py-dirty-equals/distinfo new file mode 100644 index 000000000000..2756449b6867 --- /dev/null +++ b/devel/py-dirty-equals/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1708448818 +SHA256 (dirty_equals-0.7.1.post0.tar.gz) = 78ff80578a46163831ecb3255cf30d03d1dc2fbca8e67f820105691a1bc556dc +SIZE (dirty_equals-0.7.1.post0.tar.gz) = 48858 diff --git a/devel/py-dirty-equals/pkg-descr b/devel/py-dirty-equals/pkg-descr new file mode 100644 index 000000000000..cd8767c777e3 --- /dev/null +++ b/devel/py-dirty-equals/pkg-descr @@ -0,0 +1,7 @@ +dirty-equals is a python library that (mis)uses the __eq__ method to make python +code (generally unit tests) more declarative and therefore easier to read and +write. + +dirty-equals can be used in whatever context you like, but it comes into its own +when writing unit tests for applications where you're commonly checking the +response to API calls and the contents of a database.