Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
4 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |