Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Apr 2024 01:04:54 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d0860d32864e - main - devel/py-hammett: New port: Fast python test runner
Message-ID:  <202404060104.43614sOj083190@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d0860d32864edf1e29152862f9f79d6aadf6e689

commit d0860d32864edf1e29152862f9f79d6aadf6e689
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-04-06 00:04:29 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-04-06 01:04:44 +0000

    devel/py-hammett: New port: Fast python test runner
---
 devel/Makefile             |  1 +
 devel/py-hammett/Makefile  | 21 +++++++++++++++++++++
 devel/py-hammett/distinfo  |  3 +++
 devel/py-hammett/pkg-descr |  4 ++++
 4 files changed, 29 insertions(+)

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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404060104.43614sOj083190>