aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2024-04-06 00:04:29 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2024-04-06 01:04:44 +0000
commitd0860d32864edf1e29152862f9f79d6aadf6e689 (patch)
tree5a4b7722273999424f77bd58ef8e3bf03ea195ea
parentb01fc3fc077de6eff3c7a54306eb57136881fa25 (diff)
devel/py-hammett: New port: Fast python test runner
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-hammett/Makefile21
-rw-r--r--devel/py-hammett/distinfo3
-rw-r--r--devel/py-hammett/pkg-descr4
4 files changed, 29 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index a70257847079..995389fa88a4 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4812,6 +4812,7 @@
SUBDIR += py-gtfslib
SUBDIR += py-guppy3
SUBDIR += py-gyp
+ SUBDIR += py-hammett
SUBDIR += py-hash_ring
SUBDIR += py-hatch
SUBDIR += py-hatch-autorun
diff --git a/devel/py-hammett/Makefile b/devel/py-hammett/Makefile
new file mode 100644
index 000000000000..112b9ef2c52f
--- /dev/null
+++ b/devel/py-hammett/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= hammett
+DISTVERSION= 0.9.4
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Fast python test runner
+WWW= https://github.com/boxed/hammett
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}astunparse>0:devel/py-astunparse@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= distutils autoplist pytest
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-hammett/distinfo b/devel/py-hammett/distinfo
new file mode 100644
index 000000000000..1e237eef4240
--- /dev/null
+++ b/devel/py-hammett/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1712361392
+SHA256 (hammett-0.9.4.tar.gz) = 3bc445512a717744f944b27f001a777f9e3ff4f58d2cb8e4513f33a0c2e944ae
+SIZE (hammett-0.9.4.tar.gz) = 23376
diff --git a/devel/py-hammett/pkg-descr b/devel/py-hammett/pkg-descr
new file mode 100644
index 000000000000..fe6c5d19b00a
--- /dev/null
+++ b/devel/py-hammett/pkg-descr
@@ -0,0 +1,4 @@
+Hammett is a fast python test runner that aims to be compatible with the parts
+of pytest most people use (unless that conflicts with the goal of being fast).
+It also adds some features that can dramatically improve your testing experience
+if you adapt more fully to hammett.