Skip to content

Commit

Permalink
devel/py-hunter: New port: Flexible code tracing toolkit
Browse files Browse the repository at this point in the history
  • Loading branch information
yurivict committed Feb 5, 2023
1 parent 9141bfa commit 6f1a1bc
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Expand Up @@ -4682,6 +4682,7 @@
SUBDIR += py-homebase
SUBDIR += py-http-prompt
SUBDIR += py-humanize
SUBDIR += py-hunter
SUBDIR += py-hupper
SUBDIR += py-hvac
SUBDIR += py-hypothesis
Expand Down
26 changes: 26 additions & 0 deletions devel/py-hunter/Makefile
@@ -0,0 +1,26 @@
PORTNAME= hunter
DISTVERSION= 3.5.1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= yuri@FreeBSD.org
COMMENT= Flexible code tracing toolkit
WWW= https://github.com/ionelmc/python-hunter

LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE

BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=30.3.0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.3.1:devel/py-setuptools_scm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}

USES= python:3.6+
USE_PYTHON= pep517 cython autoplist pytest # tests fail to run, see https://github.com/ionelmc/python-hunter/issues/114

TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}

post-install:
@${FIND} ${STAGEDIR}${PREFIX} -name "*.so" | ${XARGS} ${STRIP_CMD}

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions devel/py-hunter/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1675631477
SHA256 (hunter-3.5.1.tar.gz) = cdf094a5f3c85b1f95bb9d4f508d505225984ae03fc1ad9c364866584b1dbc95
SIZE (hunter-3.5.1.tar.gz) = 561530
3 changes: 3 additions & 0 deletions devel/py-hunter/pkg-descr
@@ -0,0 +1,3 @@
Hunter is a flexible code tracing toolkit, not for measuring coverage, but for
debugging, logging, inspection and other nefarious purposes. It has a simple
Python API, a convenient terminal API and a CLI tool to attach to processes.

0 comments on commit 6f1a1bc

Please sign in to comment.